{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"partisan_otp_rewrite.transform_expr (cyclomatic 86): partisan_otp_rewrite.transform_expr has cyclomatic complexity 86 (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":"src/partisan_otp_rewrite.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3a1913742f4f9eeeaec1f546fe23587558ba66ef9d2bfbefd97c909b4a9225"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_hyparview_peer_service_manager.handle_message (cyclomatic 80): partisan_hyparview_peer_service_manager.handle_message has cyclomatic complexity 80 (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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad0e595b4cf5ee96e74ce5421ce0bcfaedae81d7662c3c2ece53bb2198b119"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_scamp_v2_membership_strategy.handle_message (cyclomatic 51): partisan_scamp_v2_membership_strategy.handle_message has cyclomatic complexity 51 (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":"src/partisan_scamp_v2_membership_strategy.erl"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ec016f323970c349ff3579a7fd7df49571054821fcf4455a787e098d97bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"bernstein_ctp.handle_info (cyclomatic 44): bernstein_ctp.handle_info has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/bernstein_ctp.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e129710cab245d5284eecb1329143d8dd37dafdc9112ccd289e8834310ab44ff"}},{"ruleId":"D1","level":"warning","message":{"text":"skeen_3pc.handle_info (cyclomatic 40): skeen_3pc.handle_info has cyclomatic complexity 40 (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":"protocols/skeen_3pc.erl"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fe3cbc18d100a98eeaff30e2fd22c19a65f91cbd3243fc2f6afb46bdb7b164"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_trace_orchestrator.handle_call (cyclomatic 34): partisan_trace_orchestrator.handle_call has cyclomatic complexity 34 (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":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1c313eed3baab74a9b1fe2b56831a33643988e498e1a01ff2d41e739e31cf5"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_analysis.visit (cyclomatic 30): partisan_analysis.visit has cyclomatic complexity 30 (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":"src/partisan_analysis.erl"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5009d698837a92d436a438681acfa3ed2ae578b0295584214dc2ab31805fe86"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_hyparview_peer_service_manager.handle_call (cyclomatic 30): partisan_hyparview_peer_service_manager.handle_call has cyclomatic complexity 30 (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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a472c78dc5120a5327b7aedc91d6be0a67aacc97a47cda25b4cd339e5985316"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_peer_service_manager.do_deliver (cyclomatic 29): partisan_peer_service_manager.do_deliver has cyclomatic complexity 29 (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":"src/partisan_peer_service_manager.erl"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f56f60e714f42fb34ad956ab9079127cc3a369ec0b4cda1b84fd22df78d43b"}},{"ruleId":"D1","level":"warning","message":{"text":"lampson_2pc.handle_info (cyclomatic 28): lampson_2pc.handle_info has cyclomatic complexity 28 (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":"protocols/lampson_2pc.erl"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bcbf10cbeb3db374d7782f5665ad65724c84639c7987e1bf69ff3cd196608f"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_util.encode_ (cyclomatic 28): partisan_util.encode_ has cyclomatic complexity 28 (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":"src/partisan_util.erl"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8468f84746f5e6651d23bdb80934579eb6a49aa751a57f2be16940f42d2a066a"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_orchestration_backend.handle_info (cyclomatic 26): partisan_orchestration_backend.handle_info has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_orchestration_backend.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f067c6a82eca6171b35a3b982517942a11579ba0ac0c91f55cd4cc1f0089f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.handle_info (cyclomatic 26): partisan_pluggable_peer_service_manager.handle_info has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: partisan_pluggable_peer_service_manager.handle_call (cyclomatic 39) 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94fab22a009b25aa7ee254c6126538a0295471b4bc3646b70ce7784e7bb828e"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.handle_cast (cyclomatic 22): partisan_pluggable_peer_service_manager.handle_cast has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: partisan_pluggable_peer_service_manager.handle_call (cyclomatic 39) 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f445825e828dca7ba32cd22a04f161d5dc4926f9816654854cfb7bc420e35b"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_hyparview_peer_service_manager.handle_info (cyclomatic 21): partisan_hyparview_peer_service_manager.handle_info has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f75cdea59e7be66cd73bc6f80c663e7d7939efbda1d59fd93cd9b67fbb3bdcd"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan.send_after (cyclomatic 20): partisan.send_after has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan.erl"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4b1006bb21e4efeb3e81e9d2951721f728273815fde169b0d40bd0715b1855"}},{"ruleId":"D1","level":"warning","message":{"text":"alsberg_day_acked_membership.handle_info (cyclomatic 18): alsberg_day_acked_membership.handle_info has cyclomatic complexity 18 (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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c024aff0fdbab7e8bd6218717be33c0852f98c39ac90d6c6d2350b8259a11985"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_erpc.call (cyclomatic 18): partisan_erpc.call has cyclomatic complexity 18 (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":"src/partisan_erpc.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0678b6ee608ca7d096dda514621a894bdc980e90054ff79f192ed4e6cfa487e"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_peer_connections.do_match_spec (cyclomatic 18): partisan_peer_connections.do_match_spec has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_peer_connections.erl"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"7043cc3a836b2348175054c51f4ad8b67ad24eea5ffae0cb2adc95c3a5647cee"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.do_send_message (cyclomatic 17): partisan_pluggable_peer_service_manager.do_send_message has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: partisan_pluggable_peer_service_manager.handle_call (cyclomatic 39) 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1de161ef77411a65a6da10debb0c349cbb1adba3a1c12a6b3ca3a8560250ab"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.forward_message (cyclomatic 17): partisan_pluggable_peer_service_manager.forward_message has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: partisan_pluggable_peer_service_manager.handle_call (cyclomatic 39) 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c46e2588b4304775daa9691fe22fba00ed603e95ae094decc4a21a3fb9e881"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_util.parse_listen_address (cyclomatic 17): partisan_util.parse_listen_address has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_util.erl"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73ff91603327f514858df309fb9795b543d87bb010b3a3abd65c7853d2be7be"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.forward_message (cyclomatic 16): partisan_pluggable_peer_service_manager.forward_message has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: partisan_pluggable_peer_service_manager.handle_call (cyclomatic 39) 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be2f39d30bae3118f027c7bf7114a0b902823b2047f75f52906f6b73bd4842a"}},{"ruleId":"D1","level":"warning","message":{"text":"partisan_thicket_engine.handle (cyclomatic 16): partisan_thicket_engine.handle has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_thicket_engine.erl"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75d5e50ac54edc68b448626acd6a512c9d86fcc674759b2f01d30a0aed70dab"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_hyparview_peer_service_manager.handle_message (cognitive 56): partisan_hyparview_peer_service_manager.handle_message has cognitive complexity 56 (threshold 15). Drivers by points: match/switch 29 (47 pts), boolean chains 5, if/else 3, loops 1 (nesting depth added 18). 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/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cde574fff7e07d18e473cbd41f0cb2bee1f3d608e41ff9cc8a5a5b2f3ef1d9f"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_trace_orchestrator.handle_call (cognitive 42): partisan_trace_orchestrator.handle_call has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 17 (41 pts), boolean chains 1 (nesting depth added 24). 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/partisan_trace_orchestrator.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9907415d7a468402e6fb3c9c22febdc786d1cb32fcd694ea214d046ba82f4a73"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_otp_rewrite.transform_expr (cognitive 37): partisan_otp_rewrite.transform_expr has cognitive complexity 37 (threshold 15). Drivers by points: loops 30, boolean chains 4, match/switch 3. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_otp_rewrite.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ad807a9beec5806de5848e83bdc98f464fba710ae805ff2563ff36530030bd"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.handle_cast (cognitive 28): partisan_pluggable_peer_service_manager.handle_cast has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 18 (28 pts) (nesting depth added 10). 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/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81172d3057ce53869d964ea74accc8d64d611c7f9a2b1ff8eaa71f11687d7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"bernstein_ctp.handle_info (cognitive 27): bernstein_ctp.handle_info has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 18 (27 pts) (nesting depth added 9). 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":"protocols/bernstein_ctp.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916cd63ae67df58432c18ba2128451c21b9531d3cc791d5b923b4ad68795172"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan.send_after (cognitive 23): partisan.send_after has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 5 (11 pts), boolean chains 6, error handling 2 (6 pts) (nesting depth added 10). 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/partisan.erl"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"128cff145e0359bf1464f53aced27c53dac5a8b12af61078cba08c72d633df30"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_trace_orchestrator.preload_omissions (cognitive 22): partisan_trace_orchestrator.preload_omissions has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 12 (22 pts) (nesting depth added 10). 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/partisan_trace_orchestrator.erl"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd05525324d17dae911103043d03faeeb447398e4ed0e4ab75458e3e3d5e10e"}},{"ruleId":"D2","level":"warning","message":{"text":"skeen_3pc.handle_info (cognitive 21): skeen_3pc.handle_info has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 13 (21 pts) (nesting depth added 8). 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":"protocols/skeen_3pc.erl"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"563a7c902d64ee4a698138fca838bc2306d58bc9e28b94e0f142a4957d6c9017"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_peer_service_manager.do_deliver (cognitive 20): partisan_peer_service_manager.do_deliver has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (18 pts), boolean chains 1, error handling 1 (nesting depth added 11). 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/partisan_peer_service_manager.erl"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5f542063f8b75d9c27209f8c6f8c955f1ccce92318892f7036d3853471e16d"}},{"ruleId":"D2","level":"warning","message":{"text":"alsberg_day_acked_membership.handle_info (cognitive 19): alsberg_day_acked_membership.handle_info has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 17 (19 pts) (nesting depth added 2). 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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d8190d8f1e3ce3076e6ad6cb4efe2f82d73e9dd0073280a0f2c2f77ce0770e"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_analysis.visit (cognitive 19): partisan_analysis.visit has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 7 (14 pts), loops 2 (5 pts) (nesting depth added 10). 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/partisan_analysis.erl"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ef76d6f892f098af7996e3cdb997fb2633e5de65382c0a04bd4c8ec2ef40c9"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_pluggable_peer_service_manager.forward_message (cognitive 19): partisan_pluggable_peer_service_manager.forward_message has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (13 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 9). 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/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b68badf58d45caddd6cf699672d841edf2883b6a05bf62510a8c6c6df6b61e8"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_peer_connections.do_match_spec (cognitive 17): partisan_peer_connections.do_match_spec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 5 (6 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_peer_connections.erl"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3665288149fd0595228924dff37f9a8158151853e0e28e02a3361873d63d38"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_thicket_engine.best_announcer (cognitive 17): partisan_thicket_engine.best_announcer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, boolean chains 1, match/switch 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":"src/partisan_thicket_engine.erl"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f7b59c60778dc2c81e4cab863bb26d38f111b3eb9758cbee440920fd8dd8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"partisan_trace_orchestrator.faulted_for_background_interposition (cognitive 16): partisan_trace_orchestrator.faulted_for_background_interposition has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 10 (16 pts) (nesting depth added 6). 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/partisan_trace_orchestrator.erl"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d56816e700bd56a5491a3a1e43a0b4459897ed38cec924afc600b764c0a3a31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_hyparview_peer_service_manager.erl: FileTooLong \u2014 1915 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 1415 over it, 3.83\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"730a335a1c136b1c2ceb526f0a891fdfaac9cf084076df4fccba6e5866f5e579"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_pluggable_peer_service_manager.erl: FileTooLong \u2014 1663 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 83 functions. The bar is 500 significant lines; this is 1163 over it, 3.33\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cacf04c0398549a7e1a0ee6da0ecc2033372833e30cea7d394af93f95eb16c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_peer_connections.erl: FileTooLong \u2014 1378 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 878 over it, 2.76\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_peer_connections.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c085ac02f261b29326659cb4f34e67fa1861fd1fe9eabff073af26ba2362c332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan.erl: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 78 functions. The bar is 500 significant lines; this is 493 over it, 1.99\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b506820cdc89de00fde7b4f8e51c739ea5fb1c39c8c53269c4d06a260289b28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_erpc.erl: FileTooLong \u2014 960 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 68 functions. The bar is 500 significant lines; this is 460 over it, 1.92\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6536dab99c77ebea88616137325f884468f921088fb9f3adf9ba0343a744cbad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_analysis.erl: FileTooLong \u2014 945 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 74 functions. The bar is 500 significant lines; this is 445 over it, 1.89\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_analysis.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06920b80c3fbac59483b68ab207251775877e0b3b8f3d357f91ccc59b0a14dbe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: partisan_static_peer_service_manager: TooManyFunctions \u2014 54 functions. The bar is 30 functions; this is 24 over it, 1.80\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_static_peer_service_manager.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b21574bce1cb825537d062b33fa14289f7f2273bc3dce203c252e0c8b348fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_otp_patches.erl: FileTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 399 over it, 1.80\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_otp_patches.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75bfaeed6a8ac5df08bd244505bf71e1496b57584dd9b7e586f9de5ef04bf74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_monitor.erl: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 61 functions. The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_monitor.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"057b58b8ba4c26bf2b95be79a4057645951f0045af162388dc3c494cd4b6eb5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_trace_orchestrator.erl: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 266 over it, 1.53\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29409168f75b0dbfed1f485e6b14fcc8d3949b1162616c8076e77507bbcb5458"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_remote_ref.erl: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 231 over it, 1.46\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_remote_ref.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a4f98c679ad06efba7f78e81e27b1db0601fb796523dded9ed94661c7d82d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_config.erl: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 219 over it, 1.44\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_config.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5c8e199192157f831efd0c4ce39e670041a003722075729224bc136caa03d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_plumtree_broadcast.erl: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 176 over it, 1.35\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_plumtree_broadcast.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d041c06b6efbda3a4e86ae5737e93e9c4bbb42296ce09937d9fec3e6b45be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_thicket_engine.erl: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 64 functions. The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_thicket_engine.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71878e1bab1a78ebb7e351543e7b53ad0056479b11724096f6c5134bb8f33899"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_interval_sets.erl: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_interval_sets.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdc7950fd22dfcbd38a3ec31cae848b33de226f310dc730309db11a16c3b155"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acceptor_pool.erl: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/acceptor_pool.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ab8b1845ba8be64247970e65149d29c934a0bf68c02c9b8d5bd121724af944"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: partisan_plumtree_engine: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_plumtree_engine.erl"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"334d17ae2026cff9bb4780880d12c33a4020075fc3cdcba6d8e84cfd56ae6e03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/partisan_client_server_peer_service_manager.erl: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1598a8dc0fe4e48c8185c18aaf154d215979e3b2a6d2c9077c527c240b1ac31"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 131 shared lines): protocols/bernstein_ctp.erl:168-496 | protocols/lampson_2pc.erl:174-387 | protocols/skeen_3pc.erl:173-501 \u2014 These 3 members are variants of one another: a block of 131 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/bernstein_ctp.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"227e7a20b9e69e3fa45173572e4f62c8cc24b793e48eb7e1b504216649bea459"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): protocols/alsberg_day_acked.erl:232-354 | protocols/alsberg_day_acked_membership.erl:260-440 \u2014 These two members are variants of one another: 115 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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5106c4d79bee8caba0c369d8c4721523ebdb334aa57ca2fc571405cdd566cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): protocols/bernstein_ctp.erl:123-164 | protocols/demers_direct_mail.erl:100-136 | protocols/demers_rumor_mongering.erl:92-123 | protocols/lampson_2pc.erl:126-170 | protocols/skeen_3pc.erl:124-169 \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":"protocols/bernstein_ctp.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"254baa532d78c044e484a5a2c4d6496387b4eed1f47d790c3fbf09b97fb9bf9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): protocols/demers_anti_entropy.erl:70-87 | protocols/demers_direct_mail.erl:78-92 | protocols/demers_direct_mail_acked.erl:68-82 | protocols/demers_rumor_mongering.erl:70-84 \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":"protocols/demers_anti_entropy.erl"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f79e524573d0569bf6b5800016e09f8c1fa32144af5f27d55b5507eb754b618"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/partisan_client_server_peer_service_manager.erl:260-288 | src/partisan_hyparview_peer_service_manager.erl:414-453 | src/partisan_pluggable_peer_service_manager.erl:460-525 | src/partisan_static_peer_service_manager.erl:239-271 \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4b2a934a32374c5a6b536ecfda2a6aa83718cee6886e8cba42b152e038d8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): protocols/alsberg_day.erl:149-238 | protocols/alsberg_day_acked_membership.erl:159-257 \u2014 These two members are one piece of code written twice and then edited apart: 90 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":"protocols/alsberg_day.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5d5247b807e2188f720732f2497e8f51306dee0df9d589f383ae3760dd1bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/partisan_remote_ref.erl:709-753 | src/partisan_remote_ref.erl:762-801 \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":"src/partisan_remote_ref.erl"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5383ee9ab8f8bed4d1d8a250c57ab746bfc17d8987062a9ee349f90778bc16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/partisan_scamp_v1_membership_strategy.erl:67-118 | src/partisan_scamp_v2_membership_strategy.erl:81-137 \u2014 These two members are one piece of code written twice and then edited apart: 52 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/partisan_scamp_v1_membership_strategy.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"913535a2319b4fd5ba508316ebe6bc06e566b2a5721967957715fd7cb07a8d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): src/partisan_scamp_v1_membership_strategy.erl:170-222 | src/partisan_scamp_v2_membership_strategy.erl:179-234 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_scamp_v1_membership_strategy.erl"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5163e06f2fa6ed5cbdf3353ff94072c14b83c139a0cfbd070237b38ce65ef183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): src/partisan_hyparview_peer_service_manager.erl:2912-2959 | src/partisan_pluggable_peer_service_manager.erl:2484-2533 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d854ab01acdbdd54f11ae24db2b671debd0476d8381d2e902d485d3c8f13b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/partisan_erpc.erl:774-790 | src/partisan_erpc.erl:806-822 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"353ee2ebae59ea4cd1e8be1fb498489bc918002c451f4ec4e47019c32b725cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/partisan_remote_ref.erl:306-321 | src/partisan_remote_ref.erl:352-367 \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":"src/partisan_remote_ref.erl"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3531150938797aa5c9473a6de4f2e10a9ddf2e1df4a64d7edb9eb584a6aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/partisan_peer_service_client.erl:575-589 | src/partisan_peer_service_server.erl:294-306 \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":"src/partisan_peer_service_client.erl"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"de28666eb6d6fcfdb0c2100dfc2f7455cea3ef2e4f6675b23e330dccef431cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/partisan_erpc.erl:509-527 | src/partisan_erpc.erl:558-573 \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":"src/partisan_erpc.erl"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba50a4f574766550b3dc4b7e00fe742dd5ec88c79228271a26bcd7b9d3947b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/partisan_erpc.erl:1176-1194 | src/partisan_rpc_backend.erl:286-306 \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":"src/partisan_erpc.erl"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3afb2d2b6aa2144e1ece9f0ba7e830a565ea903742c96dab000bc13ccdcfeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/partisan.erl:1336-1360 | src/partisan.erl:1371-1396 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan.erl"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a64abfbda7da0c4273fa6991012ed20bb8245f29d1f0757b2fdc0891f50e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): protocols/bernstein_ctp.erl:98-115 | protocols/lampson_2pc.erl:98-118 | protocols/skeen_3pc.erl:99-116 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"protocols/bernstein_ctp.erl"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8fc1678be9877001028c30808de36deec37f76d830d400daf6fc7456d885c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/partisan_peer_connections.erl:791-818 | src/partisan_peer_connections.erl:854-880 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_peer_connections.erl"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8dafbb98e5702d09d63d4dbd17517ae44b050bd0caf4d679018740a6f749ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/partisan_peer_service_client.erl:551-572 | src/partisan_peer_service_server.erl:260-282 \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":"src/partisan_peer_service_client.erl"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbca8e370f261a0b9d0e7788bcfe468d585d0d4baaae950ebd3de9ff69e70410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): protocols/alsberg_day.erl:119-138 | protocols/alsberg_day_acked.erl:107-129 | protocols/alsberg_day_acked_membership.erl:117-146 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6676758ffcda626324f342b21aa7d64925d3cac52fdb15ca6a6382a33b034d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/partisan_client_server_peer_service_manager.erl:294-307 | src/partisan_static_peer_service_manager.erl:277-292 \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a227a53b0b714ba30caa48376d3d9ace47e6a855d638d36521073b25e68b7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/partisan_pluggable_peer_service_manager.erl:2308-2323 | src/partisan_static_peer_service_manager.erl:727-734 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db10c5ea48c9658da80617216390bec795e90099789817e042cc3f1afbe5936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/partisan_erpc.erl:369-380 | src/partisan_erpc.erl:711-722 | src/partisan_erpc.erl:744-756 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"19663d0c5095fa52b33ef394ba114ee836d06d93605391fe45f2a31ba5d67e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/partisan_hyparview_peer_service_manager.erl:2962-2981 | src/partisan_pluggable_peer_service_manager.erl:2540-2563 \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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":2962}}}],"partialFingerprints":{"codehealthFindingId/v1":"9114d130fb313297d12f5428f173b000837973fb0e9a253c8ff649f5398dd650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/partisan_plumtree_broadcast.erl:674-690 | src/partisan_plumtree_broadcast.erl:697-717 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_plumtree_broadcast.erl"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c8fa886ba89e097d6a8558eb181efdea0228d8169c3f6d0b891a346a4fe55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/partisan_otp_patches.erl:1442-1464 | src/partisan_otp_patches.erl:1477-1497 \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":"src/partisan_otp_patches.erl"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fea163f2d608310e5334a9c3ec5b76063a825ba5e10f10619d9e311d4ebbdec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/partisan_erpc.erl:1131-1140 | src/partisan_erpc.erl:1157-1167 \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/partisan_erpc.erl"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"92660e3f7eb084facbfaba10ed2e77c6ea8ae51dd3a51e6b7f29f5bc0c9b4739"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/partisan_client_server_peer_service_manager.erl:719-738 | src/partisan_hyparview_peer_service_manager.erl:2153-2171 \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"23344d3022feec10f7478a5882c6920d41334ac5e10502d0458308aa4889660b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/partisan_otp_patches.erl:74-82 | src/partisan_otp_patches.erl:153-162 \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":"src/partisan_otp_patches.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a59d21d56af61eb120cdd55e7bc849616f12eee2140aeb58d7cf39b243f9347"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/partisan_analysis.erl:1392-1416 | src/partisan_analysis.erl:1419-1441 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_analysis.erl"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b104b751a10d68add22ac7478f4026b766490801b3fb5a532063f0cd69f84a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/partisan_remote_ref.erl:375-382 | src/partisan_remote_ref.erl:421-428 | src/partisan_remote_ref.erl:460-467 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"src/partisan_remote_ref.erl"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ea5d5a7083a19beae58e8014c28631c9bd9f72203dcf60b31ed822cbdec53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/partisan.erl:906-917 | src/partisan.erl:929-940 \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":"src/partisan.erl"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcedbc6508f6e876049a6e80be5f8e690ea3c662e4309787f7b80b39cc2e49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/partisan_plumtree_broadcast.erl:738-756 | src/partisan_plumtree_broadcast.erl:766-784 \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":"src/partisan_plumtree_broadcast.erl"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fd1b8b7f9fd05881c31c923c0976a353bb4fb6b99fe1562e91bcdf098aa743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/partisan_analysis.erl:861-866 | src/partisan_analysis.erl:871-876 \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":"src/partisan_analysis.erl"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"be488fe22edef9471a7c37d0ce7c38ce76200def5c69ace5577bfc4dbd843278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/partisan_client_server_peer_service_manager.erl:741-755 | src/partisan_full_membership_strategy.erl:250-264 | src/partisan_hyparview_peer_service_manager.erl:2174-2188 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d2f6fb47d7da138b572cc6f35213da23fbd49f9c7cefc032e3c7e27ee158e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/partisan_util.erl:56-64 | src/partisan_util.erl:73-81 \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":"src/partisan_util.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45d143ccfa68f64766f863e04a636c47c4d13b65955829149b659154de7a3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/partisan_static_peer_service_manager.erl:675-682 | src/partisan_static_peer_service_manager.erl:685-692 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_static_peer_service_manager.erl"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cdeb0d9335c5e031331176a73f9cd782e0fab316ac40ee8401a7bfa871d840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/partisan_client_server_peer_service_manager.erl:872-883 | src/partisan_pluggable_peer_service_manager.erl:2651-2662 \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce937ac96a615eb282ddbebebb6bfb231b7f116948cf7d4c65da6c42fda055ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/partisan_client_server_peer_service_manager.erl:666-678 | src/partisan_peer_connections.erl:767-778 | src/partisan_static_peer_service_manager.erl:554-564 \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"31569d912bcfc3aa69d44448ad78b5bdebed983b53e0d14144577cc37830d754"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/partisan_client_server_peer_service_manager.erl:848-855 | src/partisan_static_peer_service_manager.erl:807-814 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6378776acd08e9cdb406884835639895b7ae440c932553ca7b9d8174117195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bench/partisan_bench_handler.erl:177-181 | src/partisan_plumtree_backend.erl:343-350 \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":"bench/partisan_bench_handler.erl"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"017e74346fdd375c6f42a51655f8bff44e30e8e70db46f7863861898a8fa883e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): protocols/partisan_hbbft_worker.erl:33-34 | src/partisan_peer_service_client.erl:113-116 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"protocols/partisan_hbbft_worker.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f217b46500a8947cb5f6f8d739c32bac7e19128bec8f38a0d5c6da6ca3deeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/partisan_hyparview_peer_service_manager.erl:2996-3003 | src/partisan_pluggable_peer_service_manager.erl:2566-2573 | src/partisan_plumtree_backend.erl:421-428 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cdc189328ca1e499d78761350f0e59513b1c70e64a09c8d58c9c8e128e42f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): protocols/demers_anti_entropy.erl:226-227 | protocols/demers_rumor_mongering.erl:185-186 | src/partisan_scamp_v1_membership_strategy.erl:323-324 | src/partisan_scamp_v2_membership_strategy.erl:436-437 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 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":"protocols/demers_anti_entropy.erl"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f61696e75d39aed887ec5bc1680d07fcb02db40260c45f6624f65ee7094ac1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/partisan_client_server_peer_service_manager.erl:243-246 | src/partisan_hyparview_peer_service_manager.erl:398-401 | src/partisan_static_peer_service_manager.erl:223-226 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"93238392728adf9c44e21cd2f0671bbae79baa4c0385b5fa1e4972772294ed01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): src/partisan_monitor.erl:927-931 | src/partisan_opts.erl:37-41 | src/partisan_vclock.erl:156-160 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"src/partisan_monitor.erl"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"77097a460b2de766c20f7ed6f7e482b7c9ad76144adbc8193d8e163ada9e6140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 3): protocols/alsberg_day.erl:154-238 | protocols/alsberg_day_acked.erl:145-229 | protocols/alsberg_day_acked_membership.erl:173-257 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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 \u0060protocols/alsberg_day_acked.erl:145\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":"protocols/alsberg_day.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad138b9fb5578010870be17f466a2ff3df1c555ec64453980dd2e2d66a6d42e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): protocols/bernstein_ctp.erl:415-478 | protocols/lampson_2pc.erl:309-372 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/bernstein_ctp.erl:415\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060protocols/bernstein_ctp.erl:481\u0060 calls \u0060send_after\u0060, \u0060self\u0060 and \u0060protocols/lampson_2pc.erl:375\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"53947d27b4244f2786fa768740c4e140d709bb18beee8914ec336d8b698e596d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 3): protocols/bernstein_ctp.erl:332-379 | protocols/lampson_2pc.erl:225-272 | protocols/skeen_3pc.erl:284-331 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/bernstein_ctp.erl:332\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0b9f0926ba051c78bdd98f3d618ab17565f93800244b2db0a4921b60b21cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): src/partisan_scamp_v1_membership_strategy.erl:180-222 | src/partisan_scamp_v2_membership_strategy.erl:191-234 \u2014 before extracting anything, compare \u0060src/partisan_scamp_v1_membership_strategy.erl\u0060 and \u0060src/partisan_scamp_v2_membership_strategy.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 78 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":"src/partisan_scamp_v1_membership_strategy.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae93e39522fdee8173fdbe711057e9fa68f939d27ca27e435246fa7124349168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201343 lines \u00D7 2): protocols/bernstein_ctp.erl:123-162 | protocols/lampson_2pc.erl:126-168 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/bernstein_ctp.erl:123\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17260a85946d458af8179821a65e7bdb0ff64e5450eca3fe0ef14138db1c98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): src/partisan_hyparview_peer_service_manager.erl:1369-1404 | src/partisan_hyparview_peer_service_manager.erl:1446-1483 \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 \u0060src/partisan_hyparview_peer_service_manager.erl:1369\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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9266d56a594193d365c7d8c7c8dd2628448078deacbf4ffe3969d80cd340077a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 3): protocols/bernstein_ctp.erl:383-418 | protocols/lampson_2pc.erl:276-312 | protocols/skeen_3pc.erl:335-370 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/bernstein_ctp.erl:383\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, \u0060protocols/skeen_3pc.erl:371\u0060 calls \u0060LOG_INFO\u0060, \u0060node\u0060 and \u0060protocols/bernstein_ctp.erl:419\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d623fa648549d1214f64f2fd382c79ab348e72bd1ef52e276c0f2bf1ca91045d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): protocols/alsberg_day_acked.erl:297-329 | protocols/alsberg_day_acked_membership.erl:383-415 \u2014 before extracting anything, compare \u0060protocols/alsberg_day_acked.erl\u0060 and \u0060protocols/alsberg_day_acked_membership.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 253 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 \u0060protocols/alsberg_day_acked.erl:297\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060protocols/alsberg_day_acked_membership.erl:381\u0060 calls \u0060schedule_retry\u0060 and \u0060protocols/alsberg_day_acked.erl:295\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked.erl"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"385d753d51d0d68f03dba7b10acd89c105769864be153ff277c026d7e072c8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): src/partisan_analysis.erl:114-143 | src/partisan_analysis.erl:418-449 \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":"src/partisan_analysis.erl"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b0fa06c0bfaa75166ddc32b4edf0f67caada3a6bda88cbf5e3742916c0bc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): protocols/alsberg_day.erl:262-291 | protocols/alsberg_day_acked.erl:251-280 | protocols/alsberg_day_acked_membership.erl:279-308 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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 \u0060protocols/alsberg_day_acked.erl:251\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":"protocols/alsberg_day.erl"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d144b0b96f6ed33e5c7aa856337c42feab1ee3f5b8eb522c83e0622523f8210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/partisan_peer_connections.erl:829-852 | src/partisan_peer_connections.erl:857-880 \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":"src/partisan_peer_connections.erl"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b5885291747ff2d259a298cad2bdd85beb15ea67131d95e93f08b4c9bc0169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201322 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:475-496 | src/partisan_static_peer_service_manager.erl:252-266 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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 \u0060src/partisan_pluggable_peer_service_manager.erl:475\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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"30df8cb5f230a6e97ef8130248fcab1d613e06c76e0fca0227cf63401340ee08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): protocols/bernstein_ctp.erl:473-493 | protocols/skeen_3pc.erl:478-498 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/skeen_3pc.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 208 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 \u0060protocols/bernstein_ctp.erl:473\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f401cf96e1782a327c36970320ac7aaddf5b8e09abe45efdfdb3a4b19614ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): protocols/demers_direct_mail.erl:140-160 | protocols/demers_direct_mail_acked.erl:122-140 \u2014 before extracting anything, compare \u0060protocols/demers_direct_mail.erl\u0060 and \u0060protocols/demers_direct_mail_acked.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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":"protocols/demers_direct_mail.erl"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90367b5f27f40b1a6fb037e961ced1239ab125f80ada8f90f33a63972f0055a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): protocols/demers_direct_mail.erl:102-121 | protocols/demers_direct_mail_acked.erl:92-107 \u2014 before extracting anything, compare \u0060protocols/demers_direct_mail.erl\u0060 and \u0060protocols/demers_direct_mail_acked.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060protocols/demers_direct_mail.erl:102\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":"protocols/demers_direct_mail.erl"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cd8312de3afb11a4d60ab57fbd70d08657c1dbaa2deea7ccb3d844c5b84c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 2): src/partisan_scamp_v1_membership_strategy.erl:90-103 | src/partisan_scamp_v2_membership_strategy.erl:103-122 \u2014 before extracting anything, compare \u0060src/partisan_scamp_v1_membership_strategy.erl\u0060 and \u0060src/partisan_scamp_v2_membership_strategy.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 78 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 \u0060src/partisan_scamp_v1_membership_strategy.erl:90\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":"src/partisan_scamp_v1_membership_strategy.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06368c63ab8b8d86126923991fabb9cdd843cee2832e2e35d83a209ed056020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): src/partisan_client_server_peer_service_manager.erl:260-278 | src/partisan_pluggable_peer_service_manager.erl:460-478 | src/partisan_static_peer_service_manager.erl:239-255 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a543d15a72b28b1203c30c4c241fc70196859451628d4bd5af2c0639b3fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201318 lines \u00D7 3): src/partisan_client_server_peer_service_manager.erl:294-300 | src/partisan_pluggable_peer_service_manager.erl:531-548 | src/partisan_static_peer_service_manager.erl:277-285 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca69905211dc3b9dd8fbc9bd7ada3081a3a0dc6bea0644b8ad962cfe90271c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): protocols/alsberg_day.erl:250-267 | protocols/alsberg_day_acked.erl:333-350 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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 \u0060protocols/alsberg_day_acked.erl:333\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":"protocols/alsberg_day.erl"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaad4bdad0e1ef331960971b05db8e4bc523619e76da124e835243c9aea957e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/partisan_peer_connections.erl:1133-1150 | src/partisan_peer_connections.erl:1162-1179 \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":"src/partisan_peer_connections.erl"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"835384ca2ef84a9607eea9afa22b7f21849b3de6ac38e31021817969463d1ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/partisan_peer_service_client.erl:551-568 | src/partisan_peer_service_server.erl:260-277 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060src/partisan_peer_service_client.erl:551\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":"src/partisan_peer_service_client.erl"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e881cfbc1f1feef9eab459ebc3c7e52330b7d6d55d57b0e1aaf9b1dec3c3bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 5): protocols/alsberg_day.erl:270-285 | protocols/alsberg_day_acked.erl:259-274 | protocols/alsberg_day_acked.erl:300-316 | protocols/alsberg_day_acked_membership.erl:287-302 | protocols/alsberg_day_acked_membership.erl:386-402 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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 \u0060protocols/alsberg_day_acked.erl:259\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":"protocols/alsberg_day.erl"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc7c376f2846ae702fa1a8af592ae3b16ae29143a3152a2f761499e65aacb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 5): protocols/bernstein_ctp.erl:324-340 | protocols/lampson_2pc.erl:217-233 | protocols/skeen_3pc.erl:215-230 | protocols/skeen_3pc.erl:244-259 | protocols/skeen_3pc.erl:276-292 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/skeen_3pc.erl:215\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5bf0a006b9c2a94c624630bdb482d848bbf716fb695b1f839d1bbd60b00ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 4): src/partisan_client_server_peer_service_manager.erl:271-283 | src/partisan_hyparview_peer_service_manager.erl:435-447 | src/partisan_pluggable_peer_service_manager.erl:471-487 | src/partisan_static_peer_service_manager.erl:248-264 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_hyparview_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060src/partisan_pluggable_peer_service_manager.erl:471\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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c4779918e4f0c7d60eb7671bdea1f6dd9f191b695d8923efa162dcbfe8a317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): protocols/bernstein_ctp.erl:98-113 | protocols/lampson_2pc.erl:98-113 | protocols/skeen_3pc.erl:99-114 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060protocols/lampson_2pc.erl:116\u0060 calls \u0060schedule_heartbeat\u0060 and \u0060protocols/bernstein_ctp.erl:115\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/bernstein_ctp.erl"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0062aceb5d755e1fd2c3124a05f319d715fcf9e95f57c936e1a00e6c2619064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): protocols/bernstein_ctp.erl:420-435 | protocols/lampson_2pc.erl:314-329 | protocols/skeen_3pc.erl:374-389 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/bernstein_ctp.erl: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 before the matched lines, \u0060protocols/skeen_3pc.erl:371\u0060 calls \u0060LOG_INFO\u0060, \u0060node\u0060 and \u0060protocols/bernstein_ctp.erl:418\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/bernstein_ctp.erl"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5906e66be25ed02244f599d5c0121b588c3be115172b110f673825f2668dd8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): protocols/alsberg_day_acked.erl:339-354 | protocols/alsberg_day_acked_membership.erl:425-440 \u2014 before extracting anything, compare \u0060protocols/alsberg_day_acked.erl\u0060 and \u0060protocols/alsberg_day_acked_membership.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 253 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 \u0060protocols/alsberg_day_acked.erl:339\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked.erl"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abfbd04972b39d078e91b96a94f6f4cd8c92d49aaca32fa846ee85d1fcc73d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): protocols/alsberg_day.erl:119-133 | protocols/alsberg_day_acked.erl:107-121 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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":"protocols/alsberg_day.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"438a3cdccefecb60124694f063ada282ec5eca7f0e98a2843de4e3d14931aca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): protocols/alsberg_day_acked.erl:281-295 | protocols/alsberg_day_acked_membership.erl:364-378 \u2014 before extracting anything, compare \u0060protocols/alsberg_day_acked.erl\u0060 and \u0060protocols/alsberg_day_acked_membership.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 253 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 \u0060protocols/alsberg_day_acked.erl:281\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, \u0060protocols/alsberg_day_acked_membership.erl:381\u0060 calls \u0060schedule_retry\u0060 and \u0060protocols/alsberg_day_acked.erl:297\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9d42f32277d9ec2dc29698e837a81cb5b1cbe1feb2856cd1bf0dc27015bd0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): protocols/partisan_hbbft_worker.erl:250-264 | protocols/partisan_hbbft_worker.erl:275-287 \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 \u0060protocols/partisan_hbbft_worker.erl:250\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060protocols/partisan_hbbft_worker.erl:274\u0060 calls \u0060foreach\u0060, \u0060fun\u0060 and \u0060protocols/partisan_hbbft_worker.erl:249\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":"protocols/partisan_hbbft_worker.erl"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff5f8ea8180870066ad8441c55ddf24962784a7889c28b2c165d787721bb6c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): protocols/demers_anti_entropy.erl:147-160 | protocols/demers_anti_entropy.erl:180-193 \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":"protocols/demers_anti_entropy.erl"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31fcc5b2bc5b43d640cb7d39d474ed5695449a3c02bd86a27bca029d15963df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/partisan_remote_ref.erl:722-735 | src/partisan_remote_ref.erl:770-783 \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":"src/partisan_remote_ref.erl"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7584d53d0e3b2aa08d20d6e6db0f5f33c5346987814f3094e721f7262ededa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/partisan_scamp_v1_membership_strategy.erl:290-303 | src/partisan_scamp_v2_membership_strategy.erl:397-408 \u2014 before extracting anything, compare \u0060src/partisan_scamp_v1_membership_strategy.erl\u0060 and \u0060src/partisan_scamp_v2_membership_strategy.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 78 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":"src/partisan_scamp_v1_membership_strategy.erl"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd366b2d8bddb45e11d2418a8328f9cfd864765de165b0f7fc96ab2f66c470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): protocols/demers_anti_entropy.erl:70-82 | protocols/demers_direct_mail.erl:78-90 | protocols/demers_direct_mail_acked.erl:68-80 | protocols/demers_rumor_mongering.erl:70-82 \u2014 before extracting anything, compare \u0060protocols/demers_anti_entropy.erl\u0060 and \u0060protocols/demers_direct_mail_acked.erl\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060protocols/demers_anti_entropy.erl:85\u0060 calls \u0060schedule_anti_entropy\u0060 and \u0060protocols/demers_direct_mail.erl:92\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/demers_anti_entropy.erl"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"985aac01fb832268eaf49dc6e6ef8efe5ee857b9bce0206ab7c931f4b7318ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): protocols/alsberg_day.erl:243-254 | protocols/alsberg_day_acked.erl:325-337 | protocols/alsberg_day_acked_membership.erl:411-423 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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":"protocols/alsberg_day.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c33bcd32ef13769212fa0fd5f575d19e9563e1ce150a44deea0ddaa7a30cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): protocols/bernstein_ctp.erl:484-496 | protocols/lampson_2pc.erl:375-387 | protocols/skeen_3pc.erl:489-501 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060protocols/bernstein_ctp.erl:481\u0060 calls \u0060send_after\u0060, \u0060self\u0060 and \u0060protocols/lampson_2pc.erl:372\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feca32b9e5fa2c88fe83c7ad2de2682f7eed0cc4f8cd61512289856fb79c32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): protocols/alsberg_day.erl:256-267 | protocols/alsberg_day_acked.erl:339-350 | protocols/alsberg_day_acked_membership.erl:425-436 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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 \u0060protocols/alsberg_day_acked.erl:339\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa321f3a31b55c6cfd6cd64fdfd9a50b61fa19dd0ba1d37873bf6c9f31dfc0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): src/partisan_erpc.erl:259-268 | src/partisan_erpc.erl:468-477 | src/partisan_erpc.erl:513-524 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/partisan_erpc.erl:483\u0060 calls \u0060receive_response\u0060 and \u0060src/partisan_erpc.erl:457\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af194e701177fdbf6eb0f8021bd7351af136933ee96a2929402145cfd38755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/partisan_client_server_peer_service_manager.erl:775-786 | src/partisan_pluggable_peer_service_manager.erl:2289-2300 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060src/partisan_pluggable_peer_service_manager.erl:2289\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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac14bb7af8d39b30e7e7ea1a2bdad0b659b16461d08ed55b0cde409097857853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/partisan_peer_connections.erl:792-803 | src/partisan_peer_connections.erl:827-838 \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":"src/partisan_peer_connections.erl"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"814233a6e64641cd233d41a0d562b191f9069571da88eb5e030fa211b0fd2d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/partisan_peer_service_client.erl:608-619 | src/partisan_peer_service_server.erl:325-336 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"src/partisan_peer_service_client.erl"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c484b966c6e3dfabc82297eea5cb8d0ab3ddab4575cc89a77d4e72826b4d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 4): protocols/bernstein_ctp.erl:158-164 | protocols/demers_direct_mail.erl:126-136 | protocols/demers_rumor_mongering.erl:115-123 | protocols/lampson_2pc.erl:164-170 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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 \u0060protocols/bernstein_ctp.erl:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/bernstein_ctp.erl"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"126fd6683df529b90cedb6f1036b1aabe41d1d0f37be70ac98a79e44d37b1f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/partisan_client_server_peer_service_manager.erl:830-840 | src/partisan_static_peer_service_manager.erl:776-786 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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. 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa99ca51230f32d5a494f4c618f5f22e6ccef8672c1beda5dca4d0cea5f0e53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/partisan_peer_service_client.erl:256-266 | src/partisan_peer_service_server.erl:125-135 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060src/partisan_peer_service_client.erl:256\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":"src/partisan_peer_service_client.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf5082726d2c79945a063c1ebf40031024b0b76de39a68b335876ba142dca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/partisan_peer_service_client.erl:504-514 | src/partisan_peer_service_server.erl:183-192 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060src/partisan_peer_service_client.erl:504\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":"src/partisan_peer_service_client.erl"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b6a4e265d480a0cbbd1c1e1b9ec59364a40d8da2bdd6ce16adc070e9e800f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): protocols/bernstein_ctp.erl:458-467 | protocols/lampson_2pc.erl:352-361 | protocols/skeen_3pc.erl:412-421 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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":"protocols/bernstein_ctp.erl"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8fb610316b92e6afe5f1a93d783766c3ba9061ba0737cbb6493245575e8ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): protocols/demers_direct_mail.erl:100-109 | protocols/demers_direct_mail_acked.erl:90-99 | protocols/demers_rumor_mongering.erl:92-101 \u2014 before extracting anything, compare \u0060protocols/demers_direct_mail.erl\u0060 and \u0060protocols/demers_direct_mail_acked.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060protocols/demers_direct_mail.erl:100\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":"protocols/demers_direct_mail.erl"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c348ebef1125b475935b3fa9c58d41a37e4d5b1d91800a1f1ec54d7d22b1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/partisan_hyparview_peer_service_manager.erl:888-899 | src/partisan_hyparview_peer_service_manager.erl:3130-3139 \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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbffc301c7afdea32c140eb60dac14e79706366533c946dfecfd5f889603965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:2259-2268 | src/partisan_static_peer_service_manager.erl:695-704 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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 \u0060src/partisan_pluggable_peer_service_manager.erl:2259\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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b95f22a43c0b2903a14cd530a70112fcc6b701357879c741eb8b466c22bc537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:2273-2282 | src/partisan_static_peer_service_manager.erl:707-716 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74bb91d9faca47d50693a7f10b71554cc8f3a100e24325e59140f2b0d6ca47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:2329-2338 | src/partisan_static_peer_service_manager.erl:739-748 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad4335828e17a92edc69f8e428a50b5bacddb0c6dec2e11c7479a0d41b5d3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): protocols/bernstein_ctp.erl:188-196 | protocols/bernstein_ctp.erl:216-224 \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":"protocols/bernstein_ctp.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe529f731003dc0c771755d739fd5e146bd0ca2bc15bdd3ee8065bfc0e5ecb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): protocols/demers_anti_entropy.erl:106-114 | protocols/skeen_3pc.erl:163-169 \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 \u0060protocols/demers_anti_entropy.erl:106\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":"protocols/demers_anti_entropy.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2044a599f846af673e5edadcf6e00a95a04e548b72e9200278d1e04b83d60dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/partisan_peer_service_client.erl:528-535 | src/partisan_peer_service_server.erl:205-212 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060src/partisan_peer_service_client.erl:528\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":"src/partisan_peer_service_client.erl"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97e5b57748c54f76a56ca767284864afeaeca6d9fa8cbb025ee5d8ec0a8a796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:348-355 | src/partisan_static_peer_service_manager.erl:143-150 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6ea60e261dd53fc4cb208fead733c2f18144805fe74505da2763324f8deafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:372-379 | src/partisan_static_peer_service_manager.erl:161-168 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7275595bc42f43e3681271d920d78fb1b66aaafa32b40d292185f53e0f976285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/acceptor_pool.erl:292-298 | src/acceptor_pool.erl:305-311 \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 \u0060src/acceptor_pool.erl:292\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":"src/acceptor_pool.erl"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2fd626abf9e60a3c45f5bec636c06a0fc4a7a5edf930fb0b41cca6dfe5335c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): protocols/alsberg_day.erl:243-248 | protocols/alsberg_day_acked.erl:234-239 | protocols/alsberg_day_acked.erl:325-331 | protocols/alsberg_day_acked_membership.erl:262-267 | protocols/alsberg_day_acked_membership.erl:411-417 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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":"protocols/alsberg_day.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ac4fd14682e8a8318faa4af9db8049cd250feceeff810ea94f0d6bdb3fc5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): protocols/bernstein_ctp.erl:151-156 | protocols/lampson_2pc.erl:154-162 | protocols/skeen_3pc.erl:153-161 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060protocols/bernstein_ctp.erl:148\u0060 calls \u0060send_after\u0060, \u0060self\u0060 and \u0060protocols/skeen_3pc.erl:150\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"01124eca12eaacec41c50225f8303a4644d77efb0a0dc8ab0f67fb7f32ef8e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/partisan_pluggable_peer_service_manager.erl:2316-2323 | src/partisan_static_peer_service_manager.erl:728-734 \u2014 before extracting anything, compare \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 135 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dd317dfe3f72b524801e22753948f4dd60cf3114aa66ad54ce8b010766e7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): protocols/alsberg_day.erl:84-90 | protocols/alsberg_day_acked.erl:72-78 | protocols/alsberg_day_acked_membership.erl:82-88 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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":"protocols/alsberg_day.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"81741e9d2349f6416da445cd17c6712ee7a9d93b77af6004118b5aacfeb8d9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): protocols/alsberg_day.erl:102-112 | protocols/alsberg_day_acked.erl:90-100 | protocols/alsberg_day_acked_membership.erl:100-110 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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":"protocols/alsberg_day.erl"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d3a1401567a44e26b9fa759ccdb49fd5a9a78fa1b0a5726403e075ca432c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): protocols/alsberg_day.erl:141-146 | protocols/alsberg_day_acked.erl:132-137 \u2014 before extracting anything, compare \u0060protocols/alsberg_day.erl\u0060 and \u0060protocols/alsberg_day_acked.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 221 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 \u0060protocols/alsberg_day_acked.erl:132\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":"protocols/alsberg_day.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6866a548140a1da643046724a740fcfbd022a5ff56ee262733b948d18702890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): protocols/bernstein_ctp.erl:76-86 | protocols/lampson_2pc.erl:76-86 | protocols/skeen_3pc.erl:77-87 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/lampson_2pc.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 295 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":"protocols/bernstein_ctp.erl"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1a6e16e7c8b20fc6e5ef8e1609a5a51bb760a218fce2e9dff0ed425a7a9fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/partisan_client_server_peer_service_manager.erl:134-138 | src/partisan_hyparview_peer_service_manager.erl:277-281 | src/partisan_pluggable_peer_service_manager.erl:290-294 | src/partisan_static_peer_service_manager.erl:112-116 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_hyparview_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"03776f9588c575b740e821622eb52d7ef4ddfac652faf0250498ffc8efb71491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/partisan_client_server_peer_service_manager.erl:699-705 | src/partisan_full_membership_strategy.erl:307-313 \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c2a322a986516568113038c2a6adefd58eba118c6e25a7036d595fff9a5086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/partisan_client_server_peer_service_manager.erl:708-716 | src/partisan_full_membership_strategy.erl:296-304 | src/partisan_hyparview_peer_service_manager.erl:2142-2150 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_hyparview_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aa27bb03904b11661230956090b1e7f1b7259c1437a90466b822615b382309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/partisan_client_server_peer_service_manager.erl:823-827 | src/partisan_pluggable_peer_service_manager.erl:1818-1822 \u2014 before extracting anything, compare \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_pluggable_peer_service_manager.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3af4d3dc897bfea8155d533037ce227345e4cc007e36d878b5a8b46b29b69d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/partisan_peer_service_client.erl:592-596 | src/partisan_peer_service_server.erl:309-313 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"src/partisan_peer_service_client.erl"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0d8ba77450287e5a8917db0e9f03ac7eefed92d8482c1498b0633310825c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/partisan_peer_service_client.erl:599-605 | src/partisan_peer_service_server.erl:316-322 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"src/partisan_peer_service_client.erl"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc470cb936ab4bfc93d94531816bcfe3508426c8f62b231ca5eee6ac50f26c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/partisan_peer_service_client.erl:622-628 | src/partisan_peer_service_server.erl:339-345 \u2014 before extracting anything, compare \u0060src/partisan_peer_service_client.erl\u0060 and \u0060src/partisan_peer_service_server.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"src/partisan_peer_service_client.erl"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b80addac7549124f3dfb194698387e59747edece602508723d70156a1ff36a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/partisan_compose_orchestration_strategy.erl:127-131 | src/partisan_orchestration_backend.erl:549-555 \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":"src/partisan_compose_orchestration_strategy.erl"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12fb58895c8a1d3be7b22dcebef48cb57bf11b9e6a6ede700221b5c521f2dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/partisan_hyparview_peer_service_manager.erl:1938-1948 | src/partisan_hyparview_peer_service_manager.erl:2030-2040 \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 \u0060src/partisan_hyparview_peer_service_manager.erl:1938\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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c090a0be78e204467f73906d5b11b501b688c7c44575ef1310468fcf35102e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): protocols/bernstein_ctp.erl:302-311 | protocols/skeen_3pc.erl:197-206 \u2014 before extracting anything, compare \u0060protocols/bernstein_ctp.erl\u0060 and \u0060protocols/skeen_3pc.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 208 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060protocols/skeen_3pc.erl:208\u0060 calls \u0060LOG_INFO\u0060, \u0060node\u0060 and \u0060protocols/bernstein_ctp.erl:313\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":"protocols/bernstein_ctp.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cad20f71fcc985ce05a71dbc89b5b38791b5a026fa07df97979adf25bda8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/partisan_hyparview_peer_service_manager.erl:1961-1970 | src/partisan_hyparview_peer_service_manager.erl:2052-2061 \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 \u0060src/partisan_hyparview_peer_service_manager.erl:1961\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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be71f62570bc27994f8770464e634221394890e1a99713e33851742e375fa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): protocols/alsberg_day_acked.erl:241-247 | protocols/alsberg_day_acked_membership.erl:269-275 \u2014 before extracting anything, compare \u0060protocols/alsberg_day_acked.erl\u0060 and \u0060protocols/alsberg_day_acked_membership.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 253 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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c215deebd3b17436daf52e6b8f8824df299ab6718fcb2a4163d06269e1f20282"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: telemetry: Runtime dependency \u0060telemetry\u0060 is declared in rebar.config as a bare name with no version requirement, so \u0060rebar3\u0060 is free to resolve ANY release of it \u2014 including the next major one, which can break the build without a line changing in this repository. Give it a bounded requirement (e.g. \u0060{telemetry, \u0022~\u003E 1.0\u0022}\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d81f7576f79e1adaf619ce25e604de8e6efd2e494b71616b6bf65cec45ae5fe7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/partisan_pluggable_peer_service_manager.erl: src/partisan_pluggable_peer_service_manager.erl changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in partisan_pluggable_peer_service_manager.handle_info at line 1415. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 11:25:25 \u002B00:00\u0027 --until=\u00272026-11-05 11:25:25 \u002B00:00\u0027 --full-history --no-merges -- src/partisan_pluggable_peer_service_manager.erl\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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"674b08f33b75f70210c73f6eb0ffbcb9fe372ff7144f10f061960776c3a1be81"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 36 significant file(s) lose their only recent owner: src/partisan_hyparview_peer_service_manager.erl, src/partisan_pluggable_peer_service_manager.erl, src/partisan_otp_patches.erl, src/partisan_peer_connections.erl, src/partisan.erl, src/partisan_thicket_engine.erl, src/partisan_erpc.erl, src/partisan_plumtree_broadcast.erl (\u002B28 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bb35f06177f0c0b1a6ee2764da29a7b804b044e9cbe781b288ceef1257df8814"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Replace me with cover:start(Nodes) \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":"test/filibuster_SUITE.erl"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99974ba7a66646379b50155bed54f73bb5ae57d349d2c20e522b9a941663ae6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Remove me. \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":"test/filibuster_SUITE.erl"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf4f425a657fb85b8c3fa487cf2a23a410b063366b85d2f379db7b516e9bab9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: temporary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/partisan_SUITE.erl"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"834aca10e169222006a2a3b3cb25f2497db208b867ba619e9e94ce9e5b7c3091"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This needs to be fixed: replay and trace need to be done \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":"test/prop_partisan.erl"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b63430af0f243dcc38a210db4b743368459429f11b57714157b19841df5c4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This needs to be fixed: replay and trace need to be done \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":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc88ce56c0c87a53679dd7cbb8c59477a9da154df45c5239de5c68aeeadde2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Disabled, because nodes shutdown on removal from the cluster. \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":"test/prop_partisan.erl"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d88242fd2524f5160034d0012201e880e0b2e0845c104ef33fe6941d93e072"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Implement me. \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":"test/prop_partisan_arbitrary_fault_model.erl"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1353258fbaa3ddf23a475c9669a8c49b1fc100fa4f9877a50f62eecc9f25f05e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Implement me. \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":"test/prop_partisan_crash_fault_model.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3031d16e84962395a61af199fee8303609bd784bde797263d54932b537048a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This is not good -- previous code made an assumption \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":"test/prop_partisan_arbitrary_fault_model.erl"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c171464f270df272a635c6f8d8d0511beefb159aff22160e6e08521b788b7150"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This is not good -- previous code made an assumption \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":"test/prop_partisan_crash_fault_model.erl"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c717bcc13c72d207b0fbfa77a326c13bc75d11fc9b7db8b31fae5be8c5cbf267"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO update_members now receives Nodespecs only \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":"test/prop_partisan_riak_ensemble.erl"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3185b02086af23612c5c32664c1da9d4616b6bf81c72347852a4848c283f5499"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Send supervisor_reports like a supervisor \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":"src/acceptor_pool.erl"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"d202165c461ccd185baa822685aff30422332eec84956f087445eaaccc298163"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: might need a \u0022top\u0022 (\u0060any\u0027) element for any-length value lists. \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":"src/partisan_analysis.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a6d8c206f3a4c4bb85cc655673369e98bb808c7371e2a684b58644cbcf021"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: % XXX: TAKE ME OUT \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":"src/partisan_analysis.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6972c36042116de439f921e4547a395caae91cdfe857cc3db884f007e5af58e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ed62c5222ba410505e7aefa21c4c34a382d7a9afe06cf708cc13228350d3b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43722be74ca3a67e83ed320e45de8320f562d9bc5844c3c1e23ef0ebccf3d36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfebe1ab1a289464bb0f7cfd517af131da7eaa6d889247105ccce58420dc68b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4babae8958b28f1a43a2b7af24d384ccc1479e5aa47d9a133fd92f65d0ca08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c43db9f8f36ab41f14a78658f207f196beefd3d67814aa78ccd548c272bbd1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7258cbd456ce9275b621dcfa753e7a17e6f94ce59568bd1afae3bbf9fbca89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"399ebf1aabb6728f025caa8b79c8ef63bd8e5062ca29e58b5bb40284519165c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cd077ebfd1cb0232f17558864f81c0659f1b1d55771200079f05af8b3c7ddd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Document me. \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":"src/partisan_analysis.erl"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"702e50930c966e45618f43e8dae5ec3d766b297f36190e3296517b4ac28b6e40"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: %% XXX: this case is currently not possible -- commented out. \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":"src/partisan_analysis.erl"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4a67c4c54ae3e62f2125ab040c896099473cc44a3673a034842b696690c68a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This does not handle higher order functions. \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":"src/partisan_analysis.erl"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5d70060b86106de5b6bceaf195dba5f536466f4f406a54d8eda3a672ce3670"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO why do we do this here? If Node is myself then I would \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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434396a557e5eab994a3bea514214da1044b5338b24d7a6684c128cf4aeeb9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO maybe we need to do the following here (see prev 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa2328356bf5a543ed56d1db005b21b17db62ec2a8572bc03ea882d171c0e12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: We should consider rewriting receive_message/2 to use \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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35881812587d2be3ed7b212dec943ae8712465accf5855318935b0bde4a6ab3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Shouldn\u0027t broadcast default to true? \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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce3a12f2b30ea80d229cd5640beb72bfd11fba572c17db0582ba1e993022978"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO use retransmission and acks \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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcb29403d91f54ef2612174f4cf5753bd51d072b056ece3d7b3939c0292b265"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO This only works for disterl! \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":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3dc5c8edb6213cb6be31b943d55b378b14f5f94912bb560d0c7dbf6d5b968"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Implement options \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":"src/partisan_monitor.erl"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a266aa47bca63bdcf6e4f38da2aba794076439c98598ab8c830aef2e1c2cd7cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: What am I? \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":"src/partisan_orchestration_backend.erl"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22e281dcaa00fa902ca39bcd7ff6b2143fe618e40995941254f4f40a24ac72f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Move me inside download artifact. \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":"src/partisan_orchestration_backend.erl"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ca371859a89c254d61b0a9e675a58e166391a4b49d36db3a54e753d884c9a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% @doc TODO validate this module, align vs partisan_gen and if useful add \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":"src/partisan_otp_adapter.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"29092abd8beb3bdd3eb2cd0f4ae6e910685135f7c642b142fdcb6f6722e38e80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO We do not want to log here becuase this can be high frequency \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":"src/partisan_peer_service_client.erl"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed1b874a3bfb0d75ab85f1fc58ffa92d4373666bc406c1c1b7ba18c0aeec98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Anything using a three tuple will be caught 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":"src/partisan_peer_service_client.erl"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7cbbd0adb1a6bf1f168198ecd253c43ddd35da36f222c69bbce4cb5117e8f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This format is specific to the HyParView manager. \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":"src/partisan_peer_service_client.erl"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a9c6d547de5cb40d401b5d14ca4ab64e57e5e584c5fd03319f7030080ec7ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Deprecate me. \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":"src/partisan_peer_service_manager.erl"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a589c30af1d75d770fd4e6d6c6cf97ca8ca58a14f521631247b5e9f8d48f07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO maybe deprecate, not used by Partisan and we can always do \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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5fd3fe096fb708370da6acefa3ff2bf7448ae2bdcab110754599f9569105bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO maybe deprecate, since we have partisan_gen_server:cast \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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"432341a706b358aaabd8a6fec2402199333ba78bf9b4136b23fbcc22566248f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO ServerRef heer can be atom(), pid(), partisan_ref(), {via, _, _}, \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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a28ddafadf1fd514a99e1817995900afce3f33ff6e99e85784a7cea2e8e780b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Maybe do this wrapping inside of the causality \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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"214df5a5c2749de692f27f80f17399c89c2d24b93a9ffddf380df6c6b1a69903"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Maybe remove me. \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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dde1746cffc42f5f34787b6ab49433dbf67a4630f57fea91a790b6efe6dfa50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO reconsider turning this server into a partisan_gen_serv \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":"src/partisan_plumtree_broadcast.erl"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d45215765f37dd4853c300b165afbb3c187e95a9e58d87a779405d561756fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO reconsider turning this server into a partisan_gen_server \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":"src/partisan_plumtree_broadcast.erl"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2526787c66e1017d3eae3456ca86e73bb4056179105d3630675606c15744766"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO reconsider turning this server into a partisan_gen_server \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":"src/partisan_plumtree_broadcast.erl"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"04af1eabe0bbde5035c2b2769344da8aa8ebd1336c0f924fe9c20512aa75e52b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% valid i_have \u2014 graft (TODO: don\u0027t graft immediately) \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":"src/partisan_plumtree_engine.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dcec4f5a0f6b3024e2bb79a7f62a1f0075d5ea39f1e37c7aafd6a9857cf5d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO we need to support additional components so that apps can add \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":"src/partisan_remote_ref.erl"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b60c359d8224a1ae62116848de487b8af55ef9aa6db56ebcb083c5f04552408"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Race condition on unregister/register. \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":"src/partisan_remote_ref.erl"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df1ae3b66182ab9c8976a94654c8026d2adee157c46d5faf9cfecc4baf236fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Race condition on unregister/register. \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":"src/partisan_remote_ref.erl"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"026a9bae9723cc84c30f03b7ba2320b025442ef00112f034cc3f84133ba36b47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Race condition on unregister/register. \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":"src/partisan_util.erl"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bebcf1e54fe5bd87c38355807f2b3087ae12ed616a5b5eec73d410bcfdd300"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Race here unless we wait. \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":"src/partisan_remote_ref.erl"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b7d947d1be6c6045678ea873823f913dc8f4bc863083be8a01eb288b42abe6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Race here unless we wait. \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":"src/partisan_util.erl"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e91db16d77527b00fc04ae1c71b9a144aab6aa306e401cccc6a60fb59b3c2ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO at the momebr this is called only when peer_service:jupdate_members \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":"src/partisan_scamp_v1_membership_strategy.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0bd086eaab3ab3dd9d882861d723043059a1bc49b894677b8347d9a53d70a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO at the momebr this is called only when peer_service:jupdate_members \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":"src/partisan_scamp_v2_membership_strategy.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"328c262aed81b1e82305e26c39a4bdfee25375ed644a2f1d6d42f5529bd12e7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Find a way to disable distance metrics, which are non-deterministic \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":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef747fe66c7db863f16ff79a7e38c620de4171cc3260063d8729496e86ad22d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Rename protocol messages, find a way to specify an external \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":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2cd073f363ee897d314065156d644a2c07c878b171018f11b6e686c934a26e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Weird hack, now everything goes through the interposition mechanism \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":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe85108ec703efb550460c5404b871e7753788ea3fe813a14a8c59d845d7be6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Change \u0022protocol\u0022 tracing to \u0022membership strategy\u0022 tracing. \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":"src/partisan_trace_orchestrator.erl"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a81174a91c97316b075a38a81c60ed2ad0c4fb5e74244647a38e091beb77c42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO improper lists \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":"src/partisan_util.erl"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7933457854fa609fc00cf21ecf96a7ee32fa53fd4b140852944a341dd6685c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Race condition on unregister/ \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":"src/partisan_util.erl"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3efc4274e4e4118ec28057f199b4cf10a409ef2b7ea162c3281d605748fbd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day.erl"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ca7d6d6addfd8c45690d4172601e10469fa5560e4e8d6ac810196530aa4981"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c606129fc3d585d0f71016d87ed1c14b682df422986702592b7bfd2b518a4569"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day.erl"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"775db04d4a2e81cbcff622c0b8c0e4e057864c1fb6b9a0c7a175897c579ef279"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e26e2611cf729bd77c06cc261fbb34a497a827a687b756f99c2c7df2dcc86a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8310fe17e9b9471dc6a5f604d026f3c93066713b88ac51f8a0eea1c3494050"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7bf5913e815931a165bb07af10337511a888296a9f99b693d3d4b2fe84a12e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87aaa798be91ee968399a28570710b39b4f64f121d055e86b497132f6630dad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2294fc860c115966b4fb562d383eea904f9390cd35b1536794f16ded031474e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b726b7d23b6d21f670888d96a87e5af59761bf4f0000752bea1eeb84c7dc9ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/bernstein_ctp.erl"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"df571a421c14b1ff96ff3dd2cd0c9c80e7be718d5fab986b0328ecd37badbf67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/lampson_2pc.erl"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed80b60942c1db4c3ce7101d60ed638e127815f069ed39eb0dd56627962162f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Bit of a hack just to get this working. \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":"protocols/skeen_3pc.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcda5146c73a6a03f7e3961cf6c584edb6e4357cb7de935089a3905f140fdc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day.erl"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d1fdb3c14bd741c242230f4678d21b87b895b3b2d40ce36423ecd72961586e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day.erl"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2719881caa37ce78f0de27e336b95fa999bde87aff3211223b6f903e5495dad2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day.erl"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"405cc81c51a1fa0a5e77684d52fe4b18b4c37b2738e82a0f110e6380c0353e47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day.erl"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd02372dcd798b40f455eefd1830cfb0ca2c043199d7980164c556c4c2b98ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb36e71870d7104458925ca8c4c92a3f47453d374352e871c1997de443e0613e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7284766b0f2ad4f44004762bd0239ef60ad70d3bec919716c92c0d971ea8867f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"76458a0adbe03773ed6893b70052bd343618de575745d069a5cf9e2568478672"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f66df8409d62b085da92833f8fcf854e4134be03b627f7948f8de256318daf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08d1ec8316d4605d0a61f72dbd1da966e1bcfb07f31de2ec25a4cf94fb9306e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"33da17d80b0ea024cf40b9eb3316b09ca69d9f73ef9774af3d079dd4a06f1c54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4577e4a6674494c67014d8f2152296b4076e9be5a8be6d5e24bba68e8323a83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"569e60ea464cc050f38ff838060d67f9ba1a47d13f139e452ba2ac7ac33ad0e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e289d3f96319fb67d47e10cbe1b4f871fa42416e6985d95872f8f7f400ae0442"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ffb65e8273e17ef3b6304a74b9e254608fb40e5f49ae873e52dcf0bfcc520e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ff9261d2151123103524f640bbc388b03283ddf95c9d02ae404b16798f991"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: HACK to get around problem in interprocedural analysis. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c626de9e77f5e7596a5d0daac37f48be3886e52da3a4e9b477eb4326a2381a3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Reduce duplication. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f5dbaf05c91607b46c56f86609fe4e4495532c484acb87420a9bed43312e3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Reduce duplication. \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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"005a9e34a15dc7a20960fd3865bb486e9400a0132141c665580a02f6d959e97d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Reduce duplication. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e31f071258281335e710842f310542159245cf1a26f6e235717b0cf2b63fded"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Reduce duplication. \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":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e41d0b526b6a82eafdc743b46e906223a6900a598b0894d2289b21386d3ef8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% todo check for disjoint chain if there is ever a \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":"protocols/partisan_hbbft_worker.erl"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c15ba9a0049c51f89ee264723cc756fc0e2ea218e33cc55276d54cb146985a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: add type annotations \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":"include/partisan.hrl"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a26fbd6ffacb113ed99078ea6fd53acc75939b61fa3a140d02a9e97e9c472c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: FIX ME. \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":"include/partisan.hrl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4c816135a6d895c2c35fe9d176b7630459030f84db1b8d6b4c65e242586b0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2459a6d64c6833606176f7670d6a3cf7b2cadf9f070838f3f9ff42d72e91b195"},"properties":{"commitSha":"72524d643fc4c325e5c5792e5d6c1afc68614a4e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"045f58d96b68b009a53c9736f8eb687df55af0e9f4af0fc69d1da403395f3760"},"properties":{"commitSha":"72524d643fc4c325e5c5792e5d6c1afc68614a4e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3dc54b08a249a2a48d0793ce466129a93b1fa05b980a24ad46a7a523b0977a93"},"properties":{"commitSha":"72524d643fc4c325e5c5792e5d6c1afc68614a4e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0954ff6f257bd91206a0fc725abdc362340010f8bfe37cd8d4bee572857aef8c"},"properties":{"commitSha":"72524d643fc4c325e5c5792e5d6c1afc68614a4e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e81a5d205ad3b5fd9715e269e516ca43fd550a03bdae67b2e5af37c788924bb3"},"properties":{"commitSha":"72524d643fc4c325e5c5792e5d6c1afc68614a4e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c620b1ffd4d56200f05c5781585641b6c7b534f908dbc4b06907189268f9e535"},"properties":{"commitSha":"72524d643fc4c325e5c5792e5d6c1afc68614a4e"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6ea792a42fa1104e36703ffd7f19421250b1b761f22c9f059bb7e62c49bd812"},"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":"8fec7c709c093b57e35716ee9cfcc61b745fb538dd1fe60ad38ad95cd3cee6fb"},"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":"faabaf78442562b7bebf55da3925b75dc9f570cd522b1fb57947acc697e84748"},"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":"a8337aa6cf9f3a4eb7919d226da4a27afb87baf89a0bf7c0b18b72722b22ce9b"},"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":"8c8e9bdd51e99a6acc7b3b5cab9b626345bfe499dacac3791e9e266708ae26fb"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"a897b89e037b0557f186b67ed778515d43b57125f24138dc2fa3d1441266f072"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"9ae251479d3491870c9d6e15818de49eea78589883b9029334cbdf7d4b95c06d"}},{"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":"39d5153eb46f7d9a067928dccda0f5dfc8d32733750d3eee20ce77f13ab3e72e"},"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":"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":"bb3e75c2e07fb5f1dfae0a8cab766adae983062694b741757e587f144032d93d"},"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":"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":"fea0a916e09c4e99419e6d865d9102a12f9f0076d5f7affc83e24d0ba354f8ec"}},{"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":"bb90ee8e2e10973c1e08ca8ef048e576d9c946d59c736539925f87d6ab535105"}},{"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":"e3cd107f158aa0012d120cbf0f053c0abf513460ea3e914b02f46de9902832dd"}},{"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":"f5997342cb2e75a2b6817b00a0c10b0959bde1d83455df0a15db306eaa5891a0"}},{"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":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"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":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"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":"9e0f3459b79638a37e60cbd02c38023fe12af07a9f4389344a1f2c17a05fb726"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"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":"702bf105180f7776bdf5a1400706df4ade12d26ad6be80e6c702ed398c024412"},"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":"8e4a8d01b11123b6e126f109afe906967971891d73af166076f1ee7a8f2d798e"}},{"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":"0ae0e5779c33ca3f2c7b909cd067a118de8cb5c76533b6d07b13bb051e0a3533"}},{"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":"f8776f35b8a18b44ee39f48976f2ccffeb1c7ae2295d2609bb0e91c757f0828c"}},{"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":"d6c21de3899725811370d6a2d8cd393192264625059e3a534db1880fcedc564b"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/skeen_3pc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b31805526b4a4eed0ae002a0e2b963155a9c5d88c73c2e85a3b446a717b95a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/bernstein_ctp.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb233f9c88b1a9fd3d7efdde719945ebd7bbbb0caa0e24912f4b07dd40dec559"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 9 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: protocols/alsberg_day_acked_membership.erl, protocols/lampson_2pc.erl, protocols/partisan_hbbft_worker.erl, protocols/alsberg_day_acked.erl, protocols/alsberg_day.erl, protocols/demers_anti_entropy.erl, protocols/demers_rumor_mongering.erl, protocols/demers_direct_mail.erl (and 1 more) (11 orphaned of 74 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; 74 of the 89 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d06fa362e2d0daf7bce301df705d37c8b6138a40993769ad276be7815dbdc"}},{"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":"protocols/lampson_2pc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870bc107aedd15f3787be437c908dfec35247324075da5ca30f22e660fcbe31"}},{"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":"protocols/partisan_hbbft_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca9f9ae47f9ea6b1e8e63a6905f5cefa89804be56bb33719f01981f76095f80"}},{"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":"protocols/alsberg_day_acked.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7649abc68283936d6a9f45240f85aeeaa362e4a2b5522b68bd379446e557c09"}},{"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":"protocols/alsberg_day.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"443491e83aab1d44fd67aa7557a62837a65707de79fed66462fdf6c0a3e6ccad"}},{"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":"protocols/demers_anti_entropy.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765496eeda06b3c0b2deaf09cfa1982f753b0606fd7533c27afc2607722ee548"}},{"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":"protocols/demers_rumor_mongering.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f75cf0793ebcadcea119fa99c1793bfd723ca47710286a72e0fae091d448c21"}},{"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":"protocols/demers_direct_mail.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030e54933b1585ce8a8a2fedf64645308af491db90584b8d6f51b25fd10488f8"}},{"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":"protocols/demers_direct_mail_acked.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbedae1d469414ed78252420c3b554b3d7b139acd2b5336a71ceac783b408f00"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: partisan_client_server_peer_service_manager.erl \u2194 partisan_static_peer_service_manager.erl: \u0060src/partisan_client_server_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 change together 71% of the time (25 of the 35 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 25 shared commits counted here, the most recent 3 are \u0060a578052d\u0060 complete changes to static peer service which was neglected in the mo\u2026; \u0060b298c179\u0060 cast to return \u2018ok\u2019 (safely); \u00604a274a11\u0060 Enable parallel signal optimization \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea209da97000288ea9166d220fbbd187d0f24735ec05cc9c2d2010b3e983e396"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: partisan_hyparview_peer_service_manager.erl \u2194 partisan_static_peer_service_manager.erl: \u0060src/partisan_hyparview_peer_service_manager.erl\u0060 and \u0060src/partisan_static_peer_service_manager.erl\u0060 change together 71% of the time (25 of the 35 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 25 shared commits counted here, the most recent 3 are \u0060a578052d\u0060 complete changes to static peer service which was neglected in the mo\u2026; \u0060b298c179\u0060 cast to return \u2018ok\u2019 (safely); \u00604a274a11\u0060 Enable parallel signal optimization \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d665f78afb3248c25fc2ed64e606446907eee4be372e3155af6e32e2889c3f"}},{"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":"434c6c33515eebade6bd7445128f69d10c49aeb4769f6db52adb4ad3816c7d47"},"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":"9d1847ea4b9ce1303a4098814a3ad52e9689c1045dc7ae23b67b23a0946d146d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: partisan_hbbft_worker clause \u0060handle_call/3#121\u0060: \u0060partisan_hbbft_worker\u0060 clause \u0060handle_call/3#121\u0060 makes a synchronous \u0060gen_server\u0060/\u0060gen_statem:call\u0060 round-trip to a peer process while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, react by casting a follow-up message (fire-and-forget), or resolve the needed state locally."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/partisan_hbbft_worker.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"005fada87be222f7ea15456ee0b938c669d8aabe36e65d5a0e47946ea46c6f9b"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update_members: \u0060update_members\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"705307af9b9dcf24e5495f2e86391d9d6f940749aabb3d6c99ad914304ad6d2d"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update_members: \u0060update_members\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"68716293bfa3b617a88f68b74ec3fb966dc0438e1a96dd2b04dc192ec1045cdb"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update_members: \u0060update_members\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"5694632214194bf17187609dcd92cf3cb105936b1b1f21600ead56115c87f244"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update_members: \u0060update_members\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_static_peer_service_manager.erl"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"437dee55aefa86ebbd5d6019e57e4d5369bb20b6e82c8136bb3b4620b7c1613b"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment 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 reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpc:request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_kubernetes_orchestration_strategy.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71db098e0923d0fd7669efc44c8cdeefd1ee81385491028c75aab817927541"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Limit == deadline orelse Limit == max_retries\u0060 appears character-identically in 2 files \u2014 src/partisan_peer_service_client.erl, src/partisan_peer_service_server.erl. 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":"src/partisan_peer_service_client.erl"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d451c03c560cc5341677a2bba5d000accd23812cc737411abbe152df2f68dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get(connect_disterl, false) andalso lists\u0060 appears character-identically in 2 files \u2014 src/partisan.erl, src/partisan_pluggable_peer_service_manager.erl. 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":"src/partisan.erl"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d346e232d25930913c5296047d117c100b8c3ad3e9f98b4eb8f1d0ac6ad65076"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_atom(Node) andalso is_map(Opts) andalso ?IS_ON_EVENT_FUN(Fun)\u0060 appears character-identically in 2 files \u2014 src/partisan_pluggable_peer_service_manager.erl, src/partisan_static_peer_service_manager.erl. 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8b8f3c01eabed8e9e6c5971e17739be0545cbffcbf02acc6c0f1317f9b37f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_function(X, 0) orelse is_function(X, 1) orelse is_function(X, 2)\u0060 appears character-identically in 3 files \u2014 src/partisan_client_server_peer_service_manager.erl, src/partisan_pluggable_peer_service_manager.erl, src/partisan_static_peer_service_manager.erl. 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ba28ba5beed2c2283da9a6b8cc23a303229567f7f7fa1e1eb99509dac8227"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_name(RemoteRef) orelse partisan_remote_ref\u0060 appears character-identically in 2 files \u2014 src/partisan_pluggable_peer_service_manager.erl, src/partisan_static_peer_service_manager.erl. 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"59486d3e6b0286fa9f099ab7dbc61cc8b02d76253587b4b8fbd1d2ab36974323"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_pid(RemoteRef) orelse partisan_remote_ref\u0060 appears character-identically in 4 files \u2014 src/partisan_client_server_peer_service_manager.erl, src/partisan_hyparview_peer_service_manager.erl, src/partisan_pluggable_peer_service_manager.erl, src/partisan_static_peer_service_manager.erl. 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":"src/partisan_client_server_peer_service_manager.erl"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"551893419d4faf6a3731ba0b630c48b07b85264f310b2471db6b6faf0206a30c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_reference(RemoteRef) orelse error(badarg)\u0060 appears character-identically in 2 files \u2014 src/partisan_pluggable_peer_service_manager.erl, src/partisan_static_peer_service_manager.erl. 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":"src/partisan_pluggable_peer_service_manager.erl"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d100428a141032add5e560cd065733b25b0b19e87bf27fa55024bdbd8561c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan.erl"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6a22bbc6e510965bd8c0b040bedf7ab737bfa8988673e0a7dc338db6b24538"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan.erl"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a87a911ebf08f788b39c5eafd6fc843c57f936e5069ec16f4619959ebf8854a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan.erl"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06b98521ea850739071326371f444fc02b6201a7ce357a716af726d7729e8ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_analysis.erl"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b0da0a7ce132899d42ed1c379e42226f39874a9a7d8649d1df0c5848465cdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_app.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"872c7465d3102b5fcb09f5f76c6fea6627c3aa0e04adad755c042dd14d94a46a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e6ea80e5163129c2c247e947f51be37ce461a9fc089594a5cf92624ca1730d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb194b6666f34b9bd7e4f2e8f8344583e619130a9e910311a2d8e65562413487"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_erpc.erl"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f761b7d8ce05dcf1f4967683cf9491b5849427d96d9405f0833fc830e75376cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_hyparview_peer_service_manager.erl"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd4a52165fb7c97c3152f8f3efb8a6e0ad813097177943febf9b66f006ee8dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_monitor.erl"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf42418c3d5bbea4358dc4fa98c176afbc235df9dbfa7b28ab58377b1d584f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_orchestration_backend.erl"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeea60ebc8a2ac4a32f443a4216d5b4312ac99c3826913733ba5ab0e58561234"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_orchestration_backend.erl"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b261ef3478991b01b66e94c311525abe9b69a2d5194bd6187d4ecaeb7a57f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_rpc.erl"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2ed20cc15a210df74abd4a1b23afdc2d82ac7a356238b476879377fcdfa005"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_rpc.erl"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"490add4362ead97d158fd0312cb0bef928df3f18f7a2b4471c9fd09d5fde09f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb4b37f62cc67a4f5f09330069b4500b6fd9bfaefdef4a98670f506714456f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day.erl"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fe151f7771a9c41858104306d4f85a2bb7d769bd431e6d10569dfa83220ae4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked.erl"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94f83f89c4bebb97cebc167702d37b2eff7a87d75a5bec1e458aaec983df16e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked.erl"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6580e40e98ead8a2b5b676033998de1cd31af338486d92ac7e14012187c74129"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf09bbc93060f0d9ce9d0759658df7f79b1fabb3f08bde0b311b781fe761b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/alsberg_day_acked_membership.erl"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84faf3a13f9390fc7220772245d75e10e72a3b806a62459f1a3a1d85fd3239e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"protocols/lampson_2pc.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef2633d4585df4dd18ea5fa3cba2da35141c829e5e6434ebb8a529ad4ff3d4"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060partisan_bench:percentile/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench/partisan_bench.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c319e82ad6acc5078daf04ac8feeed4ca797ae281a1833161456a6096fd32d"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060partisan_thicket_engine:interior_load/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/partisan_thicket_engine.erl"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7305311f27ec9bc15bca2f2d901aca0e036857b464454f45061d1811783acffc"}}],"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-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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-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-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":36,"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."]}]}