{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"StreamingHprofReader.readRecords (cyclomatic 60): StreamingHprofReader.readRecords has cyclomatic complexity 60 (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":"shark/shark-hprof/src/main/java/shark/StreamingHprofReader.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4637c9fba5bd6b544463c46112a64fcfc5d8693d57d9a201fbb26f6b164ffc1c"}},{"ruleId":"D1","level":"warning","message":{"text":"HeapDumpDiveKt.HeapDumpDive (cyclomatic 49): HeapDumpDiveKt.HeapDumpDive has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a572cf5ea6d4396a75285a3dbd5bb8717a25a7cc070d8d2b4e3661cf91f818"}},{"ruleId":"D1","level":"warning","message":{"text":"Builder.onHprofRecord (cyclomatic 45): Builder.onHprofRecord has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7c29f583b33fc3ee116f03595b30e8f588a4c4592e032bd7979e8681f3943c"}},{"ruleId":"D1","level":"warning","message":{"text":"HprofPrimitiveArrayStripper.stripPrimitiveArrays (cyclomatic 44): HprofPrimitiveArrayStripper.stripPrimitiveArrays has cyclomatic complexity 44 (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":"shark/shark-hprof/src/main/java/shark/HprofPrimitiveArrayStripper.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d86d6b2c8e3628bae8d9aa78ad161bb4250d13c8ad7809e4c603d04b7160c50"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectGrowthDetector.traverseHeapDiffingShortestPaths (cyclomatic 32): ObjectGrowthDetector.traverseHeapDiffingShortestPaths has cyclomatic complexity 32 (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":"shark/shark/src/main/java/shark/ObjectGrowthDetector.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce34556cc6a62c54bbe339f7ef63136063d36c3f5321f90e530e6a9a26c197d"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSessionFileKt.verbOfTool (cyclomatic 26): AgentSessionFileKt.verbOfTool has cyclomatic complexity 26 (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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baefeb6b4ff82a435f85a6c108f47946fd2d0c90b602076ddb4e9dc4e89458f"}},{"ruleId":"D1","level":"warning","message":{"text":"Neo4JCommand.dumpEdges (cyclomatic 23): Neo4JCommand.dumpEdges has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7952fc33b41d66671ffcf59522cb8d509ef54708b3eb98a77a135c37369b9ce9"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidObjectInspectorsKt.unwrapComponentContext (cyclomatic 20): AndroidObjectInspectorsKt.unwrapComponentContext 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":"shark/shark-android/src/main/java/shark/AndroidObjectInspectors.kt"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e05ef6ea49bf42ddc9c6d7394cb7d404506a61ac35d4a70cca4289e52b46682"}},{"ruleId":"D1","level":"warning","message":{"text":"RealLeakTracerFactory.computeVerdicts (cyclomatic 20): RealLeakTracerFactory.computeVerdicts 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":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced71d75d0b2899e43438b677ede7a7c729240dc9ef52dca44d5d1f8e709f8e1"}},{"ruleId":"D1","level":"warning","message":{"text":"HeapGrowthCommand.run (cyclomatic 19): HeapGrowthCommand.run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-cli/src/main/java/shark/HeapGrowthCommand.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca66609935aac01d3ec35cea23477168ef2887158b98e5bbbf6682315bd06590"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingRecordReaderAdapter.asHprofTags (cyclomatic 19): StreamingRecordReaderAdapter.asHprofTags has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: StreamingRecordReaderAdapter.readRecords (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-hprof/src/main/java/shark/StreamingRecordReaderAdapter.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1695503839ac759d3bade7d31363265789ca77cdcf5c75d1d8b8a9ba2ae7de"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchingGcRootProvider.provideGcRoots (cyclomatic 19): MatchingGcRootProvider.provideGcRoots has cyclomatic complexity 19 (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":"shark/shark/src/main/java/shark/MatchingGcRootProvider.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bcd90b152e3baeeae8920bcbd850a802073166593a0a5ff181d6f4485c3259"}},{"ruleId":"D1","level":"warning","message":{"text":"HprofExplorerScreen.heapValueAsString (cyclomatic 16): HprofExplorerScreen.heapValueAsString has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/HprofExplorerScreen.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c601e78a89beb784d2f1f00a64d0188d8fae633cdb575ed2a38bd9f6fd5bae"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferencePathNodeKt.invalidObjectIdErrorMessage (cyclomatic 16): ReferencePathNodeKt.invalidObjectIdErrorMessage has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/internal/ReferencePathNode.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba499c62c9043e627cf433ca4929bdebc9a26fe76bc06b81e5d2e4c4e375a81"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingHprofReader.readRecords (cognitive 161): StreamingHprofReader.readRecords has cognitive complexity 161 (threshold 15). Drivers by points: if/else 55 (151 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 102). 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":"shark/shark-hprof/src/main/java/shark/StreamingHprofReader.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"caacdaceb92819f2d21aa122cff64f0ad3dd156b8d63c8b254ba4e39fce915f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectGrowthDetector.traverseHeapDiffingShortestPaths (cognitive 60): ObjectGrowthDetector.traverseHeapDiffingShortestPaths has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (49 pts), loops 2 (5 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 27). 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":"shark/shark/src/main/java/shark/ObjectGrowthDetector.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f39f57e099cce88fb2a69c3e20ef5ca61be6b6823371598d2a7994315c30618"}},{"ruleId":"D2","level":"warning","message":{"text":"HprofPrimitiveArrayStripper.stripPrimitiveArrays (cognitive 50): HprofPrimitiveArrayStripper.stripPrimitiveArrays has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (33 pts), match/switch 4 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 28). 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":"shark/shark-hprof/src/main/java/shark/HprofPrimitiveArrayStripper.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"210b7826eab5aa292daf132503f6037ba1513fc28d89c5d9871e26a57300c8e2"}},{"ruleId":"D2","level":"warning","message":{"text":"HeapDumpDiveKt.HeapDumpDive (cognitive 49): HeapDumpDiveKt.HeapDumpDive has cognitive complexity 49 (threshold 15). Drivers by points: if/else 30 (33 pts), boolean chains 9, match/switch 6, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18dfd6fe06b1390a624d589d1f8754350f4c73e8831358573a50a433683579b"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.onHprofRecord (cognitive 43): Builder.onHprofRecord has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (37 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 20). 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":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ca783a8d8c47d8251dae46f1014dc43640412a13dfefdfee1c93ea9fcb34a0"}},{"ruleId":"D2","level":"warning","message":{"text":"HeapGrowthCommand.run (cognitive 41): HeapGrowthCommand.run has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 3 (11 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 22). 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":"shark/shark-cli/src/main/java/shark/HeapGrowthCommand.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fece7078007de861ccc1f0524f8b065a88cae3b88ad6b3c1c4e648fa9be8b620"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidObjectInspectorsKt.unwrapComponentContext (cognitive 39): AndroidObjectInspectorsKt.unwrapComponentContext has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (32 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 23). 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":"shark/shark-android/src/main/java/shark/AndroidObjectInspectors.kt"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0caf06e78ae943169ee4a9f34603c59319a7b1b1143a5c3ed475e38f71139d0"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayLeakAdapter.getConnectorType (cognitive 36): DisplayLeakAdapter.getConnectorType has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (31 pts), match/switch 2 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakAdapter.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ea04f30bf139a2813a0403554511709e2fb588db422f71c44a56160f3bc895"}},{"ruleId":"D2","level":"warning","message":{"text":"HeapDumpTrigger.checkRetainedCount (cognitive 35): HeapDumpTrigger.checkRetainedCount has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d69845a92c5b3e89d79464e2e74a2e6891cc7f6fc625c2e262799f80563d65b"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingRecordReaderAdapter.asHprofTags (cognitive 30): StreamingRecordReaderAdapter.asHprofTags has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-hprof/src/main/java/shark/StreamingRecordReaderAdapter.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b694a7741a011802c83f41fd19bbab4797297e64736916e86b68a0424443e199"}},{"ruleId":"D2","level":"warning","message":{"text":"SquarifyKt.squarify (cognitive 30): SquarifyKt.squarify has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/Squarify.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c8193e8286ad3a387f3903a1e5d0f482d864ca22de081bbe3a5ad36d735366"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferrerIndex.compact (cognitive 29): ReferrerIndex.compact has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 5 (10 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/ReferrerIndex.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc06d4777f64b2d65ee0e3dbf9efe0cdd799640093ef51013f420e184dbefb16"}},{"ruleId":"D2","level":"warning","message":{"text":"RealLeakTracerFactory.computeVerdicts (cognitive 27): RealLeakTracerFactory.computeVerdicts has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (8 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82427bbd77f6f1d0e9f570031a3f85d6097bd94258253f54fe9f0b72d351cab"}},{"ruleId":"D2","level":"warning","message":{"text":"SlotTableReferenceReader.readGroups (cognitive 26): SlotTableReferenceReader.readGroups has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/SlotTableReferenceReader.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cd35db970642196df51970041f2d46eab88e2cb84456980ee671ef197a8b06"}},{"ruleId":"D2","level":"warning","message":{"text":"VIEW.inspect (cognitive 25): VIEW.inspect has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-android/src/main/java/shark/AndroidObjectInspectors.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5693e2ee8fa686ff294ef4b598aaf1468f0398bfcb78b91431cfd98d013c0248"}},{"ruleId":"D2","level":"warning","message":{"text":"StackLayout.layout (cognitive 25): StackLayout.layout has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/StackLayout.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bcaff39d6542175105b03a3f46d4d05c80cf650fcc44a379b846bdf5702457"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakTraceWrapper.wrapLine (cognitive 24): LeakTraceWrapper.wrapLine has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f09e3be0c6e380ee455dadd414936eeb881cd7ca643fd3b93803dda039d06a"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakTraceWrapper.wrapLine (cognitive 24): LeakTraceWrapper.wrapLine has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee86e09f28177276151ee3a61ea1480c5505cc865db4bf181e7cabce3cd4f298"}},{"ruleId":"D2","level":"warning","message":{"text":"Neo4JCommand.dumpEdges (cognitive 24): Neo4JCommand.dumpEdges has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 3 (5 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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9f5e5d9cca6389e4fc07f84eb34c57c5fced5e231d9cf04a399bbb9f2d617a"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldInstanceReferenceReader.read (cognitive 24): FieldInstanceReferenceReader.read has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/FieldInstanceReferenceReader.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed35484401cb1dfa10075a3899fcf43f1d112dba664fd09f463f07459ee33a4"}},{"ruleId":"D2","level":"warning","message":{"text":"TreemapLayout.layout (cognitive 24): TreemapLayout.layout has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/TreemapLayout.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"075d7fceba4a364844dd0e44b29bf77b3f055f802f9b592ef83b6fb951def794"}},{"ruleId":"D2","level":"warning","message":{"text":"CellColors.of (cognitive 23): CellColors.of has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, match/switch 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/CellColors.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aa5a7a23bac9c792687f7e17716042f7f7171b09b87d9e46e669bb4470061a"}},{"ruleId":"D2","level":"warning","message":{"text":"CONTEXT_WRAPPER.inspect (cognitive 22): CONTEXT_WRAPPER.inspect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-android/src/main/java/shark/AndroidObjectInspectors.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4024ed80e087b1a87acb792319cf5bb21acb2983f0dee1fc60d3f8efbfcf6618"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayLeakAdapter.bindConnectorRow (cognitive 21): DisplayLeakAdapter.bindConnectorRow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakAdapter.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdfc5d520d874801905f1768037b305afceeea3aa8a74053ea4db8391759881"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakCanaryAndroidInternalUtils.addLeakActivityDynamicShortcut (cognitive 20): LeakCanaryAndroidInternalUtils.addLeakActivityDynamicShortcut has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/LeakCanaryAndroidInternalUtils.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"82936c42fe16144ea2f4e2975f23d1f47058b128992e45ebe487e534efc21b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakScreenKt.LeakScreen (cognitive 20): LeakScreenKt.LeakScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/LeakScreen.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3797127dcbcf7471ddc7cba223f1e680fbcd636bd02f27ce75e6e1a9be6d429c"}},{"ruleId":"D2","level":"warning","message":{"text":"RadialLayout.layout (cognitive 19): RadialLayout.layout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/RadialLayout.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7dd80fb8f6fa45b786b1b26f34df0b5315c391f59adebd1141fb55d411e020"}},{"ruleId":"D2","level":"warning","message":{"text":"ACTIVITY_THREAD__NEW_ACTIVITIES.create (cognitive 18): ACTIVITY_THREAD__NEW_ACTIVITIES.create has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (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":"shark/shark/src/main/java/shark/AndroidReferenceReaders.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"80699b0a6005990ecb80a186e583a1f3e5cce7f82ffc171c4e94cedcf4723f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveCommand.analyze (cognitive 17): InteractiveCommand.analyze has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 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":"shark/shark-cli/src/main/java/shark/InteractiveCommand.kt"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"676bc80f6ae785614ef483bacb6b82239e7994d83f24656f2cd51a26f2b73112"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSessionFileKt.verbOfTool (cognitive 17): AgentSessionFileKt.verbOfTool has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (nesting depth added 5). 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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d3eae1405d7b29c2599864facdcc8178d9855f4b48c1b1e5a566d8b5e653b7"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakTraceWrapper.wrap (cognitive 16): LeakTraceWrapper.wrap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f2a657eeacba8f77a4ff69f3c2a3b7a6277fc584a9edac2fc2b80f700d601"}},{"ruleId":"D2","level":"warning","message":{"text":"LeakTraceWrapper.wrap (cognitive 16): LeakTraceWrapper.wrap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0f67985027febec9b0163ea652e33e00b538adb0816336fe2aed1606bfe64e"}},{"ruleId":"D2","level":"warning","message":{"text":"ANONYMOUS_CLASS.inspect (cognitive 16): ANONYMOUS_CLASS.inspect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/ObjectInspectors.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb82ce5a573efe87b896cf87a6f9bff9be8247ec3d425a89204bd26d669fd83"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HeapDominatorTreemap: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.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":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/HeapDominatorTreemap.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"56036a571f627c0dd337097e96ceb8b98c13b6ed0fc9aa8a922a170f93769622"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HeapDominatorTreemap: ClassTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded), 73 methods. The bar is 400 significant lines; this is 518 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/HeapDominatorTreemap.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfe6840796ce5df546fe0874796934ce3e87585ce50e855d991440527103eb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shark/AndroidReferenceMatchers.kt: FileTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: class (50-1687). The bar is 500 significant lines; this is 608 over it, 2.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-android/src/main/java/shark/AndroidReferenceMatchers.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5c641d9b740c1a0e46ee24fa07e117d5ca41866000dfac83679149eb0783d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HprofRecordReader: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.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":"shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"136e75bb6952afbf496aac3ae1c906752402291e03f34e8f2e108c23f4883625"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/HeapDumpDive.kt: FileTooLong \u2014 1066 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 566 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a73c601bead3d0dd1d0237262170570a1c7fd5d1e33b4c4f41955087ab31048"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dive/HeapDominatorTreemap.kt: FileTooLong \u2014 1005 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: HeapDominatorTreemap (79-2038). The bar is 500 significant lines; this is 505 over it, 2.01\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":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/HeapDominatorTreemap.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d7b5385d31d790a3bf67d0158d94da1fd69a8b86af02d5f0cbe42bad4d82e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/AgentTools.kt: FileTooLong \u2014 874 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: AgentTools (63-889). The bar is 500 significant lines; this is 374 over it, 1.75\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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentTools.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0027a5431d567a48e8853730f35c4862d2562b09e6f7268f41e3e3112a8507e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HprofWriter.write: MethodTooLong \u2014 write runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-hprof/src/main/java/shark/HprofWriter.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2737cba2ecf3100c0c3cf3cefd42fc56aea3397139a9793b3a92086650f5b4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.dumpEdges: MethodTooLong \u2014 dumpEdges runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d96e377f8a66c62c7969e560c1fb263d8898be5c818f677eac7609a61a95d78"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HprofInMemoryIndex: ClassTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 270 over it, 1.68\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":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77bd775de6fff0825e6740c34408be7bc47e88ba4a4359aba63c550ac4987f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Builder.onHprofRecord: MethodTooLong \u2014 onHprofRecord runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c37d73a27de2159b8d512cd76e92ac7b30dc79570a8cb4bec738292da8810c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentTools: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 196 over it, 1.49\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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentTools.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16c05774f453147fb2cbc48be224b1c51b8e72f40b6925e47756b9235cb32e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/HprofInMemoryIndex.kt: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: HprofInMemoryIndex (75-1124). The bar is 500 significant lines; this is 231 over it, 1.46\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":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10074e0bda76453c356b426ba0eb251dee43430ea3e10e8e82eb447c89a890a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ObjectGrowthDetector.traverseHeapDiffingShortestPaths: MethodTooLong \u2014 traverseHeapDiffingShortestPaths runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"shark/shark/src/main/java/shark/ObjectGrowthDetector.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adafbdc3813b3cb5664afed64d2004c52152e861f4e492eb0032233e115961e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shark/AndroidObjectInspectors.kt: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: class (40-968). The bar is 500 significant lines; this is 203 over it, 1.41\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":"shark/shark-android/src/main/java/shark/AndroidObjectInspectors.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f090a9225511b3c28f9e23ff17255f7a99dd8c109602d531aa1cf580f7f9790"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.indexHprof: MethodTooLong \u2014 indexHprof runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f185d86efc50817c87f8d55394b4753cd4d7ce3239f6a8c349847ecffcafe90"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingRecordReaderAdapter.readRecords: MethodTooLong \u2014 readRecords runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"shark/shark-hprof/src/main/java/shark/StreamingRecordReaderAdapter.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b535183df06fd39f36c2d68d30dd318b9d2574c4856bc6ccec767832d41522f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeapGrowthCommand.run: MethodTooLong \u2014 run runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-cli/src/main/java/shark/HeapGrowthCommand.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e034d3a88037555dd0f6bc92a544a0439b943c5b7b310abb670e099eaf09c8f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Neo4JCommand: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 26 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28c68d6eeadbd0366d219d6dfb57d20c93146be3b2cc7e337a8c748100e6fda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shark/Neo4JCommand.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: Neo4JCommand (79-695). The bar is 500 significant lines; this is 25 over it, 1.05\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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08e25cbe1cc5d32e1774488f84f4f261e934f109b3b042266f9bdc481c6ba68"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InteractiveCommand: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 3 over it, 1.01\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":"shark/shark-cli/src/main/java/shark/InteractiveCommand.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"295e69eca71838e321df38948cadb6c2ef3a2d97fe4daa925cd144f17cf6732d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt:66-165 | leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.kt:66-165 \u2014 before extracting anything, compare \u0060leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt\u0060 and \u0060leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.kt\u0060 as WHOLE FILES: 99% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9edb3c347c81088570eca726f05fbe59c508f8cb1173506bd973a2645f4d4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt:29-58 | leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.kt:29-58 \u2014 before extracting anything, compare \u0060leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt\u0060 and \u0060leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.kt\u0060 as WHOLE FILES: 99% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"924ed11376bc8a402ea64b9b732dd3547b6ae65813f555929f90a3f4eaa7e37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:374-403 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:323-352 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"89697849f979b16df3d3d6e264eadcf750891205f38c07e69e22cde7de45d484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:81-109 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:77-105 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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 \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe1ca9807f31fa9b617caeffec3961f47659f073ae5b053384078c051223c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/ui/TimeFormatter.kt:21-48 | leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/TimeFormatter.kt:21-48 \u2014 before extracting anything, compare \u0060leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/ui/TimeFormatter.kt\u0060 and \u0060leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/TimeFormatter.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/ui/TimeFormatter.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcefd6b0e370f4bb498517658c94c9b989f0ceb24925986986ac2aac0f56777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:288-308 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:236-256 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060fromValues\u0060 to \u0060LongArray\u0060 in one and \u0060Array\u003CT?\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":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"430ae91033d7ca186a65f36933abd6b96882550efd4c24f1efe45d31f7c24731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): shark/shark-dive/shark-dive-core/src/main/java/shark/dive/RadialLayout.kt:144-160 | shark/shark-dive/shark-dive-core/src/main/java/shark/dive/StackLayout.kt:125-142 | shark/shark-dive/shark-dive-core/src/main/java/shark/dive/TreemapLayout.kt:182-200 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shark/shark-dive/shark-dive-core/src/main/java/shark/dive/RadialLayout.kt:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/RadialLayout.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"84418106d33602039f93c9e68836239a8b9d6b3b7e20e4e0040922a36a170230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:233-251 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:181-199 | shark/shark-graph/src/main/java/shark/internal/hppc/LongScatterSet.kt:131-147 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"03345de560fa178ee853f8fda5802058a5f8395931ce7061281c5e257bf64b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt:33-46 | shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt:237-252 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt\u0060 and \u0060shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9120b1067b0956b011a8f6aef9698212fa7fea871f86f2d63c33040a4815d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:323-338 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:272-287 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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 \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:323\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":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f197631ff6f2a1aeba5a0eafe581ff3683384a21221d6060e4c3030a373bc2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:120-134 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:116-130 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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 \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3625ac4fe9e3718c4aa4f07e47f51b9212ac9760e84cc1fcd12aa0f641d71b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt:247-260 | leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt:367-379 \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 \u0060leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt:247\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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36dfa0053ec028896ea5aa860ec712ec6a32884d170189674d37bc4585fee60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt:105-117 | shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt:440-452 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt\u0060 and \u0060shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36f5afca262eebb2f691f5bc076733b66e90fc1ddee208e53c051b7dc69f7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt:106-114 | shark/shark-graph/src/main/java/shark/internal/FieldValuesReader.kt:39-47 | shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt:441-449 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt\u0060 and \u0060shark/shark-hprof/src/main/java/shark/HprofRecordReader.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-graph/src/main/java/shark/internal/ClassFieldsReader.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfe77ce8a1104f1cf7232216acdd9ecaa5ffd41072cc79ff59d0eb0eec2973d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/RootPathPanel.kt:255-263 | shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/RootPathPanel.kt:301-308 \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 \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/RootPathPanel.kt:255\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":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/RootPathPanel.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb660c8206a02c48b6edc6ccfd6672aee27af112b861788168b379244ed7a845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shark/shark-cli/src/main/java/shark/InteractiveCommand.kt:509-515 | shark/shark-dive/shark-dive-core/src/main/java/shark/dive/HeapDominatorTreemap.kt:1744-1750 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shark/shark-cli/src/main/java/shark/InteractiveCommand.kt:509\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":"shark/shark-cli/src/main/java/shark/InteractiveCommand.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e48df1f3b42c95522c9cba03388948ba76c071c74a7f1c61115e634de308f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/ByteSubArray.kt:120-124 | shark/shark/src/main/java/shark/internal/FieldIdReader.kt:68-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shark/shark-graph/src/main/java/shark/internal/ByteSubArray.kt:120\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":"shark/shark-graph/src/main/java/shark/internal/ByteSubArray.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff78d7c174fb6346c3a4a60aaebd4f9ff5532b2eeb8a955928c829aad320e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/Serializables.kt:10-26 | leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/Serializables.kt:10-26 \u2014 before extracting anything, compare \u0060leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/Serializables.kt\u0060 and \u0060leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/Serializables.kt\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/Serializables.kt:10\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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/Serializables.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"254e55930bc480490aaf1efd5c049916027d21a972b4bb6aad1ee9917fa4cf53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentServer.kt:345-349 | shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/DeepLinkPeers.kt:238-242 \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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentServer.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"829360f171c12a19fd6ded1a782e90143cd89cf6de80346c2dfd179245b02127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:265-274 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:213-222 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58bff79cf941b8ddbec1e32bb1615f3180fb7e488405e325c352d1894c085b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:353-367 | shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt:302-316 \u2014 before extracting anything, compare \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt\u0060 and \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongObjectScatterMap.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 155 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 \u0060shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060pendingValue\u0060 to \u0060Long\u0060 in one and \u0060T\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":"shark/shark-graph/src/main/java/shark/internal/hppc/LongLongScatterMap.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d78554237d73c289680d18dc06eac930ad601bd07753587eb7fbf99c549218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/UnsortedByteEntries.kt:100-106 | shark/shark-graph/src/main/java/shark/internal/UnsortedByteEntries.kt:134-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int\u0060 in one and \u0060Long\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":"shark/shark-graph/src/main/java/shark/internal/UnsortedByteEntries.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ef42440878d823abce400e1185d4df42d86f9c03f4e50821a28a24c0f8f11b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt:92-98 | shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt:120-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Int\u0060 in one and \u0060Long\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":"shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"054b328823d8276ce0f677fe8ee02a955daa4f98f9c72174b7abb3bc43775d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/HeapDumpScreen.kt:108-112 | leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeaksScreen.kt:50-54 \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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/HeapDumpScreen.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"296cb0a38bc1722845e69665dfe36f7d4035ee0b9658a3a315dc5720f16db080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/utils/Size.kt:11-16 | leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/LeakScreen.kt:328-333 \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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/utils/Size.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca67dc9c312ca4e6c6513ef37d8a070f01f06d14c9402dafb4422ab5fdfbbf3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): shark/shark-hprof-test/src/main/kotlin/shark/HprofWriterHelper.kt:137-165 | shark/shark-hprof-test/src/main/kotlin/shark/HprofWriterHelper.kt:192-220 \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 \u0060shark/shark-hprof-test/src/main/kotlin/shark/HprofWriterHelper.kt:137\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":"shark/shark-hprof-test/src/main/kotlin/shark/HprofWriterHelper.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"de604a729d1cf2ad93b8dbd462b492625e9919ee4aaf58b6399e1866b9adb388"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :shark:shark-android: :shark:shark-android: abstractness 0.01, instability 0.11, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cbbdf909b1ee97a44ae8e2c6e64c554e6c6a35fcc9cadd738326b99d7c701e0b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :leakcanary:leakcanary-gc: :leakcanary:leakcanary-gc: abstractness 0.20, instability 0.00, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"77e1b8710dea5ab17c25eed13690643216bef1effd66d1095e7a5c5eb3ac402c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :shark:shark: :shark:shark: abstractness 0.14, instability 0.14, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8c3ba74b380fe37639909cf90673dd7fb065aa2b1f7fa63bd773f4f1353fadd3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :leakcanary:leakcanary-android-utils: :leakcanary:leakcanary-android-utils: abstractness 0.00, instability 0.29, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5a4e44654e1978b20140327cf13a18dce9bb6cf9cab7d8e82428ddc3fe5d0b33"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.neo4j:neo4j: \u0060org.neo4j:neo4j\u0060 4.4.48 is published on Maven Central under \u0060GPL-3.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5bfc2c9c739c38f77dc4e3396a45f515e47819462bb08d0d534ed56a3ab42b39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt: shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in HeapDumpDiveKt.HeapDumpDive at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.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":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"179e128a38560c806a36a2967f9071227cd3dc33c0558750803aafb87471a9ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.kt: shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.kt changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AgentSessionFileKt.verbOfTool at line 674. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"27daf9dc0c9512f26a1ed2a44dd1fb448c22698154526f481360c4bbe1f2e029"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt: shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in Builder.onHprofRecord at line 639. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.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":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d0535cf5bd5107719f50864fc924bfb7fc07917dbd4a244f0c06903707667a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark-hprof/src/main/java/shark/HprofPrimitiveArrayStripper.kt: shark/shark-hprof/src/main/java/shark/HprofPrimitiveArrayStripper.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in HprofPrimitiveArrayStripper.stripPrimitiveArrays at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark-hprof/src/main/java/shark/HprofPrimitiveArrayStripper.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":"shark/shark-hprof/src/main/java/shark/HprofPrimitiveArrayStripper.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c2ac3c1cf334e2d5a5cf224168bb7514131530aef956f153ebc298687077d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark/src/main/java/shark/ObjectGrowthDetector.kt: shark/shark/src/main/java/shark/ObjectGrowthDetector.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ObjectGrowthDetector.traverseHeapDiffingShortestPaths at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark/src/main/java/shark/ObjectGrowthDetector.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":"shark/shark/src/main/java/shark/ObjectGrowthDetector.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ae26ce19026ccae23911ceb47eebc4ebcf02979c412ceb421330380d0392d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark-dive/shark-dive-core/src/main/java/shark/dive/TreemapLayout.kt: shark/shark-dive/shark-dive-core/src/main/java/shark/dive/TreemapLayout.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in TreemapLayout.layout at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark-dive/shark-dive-core/src/main/java/shark/dive/TreemapLayout.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":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/TreemapLayout.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6490508e9fcf68905ed5cef87710109d45ddb39b70f5cf241388dd86152db59a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shark/shark/src/main/java/shark/internal/ReferencePathNode.kt: shark/shark/src/main/java/shark/internal/ReferencePathNode.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ReferencePathNodeKt.invalidObjectIdErrorMessage at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-23 17:19:52 \u002B02:00\u0027 --until=\u00272026-10-21 17:19:52 \u002B02:00\u0027 --full-history --no-merges -- shark/shark/src/main/java/shark/internal/ReferencePathNode.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":"shark/shark/src/main/java/shark/internal/ReferencePathNode.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02ad29c30e01b89b8dfd547b30e4c6cc0254f16523d2db4ba53d827528e5636"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 162 significant file(s) lose their only recent owner: shark/shark-dive/shark-dive-core/src/main/java/shark/dive/HeapDominatorTreemap.kt, shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt, shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentTools.kt, shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentCommandLine.kt, shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt, shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentSessionFile.kt, shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentJson.kt, shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/PathDrawing.kt (\u002B154 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"45b37958ef17e8f8a7d053eea76501d154d80c938527d96f83662437f9d5af37"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (165 single-owned of 263 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 263 of the 517 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysesScreen.kt, leakcanary/leakcanary-android-release/src/main/java/leakcanary/ScreenOffTrigger.kt, leakcanary/leakcanary-android-core/src/main/java/leakcanary/RemoteWorkManagerHeapAnalyzer.kt."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO We can probably remove the concept of DualSourceProvider. Opening a heap graph requires \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":"shark/shark-graph/src/main/java/shark/HprofHeapGraph.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1911d5ec0d16b7f9b918f1da7cc26f3f0f1dfd7e2897a7e560caab7922c62e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Replacing with a radix trie reversed into a sparse array of long to trie leaf could save \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":"shark/shark-graph/src/main/java/shark/internal/HprofInMemoryIndex.kt"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"542135954b265ef3dced4c4c6b00dc88d22724ff7283723040cb24a45b689a29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Split in several transactions when reaching a predefined threshold. \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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd987f90259a779fa8113979c3b584e5288dad41009c8062b2a176b9cd571511"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Unclear why we need to query the port again? \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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb18dc651acfea2421f3f48a7bf686576c4531c8db2de8d2d7feca6096c8eae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add null values somehow? \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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0c811a2c72eb7bfb04c5bf1c7ed9c40af11e6be286b9a649552db7a6b97ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Here we\u0027ll map a subset of relationships as one of not leaking, leak suspect, leaking. \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":"shark/shark-cli/src/main/java/shark/Neo4JCommand.kt"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8efafb6bda5b7c1270c322c03d772bef4087998a3bfaa7e59f2bceac3fb252"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Move to shark-android once HeapAnalyzer is removed. \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":"shark/shark/src/main/java/shark/AndroidReferenceReaderFactory.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f427cc61814901ec628be5d569d011ce588a0e3eb55e0f5179d8ffd4468a9ab8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Move to shark-android once HeapAnalyzer is removed. \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":"shark/shark/src/main/java/shark/VirtualizingMatchingReferenceReaderFactory.kt"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceba155432b02cdec213eae47a3c64a364d1d73d75d88847b5d88d869bb93a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Not sure if this class should exist of be some sort of configuration instead. \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":"shark/shark/src/main/java/shark/AndroidReferenceReaderFactory.kt"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7c3c37f7a213b49d4f44256d1a13f3998371accab44a54754875dc8a4fb148"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Revisit this API. It\u0027s more like a GC Root \u002B some priority / tagging. \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":"shark/shark/src/main/java/shark/GcRootReference.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7079a265eaab4d814c90d35d89ac5226c27f2777ca00ba2c2a7f432c06563070"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Callers should add to analysisStartNanoTime \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":"shark/shark/src/main/java/shark/HeapAnalyzer.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b27020f53930ff5e8e9323f1bda61ce838847caf45f92a0ac83e966b31e04f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO What should we do about exceptions here? union error or exception? \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":"shark/shark/src/main/java/shark/LeakTracer.kt"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da6387b78a832d89f74aced39298e3ea309b72cbaa0beb25ef15853f343c898"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Name? \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":"shark/shark/src/main/java/shark/LeaksAndUnreachableObjects.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5819109bd35cf1ce7fc49412cb3218aaa7729e1b6d1a510c3ae11320baa3a89c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Class name \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":"shark/shark/src/main/java/shark/PathFindingResults.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d4ff4aaa4d42aa90cdad3e6bed7d533f8d3a4e09a3fec500132310f3fffab1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Enum or sealed? class makes it possible to report progress. Enum \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":"shark/shark/src/main/java/shark/PrioritizingShortestPathFinder.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58534f245d3c10088ec3b6a240fbf487cd775e92b8e723b57e3eca105f5fa75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Enum or sealed? class makes it possible to report progress. Enum \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":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a05ab45abbe18cf20825cdb1f1ead3ad5133cde53f0e46174349455741faaed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO kdoc \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":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df47d1f733a0dc14c39350ad39c7eca1b4c7a30039d413c008d269b7bae9e57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better name than \u0022real\u0022 \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":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94a52b872b873a9156361866c5e91874769c0127b11f18fc38e980d0b5ad219"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Think about making this easier to build up. Having good defaults, or a builder of sorts. \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":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfd181705c90cb9080e17f0234d5c46eb05681e955c76df9c6ddc48f1456b6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove the listener and replace that by specific events \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":"shark/shark/src/main/java/shark/RealLeakTracerFactory.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d9899ed3ac1d25da7cee568b233a227597b9a87635684f73ab64d9614e15e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Better name \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":"shark/shark/src/main/java/shark/Reference.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f049d57be1fed40e9059b30845e3fe3a4faf6855c805081766cdfe8bb6c56f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Reevaluate name. Maybe not \u0022Reader\u0022? Something about navigating? \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":"shark/shark/src/main/java/shark/ReferenceReader.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b5bd804dc04ef8f6e8dce2731a1fccc3b16961c00774a068bf1f9905b3b35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Mention that this can also compute retained sizes? \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":"shark/shark/src/main/java/shark/ShortestPathFinder.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c758befd24ae5d72b532ed722a15d274bc5e4e3741b92bf280c0d36c5d1318"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO We need to decide whether to show the activity icon based on whether \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/DebugExampleApplication.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"40945e323fbf6104637266f0ef99ebd07f0b90eaa1f9c653dea7c5ba859c0ad2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Move this into an EventListener class, maybe the standard one \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/DebugExampleApplication.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9059d26f30d4f515592f418357fca083d68d040cf8711f85d4251de0a8abe2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO Detect if app installed or not and delegate to std leakcanary if not. \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/DebugExampleApplication.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1d2d87ed338be3232afd547676afd9a21e76a53b85ebf2dba764a9e1152f77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Wire up LeakCanary now. \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0d27f1467e8afe21bc55471cc535a0c8797bef5557e1d3c9b33825fe201ebf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add to objectRetainedListeners \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a43f77919ea5f52002b93e60dcfbe5d058b2852bae6653e70107336bdb12be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should configure which fragment to expect. \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428a2c231e0eff69be8f280bae0a564c572d1283dfa5cedff2457a8310f7f2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should configure 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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39a4222cee693c83a5e00557c9119881cddf870430b049ab72190bac04e0408"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should this be a public utility? \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aa255e4981fc7e211e1ba67ab3404c8fe0fe6865f77bd0d008d611e1a281ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should this be a public utility? \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a7903ec93bb17caf5002798a9ff5fde2161726f730d33e7877342b230b2285"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should this be a public utility? \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feb524b2c0b123407871f52a5ce16a591d7ed05b1c454c930a6c83d4a2509e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Should this be a public utility? \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"225a1cd714671240ff400b1286f940e05d09175be0b4938420ab783f3d5e4fb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Make this lazy? \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":"samples/leakcanary-android-sample/src/debug/java/com/example/leakcanary/ExampleSetup.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"94292f371471874fb972a59140628ab96ebf98cf5fce64af2346dd760c4f10a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO turn this off by default. \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":"object-watcher/object-watcher-android-core/src/main/java/leakcanary/FragmentAndViewModelWatcher.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0fb8c3c2cff2f7196d6601fffb189706d93a99f47ac942ca70564bd9fe3999"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Enforce package signature, here or on service connected. \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":"leakcanary/leakcanary-app-service/src/main/java/org/leakcanary/internal/LeakUiAppClient.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac839b947bb7294138c5c139a6d6b1818b0b709fe83bb7bd97eaac35b37f5e01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Revoke permission \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":"leakcanary/leakcanary-app-service/src/main/java/org/leakcanary/internal/LeakUiAppClient.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c91beb97de299627f92a0e32985f265283da1eac574981d715853a400b0c082"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handle service connection error \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":"leakcanary/leakcanary-app-service/src/main/java/org/leakcanary/internal/LeakUiAppClient.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c29e85f49eb1a7b86b8cc86e7201a73efd7ccb7cdebc92da2df2ae8b4ff0f1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Stubs can be longer lived than the outer service, handle \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/service/LeakUiAppService.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2301e12f5e7fc95d337d5579c26d355b7f1bd76584cb36a07456270f0f96aabf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Use sendHeapAnalysis as a trigger to check if this is the first ever linking and \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/service/LeakUiAppService.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b5f0853a776a7b1cbf48b3a2b112e31b51e68612c24c41e0c3c2ab9fe79390"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe return an intent for notification? \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/service/LeakUiAppService.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdb82e636529346e049efa01f38ec10016c322fb34d7010d785c67c6206d6b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Return null if we can\u0027t handle the caller\u0027s version \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/service/LeakUiAppService.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"184f459472d65f839ec1894d980b0a778641255ca02828e0086b90d4580e846b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This currently does not save UI state in the backstack. \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/BackStackViewModel.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8be8ce19bcfe6d3cef2d6d249d53f8d1b1330e6f1d9d8fd186d3164fd10eca6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Don\u0027t go here if failure, go to a failure screen instead. \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysesScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"608700447d11c2d3f282f891ae303db5b5edf93272240f6b48993ff8526aeee6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This should be a primary button \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysesScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e26709b9ff653916ff880b2dbf3b0135bd91460e46612d856d8b06d9673df4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Why is there no ripple? \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysesScreen.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae73f025e7e295bafbdca49f0dc7a21c6733c1e281dc5cbac6be0f94de8af18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Surface in the UI which app we\u0027re in still. \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0f7fc6c6c92aa9e73ebd595127d088c8f7c7a19aed039b56bb25fb02fcb2ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO SharkLog will likely be disabled in release builds, we always want to print \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3bc7c7ba99f6d40045f9a37d1eb64237c41d22eaeb60c150fff2c3243481bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Query consuming app \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee6b7014b92f5c103bfe6fce4c3997309a92241852883a05be558be2b9d2acc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this should be an expendable item row instead. \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c56dc687d4a714fd84d60ff1c38eeadd8efdbef76111e89baba11cacd4ec38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Nicer count \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f5682b9720c9a0c17dc120de6acb6313b3d4abfa20d469e9d07cedf8dfe911"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add date for list of leaks \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0ed87024d2bba1cb85ae5b625ee9cec3ae8a3832bdc2ab9a6cca35d5963398"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pills \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppAnalysisScreen.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c4cea3fac9c599f7c610b65e245e730c871b23b08ba2d3bbc56b0bca7a85e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Icon \u0026 package name \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ClientAppsScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2460f1b974191c6f55ba81ea09289a6a019701de00537ed5e499a1889710d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Figure out dynamic titles, this should say \u0022X Heap Analyses\u0022 \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/Destination.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db262d7ac78ff677be4ca7487429e3339881e3d971b068d7268305da95de47b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handle selectedLeakIndex == -1, i.e. we could find the leak but no leaktrace \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/LeakScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d47b15d452bd328d40ad1980e6ab945b3d3927c64252e75717202b703be676"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Support switching the selected leaktrace. \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/LeakScreen.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6dc92ba5959360d7cf57dc3464b7342da1c68954f7a44e25e185e9a35459ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add header section from LeakScreen.onLeakTraceSelected \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/LeakScreen.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2615962bb222a2fba3b0b6254ff13eab0648dc04f0e02903eb15ebb05910c743"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add connectors \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/LeakScreen.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4b50008442ddbc9eea95875018411ff16856670a344be0277cd18e3660ecb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handle intents \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/screens/ScreenHost.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24ec6140b3a773a84312094cccb8e2f8e18bfa8b40c65ef887da60678204e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handle error, this will throw NPE if the analysis doesn\u0027t exist \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":"leakcanary/leakcanary-app/src/main/java/org/leakcanary/data/HeapRepository.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0774596088a53caefcb3ee47a9521c83c44f24d38782aae50c0f34f4837cd40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Figure out what to do when we get more than one. \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":"leakcanary/leakcanary-android-uiautomator/src/main/java/leakcanary/UiAutomatorShellHeapDumper.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dde0f21a7df4adf48f8b445e8bb2b99d9158580ccf489f30c0361b9dbcbff96"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack. We don\u0027t have a programmatic way to wait for the reference queue daemon to move \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-release/src/main/java/leakcanary/internal/RealHeapAnalysisJob.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeb6e26ee19eda1cf3e87080d46e5a4b980334d19de2ad9559f3482a16e3063"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Unify Notifications.buildNotification vs Notifications.showNotification \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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/NotificationEventListener.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b043aa34cabade0e73818674fad2d4ab62c9bdb271605684d1cb528780c2463"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 31 project(s) overshoot their size bounds, lowering Project Cohesion to 7.7/10. The most over is \u0060shark/shark-dive/shark-dive-core\u0060 (11605 LoC, 283 module-visible types across 1 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":"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":"6cd7dd8ce2cb5c04a2c1d6ebe0d105c0ff37322563dcca85e129c8d762d0c027"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d69e3beab226c373b7bd1d84dd05efb1dfab99c067a123e2df341897ba4f5b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b86715734cb7c525a74b977566fb5881ccf8675d3931c6ebdd196eda219505c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e89239b706c746d631507c33b2950e6451e2727f0f8419ec397037ecfde62c74"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43ab53b9fdd7f42d1caa5be8e0552cf2290c7ab2c1ac64cf030ff2cec820eaec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3c63982827f9209c39781e9a90ad66f9a0ff44716d4eb80ac0bf1e9f25f6bf6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9136fbaa92ea14ac7cbc2c95c3cb37cd0aab779eca11caebabf6e972a920f9cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba30774c97eb747aee0c0cba3a4d6bbf8d110c18bc4fd144c0fe7ee9b1bdacf2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38959eef1d931c4617128b964e20fd9db50941a1a9b9680b715893ae0f79a4b7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edded140099b36143f41ed3ea178a17dbaa9172526fe9694c6e9ec2981a99d30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57858dfadfb7838f0251577f0feac4cae7c81cbd66df5e2a5bb6f3511d5c76f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4b3f90c0a7fb767488dab8bf22626caffd12658c9dd7ed4611653a1d5d0b6de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee87546242d71dd2390fa15781a72ebbbd15d13edb89fa5f611bf5ffee14a522"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ab8b3c078b7aa4745651c54d261b316b0611c105149e241168c35c2b156bf21"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e9ab3391d8e11807b136be6a1da6ca6e7686cf1c2e3936ad76a8ee569655602"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44458c6d7140032aa801efbb0fcf152f8bcff20b46557ecf8a474916906dd657"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af3b3b36ebf24b8a4d001cd331f1fa2ee53243d637347f3ff060cf78fd61c066"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ceea163071411ea495e593cbb3ff35a27dae3ec3546d97e8d9aa3eb4291ba51c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71b08e5eba52c00b5a493dba2b4aa9f20c40fe545c4fd619040d58cf6294aa89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"654a4820196e4442bea5883c49d3b06bba83fee9b8d91c06cf4aecfdb791c7b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"384a4e4043f108dba53cee1d3bcb70f4bf5a04cc27eb3d47c980bb9d7dc78e43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaade4e2fc99a306e52c90ea02ec2073bc215ad1c8f021056a867957fc612d5d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eade52d6e815265a54d69407f76749be58e7637dcb57addb157e1d75e5f6e9c4"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 267 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 267 of the 517 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/SquigglySpanRenderer.kt, shark/shark-hprof/src/main/java/shark/ProguardMappingReader.kt. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/SquigglySpanRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a5586b293f8a3545101ea6c97acbc18d3d99ab4faee14741801f9d8443338e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-hprof/src/main/java/shark/ProguardMappingReader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e191ab936a37e6ae60a44d453e6ba4099343ca44afe5c128185d8ec417442b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: HeapDumpDive.kt \u2192 LeaksScreen.kt, Main.kt, TreemapView.kt: \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt\u0060 changes together with 3 other files \u2014 \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/LeaksScreen.kt\u0060, \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/Main.kt\u0060, \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/TreemapView.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/HeapDumpDive.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"751017421d7fa0137ae7d86e91b31a38a1d411b3e75231d954c13bcb991a9e0c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Main.kt \u2194 TreemapView.kt: \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/Main.kt\u0060 and \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/TreemapView.kt\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600961c6d1\u0060 Describe what the pointer is on, and draw the chain that holds it (at that commit the files were still \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/Main.kt\u0060 and \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/TreemapView.kt\u0060); \u0060d847264f\u0060 Show what the bitmaps of a heap dump look like (at that commit the files were still \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/Main.kt\u0060 and \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/TreemapView.kt\u0060); \u006018d5d3e7\u0060 Draw every object of the heap dump, uncollected garbage included (at that commit the files were still \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/Main.kt\u0060 and \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/TreemapView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/Main.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"407a17e3f186ccb0869b1bd536511464c37f0a36360c377a7df07b22b68ba2bb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HeapAnalyzer.kt \u2194 ObjectDominators.kt: \u0060shark/shark/src/main/java/shark/HeapAnalyzer.kt\u0060 and \u0060shark/shark/src/main/java/shark/ObjectDominators.kt\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060580d14e1\u0060 Compute retained sizes during path finding instead of building a domi\u2026; \u006015404791\u0060 Move java locals exploring to a ref reader (at that commit the files were still \u0060shark/src/main/java/shark/HeapAnalyzer.kt\u0060 and \u0060shark/src/main/java/shark/internal/ObjectDominators.kt\u0060); \u0060fbe1b49d\u0060 replace library leak with low priority in ref API (at that commit the files were still \u0060shark/src/main/java/shark/HeapAnalyzer.kt\u0060 and \u0060shark/src/main/java/shark/internal/ObjectDominators.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/HeapAnalyzer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0ec8479840911c4e9fe438b126cb3ebb956e1f06b51ec91563b9edd09d40f0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LeaksScreen.kt \u2194 Verdict.kt: \u0060shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/LeaksScreen.kt\u0060 and \u0060shark/shark-dive/shark-dive-core/src/main/java/shark/dive/Verdict.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006045b05cb6\u0060 Mark the faulty reference on the chain (at that commit the files were still \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/LeaksScreen.kt\u0060 and \u0060shark/shark-explorer/shark-explorer-core/src/main/java/shark/explorer/LeakStatus.kt\u0060); \u006067a3e45e\u0060 Say \u0022Stuck\u0022 and \u0022Expected\u0022, and name the faulty reference (at that commit the files were still \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/LeaksScreen.kt\u0060 and \u0060shark/shark-explorer/shark-explorer-core/src/main/java/shark/explorer/LeakStatus.kt\u0060); \u0060b9f15b48\u0060 Say \u0022Leaked\u0022 and \u0022Needed\u0022, one word each (at that commit the files were still \u0060shark/shark-explorer/shark-explorer-app/src/main/java/shark/explorer/app/LeaksScreen.kt\u0060 and \u0060shark/shark-explorer/shark-explorer-core/src/main/java/shark/explorer/LeakStatus.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark-dive/shark-dive-app/src/main/java/shark/dive/app/LeaksScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7cdd11768c8af6e7d95a2d240e116537852e75302d32b88819fca1f78a447a"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 110 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060leakcanary.internal.DisplayLeakAdapter\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakAdapter.kt:284, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakAdapter.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc6d6cbc9699f613cea18247e9b898e2ff0f673c453fcd760f287b89b59bd3d"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060leakcanary.internal.DisplayLeakConnectorView\u0060 are marked as implementation by their own namespace, folder or name: \u0060Type\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:58, \u0060internal\u0060), \u0060Companion\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:235, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e6348eb2177386c57bd12d0bbb382283d822f10b872e7511fb7cf829fbdf71"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 10 public types in \u0060leakcanary.internal.DisplayLeakConnectorView.Type\u0060 are marked as implementation by their own namespace, folder or name: \u0060GC_ROOT\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:59, \u0060internal\u0060), \u0060START\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:60, \u0060internal\u0060), \u0060START_LAST_REACHABLE\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:61, \u0060internal\u0060), \u0060NODE_UNKNOWN\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:62, \u0060internal\u0060), \u0060NODE_FIRST_UNREACHABLE\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:63, \u0060internal\u0060), \u0060NODE_UNREACHABLE\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:64, \u0060internal\u0060), \u0060NODE_REACHABLE\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:65, \u0060internal\u0060), \u0060NODE_LAST_REACHABLE\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt:66, \u0060internal\u0060), and 2 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/DisplayLeakConnectorView.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1e19a9cbdc6763a4d89978d5566a7ae72528fcd523d1d8b94f31e0bedba8fd"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060leakcanary.internal.HeapAnalysisDoneDispatchWorker\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapAnalysisDoneDispatchWorker.kt:53, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapAnalysisDoneDispatchWorker.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4d443fe5564a388ab8daa4af2c72689f8311c444f3fcf453f94c54b338d10b"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060leakcanary.internal.HeapAnalyzerWorker\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapAnalyzerWorker.kt:33, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapAnalyzerWorker.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28bdc38fc80b12b51b47a6c0aa08a5975cd165dce24f7cc9d2918c24e7a1c20"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060leakcanary.internal.HeapDumpControl\u0060 is marked as implementation by its own namespace, folder or name: \u0060ICanHazHeap\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt:16, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b368c350630a33a5d111c8666fabfbdcec30e3b70cdd8034d77f69e31c2d3772"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 4 public types in \u0060leakcanary.internal.HeapDumpControl.ICanHazHeap\u0060 are marked as implementation by their own namespace, folder or name: \u0060Yup\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt:17, \u0060internal\u0060), \u0060Nope\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt:18, \u0060internal\u0060), \u0060SilentNope\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt:19, \u0060internal\u0060), \u0060NotifyingNope\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt:24, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead0118bf6b68b2af57a79a8b6ff508fed5dd023360765f6131a619ee911365"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060leakcanary.internal.HeapDumpTrigger\u0060 is marked as implementation by its own namespace, folder or name: \u0060Companion\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt:417, \u0060internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpTrigger.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c6243efc346421a7d238d1ad0a370e2189007c8005475ec6a08785d5db8a8f"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 12 public types in \u0060leakcanary.internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060HexObjectIdsKt\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HexObjectIds.kt:1, \u0060internal\u0060), \u0060NotificationTypeKt\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/NotificationType.kt:1, \u0060internal\u0060), \u0060OutOfMemoryGuidanceKt\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/OutOfMemoryGuidance.kt:1, \u0060internal\u0060), \u0060SerializablesKt\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/Serializables.kt:1, \u0060internal\u0060), \u0060VisibilityTrackerKt\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/VisibilityTracker.kt:1, \u0060internal\u0060), \u0060RemoteLeakCanaryWorkerService\u0060 (leakcanary/leakcanary-android-process/src/main/java/leakcanary/internal/RemoteLeakCanaryWorkerService.kt:14, \u0060internal\u0060), \u0060AndroidTestHeapLimitKt\u0060 (leakcanary/leakcanary-android-test/src/main/java/leakcanary/internal/AndroidTestHeapLimit.kt:1, \u0060internal\u0060), \u0060HandlersKt\u0060 (leakcanary/leakcanary-android-utils/src/main/java/leakcanary/internal/Handlers.kt:1, \u0060internal\u0060), and 4 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HexObjectIds.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22dd84de3ac379b10b37d43011b6627964007cee8ee7c53db508c4439b8b06c"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 3 public types in \u0060leakcanary.internal.InternalLeakCanary.FormFactor\u0060 are marked as implementation by their own namespace, folder or name: \u0060MOBILE\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/InternalLeakCanary.kt:75, \u0060internal\u0060), \u0060TV\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/InternalLeakCanary.kt:76, \u0060internal\u0060), \u0060WATCH\u0060 (leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/InternalLeakCanary.kt:77, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/InternalLeakCanary.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a41054fce0820401cfc9af9131e45a6a88db36a0629a5f61c833be548d6e7d9"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 5 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/main.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!visitingLast \u0026\u0026 !toVisitQueue.isEmpty()\u0060 appears character-identically in 2 files \u2014 shark/shark/src/main/java/shark/ObjectGrowthDetector.kt, shark/shark/src/main/java/shark/PrioritizingShortestPathFinder.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":"shark/shark/src/main/java/shark/ObjectGrowthDetector.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a264f66e2738e3d9a0e1af2f851193e6e44bd9bf4bed87ea43ee9b5c89153f14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= 0 \u0026\u0026 index \u003C= bytesPerEntry - 4\u0060 appears character-identically in 2 files \u2014 shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt, shark/shark-graph/src/main/java/shark/internal/UnsortedByteEntries.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":"shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e069998e898692df1adb2b61f62eef8566d6558a64377c45c09f090ebd372be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= 0 \u0026\u0026 index \u003C= bytesPerEntry - 8\u0060 appears character-identically in 2 files \u2014 shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt, shark/shark-graph/src/main/java/shark/internal/UnsortedByteEntries.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":"shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd33452e18fb24c1c6c05e5a770ccefd93ca1e5af9e18becc740840dd938624"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= 0 \u0026\u0026 index \u003C= bytesPerEntry - byteCount\u0060 appears character-identically in 2 files \u2014 shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt, shark/shark-graph/src/main/java/shark/internal/UnsortedByteEntries.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":"shark/shark-graph/src/main/java/shark/internal/PagedUnsortedByteEntries.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9e5492bcf380543e7a6275066481c4da97b647c6c54eba3b40f516e3ef7f06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060instanceClassId == hashMapClassId || instanceClassId == linkedHashMapClassId\u0060 appears character-identically in 2 files \u2014 shark/shark/src/main/java/shark/ApacheHarmonyInstanceRefReaders.kt, shark/shark/src/main/java/shark/OpenJdkInstanceRefReaders.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":"shark/shark/src/main/java/shark/ApacheHarmonyInstanceRefReaders.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"449362ace9e9805b220190bad2adc141110a1091f908c4c591d9a120ea5eb365"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060instanceClassId == hashSetClassId || instanceClassId == linkedHashSetClassId\u0060 appears character-identically in 2 files \u2014 shark/shark/src/main/java/shark/ApacheHarmonyInstanceRefReaders.kt, shark/shark/src/main/java/shark/OpenJdkInstanceRefReaders.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":"shark/shark/src/main/java/shark/ApacheHarmonyInstanceRefReaders.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0652b2a45736de479f17402375be7c780331c563acd0166690994ba463e523c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.isBlank() || line.startsWith(COMMENT)\u0060 appears character-identically in 2 files \u2014 shark/shark-dive/shark-dive-core/src/main/java/shark/dive/StarredFile.kt, shark/shark-dive/shark-dive-core/src/main/java/shark/dive/VerdictFile.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":"shark/shark-dive/shark-dive-core/src/main/java/shark/dive/StarredFile.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f874c164dd629d9104b091ae24a07d795b9853f36856edfcd179442d830a76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lineRemainingChars.isNotEmpty() \u0026\u0026 lineRemainingChars.length \u003E maxWidthWithoutOffset\u0060 appears character-identically in 2 files \u2014 leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt, leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11d564866f68ae3d5b13fcd3ac611d80d182900e6b1376214e63a07d01c0345"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextLineWithUnderline != null \u0026\u0026 underlinedLineIndex == -1\u0060 appears character-identically in 2 files \u2014 leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt, leakcanary/leakcanary-app/src/main/java/org/leakcanary/util/LeakTraceWrapper.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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/screen/LeakTraceWrapper.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc17e4cdea673fca13c9c7cddf4e753e770596d9dc496a502d3c64c8fd61a49b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toVisitQueue.isNotEmpty() || toVisitLastQueue.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 shark/shark/src/main/java/shark/ObjectGrowthDetector.kt, shark/shark/src/main/java/shark/PrioritizingShortestPathFinder.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":"shark/shark/src/main/java/shark/ObjectGrowthDetector.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14817c7cf4a32a2a4dfcd8d0875e28e3c0134daa32b494834fbd86e5e239bb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (notJson: 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":"shark/shark-dive/shark-dive-agent/src/main/java/shark/dive/agent/AgentWire.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b95c7221d42076b7a908b1dc6c611dd700c64939e94c4aa524f8b7ce46ee517"}},{"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":"shark/shark/src/main/java/shark/HeapAnalysis.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7a541a96037f791d5e1b1226aa76116d4379efa74d18c836f3c4986ee08aed"}},{"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":"shark/shark/src/main/java/shark/HeapAnalysis.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"71025b3fc38783d42dd5e6cc8b2b67c270232ce9c0c13d6a00a8aaf081d6ac6d"}},{"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":"shark/shark/src/main/java/shark/HeapAnalysis.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d2b22845a045c0ea01150f9050e62de4148a9cf20fd26cf3f6b33ffc7448ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plumber/plumber-android-core/src/main/java/leakcanary/internal/FragmentExtensions.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e1be2c0696569a27c4acf0a7512066a503bbca9c38236b3206bceaa93f6787"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"object-watcher/object-watcher-android-core/src/main/java/leakcanary/internal/LeakCanaryDelegate.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaae6f343094c8c7fa1ab11b38a144981b0a11ad581a2d90a2beb79a3ca92ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"object-watcher/object-watcher-android-androidx/src/main/java/leakcanary/internal/AndroidXFragmentDestroyWatcher.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fff1d45bd64983fa09133761c3f4a38dce948f1efb601ad3a2e67aeff3e572"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-core/src/main/java/leakcanary/HeapGrowthOutOfMemoryGuidance.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a13df19b18d1067dfc04bffc738ae713cd6f05dc1d42a9f1b2483aef915c85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/RemoteWorkManagerHeapAnalyzer.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d781ec4b562171e0a8754fd7fa3390375e0ab6634b63d80765b6ed261c5dde15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/WorkManagerHeapAnalyzer.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a74e5358c72fecc132ba9e8bfbfb0fcfb2d91673ad37617136de5d82cba5085"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ignored: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/WorkManagerHeapAnalyzer.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a9aa3fde7500e74d2c6c233afbabfd57899a5c39ab96267ab377714547001a"}},{"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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7296ed966499ea43797625447280e71ff280fced9d483341a2e14b74b6cd6b29"}},{"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":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/HeapDumpControl.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b148480253be34bba843e71ac849ad5a2c4317d4684d7bf1505756949e408699"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/db/Cursors.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36bda389b0bdd62326b1957eacde87f3c72a86a37cea6dbb4cba3cc3874d358"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060androidSdkInt\u0060 swallows every exception into \u0060-1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/HeapAnalysis.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"88752a28472702437318c7dc499abddf19a51e0b120ad1499e4cb5cd7722036d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060androidManufacturer\u0060 swallows every exception into \u0060\u0022Unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/HeapAnalysis.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f796a9657c50965950345ea19919bf8b3636449392c7b18cc74e4cc196b2a78"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060leakCanaryVersion\u0060 swallows every exception into \u0060\u0022Unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shark/shark/src/main/java/shark/HeapAnalysis.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3481cf0ca9acb8b9f19300ab15285bf634bc37113a59c357a677a3155ad80871"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":27,"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."]}]}