{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXA1","name":"Runtime unauthenticated reachability","shortDescription":{"text":"Runtime unauthenticated reachability"},"helpUri":"https://codehealth.canine.dev/dimensions/AXA1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXH1","name":"Runtime security headers","shortDescription":{"text":"Runtime security headers"},"helpUri":"https://codehealth.canine.dev/dimensions/AXH1"},{"id":"AXI1","name":"Runtime container hardening","shortDescription":{"text":"Runtime container hardening"},"helpUri":"https://codehealth.canine.dev/dimensions/AXI1"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"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":"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":"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":"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":"grin_core::ser::deserialize_error_kind (cyclomatic 91): grin_core::ser::deserialize_error_kind has cyclomatic complexity 91 (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":"core/src/ser.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb47607944684a12368d288db257431813225216a84b6d1b5303bc695101602"}},{"ruleId":"D1","level":"warning","message":{"text":"Protocol::consume (cyclomatic 41): Protocol::consume has cyclomatic complexity 41 (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":"p2p/src/protocol.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeb825f4522d5d902d2c7d012b139efdb9671980e0b3a9ce71eb71cbd05813b"}},{"ruleId":"D1","level":"warning","message":{"text":"Desegmenter::next_desired_segments (cyclomatic 31): Desegmenter::next_desired_segments has cyclomatic complexity 31 (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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52cd8453b8575c77619ebe77ce26d9a6e2a806151e2928f4b8a3dfbcb302fd4"}},{"ruleId":"D1","level":"warning","message":{"text":"StateSync::check_run (cyclomatic 31): StateSync::check_run has cyclomatic complexity 31 (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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabce0b151e4503105f4ad536d8fd4ea85b6630819f8389fd7932038dd2f0f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"StateSync::continue_pibd (cyclomatic 25): StateSync::continue_pibd has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"72882b3c2da79f8254fca3b08f7c0432d5273527134408f2d960624b7ec61f34"}},{"ruleId":"D1","level":"warning","message":{"text":"TUIStatusView::update_sync_status (cyclomatic 23): TUIStatusView::update_sync_status 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":"src/bin/tui/status.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f6146336e958b496eae4a621ddf1b7751651ccc6906436979d6cbbce58699"}},{"ruleId":"D1","level":"warning","message":{"text":"grin_p2p::conn::poll (cyclomatic 21): grin_p2p::conn::poll has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/conn.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"479f0215816cedb84044b996b35f7ed06d4b3fa810548ba71ba40750ecd6aaa1"}},{"ruleId":"D1","level":"warning","message":{"text":"grin_servers::grin::seed::monitor_peers (cyclomatic 21): grin_servers::grin::seed::monitor_peers has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/seed.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"22877abc8be4d8c03d38750733648644f0b94691ab0ce6d3e81381aa34a63090"}},{"ruleId":"D1","level":"warning","message":{"text":"grin::bin::grin::real_main (cyclomatic 21): grin::bin::grin::real_main has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/grin.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"254fc3342fb5a3e52bb18f901ee058535f1e6f2f45b854d485fc3397e4714ea9"}},{"ruleId":"D1","level":"warning","message":{"text":"CuckatooContext::verify_impl (cyclomatic 19): CuckatooContext::verify_impl 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":"core/src/pow/cuckatoo.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad37cfb0e34a5455512afeb5eeb6a0695783e9c4488080d2087de2bbe052a9"}},{"ruleId":"D1","level":"warning","message":{"text":"CuckarooContext::verify (cyclomatic 18): CuckarooContext::verify has cyclomatic complexity 18 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckaroo.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6534b1eb74f748ec09d4dcf7f747760a173a4b81550afdd63bd71a2a6b1ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"CuckaroozContext::verify (cyclomatic 17): CuckaroozContext::verify has cyclomatic complexity 17 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckarooz.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67be91e268d53c49fd26714f2cfd7d3b0f7380af964a11e95246ff41d56684a"}},{"ruleId":"D1","level":"warning","message":{"text":"Codec::read_inner (cyclomatic 17): Codec::read_inner has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: grin_p2p::codec::decode_message (cyclomatic 26) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/codec.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d1609bc355de1ce18854e93a3120c27d193af306f0b112461af6b3e64c8c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::new (cyclomatic 17): Server::new has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/server.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"af339509b25565d1c77c374419fe623f7aae7bb32870d226daa51352b8419f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncRunner::sync_loop (cyclomatic 17): SyncRunner::sync_loop has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/syncer.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9a06cbdc6a58acad875ec1e6a379741a12d4257d17bb01f42b6653cb9e2f5f"}},{"ruleId":"D1","level":"warning","message":{"text":"Segment::root (cyclomatic 16): Segment::root has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/pmmr/segment.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"8250d23d5bdc20ff1f7d21bdf4eb0ca8b6cbf2dce8a00ba81f660e762f024bf5"}},{"ruleId":"D1","level":"warning","message":{"text":"CuckaroodContext::verify (cyclomatic 16): CuckaroodContext::verify has cyclomatic complexity 16 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckarood.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d78f473c81c9c97a8346f77926108c7796b9236c0db405554a066e581c58903"}},{"ruleId":"D2","level":"warning","message":{"text":"StateSync::check_run (cognitive 74): StateSync::check_run has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (66 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 43). 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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7636209dda64f52e75725200491c0c59c12f2bb79f7d3f733629ae87440dc1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Desegmenter::next_desired_segments (cognitive 59): Desegmenter::next_desired_segments has cognitive complexity 59 (threshold 15). Drivers by points: if/else 22 (47 pts), loops 4 (8 pts), boolean chains 4 (nesting depth added 29). 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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5873a85de847b4048a4b36f0fd32a6bf275661cac3fef0c12697961744d405c2"}},{"ruleId":"D2","level":"warning","message":{"text":"StateSync::continue_pibd (cognitive 55): StateSync::continue_pibd has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (48 pts), match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 28). 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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcc2b95a383e4796a2202022f51739e7763e390779e006a629b5aa157346d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Codec::read_inner (cognitive 37): Codec::read_inner has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/codec.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a444cdd1ad4c4e3277d953bf31f73955803e7ff138ce3ed8bb55ea5a3ef7af13"}},{"ruleId":"D2","level":"warning","message":{"text":"Pool::bucket_transactions (cognitive 37): Pool::bucket_transactions has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 5 (12 pts), match/switch 1 (2 pts) (nesting depth added 20). 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":"pool/src/pool.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e4c090f1c9dab3f8c4a356833dcc9ea99e6b4c08d440becb212b11afcc88b3"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncRunner::sync_loop (cognitive 37): SyncRunner::sync_loop has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 5 (11 pts), loops 2 (4 pts) (nesting depth added 21). 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":"servers/src/grin/sync/syncer.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d91cecc79be585bbe6a428c1bb1831236bc21538a727906911ad1e05f9319db"}},{"ruleId":"D2","level":"warning","message":{"text":"Protocol::consume (cognitive 35): Protocol::consume has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (34 pts), match/switch 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":"p2p/src/protocol.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ad75ec9dd878a08e8abb47fcac11d2ee180bd7d6788b5846cabb02b17adb0d"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderSync::header_sync_due (cognitive 35): HeaderSync::header_sync_due has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (27 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 19). 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":"servers/src/grin/sync/header_sync.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16250f9b2f0c8d85e0bb8395b468071215ea237fd8a3c82bb50ca15e88e6aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_p2p::conn::poll (cognitive 34): grin_p2p::conn::poll has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 5 (11 pts), loops 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/conn.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4518b997a1c500454d295f2d432e9641611457013a871c44b0adb0ee15fabde"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_servers::grin::seed::monitor_peers (cognitive 34): grin_servers::grin::seed::monitor_peers has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 7 (9 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/seed.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"294630bd2c96fb0c1749360dc671c54fc01705cdd89b928733493ddb531353a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::new (cognitive 34): Store::new has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 4 (13 pts), loops 1 (nesting depth added 20). 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":"store/src/lmdb.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4c0694d1982be5ad383671d1ac00936aadb86c0c17974c714d01afaf2b79e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment::root (cognitive 33): Segment::root has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 2 (7 pts), boolean chains 3, loops 2 (3 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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"418f2b0f2f622c421a3b14fb75ef75db641475b80b47de671e201671e5a4cdaa"}},{"ruleId":"D2","level":"warning","message":{"text":"CuckatooContext::verify_impl (cognitive 33): CuckatooContext::verify_impl has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 4 (5 pts), boolean chains 2 (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":"core/src/pow/cuckatoo.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f268f16405f933426e3687c52f13bb0f6d7f4fe0fb9b02dcd6da25441a4a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"NetToChainAdapter::compact_block_received (cognitive 33): NetToChainAdapter::compact_block_received has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (8 pts), match/switch 2 (4 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":"servers/src/common/adapters.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9981ee9ad383b76ecc1563786dc223d2ec15348b56277ca12416969cf4df32ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CuckarooContext::verify (cognitive 32): CuckarooContext::verify has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 14). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckaroo.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6da79e74e4b841c7e1292b273f71a3b83ed7ffa6055a4b18a041b2836e67154"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_api::rest::start_server (cognitive 31): grin_api::rest::start_server has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 5 (11 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/rest.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ed0f17d102e4a7a750e8cf2c89ebf50ec8751abffe86b550e82b74845f7f60"}},{"ruleId":"D2","level":"warning","message":{"text":"TxHashSet::verify_kernel_pos_index (cognitive 30): TxHashSet::verify_kernel_pos_index has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (6 pts), match/switch 1 (4 pts) (nesting depth added 18). 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":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73990ebfd421707a173b83e8256c4fe059b27c8f3789a6603e57bd04bfcaee5"}},{"ruleId":"D2","level":"warning","message":{"text":"CuckaroozContext::verify (cognitive 30): CuckaroozContext::verify has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 13). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckarooz.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c354a4bfee808cc611999f5f1d90c256686760e1cab79f89fe92885a14d815"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::listen (cognitive 29): Server::listen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (23 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/serv.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4c197b9fee460eb6e5d6c27a497397accf3dd1d6ff319b39beec01d5d4883a"}},{"ruleId":"D2","level":"warning","message":{"text":"grin::bin::grin::real_main (cognitive 29): grin::bin::grin::real_main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (22 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/grin.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64989d90188e8adf177defed71acde5449564abbaaf14d8371cfb8cc8437599"}},{"ruleId":"D2","level":"warning","message":{"text":"Desegmenter::apply_next_segments (cognitive 28): Desegmenter::apply_next_segments has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (28 pts) (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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c3fb2205eafed09547c6a30f07e37ffdd93aaa0ad5215438547b154778086"}},{"ruleId":"D2","level":"warning","message":{"text":"TxHashSet::init_output_pos_index (cognitive 27): TxHashSet::init_output_pos_index has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"212727209974398bb2f7fa1ef3696884c253f98bcf68b12d4b27075978572d69"}},{"ruleId":"D2","level":"warning","message":{"text":"Extension::verify_rangeproofs (cognitive 27): Extension::verify_rangeproofs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 1 (2 pts), loops 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":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b81b7a98b6ecea6ffc482f7c3a2bbd5590e0579fb1e96f34ab51c56678fb33"}},{"ruleId":"D2","level":"warning","message":{"text":"CuckaroodContext::verify (cognitive 27): CuckaroodContext::verify has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckarood.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e553a3b9ad5ed548e36ea498b1e48f62a63f96f79f6b1e027035b427afd8949"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_chain::chain::setup_head (cognitive 25): grin_chain::chain::setup_head has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2, loops 1 (2 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":"chain/src/chain.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"9850a50f65bd207ae2d78030dbd15cff8205cb5a768cb2f5504be3b1d501a044"}},{"ruleId":"D2","level":"warning","message":{"text":"TUIStatusView::update_sync_status (cognitive 25): TUIStatusView::update_sync_status has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (22 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":"src/bin/tui/status.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0ae13cb64e4e55368251d8ad718d00cd7ca2e22eb34712676cb701518c773"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_core::ser::deserialize_error_kind (cognitive 24): grin_core::ser::deserialize_error_kind has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 23 (24 pts) (nesting depth added 1). 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":"core/src/ser.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1cfd117bf737e0fac1e0d10810a9e557261630bfd1d86bc5286dfae1fb6976"}},{"ruleId":"D2","level":"warning","message":{"text":"CuckaroomContext::verify (cognitive 23): CuckaroomContext::verify has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 9). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckaroom.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0025e99dfcfd9c02395fd148c9aeda5907526ec411c1a0ce1395172ce4a128f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::new (cognitive 23): Server::new has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 4 (7 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/server.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aee5994dc7370a54b8c1b20ac614fa521fce22e951763ce526cd7ea0b066ac"}},{"ruleId":"D2","level":"warning","message":{"text":"PMMR::validate (cognitive 21): PMMR::validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (20 pts), loops 1 (nesting depth added 15). 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":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb15567f92d2493106783f8ea0c3aa1e46393b271df80c240c47eb2ec9fa6c83"}},{"ruleId":"D2","level":"warning","message":{"text":"Extension::apply_output_segment (cognitive 20): Extension::apply_output_segment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 2 (5 pts), loops 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. This shape REPEATS in the file: one other method here (Extension::apply_rangeproof_segment) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84697b6df7447411e130d13af37d64170b80671d6aea9dc030477540ec39535"}},{"ruleId":"D2","level":"warning","message":{"text":"Extension::apply_rangeproof_segment (cognitive 20): Extension::apply_rangeproof_segment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 2 (5 pts), loops 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. This shape REPEATS in the file: one other method here (Extension::apply_output_segment) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8810a664648e6ac168b5346269afe2e3f207b0de10bfb700f34567a2fe518ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"Extension::rewind_single_block (cognitive 20): Extension::rewind_single_block has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e745c0a524fb02cc03b4e2854f6d94f7f67715665e83d07bb58e41754e53abd1"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment::from_pmmr (cognitive 20): Segment::from_pmmr has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 1 (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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6b7deeb64dab448b2beb619b5e3de140122ab487744f1bd165154d947a027a"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller::run (cognitive 20): Controller::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/tui/ui.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8771121d563bfc57478fb3bd3aecbe6a0b07cfd4a738d0221343f2ba679f7a02"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockHandler::get_blocks (cognitive 19): BlockHandler::get_blocks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), boolean chains 1, 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":"api/src/handlers/blocks_api.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1594297f022789a4d0f02c99e48d0d8820dffa04f157c180eafe1735830d93d"}},{"ruleId":"D2","level":"warning","message":{"text":"Peers::clean_peers (cognitive 18): Peers::clean_peers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (4 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peers.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b01d70e3ac209b9f1f4ea6132a2dc915a967178417cd799d179ab40b5317fe"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_servers::grin::seed::listen_for_addrs (cognitive 18): grin_servers::grin::seed::listen_for_addrs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), match/switch 1 (2 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":"servers/src/grin/seed.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c744535aae21dcdc8bee3a35e45f153aa43e7a2dd544be596b3686617cc335"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::migrate_to_default_env (cognitive 18): Store::migrate_to_default_env has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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":"store/src/lmdb.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"71418ecff052d37073b4abdfebf7b3cc95e14ef572fdb45b400480803ab8d0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseIterator::next (cognitive 17): DatabaseIterator::next has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (8 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/lmdb.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc595ab975d9a69ea1775441547095c8e33ee354ab11b344bd7a5c5dafb50e8"}},{"ruleId":"D2","level":"warning","message":{"text":"grin_chain::pipe::validate_header (cognitive 16): grin_chain::pipe::validate_header has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (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":"chain/src/pipe.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c394f533e6ddc77767e53233f0fc516a7bcc2634e66491219033b434e592f"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionPool::add_to_pool (cognitive 16): TransactionPool::add_to_pool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pool/src/transaction_pool.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc44e922776db7010d23db3884902fa370d38b4988e902bfbfb51faf9f7a49b"}},{"ruleId":"D2","level":"warning","message":{"text":"BodySync::body_sync (cognitive 16): BodySync::body_sync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/body_sync.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dac9295663f82c8c79e6ff8ab50b3da8d385ab64e1930e943a87ca4fe212f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grin_config::comments::comments: FunctionTooLong \u2014 grin_config::comments::comments runs 376 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 276 over it, 3.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/src/comments.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5043c30d2e1abe29acc3bc6f97244b479994b660fe60131172d68a5178f4df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: txhashset/txhashset.rs: FileTooLong \u2014 1345 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 845 over it, 2.69\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":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58819b855a8288583bc251a548b94a21a930bfb827ead7ce2ffedc210bf9dbc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Protocol.consume: MethodTooLong \u2014 consume runs 268 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\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":"p2p/src/protocol.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b1855eafc959c7560fc3c1c218567ab2ec5a7bf326d9437fd6d21a42ff31ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Chain: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\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":"chain/src/chain.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0985ad3e1750b743e8eff2b373ca678689e131700ee04cd152d527e101e6c263"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grin_core::ser::deserialize_error_kind: FunctionTooLong \u2014 grin_core::ser::deserialize_error_kind runs 255 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/ser.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd53cb346aa36c7e8f1ea1ce97382301512a767942c9a416cfd45b4eb59f9d0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/transaction.rs: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 639 over it, 2.28\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":"core/src/core/transaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf64189948454812d99f5718d4a741db197d8cfcb0b79343cd24cb30c2296b03"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Chain: ClassTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 80 methods, 2 blocks, lines 148-1688. The bar is 400 significant lines; this is 484 over it, 2.21\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":"chain/src/chain.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9ae60378e178197c825911107bdecc9c84f610153ed622b46ad724505ecace"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/chain.rs: FileTooLong \u2014 1065 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Chain (2 blocks, 148-1688). The bar is 500 significant lines; this is 565 over it, 2.13\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":"chain/src/chain.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5723f1fcd63b3d3cee1ec5c394927a78ab62a61b061ba750061174b65ca82316"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Desegmenter: ClassTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 33 methods, 2 blocks, lines 41-1150. The bar is 400 significant lines; this is 316 over it, 1.79\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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"910705a31204200139f42ab78d6e32c124070930b6c9e691acf5f47c9e285721"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ser.rs: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 382 over it, 1.76\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":"core/src/ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2b80928e932e1706cd154d9e665cc09fb02a2c452de9dcad3da8333755c37a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateSync.continue_pibd: MethodTooLong \u2014 continue_pibd runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3f8415d9f599d5c82a46b5e724d63ced7c1b0fcba3b05ad2a85b900390fbdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: txhashset/desegmenter.rs: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: Desegmenter (2 blocks, 41-1150). The bar is 500 significant lines; this is 233 over it, 1.47\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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a0335cb1d70c2613df33d6da245b7d75e908dfefd7e9d668248c559b7f010f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.new: MethodTooLong \u2014 new runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"servers/src/grin/server.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da66d50e5d6debef4c3eb22d2d40ede076398eb3ec4c4b6c1fe4902e29a4546"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/adapters.rs: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: NetToChainAdapter (3 blocks, 58-907). The bar is 500 significant lines; this is 208 over it, 1.42\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":"servers/src/common/adapters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69542e33672a1b64a2b69688a9bac6ab4531f7d4c8586dcc03c3285e84e49fe5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NetToChainAdapter: ClassTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 3 blocks, lines 58-907. The bar is 400 significant lines; this is 140 over it, 1.35\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":"servers/src/common/adapters.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ce5a1bc6724bbb6f7b6f39a2716bc2d0e10e3c727652324b21fc4a3568000e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lmdb.rs: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 174 over it, 1.35\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":"store/src/lmdb.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"271d4e3d10a1863e60aeab400be2db43dbc1f11a2ffd0f825342765252d18e96"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Extension: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 37 methods, 3 blocks, lines 1134-2042. The bar is 400 significant lines; this is 134 over it, 1.34\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":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"12699be65f04772f285a60c4bf7433e583e13b0c445e9c3789de3f65a31448f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Peers: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 29 methods, 4 blocks, lines 44-834. The bar is 400 significant lines; this is 106 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peers.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a6a641c86a800b54bb13da6528f89d98ea9d62657973b1b5976ee864ca7da9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/msg.rs: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 117 over it, 1.23\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":"p2p/src/msg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed14c1c88b11924c758d1b93c5747bcc02444fea92a0c130c2fa742b871f7716"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Extension: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e325767b1fe61f9c8ad497d13edb1c05c30e5975fc0ce1635d1e8c8257adbc07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mining/stratumserver.rs: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 101 over it, 1.20\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":"servers/src/mining/stratumserver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8259cd9892f7c399a654011288bed47ffa7da6e939691a0c903b782192a77a72"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Batch: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/store.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed75d83bf09983c39f66564b8e80c80f6ca8d04e0a4ef7a1fe9f1e0008983eb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/peers.rs: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Peers (4 blocks, 44-834). The bar is 500 significant lines; this is 76 over it, 1.15\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":"p2p/src/peers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"879573069406542fd258525a961d4ec2b2cda5c79b9bd5e7e11a3dcfc0a15190"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: grin_core::global: TooManyFunctions \u2014 34 free functions. The bar is 30 free functions; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/global.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa47d221c503ff1bd72f74b56c227523fdd8fb820a78fa09344bfd8b270cdc0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Desegmenter: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"78045d3e887bcba44546315859c2b24086d016d139dcaeffd4bc8d80691088af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pmmr/segment.rs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 42 over it, 1.08\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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6963e68bd933232526eebfdfab2f3a4d025c1587c3dc9d4ffb2abccfc1c1b8bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateSync.check_run: MethodTooLong \u2014 check_run runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7278bd32355fa35d1795aa3e02d30cd9d5bd1bf4f58833664d0e6187afdd6a69"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TUIStatusView.update_sync_status: MethodTooLong \u2014 update_sync_status runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"src/bin/tui/status.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f488fa9e2a91b1c93853d4b9380aadfb6accb9bfa4d086c2f99e81a89a229c61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.handle_submit: MethodTooLong \u2014 handle_submit runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"servers/src/mining/stratumserver.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af0296f98404dd93af17ed0f5d27456e8fdd2932d25b603b9980f89d111f419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grin_p2p::conn::poll: FunctionTooLong \u2014 grin_p2p::conn::poll runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/conn.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ed0c26a111fd04d62b83c012b9ee9c5a01352c44ef11d934a017983f66527d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TUIMiningView.create: MethodTooLong \u2014 create runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/tui/mining.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1001a290f1f266181df6ca5b3e9fdafe169640dfbaeeaf090555860c3be9bd28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Store.new: MethodTooLong \u2014 new runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/lmdb.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da8ecfe44e83f1bfb918c6202287f8b026c2e199b13396c868294db36f48e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): core/src/genesis.rs:45-154 | core/src/genesis.rs:157-266 \u2014 These two members are variants of one another: 48 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/genesis.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"301e7386cd3f1859d91a14b9e23af6b326cb14ebbec7ad7e692961b549d9b812"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (18 shared lines): chain/src/linked_list.rs:339-384 | chain/src/linked_list.rs:459-503 \u2014 These two members are variants of one another: 18 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/linked_list.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"587c4b5749fbbb3e78571545edbc153b415f974309ad7cb47cd5817575868a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/src/pow/cuckaroo.rs:64-152 | core/src/pow/cuckarood.rs:58-143 | core/src/pow/cuckaroom.rs:57-125 | core/src/pow/cuckarooz.rs:58-139 | core/src/pow/cuckatoo.rs:257-343 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckaroo.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9c472ca9617cb38ba4d8deabbfa7f1eed10077dead2b7ec629e5cda9b25520"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chain/src/txhashset/desegmenter.rs:641-663 | chain/src/txhashset/desegmenter.rs:810-835 | chain/src/txhashset/desegmenter.rs:931-956 | chain/src/txhashset/desegmenter.rs:1035-1072 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"7319862ce764c232ca8e0ef0a056b332d5f963c49c91269e5bb6ef14df710d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chain/src/txhashset/segmenter.rs:56-71 | chain/src/txhashset/segmenter.rs:93-108 | chain/src/txhashset/segmenter.rs:114-130 | chain/src/txhashset/segmenter.rs:133-148 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/segmenter.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beef1ca89fd28e13164e895bac02fac3cf3d6b05e01cdd5ae81903300074ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): servers/src/common/adapters.rs:497-506 | servers/src/common/adapters.rs:512-521 | servers/src/common/adapters.rs:527-536 | servers/src/common/adapters.rs:542-551 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/adapters.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d10ec736f886931ccfe58deb1b343f8cb1012fc6a81747fc287e0638b72dfa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): chain/src/txhashset/txhashset.rs:1414-1453 | chain/src/txhashset/txhashset.rs:1458-1497 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfebad5d60875ddfb0dd7ce5fc82d34e91f54711f29c84942fbe3a8cedf2679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): keychain/src/extkey_bip32.rs:567-590 | keychain/src/extkey_bip32.rs:612-635 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"38da3d93213577eab746a07e22ef3d787084cb8bdd125e234944e808b9efc814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): keychain/src/extkey_bip32.rs:58-58 | keychain/src/extkey_bip32.rs:64-64 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad126b38277666e1184608a8c02c1d7aed1ac8d3f837b5b2d71e2bd6e2fea5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/src/core/pmmr/pmmr.rs:360-383 | core/src/core/pmmr/pmmr.rs:394-417 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8e9b91fea79bcae212ab8411e7e78e771daae1bc5e045d5d4abea3c791d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): api/src/handlers/chain_api.rs:257-282 | api/src/handlers/chain_api.rs:290-318 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/chain_api.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3769dff0cd8850f3d1ca8bcb523d67f7954bff2aef5fbd3963f6bb32272992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): core/src/core/transaction.rs:405-449 | core/src/core/transaction.rs:453-483 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/transaction.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"501be36152c81b6b0a930d676b1e7ea19cb086733d2ae73ce680fd1e6b043dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): keychain/src/extkey_bip32.rs:485-502 | keychain/src/view_key.rs:110-127 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19d214be2b559aa85c18dfd641b7f02c7a463c0f995f07b1324b8ecc1d31274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): servers/src/common/adapters.rs:558-586 | servers/src/common/adapters.rs:593-619 | servers/src/common/adapters.rs:625-650 | servers/src/common/adapters.rs:656-681 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/adapters.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f9974202deb91db9f22c18c916631148b780ea95a81f97589e4cab26c9c6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): keychain/src/extkey_bip32.rs:549-561 | keychain/src/extkey_bip32.rs:594-606 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b22ebef14ac741daaaaf566029ee188b1898a194594fd76d7baa0aae72384a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): api/src/handlers.rs:159-186 | api/src/handlers.rs:228-255 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6fa62cca1ed7cb89cb860777b42a5d162793dc0f685196a8768de5ca839303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): api/src/handlers/chain_api.rs:196-224 | api/src/handlers/transactions_api.rs:78-98 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/chain_api.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b099aa6b724f5e0fbe31da5021ce5b00163f3a2f550e380954b942655c2f761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/src/libtx/secp_ser.rs:278-299 | core/src/libtx/secp_ser.rs:324-349 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/libtx/secp_ser.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b6c2ac5646da380600251a7572686d8eef338a02bb8e0f3e66ec0e78347d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): core/src/libtx/secp_ser.rs:79-97 | core/src/libtx/secp_ser.rs:124-142 | core/src/libtx/secp_ser.rs:165-178 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/libtx/secp_ser.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"728eae7517add7c253a9e61789a3f7e8a3d660d7b73c4180d6cb0b835dd21b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): api/src/auth.rs:58-77 | api/src/auth.rs:106-124 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/auth.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812563b6c3822c5c3bf7f29f6fa2849e0fa23874e4cab8433a12e1b435aa5bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): chain/src/txhashset/desegmenter.rs:838-881 | chain/src/txhashset/desegmenter.rs:959-1000 | chain/src/txhashset/desegmenter.rs:1075-1119 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d8dcff279062e6ac714df3d8a8477ab8bc75681c17b4b7e58f753bf3afd17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): core/src/core/transaction.rs:336-368 | core/src/core/transaction.rs:374-399 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/transaction.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fe6414f821187fddbbda9cf3901a94d40a55e45f001e6e65bfe2b580d997a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): p2p/src/peer.rs:109-126 | p2p/src/peer.rs:135-152 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peer.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7258ecdcf9b8e6887452a087b80d121303b9f47e3770a2d9411d77155e1eff06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): p2p/src/msg.rs:423-443 | p2p/src/msg.rs:474-489 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/msg.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6897c170d308d817ac7a7615c8a85f31adcc1b9fdfc1c73b68854d3653364455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): store/src/lmdb.rs:583-605 | store/src/lmdb.rs:615-636 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/lmdb.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"76012a9dbf8f19fa5ed6b36c7b075d4aca0e0401cd69fe65597be43e0230f1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): store/src/prune_list.rs:156-175 | store/src/prune_list.rs:204-227 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/prune_list.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8b221752107a0620c5934d96bd1bd1c6ee2d81022f36e42f0f9f9be5ab43ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chain/src/chain.rs:303-314 | chain/src/txhashset/desegmenter.rs:218-230 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/chain.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9e0c542593ad2f96c975f1f732f08eebab6e1f4fb13f06fa58bacd5c97214f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): src/bin/cmd/client.rs:142-150 | src/bin/cmd/client.rs:152-160 | src/bin/cmd/client.rs:162-181 | src/bin/cmd/client.rs:183-191 | src/bin/cmd/client.rs:193-201 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/cmd/client.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d59544ea8fc1ea096a98e84d54f54ee95a7d64d997e1d67c6ce6871cbde8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/core/transaction.rs:1025-1035 | core/src/core/transaction.rs:1038-1048 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/transaction.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9316189b9f5595a7ddacb25c784f63604088dbf69962db788855416b17ee11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chain/src/chain.rs:498-506 | chain/src/chain.rs:517-528 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/chain.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2b8479112d05db33c0bd1de64d17f3a58f19cffa4e990005fc08361b7ed7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): api/src/foreign_rpc.rs:999-1007 | api/src/foreign_rpc.rs:1014-1022 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/foreign_rpc.rs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a1bd0334b1ed69cd326b52d70feccc4c4244c0a48651ae093d6570498d1277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): keychain/src/extkey_bip32.rs:56-56 | keychain/src/extkey_bip32.rs:62-62 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e724d9b77920152579753b0ad5dafec4ddc75aaac32eac163c6b69e26379cce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): servers/src/common/hooks.rs:45-56 | servers/src/common/hooks.rs:61-69 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/hooks.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"053275b594d350a03f3c6413762a1452e48a5a0da61e58c4357c80f1cc8bca2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): p2p/src/peer.rs:245-258 | p2p/src/peer.rs:260-273 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peer.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab3e634eb5bb3e8729bf0864c532b6913c7bee55a3421502297524e046fdb5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chain/src/txhashset/txhashset.rs:166-177 | chain/src/txhashset/txhashset.rs:181-192 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b14cef48c98972422c08a6c2f13a669b6a51e54bbb86e0fe8aeee3f73b6e45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/bin/tui/ui.rs:210-219 | src/bin/tui/ui.rs:222-232 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/tui/ui.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bfc12285ee1a0b38da0a1c70238226e149488183ee2a8cc7d1a9a694affc3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chain/src/chain.rs:747-760 | chain/src/chain.rs:1658-1671 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/chain.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c3c0385953c7d9c9e06b8655528a299027225f004625a65dbafc7fe2878e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): p2p/src/msg.rs:530-542 | p2p/src/msg.rs:624-634 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/msg.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaa442f717c3e60458b3c75af8521de38a97ab47b8b9835dbc6347cfa3f8849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): chain/src/txhashset/txhashset.rs:66-76 | chain/src/txhashset/txhashset.rs:80-90 | chain/src/txhashset/txhashset.rs:94-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fdb4cd65e7cbd3bdff45142f1d0d6fa408e907c4a8fe88d9797e8a2f434816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): api/src/owner.rs:114-122 | api/src/owner.rs:124-132 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/owner.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dc35efaff3b30aa4bb662c60d66168f926940cff9effaf9dfcb561f8f8cd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/core/block.rs:825-835 | pool/src/transaction_pool.rs:128-138 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/block.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a48e310c66aac8253427c0605f2ab6e19328fda68edf3180dfb2ae39069a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): servers/src/common/hooks.rs:349-362 | servers/src/common/hooks.rs:365-378 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/hooks.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc220610f5ec215daff03bc9a7b0d6685917e30aa2dc6dedd3ec9599bb90e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): api/src/handlers/blocks_api.rs:116-121 | api/src/handlers/blocks_api.rs:193-198 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/blocks_api.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"54344ee46e2f5163dd0b722588c233a15ee0fe0300cca6e535c374a55737be69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): p2p/src/peers.rs:586-601 | p2p/src/peers.rs:607-622 | p2p/src/peers.rs:628-638 | p2p/src/peers.rs:644-654 | p2p/src/peers.rs:681-693 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peers.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"01da1efbcf26d02be8dbe33067ca9832d18131f31cf6120d46c474566a0ecd28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/src/core/pmmr/pmmr.rs:511-527 | core/src/core/pmmr/pmmr.rs:535-550 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b91b0b3031674ba12f74853300deead0dfdd95d222053838f2f5f8f5c830ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): keychain/src/keychain.rs:48-58 | keychain/src/keychain.rs:60-70 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/keychain.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d10eb20713fd266f2fd536981b8af7a5b2995aae9214ae25a3fbdafc693eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): store/src/prune_list.rs:178-191 | store/src/prune_list.rs:230-247 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/prune_list.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55baa40b4d2f4cc91cf242f1ab5c6cbf3a5e2eeab9da3f7f2c4fde481872c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/src/ser.rs:509-521 | core/src/ser.rs:713-725 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/ser.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d64165880305a2f73d525da72df43e5db1778ba5dc13c50ec0fe300b744cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/core/id.rs:80-84 | keychain/src/types.rs:214-218 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/id.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2576fe5ed8cb49697c1a176ee63033352af0af101b6e666f139c31d15a8d3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): keychain/src/extkey_bip32.rs:532-537 | keychain/src/view_key.rs:198-201 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6a0c613069a932573f21d2a93eb90c344b31f4d259e8fecc25064c3839a646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/core/merkle_proof.rs:79-83 | core/src/core/transaction.rs:624-628 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/merkle_proof.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"74680457f9d3a27165309a6c9cf78337eea9f2ce5568f5bb7f754d22daa23701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): core/src/pow/cuckaroo.rs:118-146 | core/src/pow/cuckarooz.rs:105-133 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckarooz.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckaroo.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3111d2f41992725617eafa9017d0b8a5ac99ee559880d7fe041b34efb1e3824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/src/genesis.rs:70-91 | core/src/genesis.rs:182-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/genesis.rs:70\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/genesis.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"246d94d7adea289084dac02377fc938f2270fbf04627fcdbe295620eb6a3e0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/src/ser.rs:1197-1218 | core/src/ser.rs:1223-1244 \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 \u0060core/src/ser.rs:1197\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":"core/src/ser.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04fc1b0b3b803cb0481f48adc4f8c3f6e410a4d1ee4b951c4322a0304f46ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): api/src/handlers/chain_api.rs:258-272 | api/src/handlers/chain_api.rs:291-310 \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 \u0060api/src/handlers/chain_api.rs:258\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":"api/src/handlers/chain_api.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd6d2828d608a4de9c652a90c27d744c9399cfc381f0360fbe4ccd114c7e27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): api/src/handlers.rs:170-186 | api/src/handlers.rs:239-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/src/handlers.rs:170\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":"api/src/handlers.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab10dc0ce3c513bc881a71f592095300e174b4a2b89688ee997f48a7b4f2844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/pow/cuckaroo.rs:115-129 | core/src/pow/cuckatoo.rs:306-320 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckatoo.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/pow/cuckaroo.rs:115\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":"core/src/pow/cuckaroo.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a989ee2c83a268c7585420f78d9f079131770fda1c275db55050173ba89aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): store/src/prune_list.rs:208-223 | store/src/prune_list.rs:231-245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/prune_list.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45c565cdaabc38da6a3cfa7510e270930c575b75b9367b2a822567015323d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): core/src/pow/cuckaroo.rs:139-152 | core/src/pow/cuckarood.rs:130-143 | core/src/pow/cuckatoo.rs:330-343 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckatoo.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/pow/cuckaroo.rs:139\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":"core/src/pow/cuckaroo.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"487dbb73de1b620f729446fc40896cf1270eefc821fd938e5d3ec6ca59fdc50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/src/libtx/proof.rs:209-222 | core/src/libtx/proof.rs:386-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/libtx/proof.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ad1846351524c455a46c06e49778f8204ece9ea6428fd83a8bb79523d901d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): api/src/handlers/chain_api.rs:198-210 | api/src/handlers/transactions_api.rs:80-92 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/src/handlers/chain_api.rs:198\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":"api/src/handlers/chain_api.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c655141b049b2afe71b4b30ab442079415c1870d3453a2712db163a03df8999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chain/src/txhashset/desegmenter.rs:816-828 | chain/src/txhashset/desegmenter.rs:937-949 \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 \u0060chain/src/txhashset/desegmenter.rs:816\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060segments\u0060 to \u0060Vec\u003CSegment\u003COutputIdentifier\u003E\u003E\u0060 in one and \u0060Vec\u003CSegment\u003CRangeProof\u003E\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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c465f42a7ac22e6ddcae0e8a3407fe414b6b953ab4af7a10b6173123cea4ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/src/core/transaction.rs:420-432 | core/src/core/transaction.rs:460-471 \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 \u0060core/src/core/transaction.rs:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/src/core/transaction.rs:437\u0060 calls \u0060read_empty_bytes\u0060 and \u0060core/src/core/transaction.rs:472\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/transaction.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b22c276b07494e53aaa429f82c5c4c61e3192ea285becd32affe82c695b154d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): keychain/src/extkey_bip32.rs:488-502 | keychain/src/view_key.rs:113-127 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060keychain/src/extkey_bip32.rs:488\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":"keychain/src/extkey_bip32.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e614b74743e8025d974e4660c5737acc006bf96c83f19fa22a0f9313b42315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): keychain/src/keychain.rs:135-147 | keychain/src/keychain.rs:152-164 \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 \u0060keychain/src/keychain.rs:135\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":"keychain/src/keychain.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc4fb4be9e03de6c324879c6955a82a437f0cbe5d190943fb79be87a0230bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chain/src/linked_list.rs:410-421 | chain/src/linked_list.rs:425-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/linked_list.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e3039f5b0ad9828ef7ff59ba72c5257c4d4e076525e7e3d54dc00122008955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/core/pmmr/pmmr.rs:361-372 | core/src/core/pmmr/pmmr.rs:395-406 \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 \u0060core/src/core/pmmr/pmmr.rs:361\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":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a299d0ee3b0cd0199aa4d6d5d51b1d3212e23461cc1f0c95f8492de72ea2f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/pow/cuckaroo.rs:88-99 | core/src/pow/cuckarooz.rs:80-91 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckarooz.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/pow/cuckaroo.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c0959b95ffaa63ec5605bbf7c0691dd6ae2cd205cd8daf319e3cfcaaa0c212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/pow/cuckaroo.rs:98-109 | core/src/pow/cuckatoo.rs:289-300 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckatoo.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/pow/cuckaroo.rs:98\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":"core/src/pow/cuckaroo.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a69c253b799c165be418b3f7c2d6702053cf9f1c098035ddaa16738bfe79d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): chain/src/txhashset/desegmenter.rs:649-657 | chain/src/txhashset/desegmenter.rs:818-827 | chain/src/txhashset/desegmenter.rs:939-948 | chain/src/txhashset/desegmenter.rs:1044-1053 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chain/src/txhashset/desegmenter.rs:649\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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"119d612ff5da10f3dcda1c1ee32099f54fce07bda69b8085203ee4c370007eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chain/src/txhashset/segmenter.rs:63-71 | chain/src/txhashset/segmenter.rs:140-148 \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 \u0060chain/src/txhashset/segmenter.rs:63\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":"chain/src/txhashset/segmenter.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"428311d1ab9d0a0f6b12308bc118eb156288e4cec95cd9def8bd03e5bca09722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chain/src/txhashset/segmenter.rs:100-108 | chain/src/txhashset/segmenter.rs:122-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chain/src/txhashset/segmenter.rs:100\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":"chain/src/txhashset/segmenter.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"028800932acea9a3fc1c858500eb7c50c61350d95454d5e4eeb4b661d902744a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/pow/cuckaroo.rs:71-79 | core/src/pow/cuckarood.rs:66-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/pow/cuckaroo.rs:71\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":"core/src/pow/cuckaroo.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f80810787d768ae522e7f8fc98c8bc74a30a58342fa1617259b49039ea17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): keychain/src/extkey_bip32.rs:568-579 | keychain/src/extkey_bip32.rs:613-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3060d79b7d287763214b173efcabd263d723d0e30fdce70d4fe34d21b1d9220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chain/src/txhashset/txhashset.rs:67-74 | chain/src/txhashset/txhashset.rs:81-88 | chain/src/txhashset/txhashset.rs:95-102 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"056cfa2cf29c02a0668fc8861c1254357b7e99ef918eb15b8a139561962d9133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/pow/cuckaroo.rs:76-83 | core/src/pow/cuckarooz.rs:68-75 | core/src/pow/cuckatoo.rs:269-276 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckarooz.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/pow/cuckaroo.rs:76\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":"core/src/pow/cuckaroo.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aff65c188a68d237a2bdcae38dc838bf54a496812573591d064469759d3138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): chain/src/txhashset/segmenter.rs:63-69 | chain/src/txhashset/segmenter.rs:100-106 | chain/src/txhashset/segmenter.rs:122-128 | chain/src/txhashset/segmenter.rs:140-146 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chain/src/txhashset/segmenter.rs:63\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":"chain/src/txhashset/segmenter.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8c77990f815732a41cd4465951f993822b112a7fcfc5f7afa2549c067acc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): api/src/auth.rs:59-65 | api/src/auth.rs:107-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/auth.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b08c3438a62be318b27375c218ee5d914d612c16d348b2e01b945ebd6b80b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chain/src/linked_list.rs:340-347 | chain/src/linked_list.rs:460-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chain/src/linked_list.rs:340\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":"chain/src/linked_list.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df41b82d1a3132ca8dc3ef07df789c08c8db01adf19c6831c8a3cec25d3a34e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chain/src/txhashset/txhashset.rs:753-759 | chain/src/txhashset/txhashset.rs:855-861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b98f714708806cb98d9bcf3dcfbe7186055254db1455485f35d61a1dc9f5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/core/transaction.rs:1026-1032 | core/src/core/transaction.rs:1039-1045 \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 \u0060core/src/core/transaction.rs:1026\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":"core/src/core/transaction.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"c167901928dc92308d69030c406b61abceb637bf721fb92de3fb7f0f2f8fae71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/libtx/secp_ser.rs:80-86 | core/src/libtx/secp_ser.rs:125-131 \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 \u0060core/src/libtx/secp_ser.rs:80\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":"core/src/libtx/secp_ser.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dc1e9027be05508a703972643c72c6fa9e0a5d9985fa374c07cb18a6564f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): core/src/pow/cuckaroo.rs:80-85 | core/src/pow/cuckarood.rs:79-84 | core/src/pow/cuckaroom.rs:73-78 | core/src/pow/cuckarooz.rs:72-77 | core/src/pow/cuckatoo.rs:273-278 \u2014 before extracting anything, compare \u0060core/src/pow/cuckaroo.rs\u0060 and \u0060core/src/pow/cuckarooz.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"core/src/pow/cuckaroo.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7b728e8bb20f116ec7f19e2e61346277afbeac11e409c1d5f6c6f3553e24e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): servers/src/common/adapters.rs:499-504 | servers/src/common/adapters.rs:514-519 | servers/src/common/adapters.rs:529-534 | servers/src/common/adapters.rs:544-549 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060servers/src/common/adapters.rs:499\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":"servers/src/common/adapters.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"953f0283f7755ec4f04549d2e4bcbfae669030430083b574d53c83a58018b05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/handlers/chain_api.rs:413-418 | api/src/handlers/chain_api.rs:465-470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/chain_api.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af3e2c9c67b0440fbdfda7dec6d17f7a29ce7e36e842a4d93d2afc4d2857823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/libtx/secp_ser.rs:85-90 | core/src/libtx/secp_ser.rs:170-175 \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 \u0060core/src/libtx/secp_ser.rs:85\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":"core/src/libtx/secp_ser.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6c668cdc82c46680fe5405f478dcf2217b67cea032a607baf1683db1926da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/pow/cuckarood.rs:59-64 | core/src/pow/cuckarooz.rs:59-64 \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":"core/src/pow/cuckarood.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e291855981fa66dcffb40146003f7724b17f4160ae2383e5a0659faf235ce1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): servers/src/common/adapters.rs:628-633 | servers/src/common/adapters.rs:659-664 \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 \u0060servers/src/common/adapters.rs:628\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060segment\u0060 to \u0060Segment\u003CRangeProof\u003E\u0060 in one and \u0060Segment\u003CTxKernel\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":"servers/src/common/adapters.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7aabf2f4009f1ea7dca1bae89b742c4abe3e99449f32dbd80b63ac4f221f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): servers/src/common/adapters.rs:598-602 | servers/src/common/adapters.rs:629-633 | servers/src/common/adapters.rs:660-664 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060servers/src/common/adapters.rs:598\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060segment\u0060 to \u0060Segment\u003CRangeProof\u003E\u0060 in one and \u0060Segment\u003CTxKernel\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":"servers/src/common/adapters.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a348df5a8e46a57e894fdd1ce97aab0fa2c1c872957a7f95b339024281b289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/foreign_rpc.rs:1000-1005 | api/src/foreign_rpc.rs:1015-1020 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/foreign_rpc.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc69a7027167e7433969826a7fd87827191db627815bf4439944f8ec27a4236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): chain/src/linked_list.rs:296-298 | chain/src/linked_list.rs:325-327 | chain/src/linked_list.rs:359-363 | chain/src/linked_list.rs:479-483 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chain/src/linked_list.rs:359\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chain/src/linked_list.rs:294\u0060 calls \u0060entry_key\u0060, \u0060pos\u0060, \u0060put_ser\u0060 and \u0060chain/src/linked_list.rs:479\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/linked_list.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f101d9614f2e038f79fd08aa5378c6dd2e44510c835221ded478d4fae4a647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chain/src/linked_list.rs:370-375 | chain/src/linked_list.rs:490-494 \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 \u0060chain/src/linked_list.rs:370\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":"chain/src/linked_list.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"073f011b37585726ee4ae7b35cc616a02fd385f7b34aa26855b9e09b02f7e060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): keychain/src/extkey_bip32.rs:550-557 | keychain/src/extkey_bip32.rs:596-603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060keychain/src/extkey_bip32.rs:595\u0060 calls \u0060without_caps\u0060 and \u0060keychain/src/extkey_bip32.rs:549\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b0e3f99acecfdfc8375d6a30db90ca4bc024d71f0b945c3911a33690a6bb0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/src/core/pmmr/pmmr.rs:427-437 | core/src/core/pmmr/readonly_pmmr.rs:115-125 \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":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9c2cc4f027efcda3e139fb1a57fd3fa6c546f42ddd662108e363710276893d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/core/pmmr/pmmr.rs:439-450 | core/src/core/pmmr/readonly_pmmr.rs:127-138 \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":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f1d4f5bc4f541b2163d2fead8f2439d446a82ade61345a48e9a7343a914cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chain/src/store.rs:468-474 | p2p/src/store.rs:201-207 \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 \u0060p2p/src/store.rs:201\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":"chain/src/store.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f6b05192a679a612169a353419ccd92c88cdd5327678079b1cf9f7fc8076c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/src/genesis.rs:94-111 | core/src/genesis.rs:206-223 \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 \u0060core/src/genesis.rs:94\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":"core/src/genesis.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ad50a6024052174fa2b83bd52c493274d71715534ba402753e3faa20409e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chain/src/chain.rs:1210-1225 | chain/src/txhashset/desegmenter.rs:355-370 \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 \u0060chain/src/chain.rs:1210\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/chain.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"259df9419ad2ed98e30c081f5be62e5eeddd3dc8927ffb8bd32bf987ff2830be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): p2p/src/peer.rs:114-126 | p2p/src/peer.rs:140-152 \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 \u0060p2p/src/peer.rs:114\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":"p2p/src/peer.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e37470dc5c30180cb5cd2936b9baeda62465aba2344bf3f6df016484eeebf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): servers/src/common/hooks.rs:136-147 | servers/src/common/hooks.rs:154-165 \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 \u0060servers/src/common/hooks.rs:136\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":"servers/src/common/hooks.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"26118b872425972d3e59ad0edc1dc731828f686d6948e206db57f71b12bf0864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/core/pmmr/pmmr.rs:375-383 | core/src/core/pmmr/pmmr.rs:409-417 \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 \u0060core/src/core/pmmr/pmmr.rs:375\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":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee401f6a4e5728e176a764789d74be10c2de7bcc11f6883681d5e73eabe2a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/genesis.rs:46-53 | core/src/genesis.rs:158-165 \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 \u0060core/src/genesis.rs:46\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":"core/src/genesis.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4385f74ce39f1a082f224ded166ec00521de24b465e3b957eeff32d637d944"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: grin_util: grin_util: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b795b6d80e9d5755be068b10053b2efec30881b6871295e3a45eff5f8af9652b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: P2PConfig (LCOM4 5): P2PConfig\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/types.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fa18bc8078193dcb429ada0be729117a82154c93bd529b5dd97d4eb665b533"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Foreign (LCOM4 4): Foreign\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/foreign.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f5ec013822003dde5fa8327b0f983bff5981470a41b6aa3e10fca90fb17b52"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BIP32GrinHasher (LCOM4 4): BIP32GrinHasher\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/extkey_bip32.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb083bdc8fe2f43d6f8d77c6adec6f10976c22e9546f6300b0bb97b86287ed03"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Identifier (LCOM4 4): Identifier\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"keychain/src/types.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f659dd31c8ee74305cc76dd6eb02800ac5b226ff47b0f3cdaf37327b5607a7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/auth.rs: 0.0% line coverage (0/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189c59822874764b3220494db801a19943aea5c9fa9f3592c93534631644b1d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/client.rs: 45.1% line coverage (79/175)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1009eb4066bb555723e8a7fb57daa198466472632393722445888cfc745e225d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/foreign.rs: 0.0% line coverage (0/136)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/foreign.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca076d9f53dda94080ca6a5d6dbe7bf421fd3f001d95dc735816461d1bf8ea90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/foreign_rpc.rs: 29.1% line coverage (39/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/foreign_rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1310f72ebb0e216c3cf81fcc1fc09822d76711446b71fe4e5ef3e54a79656fc5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers.rs: 0.0% line coverage (0/162)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cd015cefc0506c5c193e352a8712e0f53f1614cbc25831660314b1d63a2258"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/blocks_api.rs: 0.0% line coverage (0/186)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/blocks_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b3061e6983d19c7c6e41d4aa93052a4697b19b28f5a732c27616d87916cc34"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/chain_api.rs: 0.0% line coverage (0/314)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/chain_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a438b3a44e395d36045e93d716e64deb123ad991f6de3e32c5f4720d2f9336"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/peers_api.rs: 0.0% line coverage (0/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/peers_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33ffea56fdda4a095b0656fadb6112ab6a211946931eccba21b127cd8ffb37b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/pool_api.rs: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/pool_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7475f3ffb6315d768e4dc9a94ea3aeef2165dbda999f3647ad6b182804f1a89c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/server_api.rs: 0.0% line coverage (0/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/server_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa1679d6de2679e98c6d5401286721c9c6902688a302f4eab7f7e194931f05c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/transactions_api.rs: 0.0% line coverage (0/100)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/transactions_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d7ba97de6d85c1d586f32435e51ec56a3bbd62c8cddc759173195e23c4fbf9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/utils.rs: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6068d0bda52b1ae16b1b81e1b5eca676caa7077c0822f9e2b7037462e0dfac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/handlers/version_api.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/handlers/version_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5299c12685db513e8283e5520ea789355ebf4c09b57df897f43a2764126dede0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/json_rpc.rs: 0.0% line coverage (0/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/json_rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5535d2241eaa1c799885cbc7f6594e22a23b5d923125d6abdeb1356fe9c43508"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/owner.rs: 0.0% line coverage (0/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/owner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"590bdbf8cb8133367ac406b04061c33e0e9b5d08e08bae9043ed8727a9a5cf54"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/owner_rpc.rs: 43.8% line coverage (21/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/owner_rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84337fd01fd13032794aeb38bef142b1c4eda6aca17b01ad171708d879d699ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/types.rs: 29.1% line coverage (97/333)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb2530543841bd8d1427f60aad2562dab35396fd2e2ef51a8e16c040e185192"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/src/web.rs: 17.7% line coverage (14/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/web.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00051730904ae04bef62981c5f221e6157ceaa5966e5498fa5db4baf704eda3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: chain/src/chain.rs: 45.6% line coverage (513/1124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/chain.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4d6f2c136cfcb995e1397bf9742c9beb4f0ef043354b5a7ca2fdaa9f3cccd1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: chain/src/error.rs: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d35235231a39f678696c028756f01b2911e71c4333c10b440777d43ea8aa68"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: chain/src/txhashset/desegmenter.rs: 0.0% line coverage (0/742)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b64ad61020b12f74292d90f35da98fb57b14a6115e1fa5bc9669921603a13c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: chain/src/txhashset/rewindable_kernel_view.rs: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/rewindable_kernel_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fca13001e0d4d16fbd2ebcfa137e73d7a3c33bd73fad88232f382f04e81c524"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: chain/src/txhashset/segmenter.rs: 0.0% line coverage (0/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/segmenter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d832095e3db2a1abac60bcfe4bd00a3d46a7162deb3310df27a0c12039b9f0ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: chain/src/types.rs: 28.8% line coverage (76/264)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f7ab418df598f87edeeff251691e269bfeec2ce9636f96b628a09c5554e43c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: config/src/comments.rs: 0.0% line coverage (0/417)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/src/comments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"931784f94a7022cf0fd9c2f2e48ae0eb6b76794a73faea00e37766304300b687"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: config/src/config.rs: 4.3% line coverage (10/235)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc85148c121ea6c4dafe9477cc3a0fbc20eceeb6706e20ad89e8c41c75e98c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: config/src/types.rs: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9693359af62c520ff71c0bc5e1ce38f628c725e3d7823ef3bae8a7d1aaa1449"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/src/core/pmmr/rewindable_pmmr.rs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/pmmr/rewindable_pmmr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f46cfb9fa649eb9a5e980f92f7369d2f83dde69fba9d658a05e342bf6a397c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/src/ser.rs: 43.7% line coverage (332/759)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d54289a7200056fd8d595159fa0e921af805ad0245514cd1f225831819bd465"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/codec.rs: 39.4% line coverage (65/165)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/codec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9270b00d0e011c31117d9947fb961259cdfcbbfc85f87699c32f3a92bb479295"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/msg.rs: 39.7% line coverage (186/469)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/msg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b0ea8986491f20b38943d1ecdf0a3eec05c71be721af70303e7cf15716b354"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/peer.rs: 19.5% line coverage (87/446)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"846c7c226fbf6c26a0d7cc4b087ac5e6557a25f6dbeb51c11a2536e15fd77f8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/peers.rs: 15.2% line coverage (89/587)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/peers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c9eb70c688b1a545f7a4cf06a65f2834e474897473d37c30bca61b5b12be47"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/protocol.rs: 10.7% line coverage (28/262)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d909ff7c811d4138e963504b6a3d3e45e4d6cb3a0589d2b1e49ffdfbcbddb2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/serv.rs: 26.3% line coverage (75/285)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/serv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68e30e931951bff5835780e4d2bbafb1f90f838124e04b34c7df9f6cd3cf3ad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: p2p/src/store.rs: 41.8% line coverage (59/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"p2p/src/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6478c6e78857a699e5f6146223d49b5e6dba7fd2ddcfcd0a644a292a8f3e4f76"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pool/src/types.rs: 24.4% line coverage (19/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pool/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8563884f14f750d4e7c15cf4f1ec7aab9715f42738e68bb0cac27225ce5bcf80"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/common/adapters.rs: 0.0% line coverage (0/707)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/adapters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de8683fe7444a89183bfd32102c0ba1153689bc1432034449789ce238f90b3e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/common/hooks.rs: 0.0% line coverage (0/194)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/hooks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"062da62c8fad5134f20b4a8f6d0489b2a86f377baf907713c6768d92b3d2ffcc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/common/stats.rs: 0.0% line coverage (0/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/stats.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baed2c0bd8ba81c9a38fb00dc2bb8480a73048a0ac9a935e77d2eccca6ffbab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/common/types.rs: 0.0% line coverage (0/133)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/common/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78868ed77357f196d6a651fe0531b414875184279800ece6eb6266a1a8dff92"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/dandelion_monitor.rs: 0.0% line coverage (0/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/dandelion_monitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dee0f82e79de35a111eb995af164ebfe7ce388b11ffe1697cb80175242004c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/seed.rs: 0.0% line coverage (0/276)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/seed.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d2140170e90236151d44676a1cb5878aa3d658e273597de51f0604f04fa316"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/server.rs: 0.0% line coverage (0/390)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c598eb51a6f5b103680ee556517119ade79c4cb3edfaa8967e92434151d0ef9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/sync/body_sync.rs: 0.0% line coverage (0/129)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/body_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da006cd0e32542d64ded879e486b19191d34580d425bf0e8ee1237a7937bd59"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/sync/header_sync.rs: 8.7% line coverage (12/138)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/header_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101b1f4a7a5291b6c47a71707064ce7d287c99d8dd2c24d349d3d98c1e196629"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/sync/state_sync.rs: 0.0% line coverage (0/363)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b9e075ef1da36ea4878a4139d46b6367b0dcfe8a9531b610534fecefec0ae1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/grin/sync/syncer.rs: 0.0% line coverage (0/166)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/grin/sync/syncer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd83db42840bc9deab3fc7ccc5b32c0563465c572029c57b911a8f1f89b964e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/mining/mine_block.rs: 0.0% line coverage (0/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/mining/mine_block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b949ad5912b4781480324e5357014be9f89d5e53c95fb9359a5e759ec297fcd6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/mining/stratumserver.rs: 0.0% line coverage (0/514)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/mining/stratumserver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9299ad6e0faad5665a92985ae631f95c3269a3f85f4fc1db867ecefddb3d895"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: servers/src/mining/test_miner.rs: 0.0% line coverage (0/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servers/src/mining/test_miner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50b5527a9ee7e4e41cabcf4ac9b95e9893f34199d91052f6a1ee992e07d9d93"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: util/src/logger.rs: 31.5% line coverage (56/178)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/src/logger.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b531a3982bbaf8d018e1fc1b9f78223114b1225367c323891f01c06e790e8d10"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: util/src/macros.rs: 19.2% line coverage (15/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"032f5dabc71f9fb0873c74872a39b1aac9b081b63bcd07272f136301b1ea444d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: util/src/types.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6d25c44229088be25b525a4ff7db9ca758d06bd8589f17d1cd434c5204a940"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: grin_chain::store_indices.test_store_indices: Passed 1\u00D7, failed 2\u00D7 across repeated runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/tests/store_indices.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb99b17e3497e5854859d3691864057295f9438355fd2ea5c1ac62f5dd7fd55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: servers/src/grin/server.rs: servers/src/grin/server.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Server::new at line 145. 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-11..2026-10-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-11 18:22:58 \u002B02:00\u0027 --until=\u00272026-10-09 18:22:58 \u002B02:00\u0027 --full-history --no-merges -- servers/src/grin/server.rs\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":"servers/src/grin/server.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24b6817fa760d4f34a7901561a56c1aeb0e608f1a284c5a19f2b940daf7231"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 13 significant file(s) lose their only recent owner: core/src/ser.rs, chain/src/txhashset/desegmenter.rs, servers/src/common/adapters.rs, p2p/src/peers.rs, core/src/global.rs, chain/src/types.rs, servers/src/grin/sync/state_sync.rs, servers/src/common/types.rs (\u002B5 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"522cceef8b84f25c1e31e604c085231779e8664dffb041f0002a63ec88b04a10"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (15 single-owned of 97 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; 97 of the 154 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (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: core/src/core/pmmr/segment.rs, api/src/owner.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Why is this 2 here? \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":"store/tests/pmmr.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa5926faa6ecb97b99f68e0d977607a4ad621b7dec55193c1fd0b20f26d71bf"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX TODO Future - Validate password? \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":"servers/src/mining/stratumserver.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2932bd84c93a96b1b7abe731af220f9e03003206bd371a543926b3f260dcd2ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check the overhead of calculating this again isn\u0027t too much \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":"servers/src/grin/server.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a37247139cb022ca361c279572e47e0f73af53f96872244e4bf122bb92144da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO - We appear not to resume the p2p server (peer connections) here? \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":"servers/src/grin/server.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"84418c6c92e309528df8b9e0218d7cfe92d79f496536ac9fb57eb80150bccc89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - can we safely reuse the peer here across multiple runs? \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":"servers/src/grin/sync/header_sync.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a5c05a57217e021fa42f41f95a9f360a3289cb4ed76ac4af0621047c0ca5b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify timing \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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb764f365965149d14dd69e5c03cf7f189e834d6e5d81c821cedd50c2289786"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Apply segments... TODO: figure out how this should be called, might \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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f9a89b75c5a7a9f6889f1d120b69c3a6124d3da633b4c600ed121d517ec1c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Apply segments... TODO: figure out how this should be called, might \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":"chain/tests/test_pibd_copy.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e1bc4b072eaef521c18d75a008b265993fec0573e99f7daadf12f974b2ad5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO and consider: number here depends on how many simultaneous \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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53d213e3af8cda9546d249b834fea7b06af25f4e6b324c9432370faf8fbf742"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: urg \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":"servers/src/grin/sync/state_sync.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"399ffeed22eaac30e40a8fc3bd984b13905a09c83592485b408071a93c745808"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Entire process needs to be restarted if the horizon block \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":"servers/src/common/adapters.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"65506c65ce9cdef84e6f23172aab5a8382e91b006f29b43dc8e6c0cf23220754"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO - This is kernel based. How does this interact with NRD? \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":"pool/src/pool.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"195fcfa35b87ef04509c691989817f81ab34a0573f4cf3ac31257b3df314b29c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with a macro? \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":"p2p/src/codec.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"be27f72bc208f1d7f36f7081d73cf042f82396e66dd16fd359515c6f8231a710"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 4x the limits for now to leave ourselves space to change things. \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":"p2p/src/msg.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3797a9e6231958b6a9858cf0813acbf5c88f512dccbd5b3e4c8c8a08c95df418"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLS \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":"p2p/src/serv.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4ad536d7cfc351219813ef60e2bde2b927632a555dd95078a75dc7970c4e54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Convert errors to use ErrorKind \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":"keychain/src/types.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1aa12b4a9d0dc76d03049b9d1e06233bb7e73f714a75c467f95a54bf9691e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"keychain/src/types.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba155d41f045687403f94c9cb63a51062d2cc527cfa60de6dc4aff9960aa31b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"core/src/libtx/aggsig.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c9e40055e42fc495c5259367ac77326b5d2f0f07629021f51504ea0d9d1336"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"core/src/libtx/build.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08f51ce870b7a59ee0aa4cffd5ef5762388028092ab4ec005bf924b5888d5e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"core/src/libtx/build.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"213046ab19f999fe4e1580133c12c8145ab1cfd3ae22634baf56f97620f25012"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"core/src/libtx/proof.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c217ba0264b63bbe617968adbe808209ff6934ed9618fdd1c7e3c7dee09dd57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"core/src/libtx/reward.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d590dde1225eaf25f394a664ba5717aef82913e74e5f407784b2e4e033cb8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper support for different switch commitment schemes \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":"chain/tests/mine_simple_chain.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0312a8efc7da1ddd9f925c5cd8552dba1f7a35765e88f50af3df5be30fb65cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace this whole block by a libsecp function \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":"keychain/src/view_key.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8d1d9c08487acf708bd24a7b63d068120bd63f7b0609fde2f761bbf0142e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - no longer true (leaves only now) - pruning sibling removes subtree \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":"core/tests/pmmr.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944303f63aea9d71a8dd8a02bddf7276208c807e7bf696592121cc928acd32d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - no longer true (leaves only now) - pruning all leaves under level \u003E1 \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":"core/tests/pmmr.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb6c8494e3cb436371b8ab3489cdb2e79c28a24b783163b39ab28f052aede0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Can be optimised \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":"core/src/pow/cuckatoo.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"401246dbacdd553cd84d9d1c58fb1724e68e4bcfe7092462488bfee18ceebc9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/libtx/proof.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c63d8c206c37d96dd9d00afad4be52d6c885b7e65b41e5edcf0811a18a348"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add warning in p2p code if local time is too different from peers \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":"core/src/core/block.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac65cff40732b083aafb61d34792778a9625e1f658e90714ed895ec5e49d57a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO - Move this somewhere where only tests will use it. \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":"core/src/core/block.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"68755491fd62b0a335bf9cdebbb9b5c30330f0c20b2161ecba0f8d69cada66dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO - binary_search_by_key() here (can we assume these are sorted by pos?) \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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e635041447b23a1c76037ea79ef1abf5307516100b222e2f35be9a834f64d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize, no need to send every intermediary hash \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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60cc31fd11453e7731eca9c6234fbf2b27f7cb4370d743a056e5dd59188552"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: possibly remove requirement on the sibling when we no longer support \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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dabb7f3492755090e53f366b215406d33a2b35de494fe129659a823cb5c4f2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - We need a good way of building invalid stuff in tests. \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":"chain/tests/nrd_validation_rules.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e3571a07602ceb41f7c11310fd6c20be0abff6e4af4f964a33be6456e550b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - We need a good way of building invalid stuff in tests. \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":"chain/tests/nrd_validation_rules.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4065a596f011e0bd631fde67c04bfcaab31da77f9f78ca22997b87e9cede3a4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - We need a good way of building invalid stuff for tests. \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":"chain/tests/nrd_validation_rules.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aac9e3619d746f4eb566dc9ed150d4f38aea1acd18515405bf265cb5452739f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can probably be derived from the PMMR we\u0027ll eventually be building \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":"chain/tests/test_pibd_validation.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"957bdff52c46d3ff7fb7c82a802ea2c5a0cb2dfae5f3e7c5c6e7ef665ee79e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix before merge into master \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":"chain/tests/test_pibd_validation.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"069d658ca377560064943cfbeca948c22bdb3a67fd2297eac5e8cc8d52d1d00b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check this, compaction selects a different horizon \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":"chain/src/chain.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a7170d9e9db2aad482f5916befc6d425efdf26ae95ec7695de9130c3dd618a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Why is this part of chain compaction? \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":"chain/src/chain.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b9f10cf4cbb6ffd588f15b1629cd22e5b6c8ba24feaf0311bc98e19bfe2f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - we flag this as an \u0022abusive peer\u0022 but only in the case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/pipe.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc13d99fa3fed83ab766b98e1006f304b98f81b9540b903b5297c7c767f28824"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// requested from other peers. TODO consider: This may 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":"chain/src/types.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9765f6497a6571f700dcb5ec816465ace79c886ee5c231e34ca0237d93794615"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: first argument is an iterator for no good reason; \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":"chain/src/txhashset/bitmap_accumulator.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1bca034117d82f3bfcc479bfc544911aeb799ee5ed12addd55f406839ea7cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Unwrap \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":"chain/src/txhashset/bitmap_accumulator.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb267031afdbadfd3ba5627936d0aa7f6407c6f2d8bdc52723479cef46df1248"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can be sped up with some \u0060unsafe\u0060 code \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":"chain/src/txhashset/bitmap_accumulator.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"76475d01e7afe2813a4b9a3f0783c3b4544104c1cb750745301b172ee6dfba4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can be sped up with some \u0060unsafe\u0060 code \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":"chain/src/txhashset/bitmap_accumulator.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f05327a7a47ea6310a6ac6089c80c391a919f558232dd8b02b928edeefc573"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unwraps \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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ed19bb35f1b3193a398a1f5b72db223dd09ee7b0132744252c32dbfd036f38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Possibly Keep track of this in the DB so we can pick up where we left off if needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4cddde288abb63c93e353da9732b13b88076ca985aebccc07568241a875255"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This, something very wrong, probably need to reset entire body sync \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":"chain/src/txhashset/desegmenter.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6c637fb0047e375ce1ddba6b0c8a95a87f1c156d33bffbf8216e50f31575cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: These need to return the actual data from the flat-files 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":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ea6160fd5619a5e4ede5211484ac58ff20ae39f2b5418a6205cffd71018021"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - possible to compact away blocks we care about \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":"api/src/handlers/chain_api.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e42802a7c853be3b5180cca4f7042c51b6b75be0374a13530e7fa1a5b35b64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - possible to compact away blocks we care about \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":"api/src/handlers/chain_api.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5344981eb90cbd9e7d1dab3ab2f0a4314b5d2eb78e4c288657128ab1b5e1b67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: probably need to set a reasonable max limit here \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":"api/src/handlers/transactions_api.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53a53179cfea6ae8ede9dbae948b552a2e66b5c169df378be0b4714c65bf6f1"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Cargo.toml\u0060 makes this repository a deployable product (line 18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Cargo.toml"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1f320edebd162aecb630322055fab9fa4bd5274ac8a03cd339206970700a5"}},{"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":"06bef7e90c26815861069854b1ab3ab17586991a0c13ab3b6344667ca77d29d5"},"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":"d2befb0d5b8facc578ce4596603bcf3c007c49e537268c78941e62ea689ecaae"},"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":"06c28b0a69418cfa32d92a221d2c0902dc40b79dc70e2b0bd4958e58b3012761"},"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":"02ac1cee5e3643baffa5b2531cca8efb9b7252815377169d3d9a998cce220c9e"},"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":"658784aac6af6f119c0421526b0b3aac2c810d0ac5578e092bee8895d5237881"},"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":"1e9b0c417a9bbee44097527046e3270b83c179de8ee1447c37eac1feb04ac94d"},"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":"d9a3e04c582d278a4d681713b9e1f7511f5b6522e10415539e77588a2ff55a54"},"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":"e0f1722f86b4c1503367daebcd566cd0f4b0a89740f64681889cdca441dbd926"},"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":"9fe7ecec65158b11f2adf241c9c32e6a767b6ecd749f9fe93af8e58b19689b61"},"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":"9f295cdd70bcdd19c7a49c1d939018e53645f529bd45a44f8d567ebb4045a934"},"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":"87da052d17b57dae6aa16d94a7d5660c7b10fb951c7ea9722490b815832825ef"},"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":"30b0e25b950ae9697b53ec516a2f02cae21b78ee07c8e859f9a143cc2cab0872"},"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":"fb17b69ec1007f3eb89be001fe1db8b9ff56d158ec30d9013887449d05d1f7a9"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ce327c9c2fbd5e8447505d79f67e1e1a6031c477ff9111593dcefb9f77da190c"},"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":"da108f8cb7e23dc40cbce59ff57d0f8bfc360321999a8a9bd1e7f2a7b158d9b4"},"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":"2507024d5827d89202c7386dc97647a46c79dbe519811b2f369f3fdcbba6cda1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d100bacb9d996985f41a26099fef1a44ca7d543ace49e424e654fbb0538a3ee"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4b6ff230d4962e58ef33f9d962322dcee366b0a203b33dd7bc642ce47759ef1"},"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":"6c6b9b7509e75ab8f9ad41627705612ca72449824fc396d54f080158ef15d30e"},"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":"aa2bc3d9de8400bc7dfa33bc7617e84bdddcd476c03aa6226834c2dfe7a5b116"},"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":"486f27d74939fe04a3e7319176fcd42463b79a2cc051f55e2c79346d8ee918cd"},"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":"f43708bad325c425476d9cb2a791d886a55c94017936ee94f973ea27e944bc98"},"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":"08ea2c9527f83ca50828eac68c515a0fd9224e7404e4e36ee855c5bf5fd9b951"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5718bc41f500e3d854a4af171f68b66a6f427ff23a08992ced122e007fcaab3a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8597db8a40d4ff4fee996af4abe0f685cdd72974e548ed69524641f3091aacf"},"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":"2ad5fba56165c34df1f1f0bd5f9c1da4d1514115240fcef5fccb8739eff38d8c"},"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":"20429d187e560c9eec106829dac8d524887acbaffad858fff2d79e4259e588db"},"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":"8c8370615f4b14e6c21e0693f6a75b91d1d1bc7074b70c73ecac6b57c3e86cc1"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"99475e791aef457a567546012c0eb540415d9ba7ef942e13c5eb4813fe6df89e"},"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":"064f41c4185217322f61ce292372df0256fe1e413ae1e4cc62b701ee52bd5d76"},"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":"7dc6cccdaf8984f4baad5d084be440325013f74d826d3e9fa06d7a018033e255"},"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":"ae5ebe88aab17694b78e3a2437c39cf5b3093114016e00d9dddd321f63125ab5"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b49c23ae52728b8e3a3fc206086c36003b2f43e2b235603d84d94d2c29ab0c96"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D30","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":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"0.5.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"afa7972b05e447b670408e0cf6d069c25da6ef21f273df424a814fa4354a7f50"},"properties":{"dependency":{"package":"yaml-rust","version":"0.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2018-0006"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"dcedd6ea9dcacf0f778fcff5286969d6ecc63412ed06309fee6722ebe57fc35e"},"properties":{"dependency":{"package":"ansi_term","version":"0.11.0","advisory":"RUSTSEC-2021-0139","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"901a68722865101be179dd357d7ab521841b8cbe8245002ff058a789bd66dfa8"},"properties":{"dependency":{"package":"ansi_term","version":"0.12.1","advisory":"RUSTSEC-2021-0139","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b066a2b58ae4db7be6d042309847a8825c9fbea4c10daa49bc531dab4309fb0b"},"properties":{"dependency":{"package":"atty","version":"0.2.14","advisory":"RUSTSEC-2024-0375","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"fd5c585b8c54c369819773fdb0ddd1383b1d0b3ca7573d38678c34407fbff305"},"properties":{"dependency":{"package":"atty","version":"0.2.14","advisory":"RUSTSEC-2021-0145","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"cd08558613b1501123823d3d37fc3f1efb021ff78777c7e19d8a90d57f722e0c"},"properties":{"dependency":{"package":"difference","version":"2.0.0","advisory":"RUSTSEC-2020-0095","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.15","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"728758c9d3428053e1082b5fb9832c05e2e04dab40233f2ffbfd7792b93201ec"},"properties":{"dependency":{"package":"libz-sys","version":"1.1.29","advisory":"RUSTSEC-2026-0418","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"4dd5e9969a47f638103b2f899a0750671ed0946e5fece34a5dfce0ca55417b99"},"properties":{"dependency":{"package":"memmap","version":"0.7.0","advisory":"RUSTSEC-2020-0077","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"02f23d22faedb4b2699d96dfc73d0616ba5c934702bb67e6fa9d5e2ffcb1b76e"},"properties":{"dependency":{"package":"rand_os","version":"0.1.3","advisory":"RUSTSEC-2025-0124","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b5524f25221308ec94b7206b58afaa59996104c20abaa242285d451f5344e44b"},"properties":{"dependency":{"package":"rustls-pemfile","version":"1.0.4","advisory":"RUSTSEC-2025-0134","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"7ec937081c3ad6882e9c07735996d40cd6d5332ac535d70bb5252c6040e1f211"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"cd738f4f832fb40a978e97799a73383710e0e17bf8606e6bccb6c707d4e59ce3"},"properties":{"dependency":{"package":"term","version":"0.6.1","advisory":"RUSTSEC-2018-0015","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5ceb9040e13548b3df718b94867858f8e5659519eb178fbf2fd0e4e23343e0da"},"properties":{"dependency":{"package":"yaml-rust","version":"0.3.5","advisory":"RUSTSEC-2024-0320","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"ruleId":"D31","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":"3259087a2edb34dda1ef10cc99b27b1e254b1b5587546a855fe84f4269eabf5e"},"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":"D31","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":"62ba3f391b97d680ac34e630794a6a7fc0f3b16bd44bab9e323085ff4fa2c944"}},{"ruleId":"D31","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":"3de150b8f2e5888d6402cdd55c466c9669ad2eda6d670535b9a77a1cb49d70fd"},"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":"D31","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":"3adeb5ca433f8377e0513466abe226661632e2c7a65ab03d48b79033987746ab"}},{"ruleId":"D31","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":"4245684489cbc9436c7952652379947bc5f434a910d7d4791ef1941cc73b368e"}},{"ruleId":"D31","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":"c8be28dfbddd65a7e332ce01235313147b1c55561e3694aa8941a467a4d640f3"}},{"ruleId":"D31","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":"c790f76cf70ef3b7e11b2b2e046aa998549442297137ee1873617b41f8d8e165"}},{"ruleId":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 78 of 108 significant files have no living knowledge, while the repository is still being changed at a low rate (1 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 78 separate risks. Counted over 108 of the 154 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/transaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7124ef35c31a16ff8dc5aab5c49a0ddf50f6f0e1bc6282a8565a3034a93cc3eb"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/txhashset/txhashset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb81045a341073071b4435fc8bda4dcc5022d1d41cfe65306cab76abbc79a1f"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chain/src/chain.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"233e6addf793f08d00658ed776c948b8737df72258535b27e975e585e9297e3d"}},{"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":"api/src/foreign_rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62da9ebf0eccd911a12630fbee00a4234cfa1d310fc73b03597fa08d1971b6ff"}},{"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":"servers/src/mining/stratumserver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e53dcb40b74692e4570ae47fc3d584990fb884cb51e4f329d45ee0ff0452641"}},{"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":"p2p/src/msg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44f0a4a64f40eb29c3505297129f575abeb84a2813d7374896b6dca8e1d5777"}},{"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":"keychain/src/extkey_bip32.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017a5ff8c73937faa88f7b21b0868f2079bcdd1e8fad628451260b6823980d66"}},{"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":"core/src/core/block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2f9c6d2b8fa65431555be4c94be3976796f4fe935480ee0d4079d8a0a7fa0f"}},{"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":"chain/src/pipe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4968f24c68c8292b6b4c8327f0631e445e4092c4e19e8714bed15d6611b426"}},{"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":"core/src/core/pmmr/segment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429b3b79dca4e6a87ab9a48563d8ae6544cdb4d560d6786e396b0f2c6093bc3"}},{"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":"api/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a50833f7270245cb691ba108c72b56ae1b80237d6cecd43d23488d33826331"}},{"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":"core/src/core/pmmr/pmmr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c501456e506cf498c4ee07bedfbba9b3b1b5022c51d6ed23d251b61c5770436"}},{"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":"chain/src/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d1e351d149cdf18890237e67fb47e0576b6805a4bd0eb4051372a4be6ff258"}},{"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":"p2p/src/peer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5ae6f044181246d1fdb704bfdf13dfd22156b4a0de7fae431e0ed6972b6c03"}},{"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":"store/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0980821682473387b962295e6b2794730b7ed8b1d9b04f90a2c0c91db1ee3a54"}},{"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":"core/src/libtx/proof.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40854e6a209aa154398af0d7fe89e0bf72eab704baa92938916a78bfc53ddb7"}},{"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":"store/src/pmmr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b98e9a1621caedeacd6d30200e612b720e8da5013c52a9be1cb33db8774ca97"}},{"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":"core/src/consensus.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f9f2c08bdba42da99a6a06da5e7544470c9ea85bada0cb7487091d8022d09c"}},{"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":"chain/src/linked_list.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96975863443c6d9a626bad3474a3c5840ee323997d8922bec34b36354bc440e4"}},{"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":"keychain/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cfec3617e5170cd3913e3209a36301b5e6a5741871065f5cd0a8c46fb794f8"}},{"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":"keychain/src/mnemonic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8299b409df3aecd2ac0da4023de670ba6342181b882f8b432b7f349ea01b8e"}},{"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":"pool/src/pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f012a0af58533de7805a802d3f2ca7f28dda243f79f8848045cea469a199a97"}},{"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":"core/src/pow/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30829af8ed350b592293d941e8cb9aa78bad24dac694fb5ff3b284b606de9f73"}},{"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":"core/src/libtx/aggsig.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5493b10bef2df9c4d980f5b80b64d1149875e19a6a766916acf237a1ec1d7b4"}},{"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":"core/src/pow/cuckatoo.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87374bcd7ac090c9d343fe8c2cc052e457445af56cc041daadad1bb30f3e1bc9"}},{"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":"core/src/genesis.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be847d9881c5a2d651b912736cb59ff82a28da38f23793cd384b9d604cbdbe"}},{"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":"store/src/prune_list.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eb70e6eac65ee437a347ca87f5609eef49bfc3ceeb0947b46bcdb2024db15d"}},{"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":"p2p/src/serv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"179df69b661fb0c2c50f67d297c85fe1a99ec0ccc2f9443d40e9fdac9c25c381"}},{"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":"core/src/libtx/secp_ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59b7642ec6a2233fb0693720a8d154782f8fd9f75aa029a82746ee645ce1342"}},{"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":"config/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b40661943c2df73aa49142da1f57610f8bf633bb0e3a2cc290ca676766eb39"}},{"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":"pool/src/transaction_pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e6e75729a948c9421c7fc3af85133612cc513df432693bad13dd29ba4c500d"}},{"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":"p2p/src/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e865aa1e5f634f98fd173c560adf4c03c23cd5e0fa7d6dc104c2c830a0bd7f4"}},{"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":"pool/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49b7a51aa3044f0dba990072b4a2da52646b5361a80148c216f066c199f66b5"}},{"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":"p2p/src/conn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a702979d9f8eb2a5258c9d2d169e60cd5ed4aaa227d15bfb6c13c74242c9e8f7"}},{"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":"keychain/src/base58.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e264fd692e4efc28e527605761b8e221845673e63115c266df34c5642c3de7"}},{"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":"util/src/logger.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2f415870ae20407e188a802a2a54070dcb78323ff68a402f08d507a0dfa3b"}},{"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":"p2p/src/codec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cc6f648f217b28cd51db897d3267779bbd77f0c59c6f1a5b6e44623d6e85de"}},{"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":"servers/src/mining/mine_block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d30222468d5dc79f1f5baa1fa6930a0d333a345cd37ecb429e10e8b437be18"}},{"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":"api/src/owner_rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8763bef37cc3e347a9ba51e68fbb5b83b091ed9f9bbcfba88f4c3e356f4f85f"}},{"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":"p2p/src/handshake.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"354a8e605a7ee6beadeb0bf91b9848cf87e994adf9cb0994b4e02b12bc2a751b"}},{"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":"pool/fuzz/fuzz_targets/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72186510abb4e314484a622c48774cdf312892a32d996fd482882b5743c2545a"}},{"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":"servers/src/grin/sync/syncer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae4c888f030af6945a3404f2898bc69c26c030c4de7ad0e90d3655ecef668c"}},{"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":"keychain/src/keychain.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65352183ee7cc87e3d3603d276e66dabd54f2274dbdcd276c5e75780a8b03ad"}},{"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":"servers/src/common/stats.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1943b0f10e901215b76587063e30ebb5f05b0579773be5ace9780240875950ff"}},{"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":"servers/src/grin/sync/header_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431faa297a4e7f8e659593ba84ef327dcc2a2794aca754f55ee4c743f3bb5f6"}},{"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":"chain/src/txhashset/utxo_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0a8f6ef2d3931ee6e2db69201ced33be605c0440520dc185f4b3a2594c888"}},{"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":"core/src/core/compact_block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c97e6eb1dc507611d5b78727d97933aa96d5af20a24c958fb5426c7c2fb219a"}},{"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":"util/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c4fc8fc81f793851a79ad874d7e7dc9c4a05c38bddda28b4c9d8399667814a"}},{"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":"chain/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b6bf28c5aa1483fffdf15ef24ce57803e67dd617a9bdd76c142c4eaa3ab978"}},{"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":"servers/src/grin/sync/body_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e501f240c820e24e847f48ccceb35ec21e1268da01eddb79ac6e2219d0b5089"}},{"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":"core/src/core/id.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"166bfcf762d425add563407321cd71652f4e119ce83c4f2eeba604b2a985b1d6"}},{"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":"store/src/leaf_set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032a0d7ca1495074d08cbd8ccf417fa398a38aa31d4d794400e4640433a4341"}},{"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":"keychain/src/view_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b509760e82c9a6f7ba80c2f54e5ec072484330cd31306da2d8b2c523d118a1"}},{"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":"servers/src/grin/dandelion_monitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a538d704a8421f768baa2529060d9b28c1148ca7360f1bf79e4be65a8e473ca"}},{"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":"core/src/core/hash.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5037adc73d94d623a1d678db7d1d76741555e1e7ebaa28cda8271447a1ec8a0"}},{"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":"core/src/core/committed.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe67c6d71d47d1a99176d6a8934c7950d7078abcdb39cc82b18841c8e40bf30"}},{"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":"servers/src/mining/test_miner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85df3b187260489381ab8b2b952cb36134febf17be7666c62a529c9351e1d7d4"}},{"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":"chain/src/txhashset/segmenter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d7e2e70906cfb9dfeef20a621abc35108017c144c3f77c652f02da57d55698"}},{"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":"core/src/pow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7811a4413bb93c4112a60ccb8f868b530b5f32d6554ddca52598249e6b4e83"}},{"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":"core/src/core/pmmr/readonly_pmmr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26263042b27b7aee507a7d90e0353fc1105dda9496b3bcb662693c7775c66a1"}},{"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":"core/src/pow/siphash.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ba6dee57d5628e31e6e2a903e0a7a143def88353e9c8cce18bd861f7c21a0f"}},{"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":"core/src/core/merkle_proof.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e67791158fcebbfdb2b7d3bcb2023ad8b5a75f0270e4cf93354a7480a6c2b5"}},{"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":"core/src/core/pmmr/vec_backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad30b6aa6b6ca488cc4300871070fa74f9c29069abc0b9eb898077697518a8f9"}},{"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":"core/src/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1445b2112481e3f7a2f126024b94150dadb87ccd2bbe128e4235defe7feb1285"}},{"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":"core/src/core/pmmr/backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d35d7cf7aed15e7ac0f9fec47534e9200852d70af5353901f243fb4db905b0"}},{"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":"util/src/zip.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce09b3acd255db8bb41bc0f9f163caa9e417b710795aaf5606fd6b0d59f781e"}},{"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":"core/src/pow/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95ea2c8d689c187b2871d6890d42d451fdfc67c7008c1eb53c726152ff5203b"}},{"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":"core/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e9164fdc9e2b19d9108daaa9af6a3d7b9e9aecefa607103c4c8174e803ddf"}},{"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":"core/src/pow/lean.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d35819bf568424176e9b3194847d7c18d3a80614c3398c2dcb7b97bc9bd894"}},{"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":"util/src/rate_counter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345b210f290c7170e807255fc61888d1c12dcb05ee2e0ff77877ba9144b301cf"}},{"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":"store/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fe4bba97800103a56a8452d862bc6dc16e68ab68e18815f76432c1b17bf666"}},{"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":"pool/fuzz/fuzz_targets/transaction_pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b1c00f10edd314152ae452f11fa92db39ba34ffa6073b77dc312d6e9b9a92f"}},{"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":"config/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8345b170f530ba091a6463968bb3d54165a555431f875046c1ce57d8f427a097"}},{"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":"api/src/handlers/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85a68dbe018d13f377b9462cff7673d9563b9e42228bafb0c3b07afb16fc5ab"}},{"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":"util/src/hex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"540920095b49c88caa355686e8469fee0208514b4720932725a9e2a35a84b358"}},{"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":"core/src/core/block_sums.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0e3d0fa211dc46e0f0351ac98b41975aeb61794fb0b4f3af57f450fa7745e"}},{"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":"chain/src/txhashset/rewindable_kernel_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d9a6c81c6605efa62af11992301f255cb7afba56ed98eaf75431a9545ad8f4"}},{"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":"core/src/libtx/reward.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"718dd94f09ac8e0b1079fd86fe9a60cce6985f5bab228b267f0757d2f496af78"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","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":"ca4ec2e8532687a20dbcfeb21a772d1e8e05b110a0e5c828b2f585fa8190a463"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5930e21e569bc3386945ed1f3a4e46a3e672d4578572ced7ecffbee3cd1820c7"},"taxa":[{"id":"CICD-SEC-5","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":"7287f494b7ee1fc1c1ecba6ab7d7c7dd95bfa936ab969a9c5b86aceed9c46a84"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e315a6c8ca1c9a9d71da92c934b6d132b3b69049c47336241069a075201fdfe3"},"taxa":[{"id":"CICD-SEC-5","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":"AXH1","level":"warning","message":{"text":"Runtime security header not set: content-security-policy: The live app\u0027s responses did not include content-security-policy (restricts the sources a page may load \u2014 mitigates XSS/injection). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b142e47096a32517bde0bb9b78f7e564119c7f87e22fba4dccc0d1e3645d74c5"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-embedder-policy: The live app\u0027s responses did not include cross-origin-embedder-policy (recommended by the OWASP Secure Headers Project (value: require-corp)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"153214bb9c80f7d66cba8eb6a7715e9609e84c3979c9b641cd6bedaa8be6930b"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-opener-policy: The live app\u0027s responses did not include cross-origin-opener-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8cdbe5cdec6a55c732bf9a9975c0e40f81ddfa4ad583a4a50bfb0895531607f7"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-resource-policy: The live app\u0027s responses did not include cross-origin-resource-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ba35c34991db9965777a53477c2d497c4c6606f78d133bbaa3bc99c71648c2a"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: permissions-policy: The live app\u0027s responses did not include permissions-policy (restricts powerful browser features (camera, geolocation, \u2026)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac8a111f0bb913829dc090833718dca5ab8e5fba7350f9dcf68f1971010745"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: referrer-policy: The live app\u0027s responses did not include referrer-policy (limits referrer leakage to third parties). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"364ee3f006b552b8fee33710a1fbfb0c4fac59e927af9c4396e51940d9069f01"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: strict-transport-security: The live app\u0027s responses did not include strict-transport-security (forces HTTPS on subsequent requests \u2014 mitigates downgrade/MITM). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"567d3eeb50a5678c0139a1d316c614c44cd4c4fb5db6fffa7795bc73d035966f"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-content-type-options: The live app\u0027s responses did not include x-content-type-options (stops MIME-sniffing (expects \u0027nosniff\u0027)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e7f2638203ac91f5b64c739d090b339c00a90f1007c83652152b402a6eb0cdeb"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-dns-prefetch-control: The live app\u0027s responses did not include x-dns-prefetch-control (recommended by the OWASP Secure Headers Project (value: off)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50e54b8511264dd930857e4620bda8ba4053661b439218ed047812bcab0e3a44"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-frame-options: The live app\u0027s responses did not include x-frame-options (blocks clickjacking via framing (or use CSP frame-ancestors)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e84499d19780ca121fad65e0f3bd2fc17b1268ce3079a5f40495749c54dc87e"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-permitted-cross-domain-policies: The live app\u0027s responses did not include x-permitted-cross-domain-policies (recommended by the OWASP Secure Headers Project (value: none)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55366a3d9fb1c5952ebc54aab272eb775bf2c1b056d6d399652365c26cc2375b"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: wd-runtime-app: \u0027wd-runtime-app\u0027 (wd-runtime-app:scan) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"58b66476748e6ab31dcdd8e06ee148353a48ea93e873dd96c2aaafa81bc630fa"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 2.4.2 reproducibly failed in a rendered surface: axe-core rule(s) document-title failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a152f745c16f064aeb9932e5d52584f548c37c248ac45bacf96a1a6ffc2e49e7"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 3.1.1 reproducibly failed in a rendered surface: axe-core rule(s) html-has-lang failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2d0e1d2bf07ce04d82230fe7847e003479b78cd188efe60cc79686fb8ba8420"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C2","level":"note","message":{"text":"Thin authorization enforcement: Only 1 place(s) refuse an unauthorized caller \u2014 too few to demonstrate default-deny across handlers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 10/11 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060core/fuzz\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add cargo-audit / cargo-deny (or clippy) (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/ci.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060.serve_connection(\u0060 (api/src/rest.rs:248)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!header.pow.is_primary() \u0026\u0026 !header.pow.is_secondary()\u0060 appears character-identically in 2 files \u2014 chain/src/pipe.rs, core/src/core/block.rs. 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":"chain/src/pipe.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0847a02a64f8777955489d011e11287fa3e0b6778448110aa86c5e9b8574ca5"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060path_len\u0060 is read from the bytes being parsed at line 52 (\u0060read_u64\u0060), then used to size a \u0060Vec::with_capacity\u0060 at line 53 \u2014 and nowhere in its scope is \u0060path_len\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060path_len\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/core/merkle_proof.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bf2bfda86c59b018841d3448dc95a13ae26552595073edf4043e40048e45ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060size_to_string\u0060 (in \u0060to_column\u0060) turns every \u0060Err\u0060 into \u0060\u0022-\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/tui/peers.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f0be4dc116aabc1c5ec753422bd4be5c5bf42418fd85c7864bd35e44614bdc"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":74,"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."]}]}