{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"bondy_oplog_instance.do_handle_call (cyclomatic 118): bondy_oplog_instance.do_handle_call has cyclomatic complexity 118 (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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fae557ed867f33e5bf78a203bf2f6ec375ff5c70ad912d0306bb6721a3957d1"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_rbac_api.handle_call (cyclomatic 95): bondy_rbac_api.handle_call has cyclomatic complexity 95 (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":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba7d722d4090dcc16e419442564753b040f24a99f75ba22ecfe6b3fa2730fc"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_prometheus_db.do_handle_event (cyclomatic 74): bondy_prometheus_db.do_handle_event has cyclomatic complexity 74 (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":"apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"099263d902372efbc793e8a6980c7b8c45333d9da2bc925eb0ff267cc06e2480"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_wamp_encoding.unpack (cyclomatic 66): bondy_wamp_encoding.unpack has cyclomatic complexity 66 (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":"apps/bondy_wamp/src/bondy_wamp_encoding.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29cb89ca071f058a70fff6058052b8e022d52ea1af9b4b696852191c2176e6d"}},{"ruleId":"D1","level":"warning","message":{"text":"mops.apply_custom_op (cyclomatic 56): mops.apply_custom_op has cyclomatic complexity 56 (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":"apps/mops/src/mops.erl"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a1148ac0ee39a1b757e9f86d96598feac414dd8f7e0537aeb2d5cbe5310724"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_connect_error.convert (cyclomatic 43): bondy_connect_error.convert has cyclomatic complexity 43 (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: bondy_connect_error.entry (cyclomatic 109) 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":"apps/bondy_connect_lib/src/bondy_connect_error.erl"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5bc15f2fb3bc9646e65aba5927ca460ac09cbe4d6160b18a6373c191d55c4"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_connect_connection.established (cyclomatic 42): bondy_connect_connection.established has cyclomatic complexity 42 (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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"be999782162049cbba86691b499ebf21b51d026a06b8f89127cf3c7abd36b616"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_connect_table_manager.handle_call (cyclomatic 34): bondy_connect_table_manager.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":"apps/bondy_connect_lib/src/bondy_connect_table_manager.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb52f437daedc2fcacb9ecc3f4e0ec7f5110675fe38cc2da035ca47e3199a0d1"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_log_wal.handle_call (cyclomatic 34): bondy_log_wal.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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c385bd319c6d864c7cef13f258ed1d7f56f82936eec1190bbf386db23394f3"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_prometheus.handle_net_event (cyclomatic 33): bondy_prometheus.handle_net_event has cyclomatic complexity 33 (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":"apps/bondy_telemetry_exporter/src/bondy_prometheus.erl"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d695aae749ad4384bb41da03945e65ac5e4c8a116b6b52fbaf44cd60e11e6d"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_oplog_responder.dispatch (cyclomatic 31): bondy_oplog_responder.dispatch has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_responder.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d448481d578ad122478b45a8b8eedb7525c8b867c65d26ed7295b7a3bb3c8fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_bridge_relay_client.handle_event (cyclomatic 30): bondy_bridge_relay_client.handle_event 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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ccc462759810ddad08a8cd6c66f8b4d4b90938bf95347686c0e80a83fdda0"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_bridge_relay_api.handle_call (cyclomatic 26): bondy_bridge_relay_api.handle_call 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":"apps/bondy_router/src/bondy_bridge_relay_api.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1772ae72c1e1c1058ef0fd1e1d7420550baa6e5e920c7ce4699021d51e36e1"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_http_transport_session.handle_call (cyclomatic 25): bondy_http_transport_session.handle_call has cyclomatic complexity 25 (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":"apps/bondy_router/src/bondy_http_transport_session.erl"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb609cfc1a118289fbfe6e51c8c3cf492bd8670b35b382fbf682be1fd6859b5c"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_bridge_relay_server.active (cyclomatic 24): bondy_bridge_relay_server.active has cyclomatic complexity 24 (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":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"293ee1726696205b08c938e2ea7efa969f3d605fbf6b49bef1dec62ae7a1bd5c"}},{"ruleId":"D1","level":"warning","message":{"text":"fleet_smoke.runSubscriber (cyclomatic 24): fleet_smoke.runSubscriber has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 273, 335, 345, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/fleet_smoke.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a449bb86e6e0e4c4abdb49890fb965ade5b871d2873a609b2fe48871205ac6e8"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_dealer.forward_call (cyclomatic 23): bondy_dealer.forward_call has cyclomatic complexity 23 (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":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56a70c666a99631e51516b1347756bd9ea608c009e44a946a77b8056e012196"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_wamp_message.set_partial (cyclomatic 22): bondy_wamp_message.set_partial has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions \u2014 but note WHERE they are: these tests sit in guard sequences, and a guard is a restricted expression sublanguage that allows neither binding a local nor calling a function you wrote, so neither of those moves is available in place. Move the decision out of the guard instead: keep one clause with a permissive guard, compute the compound test in the body through named predicate functions, and dispatch on their result. Where the clauses genuinely differ by pattern rather than by test, keep the patterns and lift only the comma-conjunctions. This is NOT this file\u0027s highest cyclomatic complexity: bondy_wamp_message.is_message (cyclomatic 25) 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":"apps/bondy_wamp/src/bondy_wamp_message.erl"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d627f2967411245ba47cf3526f2952e6f63caeb6344bb6cf0c807626711459d"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_connect_connection.handle_common (cyclomatic 21): bondy_connect_connection.handle_common 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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38a88d0e3d4340048042a83048c02938758125ed72a8cf3b364939c058909af"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_prometheus_db.collect_leveled (cyclomatic 18): bondy_prometheus_db.collect_leveled 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":"apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ea70ee79e83f196e91eec00232fe73924d125bb9f38a14f6894ed2801a9a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_ref.validate_target (cyclomatic 17): bondy_ref.validate_target 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":"apps/bondy_router/src/bondy_ref.erl"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a56ab97dca642d1bb67e39f9c2bf51c6fe0b9ba5c369e8970025626ae4b713"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_ticket.verify (cyclomatic 17): bondy_ticket.verify 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":"apps/bondy_router/src/bondy_ticket.erl"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bf7603a4d39901e1e0500788dd440569d63f29adfce37b99af4fff7a5a5d52"}},{"ruleId":"D1","level":"warning","message":{"text":"mops.eval_expr (cyclomatic 17): mops.eval_expr 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: mops.apply_op (cyclomatic 42) 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":"apps/mops/src/mops.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dc542557bb4fd8704850ca6e7f76c8755743616d86ce11723de5f11cf7263b"}},{"ruleId":"D1","level":"warning","message":{"text":"bondy_interface.load (cyclomatic 16): bondy_interface.load has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_interface.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfa68f722029393774513c517daa440003eb397a60d9943b885e97510d01dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_oplog_instance.do_handle_call (cognitive 47): bondy_oplog_instance.do_handle_call has cognitive complexity 47 (threshold 15). Drivers by points: match/switch 32 (42 pts), boolean chains 4, if/else 1 (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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ee8893a74319b943b28b705c10444c8f5cc68c3933d9d0abcd757360d12eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_prometheus_db.collect_leveled (cognitive 41): bondy_prometheus_db.collect_leveled has cognitive complexity 41 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 7 (13 pts), match/switch 8 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dfe2584752286db3e7faf383f3cabc6a4032a3abfbf77f11009938ffe323dd"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_rbac_api.handle_call (cognitive 35): bondy_rbac_api.handle_call has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 28, loops 6, error handling 1. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8819e99202e174c1207901ae44ee18bf5460c91692872944afc3e5729778c6e9"}},{"ruleId":"D2","level":"warning","message":{"text":"fleet_smoke.runSubscriber (cognitive 34): fleet_smoke.runSubscriber has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 11). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 273, 335, 345, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/fleet_smoke.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c07e7c0e3cd8ca0262d3a3f7e707b07e6eb785b1e0d11f42b7a5d1fea6d4c81"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_oplog_responder.dispatch (cognitive 31): bondy_oplog_responder.dispatch has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 17 (24 pts), if/else 2 (4 pts), boolean chains 3 (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":"apps/bondy_oplog/src/bondy_oplog_responder.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9136dcde5c4187e35ad156d9dcfd9432c3015a506749d5f1ea0a5ded2c269dc"}},{"ruleId":"D2","level":"warning","message":{"text":"mops.apply_custom_op (cognitive 28): mops.apply_custom_op has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 18, loops 7 (9 pts), boolean chains 1 (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":"apps/mops/src/mops.erl"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99c4f1f02e3c64cd3ad0e742b31f72bb82bb74b521fa7a34ae70250bd7a8f15"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_wamp_encoding.unpack (cognitive 24): bondy_wamp_encoding.unpack has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 24. To reduce it, name the conditions \u2014 but note WHERE they are: these tests sit in guard sequences, and a guard is a restricted expression sublanguage that allows neither binding a local nor calling a function you wrote, so neither of those moves is available in place. Move the decision out of the guard instead: keep one clause with a permissive guard, compute the compound test in the body through named predicate functions, and dispatch on their result. Where the clauses genuinely differ by pattern rather than by test, keep the patterns and lift only the comma-conjunctions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_encoding.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d602d1aa433d80ffbcafd4290ae6919174573d6fa2b114e81a88b6f2eab2ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_oplog_cell_apply.unapplied_contexts (cognitive 21): bondy_oplog_cell_apply.unapplied_contexts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 4 (10 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_cell_apply.erl"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a506d9613079c05e56500f8c24e7388d1265fb926b6e539c65da157c4a7f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_prometheus.handle_net_event (cognitive 21): bondy_prometheus.handle_net_event has cognitive complexity 21 (threshold 15). Drivers by points: error handling 10, match/switch 5 (10 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_telemetry_exporter/src/bondy_prometheus.erl"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec359ca6644cd5fba0ec32b03927d5b69f5cb9dd6a880df50ada54f296e92c0"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_oplog_cell_utils.member_cells (cognitive 19): bondy_oplog_cell_utils.member_cells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 2 (5 pts), match/switch 3 (4 pts), boolean chains 3 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_cell_utils.erl"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95981c36cdf3e5b495e709623cab52aec3aaf84eb7d2ea6a6e86f2a4f93add8"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_auth.apply_authroles_cap (cognitive 19): bondy_auth.apply_authroles_cap has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (12 pts), if/else 1 (4 pts), loops 1 (3 pts) (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":"apps/bondy_router/src/bondy_auth.erl"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f0648c4efcf0ffe5c033df89aeab05e1f3376f1769b624e95764a571c1542c"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_mcp_wamp.resolve_update_topic (cognitive 18): bondy_mcp_wamp.resolve_update_topic has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 8 (15 pts), 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":"apps/bondy_mcp/src/bondy_mcp_wamp.erl"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"90600ea039418de80bfb9b11322c1bf2d15355bc5433f1652045443b6a7f3281"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_rbac_user.remove (cognitive 17): bondy_rbac_user.remove has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 2 (4 pts), match/switch 1 (3 pts), boolean chains 2, error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_user.erl"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd487f72d752ec9dced3981e3b0015ad8dc6023a5358b39fc739b252dc02b72c"}},{"ruleId":"D2","level":"warning","message":{"text":"bondy_log_scrubber.walk_all_segments (cognitive 16): bondy_log_scrubber.walk_all_segments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), error handling 2, match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_scrubber.erl"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5629dc9bcc51212b7ac3260ff67aec83ef846348a888c8ab962793b410f7fc8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_instance.erl: FileTooLong \u2014 4366 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 315 functions. The bar is 500 significant lines; this is 3866 over it, 8.73\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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89baac070d159f1c2eb63dac67678f34526da0f09b6b291da8022a31a97ca164"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_db.erl: FileTooLong \u2014 2394 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 168 functions. The bar is 500 significant lines; this is 1894 over it, 4.79\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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13747123ac7a96fb4dc918fa99d051a0872558f2c910ac6597a868f6fb7cf331"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_dealer.erl: FileTooLong \u2014 2080 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 109 functions. The bar is 500 significant lines; this is 1580 over it, 4.16\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":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f215c48bc53a7cc84206392989ce0fde1530ff293973cc606d0bc178f116be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_realm.erl: FileTooLong \u2014 2036 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 131 functions. The bar is 500 significant lines; this is 1536 over it, 4.07\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":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ca2aef0155b28585a189cef81eca7954c22a5c7411db4655f85c2c4928880d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_applier.erl: FileTooLong \u2014 1760 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 132 functions. The bar is 500 significant lines; this is 1260 over it, 3.52\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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e84273d363a92cd4f6d97e678d466080a9c7b5edc7c21c343909e295b07fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_log_wal.erl: FileTooLong \u2014 1748 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 125 functions. The bar is 500 significant lines; this is 1248 over it, 3.50\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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1af09e314875d57ec25b9eb550517b112a5eb9021d058131a911e023f1d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_connect_error.erl: FileTooLong \u2014 1687 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 1187 over it, 3.37\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":"apps/bondy_connect_lib/src/bondy_connect_error.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9404f66e6a0e430d68bf39e85c3f9c4d5e3d32b342ba7c66c483652f94d14e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_mst.erl: FileTooLong \u2014 1606 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 123 functions. The bar is 500 significant lines; this is 1106 over it, 3.21\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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5fbb3b70e693081d23ae7e39783c41d3fcc7abe55da373144570e3b7c0e307"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_registry_store.erl: FileTooLong \u2014 1472 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 92 functions. The bar is 500 significant lines; this is 972 over it, 2.94\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":"apps/bondy_router/src/bondy_registry_store.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93377f0226c08df0006212c70dd0c4f98ce34d4328e59d3589b0546d9e8e1cad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_connect_connection.erl: FileTooLong \u2014 1406 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 120 functions. The bar is 500 significant lines; this is 906 over it, 2.81\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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a25e6bd06d14825f703e7547ba2cc7f0ce548cd0355613d278f9157dd66fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_prometheus_db.erl: FileTooLong \u2014 1373 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 60 functions. The bar is 500 significant lines; this is 873 over it, 2.75\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":"apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6563b4f3b016dc4cac7940da7401c8b19661b25a58534f2a065a75cf0fc3c2dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_rbac_user.erl: FileTooLong \u2014 1359 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 116 functions. The bar is 500 significant lines; this is 859 over it, 2.72\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":"apps/bondy_router/src/bondy_rbac_user.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a80c90ab168df33f149557ec5370ac2c9ef181d3dfbc8395aab99cf728df5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: include/bondy_wamp.hrl: FileTooLong \u2014 1217 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 717 over it, 2.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/include/bondy_wamp.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8826db35bab307d300c85d7c56f80f3ddc4f049e5d5938fd85b9dd6fd104fdcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_mcp_http_handler.erl: FileTooLong \u2014 1176 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 676 over it, 2.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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"635eb274d8036a4a7faa2b1630507e59b27eeb166fbc326850b71e1a5fc77f8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_http_gateway_rest_handler.erl: FileTooLong \u2014 1107 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 68 functions. The bar is 500 significant lines; this is 607 over it, 2.21\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":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db62d2539c896910fd2ba15cb20d000eb3e1e5dff2cb26243817111bdc0f73e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_mst_pack_store.erl: FileTooLong \u2014 1071 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 83 functions. The bar is 500 significant lines; this is 571 over it, 2.14\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":"apps/bondy_mst/src/bondy_mst_pack_store.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c1c07550c2ff10711f8884ec977ecbe64105fe5ba09a1d84f8612edde9c4af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_wamp_protocol.erl: FileTooLong \u2014 1028 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 39 functions. The bar is 500 significant lines; this is 528 over it, 2.06\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":"apps/bondy_router/src/bondy_wamp_protocol.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934509bd6b0009e8fbe931005e442a88955f7a5d3bab0e81238a036fdc02196b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_rbac.erl: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 75 functions. The bar is 500 significant lines; this is 507 over it, 2.01\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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1960979d717f7e8c68797b95c7a48dbb160fd1fea126c863cec79118ba08d16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_mst_pack_writer.erl: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 75 functions. The bar is 500 significant lines; this is 486 over it, 1.97\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":"apps/bondy_mst/src/bondy_mst_pack_writer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a7bf623620c8bff425853584d07ce68570e5a77e97447297a5ca50a9a88bca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_cell_apply.erl: FileTooLong \u2014 980 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 64 functions. The bar is 500 significant lines; this is 480 over it, 1.96\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":"apps/bondy_oplog/src/bondy_oplog_cell_apply.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3059993a07a7c92eb4577a2c8030ef3fef713cb1e0c1ad1bcd51e015c790e29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_bridge_relay_client.erl: FileTooLong \u2014 955 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 455 over it, 1.91\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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d98756dc905841b2556f095c76dc8076872bd02c309c123439fedd326417b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_core.erl: FileTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 73 functions. The bar is 500 significant lines; this is 451 over it, 1.90\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":"apps/bondy_oplog/src/bondy_oplog_core.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d03002de0f1170322d09a04c3c0145abb84a2418b2443bcc0b92054b569c494"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_registry_ptrie.erl: FileTooLong \u2014 933 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 71 functions. The bar is 500 significant lines; this is 433 over it, 1.87\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":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f1190270f87bbcf6f2f6801e5f9f53310502d77ea74760e0fa99dfca4b24b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_prometheus.erl: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 425 over it, 1.85\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":"apps/bondy_telemetry_exporter/src/bondy_prometheus.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7664bb084fd68c54c542d15738014e1d54643e79171147d9ac17e718217222"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_log_recovery.erl: FileTooLong \u2014 924 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 424 over it, 1.85\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":"apps/bondy_log/src/bondy_log_recovery.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f68f73acc5a7292712198eacd6dd3ca90f3b1c0ed836e01b91edd4c68558902"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_oplog_config: TooManyFunctions \u2014 52 functions. The bar is 30 functions; this is 22 over it, 1.73\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":"apps/bondy_oplog/src/bondy_oplog_config.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d986d685b1da09dd783c80a20891a97621969be830ecf52bd6bece606963d815"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_sync_session.erl: FileTooLong \u2014 842 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 342 over it, 1.68\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":"apps/bondy_oplog/src/bondy_oplog_sync_session.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3846ea6974905ff724d46b684223dc0cb1d345abd5d29a8d1cb443fc2640ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_export.erl: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 338 over it, 1.68\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":"apps/bondy_router/src/bondy_export.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2634d3efb0e3458cafd2ffacbcd26f987d3c125c5e2d968fec639a810a53e7a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oidc_handler.erl: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 330 over it, 1.66\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":"apps/bondy_router/src/bondy_oidc_handler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b72deebbcc32f51cba4542e23318e1ed3c7d52491d555bdce8073fb69f6bac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_sync_scheduler.erl: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 321 over it, 1.64\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":"apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdd2fe945601489cd2c9737a840bea98eba7b23440c2f696726a2b8ff67f946"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oauth_token.erl: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 58 functions. The bar is 500 significant lines; this is 303 over it, 1.61\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":"apps/bondy_router/src/bondy_oauth_token.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3772d95a674a0517b08c96fc3b809c87435f442e915f28a1a75a88b3218fb89f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_bridge_relay_server.erl: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 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":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba0bc2bd447fde340a3261543f338a769e1fe056f9ac376c0ff52eadc9679a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_core_registry.erl: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 301 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":"apps/bondy_oplog/src/bondy_oplog_core_registry.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ea4d3d2ad48cc09745603ec56de55570e9d4b124538826afd058eb202f3660"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_oplog: TooManyFunctions \u2014 48 functions. The bar is 30 functions; this is 18 over it, 1.60\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":"apps/bondy_oplog/src/bondy_oplog.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d609b4628e7d4769cb41517d1c6f0ed392d7a77c5e83b6c4b674fe31ed7a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_http_gateway: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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":"apps/bondy_router/src/bondy_http_gateway.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7f9dff1192045f35a128a5e8a8e251390934c4334512a4ad85fe786049ba69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_session.erl: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 71 functions. The bar is 500 significant lines; this is 264 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":"apps/bondy_router/src/bondy_session.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45d9542c2567efb8bde1c77e2c18addaddc44923facf725925a84681ae3057a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_connect_interval_set: TooManyFunctions \u2014 45 functions. The bar is 30 functions; this is 15 over it, 1.50\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":"apps/bondy_connect_lib/src/bondy_connect_interval_set.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae47e8cd4b212c695edc60fbbfc6806f63fd1a17d5a966fbcedf5f0ff22cc79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_context: TooManyFunctions \u2014 45 functions. The bar is 30 functions; this is 15 over it, 1.50\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":"apps/bondy_router/src/bondy_context.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7877bf9f5cb9f256239f92ed0340c3fefe8c4f01adeb4702d36ea57e36cf0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_registry_rib.erl: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 244 over it, 1.49\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":"apps/bondy_router/src/bondy_registry_rib.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e43a7e363d9c8d79df2370d176287eef509d9b3ba1842415ff854c147c8a89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_ticket.erl: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 218 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":"apps/bondy_router/src/bondy_ticket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dbe5567c1005251e6bf45e1248f0a935eda8dd6a80a4d305bb5265e9c7db51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_registry.erl: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 213 over it, 1.43\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":"apps/bondy_router/src/bondy_registry.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0b4a29302c6f54f80a75bcaf4a0a688e99d65dd3e73b0b20896e48e3cdac5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_wamp_encoding.erl: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 205 over it, 1.41\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":"apps/bondy_wamp/src/bondy_wamp_encoding.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0481fec04de09a2b81a0b53ba86cadfa1bba6b22c6919f9ff32adc05235a9d8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_mcp_handshake.erl: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 190 over it, 1.38\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":"apps/bondy_mcp/src/bondy_mcp_handshake.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc53ee01bc639e7ef5f53b6d7662c6c4eb68d7e88e1394fe1e93646add2c5217"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_wamp_message.erl: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 188 over it, 1.38\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":"apps/bondy_wamp/src/bondy_wamp_message.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e87455ad8bcf0c17c221b3c0bddb6ff3f436bf0937d4a2f85473c55eacde42"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_mail_worker: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"apps/bondy_mail/src/bondy_mail_worker.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d50da68f26001ff1d151f30f472b197ea4a6726247d0b022afe59d34dda2a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_auth.erl: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 175 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":"apps/bondy_router/src/bondy_auth.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b7d6ebee7ce07b49218564027a15a17330bc342afbab7d93e37c88307d536a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mops.erl: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 172 over it, 1.34\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":"apps/mops/src/mops.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f754896b8dccc7110e683964fff4c7bd8ab1d88778728bf8dbd583f6da1ebacd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_aae_reactor: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\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":"apps/bondy_router/src/bondy_aae_reactor.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c845659040d338612780158eb21c07f547e4df4689a64ad96aacc5a9514ed3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_wamp_api_utils: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\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":"apps/bondy_router/src/bondy_wamp_api_utils.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0546c7c050cfef7e83bceb7895f5268a73646d7b9fbf88021d2a3981a08270b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_registry.erl: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 71 functions. The bar is 500 significant lines; this is 129 over it, 1.26\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":"apps/bondy_oplog/src/bondy_oplog_registry.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794fa96aa1eea2514e01cdf3a34fc7a09a36ecf2827ff253aa6b7a765eab3f59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_metrics: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"apps/bondy_metrics/src/bondy_metrics.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e308bf9f920d8020a595540759e53bb1ec71d19c9bb05029a867cb7df53c1d89"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_registry_partition: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"apps/bondy_router/src/bondy_registry_partition.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c2560dd534fb460ed94e659df9040a975ad74c15cfd464fa912d805042d787"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_broker.erl: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 115 over it, 1.23\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":"apps/bondy_router/src/bondy_broker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fabcc56f4d4f808a970b0bcc92a246e624efaebb8b3d0188b62835d05a69018"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_mcp_upstream.erl: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 112 over it, 1.22\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":"apps/bondy_mcp/src/bondy_mcp_upstream.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83586962b77fd1516bff16e88c26c5b9211db421158c1d17fa978c9dc789040d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_mst_pack_index: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\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":"apps/bondy_mst/src/bondy_mst_pack_index.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ceb118d2f97b4128aae75f17e708d594e19ee45ced125cd2523e36c739a488"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_oplog_origin_bans: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\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":"apps/bondy_oplog/src/bondy_oplog_origin_bans.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3007b679e9809f715dd983eb0b53b5673eca6caffe16fdf2b77d5ae5d8a6d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_alarm_api: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\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":"apps/bondy_router/src/bondy_alarm_api.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfefe49b22e5aa9aaa4ed3c8a9b8a033329d4c769c9dccfeeeb4d75866476a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_cert_manager: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\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":"apps/bondy_router/src/bondy_cert_manager.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2440afce805217446e58bec1f11f3b3aea47dc45ee7f8ff23f54ffb20de43e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_wamp_tcp_connection_handler.erl: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 32 functions. The bar is 500 significant lines; this is 97 over it, 1.19\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":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e1c1299ac3219115a9816253980189d85ef42017b7f2e35992db24a31adfd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_namespace_catalog.erl: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 87 over it, 1.17\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":"apps/bondy_router/src/bondy_namespace_catalog.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fc6ec78588f6d6198b54e415114cbc846f9fd2c07a44b45af4d82328aff6fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_router_utils: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\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":"apps/bondy_router/src/bondy_router_utils.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f1d75281bc4336505636e328d08d002fbc78419240221db3dd23201cb7d0a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_telemetry: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\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":"apps/bondy_router/src/bondy_telemetry.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3ea4b1d12593fdc7aa57f39f91fcc90e8fe3ae36c7b04d1e0eb2348e897bf3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_wamp_cbor: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\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":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8af928df8f8bf38acc6b8e6967c79fc71a06a6d0162d8c2bc377355fcc81ef2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_mail_request: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\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":"apps/bondy_mail/src/bondy_mail_request.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"995c2fc9eefbc184e0daeeb3d13d278634244037c9b099bec8180e8d12660abb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_ref: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\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":"apps/bondy_router/src/bondy_ref.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a643e5e6c7a881445d2ab43e01d724c4e6efde1eae4454bb569a27eab1a448a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_retained_message_manager: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\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":"apps/bondy_router/src/bondy_retained_message_manager.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f5af7df00f5d91e548aa8a85a567e44ab9b0d7b8f170761d4857086f64446a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oplog_cell_utils.erl: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 32 functions. The bar is 500 significant lines; this is 58 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":"apps/bondy_oplog/src/bondy_oplog_cell_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fcfa375b2f674e129e0f1c2d1eb8a086dd2e9f97f9a9ad2832e120fecea458"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_rpc_promise.erl: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 57 over it, 1.11\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":"apps/bondy_router/src/bondy_rpc_promise.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdfe86ce4117e2bfcb72119f52b8600f6484761af7b06b07e72253db9626634"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_registry_meta.erl: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 54 over it, 1.11\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":"apps/bondy_router/src/bondy_registry_meta.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e762182be3ccb75ca930f3ce00588d7ac94c8458b03997576ec3166aa056eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oauth_refresh_token.erl: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\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":"apps/bondy_router/src/bondy_oauth_refresh_token.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6ef75c2fd47b75fdb5ff43b738113db09471b0d297106522c22fd84f05b86a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_listener_config.erl: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 52 over it, 1.10\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":"apps/bondy_router/src/bondy_listener_config.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f795c1e2439c0a4494cf8ad0c167d26e32a56f06f638e54f6b9db0b524a126fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_alarm_handler: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\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":"apps/bondy_router/src/bondy_alarm_handler.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae36098c5fd0d0587b588a9b09f1c803f2c6ea205bed0804f9e0ad8436ac233"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_bridge_relay_manager: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\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":"apps/bondy_router/src/bondy_bridge_relay_manager.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88b34e0a949fdcaced7c6d50fc34da014b9c52cbf8894909d59b4ff2c7baa0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_registry_entry.erl: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 41 over it, 1.08\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":"apps/bondy_router/src/bondy_registry_entry.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e1d4412824b8419991b90a124d8e32d20a5f26523f38248eef9da58654642b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_connect_client: 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":"apps/bondy_connect_sdk/src/bondy_connect_client.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f13f8b39d6e6dceb421a7631d78145eb5eba9f5776b0f99d846bb57a6a5e405"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_connect_transport_longpoll: 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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"001399ed95cc030788cff82dcef3e87ddcf141f16b7a94e39bc75989d8e923fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_mcp_wamp: 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":"apps/bondy_mcp/src/bondy_mcp_wamp.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b205ad9dd4eefb3d1fb6dbef17b2dad354fe61f62f20ce9ace522c469ed09661"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_mst_crdt: 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":"apps/bondy_mst/src/bondy_mst_crdt.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a368d03585f84647bd57fc9e3d1fad79c4a143aa2fe2805ba19aad8600a5ce1a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_mst_pack_manifest: 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":"apps/bondy_mst/src/bondy_mst_pack_manifest.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46b34a4d81abba4fbd737d7653433c853b737c7c8c73437c434fe3f7b4f6965"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_password_scram: 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":"apps/bondy_router/src/bondy_password_scram.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d178fba4bec4f24a95156267ee5a49e4d3e6e84400fbec6b27b6ea12830c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_retained_message: 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":"apps/bondy_router/src/bondy_retained_message.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0017efce58cdaf927557d2f3435828fd04273297493e4c95a7013c16a0f8ff9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_oauth2_rest_handler.erl: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 over it, 1.05\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":"apps/bondy_router/src/bondy_oauth2_rest_handler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4512f4bbcd0c38f94e0d8c56b835623b5b7e5af72baa4c0d17fc2cf11fa38d46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_bridge_relay.erl: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\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":"apps/bondy_router/src/bondy_bridge_relay.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd96029f67d5d383fd77b2898ee6fe7f90e551cc4041ea5fe1231dbf8c8bd4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: bondy_oplog_origin_retirement: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\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":"apps/bondy_oplog/src/bondy_oplog_origin_retirement.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba56fd554ff1ef5d119581834ce7999bcc727d63be94aea32f254ed630f3acde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_rbac_group.erl: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 11 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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eaf33e8ba1024efbaadbef9a6ab3725f942e1ca87da77303e05263895e3834"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bondy_http_transport_session.erl: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 32 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":"apps/bondy_router/src/bondy_http_transport_session.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5434fcce899b92f6e98da3afa7e3e568a4563c71d21e41488d65df9e0f435e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): apps/bondy_router/src/bondy_rbac.erl:1118-1160 | apps/bondy_router/src/bondy_rbac.erl:1227-1274 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5b5fa01ddccc68168805ff6286b587c3f27f1e9362948f19727eaa5e3b07bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:316-337 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:174-204 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:144-165 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_set.erl:132-149 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fedde80660781caf1a251f46fb2432fa7c2e774871da8c49adfa5ae274cf0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:410-424 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:268-282 | apps/bondy_oplog/src/bondy_oplog_crdt_ew_flag.erl:171-185 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:231-245 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"095fbef3a7abec156ea21eefffb1a7b894f1fa30f585e51e2a17633eeb1bda0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/bondy_router/src/bondy_aae_reactor_sup.erl:69-110 | apps/bondy_router/src/bondy_jobs_sup.erl:49-87 | apps/bondy_router/src/bondy_oidc_refresh_sup.erl:67-107 | apps/bondy_router/src/bondy_registry_sup.erl:63-100 \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":"apps/bondy_router/src/bondy_aae_reactor_sup.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcde035de38917516362c4b11581473769683a309a72b8031257de50b3214f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:276-301 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:303-328 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:354-379 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:407-436 \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":"jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e62f89fac3ed377654522f8c5f52b3326cdcea81c507d10ffd2eede142c9ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:2060-2104 | apps/bondy_mst/src/bondy_mst.erl:2238-2281 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":2060}}}],"partialFingerprints":{"codehealthFindingId/v1":"a856a4b27d89eec43260f93d95696c7af5daae55f99854f9da2f5e201db0a6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:659-711 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:718-768 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c8cca81e5799dfa9aa50e8fba0bcb1f604559b4c5b166a80b05e94663afb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): apps/bondy_router/src/bondy_http_gateway_api.erl:36-83 | apps/bondy_router/src/bondy_interface_api.erl:41-82 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_api.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe639e971cc46a92725bf34e6d9b9c8dad53c4b8347ec9c55dafd24a5ee0de1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): apps/bondy_router/src/bondy_rpc_promise.erl:132-195 | apps/bondy_router/src/bondy_rpc_promise.erl:209-275 \u2014 These two members are one piece of code written twice and then edited apart: 64 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":"apps/bondy_router/src/bondy_rpc_promise.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51f2e29a60002a673ccd15f0378b1e2840420bc04884d33a653d3a53a751f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:191-255 | apps/bondy_router/src/bondy_http_sse_handler.erl:134-196 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b726627b2a054b2474b221279f1c1952cb1f4740e14dee401e07b53553f38ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:2530-2569 | apps/bondy_mst/src/bondy_mst.erl:2572-2614 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdf8b4d4f1aebe4329cc3e9c35cc85dac4211e743acb8b3e79dbfa7f438e950"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:684-747 | apps/bondy_oplog/src/bondy_oplog_instance.erl:812-864 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"507819ef0606f3a6f74e5344cb5442c8719b6362b12af05dd0758ceb228bbe4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): apps/bondy_mst/src/bondy_mst_admin.erl:126-160 | apps/bondy_mst/src/bondy_mst_admin.erl:228-269 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst_admin.erl"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b787007a859e89544d2a0385962b1420134ba9fcfb7b215bcc42d5a38aa00c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): apps/bondy_mst/src/bondy_mst.erl:1623-1654 | apps/bondy_mst/src/bondy_mst.erl:1657-1686 | apps/bondy_mst/src/bondy_mst.erl:1803-1828 | apps/bondy_mst/src/bondy_mst.erl:2340-2365 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dae17bbc4c7fe4f3df0c6a7427f47c15a1097350996f7f947699933d6c7d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:228-257 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:201-234 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5512ae2f53db944d9b960c6a7f5cc14e0ab246bfc981edca12219b32d4114787"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): apps/bondy_broker_bridge/src/channel_handler/email_adapter_mailgun2.erl:101-134 | apps/bondy_broker_bridge/src/channel_handler/email_adapter_sendgrid.erl:121-152 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_broker_bridge/src/channel_handler/email_adapter_mailgun2.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c316cf27e9b9b0a642e52a4fb48ebedf18fe01030caa5e0459adc0225e99ca73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): apps/bondy_wamp/src/bondy_wamp_cbor.erl:186-214 | apps/bondy_wamp/src/bondy_wamp_json.erl:242-269 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"56367d4bffc33c0febf4578ff0f2cb28346b219560a71566b5a13713e4f3ff7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/bondy_router/src/bondy_rbac_group.erl:829-853 | apps/bondy_router/src/bondy_rbac_user.erl:1912-1945 \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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"6232565db7e80745bcadc6f7e754f64f8991bee0933cdc3392eb13440f3eab77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): apps/bondy_db/src/bondy_db.erl:1992-2028 | apps/bondy_db/src/bondy_db.erl:2056-2091 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f907508fb748b4da874a4b47ecd73a433bd755eef6c07e6c012ee1eab0f76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_wamp/src/bondy_wamp_cbor.erl:369-384 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:513-528 \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":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"740b0937ad3d8928a1ac128b475fdef3e5cb8f133f70f0e6f9f9f3203e3f3c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:206-250 | apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl:232-275 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea2b7a87c8ba855afbb8b37b8ccc902c3368213a5877dbdbcf0fdceb1d5ebf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:1774-1797 | apps/bondy_mst/src/bondy_mst.erl:2321-2337 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13b32d82fece90fc924dccb05f0b08f4b719a980b8ee50bc8e0d99cffe13016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/bondy_wamp/src/bondy_wamp_cbor.erl:437-454 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:457-475 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48d77946c90f4d97b86f1c445cf8a914ca3e9e185ef0a5a059c6a33597f5c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_db/src/bondy_db_projection_leveled.erl:748-765 | apps/bondy_db/src/bondy_db_projection_leveled.erl:770-785 \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":"apps/bondy_db/src/bondy_db_projection_leveled.erl"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"867f3d5e175a2c5234de992850b86aef4b7b7b305603d59b2bc5db483080886a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): apps/bondy_router/src/bondy_http_gateway_api_spec_parser.erl:1939-1979 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:1511-1557 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"apps/bondy_router/src/bondy_http_gateway_api_spec_parser.erl"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa38d7ffd7052e7849a859281cefb776ad9f05a382b8eb134b84de0627b5cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): apps/bondy_db/src/bondy_db.erl:1663-1693 | apps/bondy_db/src/bondy_db.erl:1905-1928 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75af6150d942c7c33b23847d8bbb617edcbefe69ce3fc763d72aefc1625a7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:1586-1601 | apps/bondy_mst/src/bondy_mst.erl:1604-1620 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14063ac0002b4a29db2f1841606086a626aac3a3eae0f2c74880232ada59276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/bondy_router/src/bondy_bridge_relay_client.erl:1026-1055 | apps/bondy_router/src/bondy_bridge_relay_server.erl:1152-1176 \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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5e45213a6e67712fec7df84408adc11fb3d5a26a1b012d50d9e3e0c58c3d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): apps/bondy_router/src/bondy_router_worker.erl:142-170 | apps/bondy_router/src/bondy_router_worker.erl:197-225 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_router_worker.erl"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"118ae51471b84e31884ea8d8b3c81f734ca97a3453020ac690b7fe754afec8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_oplog/src/bondy_oplog_applier.erl:2170-2188 | apps/bondy_oplog/src/bondy_oplog_instance.erl:4213-4236 \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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"10964647e94808a982947c9f1e0f80e1105bd5125db272ec7422cb777589ac0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:50-67 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:34-52 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:54-73 \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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1bb9e2df0d487c750d5c8289b47a7f4ca03809e7dc2696679b05ee3e14c550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): apps/bondy_router/src/bondy_bridge_relay_client.erl:788-821 | apps/bondy_router/src/bondy_bridge_relay_client.erl:824-856 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d66815fb80eb484dae1f20d5f31f7d7126dc03b0bcdfde37fd550c1b2c2578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): apps/bondy_regulator/src/bondy_regulator_sup.erl:22-68 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_sup.erl:15-63 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_sup.erl"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffc3290e4c0ebed086c5132795076ac688e58502d0a778e891a25dd1c850f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): apps/bondy_router/src/bondy_router_peer.erl:278-297 | apps/bondy_router/src/bondy_router_peer.erl:301-333 \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":"apps/bondy_router/src/bondy_router_peer.erl"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8722b1f95fbd186861498648cea9e15a5045cf5b3f435faaccb7c35513d7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_wamp/src/bondy_wamp_encoding.erl:47-58 | apps/bondy_wamp/src/bondy_wamp_encoding.erl:63-74 \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":"apps/bondy_wamp/src/bondy_wamp_encoding.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"599e4c5b41ed931f38f42c20aea60ac39b53ba72cc630d2065d94389e0d37398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1088-1111 | apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1434-1464 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"860d2bb17356b7d166af9de2b85c4775c68ac8ba9ace2380256d5285ad810bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_dw_flag.erl:124-137 | apps/bondy_oplog/src/bondy_oplog_crdt_ew_flag.erl:126-139 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_dw_flag.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06c0762b73fb1acdccfaf7fd04d4f2fecc1b62885b5dc78b81bec6f8a3e28b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl:122-136 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:107-125 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5b7ee73c47a8310a0281ba32a2d12f474c70072785b2d7cedfaee6fe5a999b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:115-149 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:108-129 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"738cab0e594a5a05e728577d059581c92aba03c5c5089ab560b27dee69d80735"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/bondy_db/src/bondy_db_topology_per_entity.erl:94-116 | apps/bondy_db/src/bondy_db_topology_shared_shards.erl:108-132 \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":"apps/bondy_db/src/bondy_db_topology_per_entity.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"119bf60673773a302278d5c165451b54092280066316bb4517e7171488975096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/bondy_mst/src/bondy_mst_pack_recovery.erl:242-266 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:1236-1261 \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":"apps/bondy_mst/src/bondy_mst_pack_recovery.erl"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5c1f35b7415429ca8c1f052ef893f05cedc1f85bc997c1a17b8cbf582262a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:410-432 | apps/bondy_router/src/bondy_http_sse_handler.erl:291-312 \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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3e40398dbe7bad49884585988773dec1e642e05684f4d2573e1cd9f73ed5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): apps/bondy_router/src/bondy_auth.erl:865-907 | apps/bondy_router/src/bondy_auth.erl:910-938 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth.erl"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61711a9975492a64facffa0fa5afafcb667637337b436aa662ae204063da85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): apps/bondy_broker_bridge/src/bondy_aws_sns_bridge.erl:80-112 | apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:159-191 | apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl:186-218 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_broker_bridge/src/bondy_aws_sns_bridge.erl"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f0eb52a99626c6371bf9e3b57e218ed624d4e3553ee4f7680d363caf62e1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/bondy_db/src/bondy_relation.erl:343-360 | apps/bondy_db/src/bondy_relation.erl:427-456 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_relation.erl"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4722cd3b9bf04fcf5156f742f7aac3a5f05f401528e03747e319d953ca0c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:164-179 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:142-157 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed225d3ebb48fdcf0c770ebb737e8dca4a23362efc696b8a608fdcbec90b9b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:301-319 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:275-290 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5e8155a9fd3283a7da01bcaa44c00d4338b15098f4528e44d737b80104f56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_log/src/bondy_log_idx.erl:503-519 | apps/bondy_log/src/bondy_log_segment.erl:247-270 \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":"apps/bondy_log/src/bondy_log_idx.erl"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"35757cfe0658589093bef43ab6440ec0003c659dd764e0416f60e2a3799971ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core.erl:531-554 | apps/bondy_oplog/src/bondy_oplog_core.erl:565-585 \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":"apps/bondy_oplog/src/bondy_oplog_core.erl"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f78efe9c13ba51c664c4805cc197335e49fa8644ff70675dfeb1ba257ff54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_db/src/bondy_db.erl:2119-2134 | apps/bondy_db/src/bondy_db.erl:2154-2174 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8640d92f5814f8f8854a4879a7ad0a9b850c75cf7fc3c977308522a7010b430c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1062-1074 | apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1673-1685 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bdcbb388735fb027cc269503b4c3263b88202c21eb955b5137614732289d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:73-90 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:79-104 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1c8c40fe43a78ddb48cf94f66e730f143ca301afa0ba6f50a94c34f81f4c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_router/src/bondy_rbac_user.erl:1080-1095 | apps/bondy_router/src/bondy_rbac_user.erl:1114-1129 \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":"apps/bondy_router/src/bondy_rbac_user.erl"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"226d0388bf562ec5e20eae282ac143f161a95a19045552073f6b9c0f8d40e0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:1127-1154 | apps/bondy_mst/src/bondy_mst.erl:1174-1202 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0e7ffa0f66cdd669012dbe597f72bbe966c0a7da6bd0f7e89cc1e4073ea0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1521-1533 | apps/bondy_mcp/src/bondy_mcp_stream.erl:393-408 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb709e253fba86213fd3c4836a989300de2dc0b8253604abeb0be45f3f6a4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:739-773 | apps/bondy_router/src/bondy_registry_ptrie.erl:843-870 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92150bcfb73c3531a92589165b9aaa729a03d1c8c21b7e59d6cab499dd6550d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core.erl:199-212 | apps/bondy_oplog/src/bondy_oplog_core.erl:387-398 \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":"apps/bondy_oplog/src/bondy_oplog_core.erl"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6991012cc6c7161f646626d6a3c2afb00d993c1427304323684d3730bd8bd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:251-274 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:330-352 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:381-404 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2259998b98771fac423ceb8fa7896969a4ab5c923611f9355757bb2547aa661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1002-1020 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1039-1057 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95b7ba23407802e5b5e4bb182ab6c20762d7fdb5f792a81201cd2d907229093"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_oplog/src/bondy_oplog_transport_disterl.erl:52-65 | apps/bondy_oplog/src/bondy_oplog_transport_partisan.erl:54-68 \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":"apps/bondy_oplog/src/bondy_oplog_transport_disterl.erl"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b0802d72d69d2f6343dba60fc0b0dd8e9caf8ede902f61a45bcd26778fcaa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_db/src/bondy_db_topology_per_entity.erl:118-134 | apps/bondy_db/src/bondy_db_topology_shared_shards.erl:134-150 \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":"apps/bondy_db/src/bondy_db_topology_per_entity.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19839ee6aeb1f158f10c6ab344dfc90391d162c75b04588e37dc43016d3bcab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/bondy_log/src/bondy_log_recovery.erl:542-559 | apps/bondy_log/src/bondy_log_recovery.erl:706-720 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_recovery.erl"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6829e534c170b68b0fb56c3d46cd399595616d7ff43f223ea17509efb26d7483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): apps/bondy_router/src/bondy_data_validators.erl:138-164 | apps/bondy_router/src/bondy_data_validators.erl:274-306 \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":"apps/bondy_router/src/bondy_data_validators.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8781b65b3b6f711cb71a326567e8e9a8d1d72633bfc1e483b8424d048b86264"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_router/src/bondy_oauth_refresh_token.erl:72-90 | apps/bondy_router/src/bondy_oauth_refresh_token.erl:114-133 \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":"apps/bondy_router/src/bondy_oauth_refresh_token.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39820192d68196debd92466193026ab4c6db87b576cf6df82b0b35e18649653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/bondy_router/src/bondy_rbac_group.erl:389-413 | apps/bondy_router/src/bondy_rbac_user.erl:710-743 \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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d151b3b8e93584b62cabfb64867285d787c6a8fa27cc90c95bc6bd83dff75b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_applier.erl:2855-2864 | apps/bondy_oplog/src/bondy_oplog_instance.erl:4037-4057 \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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2855}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634e3611617232c7275ac12c1e5a05062e65520bc0c9999293baef23df7ee70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/bondy_router/src/bondy_password_cra.erl:41-58 | apps/bondy_router/src/bondy_password_scram.erl:64-87 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_password_cra.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aebbb177f1ea7a3c2cf6364e8e7dce9f7ac16269af485a3962bbf5c818055e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_router/src/bondy_realm.erl:1458-1470 | apps/bondy_router/src/bondy_realm.erl:1483-1494 \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":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e13cbfc79b56754fb4ca386572a899d20d8ec0c79055b78291cc775720eb826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1686-1701 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1705-1720 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c10205a9a3e25441394eeb3bad981becf60df69b693058303fc35f702b37643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:988-998 | apps/bondy_router/src/bondy_registry_ptrie.erl:1155-1165 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"d682ef8ba038a75656293e91edd856a83c9152d16df971a35ac15bb3f16e91a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_conn_sup.erl:42-66 | apps/bondy_connect_sdk/src/bondy_connect_sup.erl:44-68 \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":"apps/bondy_connect_sdk/src/bondy_connect_conn_sup.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"234b7f318b9c1447174482fa63c369f6a754e899a238ef011bd775c0760fa435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1111-1126 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1132-1152 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ebf880b67233da0d26290f3a4861a3f23bf26fbba5ef4c9da0e682826fb939"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_registry.erl:84-94 | apps/bondy_connect_sdk/src/bondy_connect_registry.erl:98-108 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_registry.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77465ea055b4a8c6a7aa808cd0453321f050f85adc59329faa60c6e00f977984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_mst/src/bondy_mst_pack_index.erl:282-295 | apps/bondy_mst/src/bondy_mst_pack_tombstones.erl:172-185 \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":"apps/bondy_mst/src/bondy_mst_pack_index.erl"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a65190665b8847f30b7b0ae7dcf743b473dfc53fedf4443605d8e74b8187a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/mops/src/mops.erl:234-248 | apps/mops/src/mops.erl:251-265 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/mops/src/mops.erl"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a601ee91c8bfe7e15b776d5f3dd5a83a6dd4312a6e33737810e3dcd0df2e487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:985-1010 | apps/bondy_oplog/src/bondy_oplog_instance.erl:6010-6038 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd89e587b4e6389f3382dbc71aa40bb269d05e1d797dff000b7cd8623f28db9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): apps/bondy_mst/src/bondy_mst.erl:2130-2146 | apps/bondy_mst/src/bondy_mst.erl:2383-2399 | apps/bondy_mst/src/bondy_mst_ets_store.erl:307-323 | apps/bondy_mst/src/bondy_mst_store.erl:485-502 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"34315e3abe26d9c46e44b95f8d6169f295b784aab70fc87a2613182e9c7fa961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_oplog/src/bondy_oplog_cell_frame.erl:143-156 | apps/bondy_oplog/src/bondy_oplog_cell_frame.erl:196-208 \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":"apps/bondy_oplog/src/bondy_oplog_cell_frame.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"833d3ce3cdad2a33a47dac3d52f1a716deb9245cf314ca37102dcfcb01a2830f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): apps/bondy_router/src/bondy_bridge_relay_server.erl:610-629 | apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:405-430 \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":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b385f97ee283ef0b4afeac9390aea2eb286c2d200faedfb9daaaa4ba406e2874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core.erl:800-811 | apps/bondy_oplog/src/bondy_oplog_core.erl:815-830 \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":"apps/bondy_oplog/src/bondy_oplog_core.erl"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"78df8d628a59f0ecc91d7406544c729dd4f671cf11c58e3e71fa8d641bd14d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:1516-1526 | apps/bondy_mst/src/bondy_mst.erl:1531-1537 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2d4e2219550a0a7cd76e4227778c715c31cc865a16c21048f74fa17ca92929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:2203-2227 | apps/bondy_oplog/src/bondy_oplog_instance.erl:2238-2256 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a19c575ccf132da8f0c7f3ed5aa6d229053be2cc23608cc645b75fde298047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/bondy_router/src/bondy_rbac_source.erl:588-608 | apps/bondy_router/src/bondy_rbac_user.erl:1451-1468 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_source.erl"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f01b75be664730be35abc2dab3438a1659ac94d6430958fb3fe51afe52c2ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl:203-211 | apps/bondy_oplog/src/bondy_oplog_crdt_owned_reading.erl:246-254 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:211-219 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3478c00b6de9c7310e71974661c7ad3dd02f2dfffeae2d14e1e37e8dfa1f0c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_db/src/bondy_db.erl:3718-3727 | apps/bondy_db/src/bondy_db.erl:3733-3745 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":3718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85c4f3d8c2745bce52935700bbda4131bc20927bab52733afb34d74a8301973"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:756-774 | apps/bondy_mst/src/bondy_mst.erl:798-818 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df56f6868a4bf30a91fb831e58e2460d49f668b755f936b1c82b710f2e40af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): apps/bondy_mst/src/bondy_mst_pack_reader.erl:153-170 | apps/bondy_mst/src/bondy_mst_pack_store.erl:1177-1196 | apps/bondy_mst/src/bondy_mst_pack_store.erl:1448-1465 \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":"apps/bondy_mst/src/bondy_mst_pack_reader.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0253e375ba961f9256f9bb89dde066ef5f1c860c0cc9c8ba438711a7680216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl:60-81 | apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl:167-191 \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":"apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"765cd5d2e318c7375475d996ca777e0cf24ffb1fa772d1a83995123661b41e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:352-374 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:180-203 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76be356b1830672307ffbc3908fed5366348c05a568bcc96d8bbc20b1aed81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/bondy_router/src/bondy_session.erl:587-608 | apps/bondy_router/src/bondy_session.erl:612-633 \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":"apps/bondy_router/src/bondy_session.erl"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"954d6a4982650e977691aed135481b2191b274a867fac74969255a8a9725f8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_tcp.erl:46-55 | apps/bondy_connect_sdk/src/bondy_connect_transport_tls.erl:52-61 | apps/bondy_connect_sdk/src/bondy_connect_transport_uds.erl:50-59 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_transport_tcp.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0b27993586ccf7830b96b1f81f54bfd3715b74bc0e921ef5eae4af3cb4c88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_mst/src/bondy_mst_pack_index.erl:298-314 | apps/bondy_mst/src/bondy_mst_pack_tombstones.erl:192-208 \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":"apps/bondy_mst/src/bondy_mst_pack_index.erl"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ffdb0cb49eb3d069ea7e2daa36328e1689359ba0a77e8e3f24671449f97849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_db/src/bondy_db.erl:3147-3162 | apps/bondy_db/src/bondy_relation.erl:413-424 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":3147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8acd166a487a807e1f14e42755b439f6a6a4937080685111b236a0fe5108ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_db/src/bondy_db.erl:1509-1519 | apps/bondy_db/src/bondy_db.erl:1533-1545 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6bc31b20c8492868ea89b5368ee2f6d381e12bb8da906584348a6362232adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_db/src/bondy_relation.erl:363-373 | apps/bondy_db/src/bondy_relation.erl:459-469 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_relation.erl"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd4e3be642ed8040cb82be55324fddc8cadd3a60119f9f2146a30ef2f38353b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_mst/src/bondy_mst_ets_store.erl:266-276 | apps/bondy_mst/src/bondy_mst_map_store.erl:182-192 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst_ets_store.erl"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"00228eba0e31934c350dd751b68e870dddce873be38e605d96c1ace4d507b06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_router/src/bondy_realm.erl:1391-1399 | apps/bondy_router/src/bondy_realm.erl:1413-1423 \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":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9600c5740682a06ff595098dc575f28810a5bdd676c6ae57d1172c304b266fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_router/src/bondy_session.erl:1122-1129 | apps/bondy_router/src/bondy_session.erl:1132-1139 \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":"apps/bondy_router/src/bondy_session.erl"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"902928ed85f158f3bd62a6f29ffae893098bd5a1455d7e4f7a9aafdf821870db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_http_connector/src/bondy_http_connector_http_pool.erl:616-632 | apps/bondy_mcp/src/bondy_mcp_upstream.erl:748-758 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_upstream.erl"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b826d2cc7da0ff99db01a6b6fdc8ade4e341d1ad908172bb6d9b859cf739bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:961-982 | apps/bondy_oplog/src/bondy_oplog_instance.erl:5962-5986 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91db051519e4b951763d7970e9f5ace8960650a199e4e7ab5220a31d2bf35ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_router/src/bondy_oauth_token.erl:708-727 | apps/bondy_router/src/bondy_ticket.erl:620-638 \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":"apps/bondy_router/src/bondy_oauth_token.erl"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f50a8a91e40a96f729ab5ddc48a39651d1dd98186ecc81134ae5c5ab860b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): apps/bondy_mst/src/bondy_mst_ets_store.erl:216-229 | apps/bondy_mst/src/bondy_mst_map_store.erl:140-152 | apps/bondy_mst/src/bondy_mst_pack_store.erl:522-535 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 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":"apps/bondy_mst/src/bondy_mst_ets_store.erl"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5740c5db42b1eeac32b323a7a11c2fdf593c9099e9665e40ba971aab385262e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:1100-1111 | apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:1630-1639 \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":"apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3082cd31f478a109fcd36fb5796f252bb941e8ce7da09d32c63254830249a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_router/src/bondy_rbac_group.erl:223-235 | apps/bondy_router/src/bondy_rbac_user.erl:545-561 \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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"42974e66dd32ae00b6a4d4837beecfe8b278e0dd5d6e83a4490aded0b4496728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:120-127 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:139-146 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:147-154 \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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915654160277dc13fd662eeb02973f44deaf81330d1a842ed7fdb648b0643cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:553-577 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:480-496 | apps/bondy_connect_sdk/src/bondy_connect_transport_ws.erl:332-343 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6bb5fdfeb5d893d96ecba3d628d9f2c328af9701a966d48ea57bb7abed8ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_log/src/bondy_log_recovery.erl:816-826 | apps/bondy_log/src/bondy_log_recovery.erl:829-841 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_recovery.erl"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcabe72ecac5fd12230c5a4036275fdc3fe823f620d39766654a9ea826f99a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_oplog/src/bondy_oplog_applier.erl:2896-2904 | apps/bondy_oplog/src/bondy_oplog_instance.erl:1206-1214 \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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"064d4301f21afdc56ce8c390c868bf527b5369f918906e3cfad4413326c860bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_router/src/bondy_registry_meta.erl:580-595 | apps/bondy_router/src/bondy_registry_meta.erl:808-819 \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":"apps/bondy_router/src/bondy_registry_meta.erl"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02d67845a0e041410241a4d9ae9f577b89e1c3907dca81b1b08ec91a2d33ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_connect_lib/src/bondy_connect_error.erl:442-450 | apps/bondy_mst/src/bondy_mst.erl:1267-1276 \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":"apps/bondy_connect_lib/src/bondy_connect_error.erl"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384564689b69003308a1f0449a66f983e4f07c17523d8a87b731a79954ca958"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_db/src/bondy_db.erl:4072-4080 | apps/bondy_log/src/bondy_log_recovery.erl:518-539 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5b92042ab6e0b147c55ffc30fec98cb4423d0f553266522201274cf3a928c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): apps/bondy_mcp/src/bondy_mcp_sup.erl:39-54 | apps/bondy_mcp/src/bondy_mcp_sup.erl:64-79 | apps/bondy_mcp/src/bondy_mcp_sup.erl:90-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_sup.erl"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7678ed98341e4a368057da3e314c1a8cd0cf7c63cf1fc9d39ee996191488244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_mst/src/bondy_mst_store.erl:228-235 | apps/bondy_mst/src/bondy_mst_store.erl:276-287 \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":"apps/bondy_mst/src/bondy_mst_store.erl"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a62a30b0fbddb09d2c6048f36fbed186ce3f84f0a38c90cbee552536c72341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:1030-1035 | apps/bondy_router/src/bondy_registry_ptrie.erl:1168-1178 \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":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae52b11a7916e5fa26f4fd13d39f77ab456b25d1fb0fcbc663cc4d6c69e2af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_router/src/bondy_rpc_promise.erl:762-780 | apps/bondy_router/src/bondy_rpc_promise.erl:788-808 \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":"apps/bondy_router/src/bondy_rpc_promise.erl"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a49871754cc96cbc29341ab49b3d6a7ec1853869561731a14a7f15f3fcf370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:2919-2941 | apps/bondy_log/src/bondy_log_wal.erl:2962-2978 \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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"686a7b8331bb20753c15320d6b77cff9b91b2d6a8920de9c2788037db90d65db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_router/src/bondy_registry_store.erl:1526-1541 | apps/bondy_router/src/bondy_registry_store.erl:1548-1561 \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":"apps/bondy_router/src/bondy_registry_store.erl"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7ebf4619965dc262792acbcf80f91495afdf7c4f09421f6b1ae3259ea1a6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_router/src/bondy_router_utils.erl:447-456 | apps/bondy_router/src/bondy_router_utils.erl:459-469 \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":"apps/bondy_router/src/bondy_router_utils.erl"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7800ea2f5d0146d72a45133fb90d3a8d9bde9d756bafbfd363706ec34de4cfb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:279-294 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:254-268 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a1efc99ada4d2a40f84da25a81996f30e8455f0422c6c58dc74b8cc07474d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_log/src/bondy_log_reader.erl:468-478 | apps/bondy_log/src/bondy_log_reader.erl:532-543 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_reader.erl"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0c0f26235e29e9ead626009dd9e7dfb23b1a7c346f1f24488060cf09003c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_mcp/src/bondy_mcp_wamp.erl:335-341 | apps/bondy_mcp/src/bondy_mcp_wamp.erl:349-357 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_wamp.erl"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad82d456451a25fded55d1708924f046a16a5944f6a5e118113ffbe5bcc86910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_mst/src/bondy_mst.erl:1343-1353 | apps/bondy_mst/src/bondy_mst.erl:1416-1426 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a3a3553d6f45daa90ca908ae00c468af9f38905c9fe45fd25e0a2a98aa31e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_mst/src/bondy_mst_pack_writer.erl:556-572 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:1521-1542 \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":"apps/bondy_mst/src/bondy_mst_pack_writer.erl"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7afd77a6524d14530ad10b6e4b669e36eb1bb501d4ff0a5d8f1a015d30dc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_router/src/bondy_namespace_catalog.erl:976-985 | apps/bondy_router/src/bondy_namespace_catalog.erl:993-1003 \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":"apps/bondy_router/src/bondy_namespace_catalog.erl"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"b962d5c153d723bf7b205f87f4555b823cced04e25d0b3369dc83a6ac1213e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_wamp/src/bondy_wamp_cbor.erl:229-236 | apps/bondy_wamp/src/bondy_wamp_json.erl:285-295 \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":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3650070510b7d9df6a780cc09d66c7a32e552f4b3d227d2dc49b8349bd5e1384"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_max_register.erl:94-97 | apps/bondy_oplog/src/bondy_oplog_crdt_min_register.erl:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_max_register.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8eb00fd7377d6a8eaf888a66a0323d5af95fda42d78bfcb4936f3b726aba69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_router/src/bondy_rbac.erl:601-611 | apps/bondy_router/src/bondy_rbac.erl:626-635 \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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"330bf91041cb5ff32b06f29678c78ea0692e825268be6020e37d887834801aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1023-1036 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1060-1073 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc331a3027895bb93363e6fc912b4fdaee85416cba2b89fce9e1f032737d56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_raw.erl:125-136 | apps/bondy_connect_sdk/src/bondy_connect_transport_ws.erl:176-189 \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":"apps/bondy_connect_sdk/src/bondy_connect_raw.erl"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"16235b523d66d9657b5a7f71a8039cde6c9f8be95df1c1cb695f7315d9c4a71e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_log/src/bondy_log_recovery.erl:1272-1283 | apps/bondy_mst/src/bondy_mst_pack_recovery.erl:144-155 \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":"apps/bondy_log/src/bondy_log_recovery.erl"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"66222692290b46834e6cc23b82a33681287031205aff9cff76f9d7d64ef0db08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): apps/bondy_router/src/bondy_aae_reactor_sup.erl:40-62 | apps/bondy_router/src/bondy_session_manager_sup.erl:29-51 \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":"apps/bondy_router/src/bondy_aae_reactor_sup.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ec2c27ae5f133b4065308ea865689b410c1e4bfd387d8e5d8c631a3a240650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:1394-1411 | apps/bondy_router/src/bondy_registry_ptrie.erl:1463-1477 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5aafbae6a35f5bd2c4ef61d7343604ed92602c920051416f2588cdf4fbeac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): apps/bondy_router/src/bondy_registry_store.erl:1041-1046 | apps/bondy_router/src/bondy_registry_store.erl:1068-1077 | apps/bondy_router/src/bondy_registry_store.erl:1201-1210 | apps/bondy_router/src/bondy_registry_store.erl:1233-1242 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_store.erl"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7f5abffb3cb9137006b773a2945d1f91c9f4b27538d9c01e4a8d2c12698105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1159-1168 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1171-1180 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef79db90d987b1c847f19ff2e00fe6f539b7db984b16eb0e43776ab00a56df1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:1278-1295 | apps/bondy_oplog/src/bondy_oplog_applier.erl:3127-3140 \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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7e3db47abd4e251d6338d9be1efcdd46bdd6fbd10686c0eadb047c89fcc922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:499-519 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:440-452 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2183a6ca775e4c257d6db95e3d5c835caa16daf2afb914b9804cfeb2b099cfe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:841-852 | apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1257-1266 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7faf09c36e469e9cc01158b4aacd9f9479b40c08c78bc43af26917addda4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/bondy_router/src/bondy_auth_password.erl:32-46 | apps/bondy_router/src/bondy_auth_wamp_cra.erl:32-50 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth_password.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2ece93d83115476518689aae5ff4e950ecdc44984fe4d078b39cfad280b3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_wamp/src/bondy_wamp_cbor.erl:531-540 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:543-552 \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":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0974041399c2415a2a2ee795b27db7a1387d7a5af15ef15d97920bf41c98fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_dispatch.erl:321-328 | apps/bondy_connect_sdk/src/bondy_connect_dispatch.erl:408-421 \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":"apps/bondy_connect_sdk/src/bondy_connect_dispatch.erl"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bd6fe436d998a1a23160b44eb6c0703c4464e66a9be5926df2038ce1d526f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_db/src/bondy_relation.erl:396-406 | apps/bondy_db/src/bondy_relation.erl:475-485 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_relation.erl"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c81f429454b0b96667bd7976adae8bc9d6277c2a9c3a7c67b523e33ec89c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): apps/bondy_log/src/bondy_log_io.erl:106-121 | apps/bondy_mst/src/bondy_mst_io.erl:165-176 | apps/bondy_mst/src/bondy_mst_pack_seal.erl:288-304 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:889-902 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_io.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d901492e2d64a99db209f345d11a3f97e723fabc81f13487110fbf4f09cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl:192-201 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:198-209 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef29cc3d99653c814f8d62b1da6a348c792bd380c04f00a728b6009d5d2d7d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_router/src/bondy_realm.erl:1335-1344 | apps/bondy_router/src/bondy_realm.erl:1349-1355 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b0c3dbba9b876beae9ef55e9a0e89ed6d7966e86819d34b0bceb1a2ae8c59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:374-383 | apps/bondy_router/src/bondy_registry_ptrie.erl:404-411 | apps/bondy_router/src/bondy_registry_ptrie.erl:425-432 | apps/bondy_router/src/bondy_registry_ptrie.erl:444-451 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e645eb011a24914e2b8b3952f016db9d27011c810f4b4d6fdad49e9d529074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:1377-1391 | apps/bondy_router/src/bondy_registry_ptrie.erl:1449-1460 \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":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"115f545044d62c6eb0c2a198a3b4411e5c2db4ceb8cf1ce799be6cdd93ae61d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): jepsen/jepsen.bondy/src/main/java/io/leapsight/jepsen/bondy/Utils.java:398-407 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:450-458 \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":"jepsen/jepsen.bondy/src/main/java/io/leapsight/jepsen/bondy/Utils.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1aa147dbdea13a6dcd5e7f7769e985a0d0b22621dafeaf08342fd8edc257d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:333-345 | apps/bondy_log/src/bondy_log_recovery.erl:1121-1133 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af448329e0ff2242d31dc9f6215d879c1ae5aed38f85c8e6a29b9165893d4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_db/src/bondy_db_projection_leveled.erl:703-710 | apps/bondy_db/src/bondy_db_projection_leveled.erl:712-719 \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":"apps/bondy_db/src/bondy_db_projection_leveled.erl"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"54705ecfe58dd87bbaa0d5b0b85b131f30372023155f073ec838ced912576784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_router/src/bondy_oauth_refresh_token.erl:43-52 | apps/bondy_router/src/bondy_oauth_refresh_token.erl:60-70 \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":"apps/bondy_router/src/bondy_oauth_refresh_token.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d1bcee74cc4a69859d372635ffccf08cb9ebaf99b2d46475f2fe81f4dc4657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:1222-1231 | apps/bondy_oplog/src/bondy_oplog_instance.erl:1240-1257 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2404545ab0817ad1b93b6cfbd27bd2fec1fb55b51b38c696f9a21de5df59dd5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_oplog/src/bondy_oplog_origin.erl:118-131 | apps/bondy_oplog/src/bondy_oplog_origin_bans.erl:633-643 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_origin.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cca33055257b58f22b25ed332d290447a1191a559a82cf09d060bd4140bab63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_router/src/bondy_registry_meta.erl:198-205 | apps/bondy_router/src/bondy_registry_meta.erl:225-234 \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":"apps/bondy_router/src/bondy_registry_meta.erl"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f259ee50017ba1f9685f9a0f9e0044140d3fbfd5afbdfbecec05405f08feac8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1183-1192 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1195-1208 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3489a0dc7488091cffd626be23dcda7ba3cc885e049531d83d4f06c164dcc8bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_registry.erl:141-150 | apps/bondy_connect_sdk/src/bondy_connect_registry.erl:157-166 | apps/bondy_connect_sdk/src/bondy_connect_registry.erl:177-187 | apps/bondy_connect_sdk/src/bondy_connect_registry.erl:191-201 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_registry.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eee8693139c5a3bb5ce2a5a54617512059853cd2f7c3715012a7a8c7b1c023"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:1630-1642 | apps/bondy_oplog/src/bondy_oplog_instance.erl:1674-1687 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95ae8cbb064d5f8c22406eb7e6359d2bcc064f14c6a697abd4da1d49fe75165"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_router/src/bondy_bridge_relay_manager.erl:93-103 | apps/bondy_router/src/bondy_bridge_relay_manager.erl:120-131 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_manager.erl"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d58c91ae846ca3393c802a581022bafabc52da939bf18a2e5b92cec2f2759f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:1488-1501 | apps/bondy_connect_sdk/src/bondy_connect_handler.erl:125-145 \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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"351cb22b7288de9a76da6a9e37a573ed2d66c2170d739f7d1e77820815ae49ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_router/src/bondy_registry.erl:628-637 | apps/bondy_router/src/bondy_registry_partition.erl:500-509 \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":"apps/bondy_router/src/bondy_registry.erl"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"273372570f6d71ed189c549967d81b4fbbe92ae698d46d3c0e576dcb59d7c995"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connections_sup.erl:39-55 | apps/bondy_connect_sdk/src/bondy_connect_handler_sup.erl:39-53 | apps/bondy_oplog/src/bondy_oplog_instance_dyn_sup.erl:151-165 | apps/bondy_router/src/bondy_http_transport_session_sup.erl:70-85 | apps/bondy_router/src/bondy_oidc_provider_sup.erl:47-64 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_connections_sup.erl"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee696e3fed99cec22065b620856a4f61f31d9f9b8696075f583342045d18fe2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_nested_core.erl:362-368 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_nested_core.erl:152-159 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_nested_core.erl"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6c37023945c2987778c59da91499df8ea328239f9240756f3e7ea5a1f523a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_router/src/bondy_password_cra.erl:124-130 | apps/bondy_router/src/bondy_password_scram.erl:270-276 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_password_cra.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c77e7fe5663e4f369901220cba4d07274aaf6013e538fd685c433c22b3814a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:2262-2267 | apps/bondy_log/src/bondy_log_wal.erl:2273-2278 \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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad0eb7ddacef21c7ea38f762f8ce54d3469d781302d5e164318dbae0829cf3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_dispatcher.erl:231-234 | apps/bondy_oplog/src/bondy_oplog_core_dispatcher.erl:240-251 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_core_dispatcher.erl"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62c9969fdcf320b14f457f7ace89fe314f2b82407bb12fd870296fc1eb38ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_oplog/src/bondy_oplog_sync_session.erl:214-224 | apps/bondy_oplog/src/bondy_oplog_sync_session.erl:673-688 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_sync_session.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09042ac13d0de7d9f7856aaf85edce241373b4dd1d222ed2448939f02b1308b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_router/src/bondy_export.erl:493-505 | apps/bondy_router/src/bondy_ticket.erl:1109-1123 \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":"apps/bondy_router/src/bondy_export.erl"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"258fbc7335fc5bf65363cea1d1ae71b2812a78c96125279b8329d16a51e53e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:522-536 | apps/bondy_router/src/bondy_http_sse_handler.erl:380-394 | apps/bondy_router/src/bondy_oidc_handler.erl:1042-1056 \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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2125b3b7123cf741d6781c73bcb9bdf0ee77e0eec771a0d369de87ec98bfff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_router/src/bondy_registry_ptrie.erl:1544-1553 | apps/bondy_router/src/bondy_registry_ptrie.erl:1564-1573 \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":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a290b7394100083006d93aaf857df644b3bdacdb5ab6ec46bff5868461678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_registry.erl:1190-1201 | apps/bondy_oplog/src/bondy_oplog_core_registry.erl:1265-1281 \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":"apps/bondy_oplog/src/bondy_oplog_core_registry.erl"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e65f5d33f76c9b8da49e6e8efb2a4cd7240f9aeb316c01b63f570503ec065bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_oplog/src/bondy_oplog_registry.erl:422-430 | apps/bondy_oplog/src/bondy_oplog_registry.erl:445-453 \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":"apps/bondy_oplog/src/bondy_oplog_registry.erl"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3448cb5418f80925b5b8d6f1ab3e6e3d5da1b8fa3d19383150e11c1492a9ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:106-113 | apps/bondy_router/src/bondy_http_sse_handler.erl:56-61 \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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc7c72ca90c07df2f60d669a32b3520e558e5a87b4b120432de05e9891e8f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/bondy_router/src/bondy_oauth2_rest_handler.erl:295-309 | apps/bondy_router/src/bondy_wamp_protocol.erl:969-983 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth2_rest_handler.erl"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecff571550b6adc0beaa3a0304960a171dc24827a783a362717e24fbf7d720ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_observer_cli_cluster.erl:182-185 | apps/bondy_router/src/bondy_observer_cli_sync.erl:359-362 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_observer_cli_cluster.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d8d107adb9c0fce40e5704d8eaf3eadab8a5aead5bebc3f4bab93a0df527d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/bondy_router/src/bondy_cert_manager.erl:404-422 | apps/bondy_router/src/bondy_cert_manager.erl:601-619 \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":"apps/bondy_router/src/bondy_cert_manager.erl"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef2c64caf1e357ac76a70c60e28d4f9bc9c01e25711c721f7f67be2ec2798b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_router/src/bondy_export.erl:1191-1202 | apps/bondy_router/src/bondy_export.erl:1250-1261 \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":"apps/bondy_router/src/bondy_export.erl"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c163117d15ab90f9b8ee6836ec193dbdba968537ff035acbb9719a7556f13445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_log/src/bondy_log_manifest.erl:120-136 | apps/bondy_mst/src/bondy_mst_pack_manifest.erl:149-164 \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":"apps/bondy_log/src/bondy_log_manifest.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dc80a891730ff2e17c54931775678ce03e85d2cbf7fbf991c8fc8ff5bfaa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1176-1189 | apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1475-1488 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b4aff4f9e55ad0546cd19d79917e731cdc82637b7346dda6ac48795b4a063a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_metrics/src/bondy_metrics.erl:326-328 | apps/bondy_metrics/src/bondy_metrics.erl:346-348 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_metrics/src/bondy_metrics.erl"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbed535838ef7b4e5ed5eb48ab720b4912f50a5e4a1a8cc62026e2ca45a702d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_registry.erl:737-748 | apps/bondy_oplog/src/bondy_oplog_core_registry.erl:814-825 \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":"apps/bondy_oplog/src/bondy_oplog_core_registry.erl"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"270af5649ed4408ef5daa6047bf1e42edf690db0812fd51b99d98f349eb6602e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_registry.erl:1036-1046 | apps/bondy_oplog/src/bondy_oplog_core_registry.erl:1175-1183 \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":"apps/bondy_oplog/src/bondy_oplog_core_registry.erl"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4de25e8fc4d883a4733419118d43b4bcd0762e651d6cbacfb5407f1253db14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_telemetry.erl:65-76 | apps/bondy_router/src/bondy_telemetry.erl:474-485 \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":"apps/bondy_connect_sdk/src/bondy_connect_telemetry.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e769318ef6fb937f32e7c6ccc878f31e5765a25158a86dc2ceeb8b3b8581ae3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_rw_nested_core.erl:71-75 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_nested_core.erl:95-101 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_rw_nested_core.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2f10e306391dd9724507e27ddb01ade17f1127beee7ef256c3afdb0796ef30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:1088-1099 | apps/bondy_log/src/bondy_log_wal.erl:1102-1115 \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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b0f89dd1617901744374ef96fa5dcccd3cac02353ac4bf467b89cdd89edc72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:5219-5228 | apps/bondy_oplog/src/bondy_oplog_instance.erl:5274-5283 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":5219}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d29c628842983d056be180d8ae72f3c6108b3aacd4416988620ca7a8827d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/bondy_router/src/bondy_registry_rib.erl:636-649 | apps/bondy_router/src/bondy_registry_rib.erl:776-789 \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":"apps/bondy_router/src/bondy_registry_rib.erl"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e98d428618fb70d0f58d6fbebfb00276232b1cd0a8e7c5f51d6b4135f7fa1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:790-795 | apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:882-887 \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":"apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"927688ee1f0fc74b4b5cbfe43118b515615d9ce24597b5359b7039a0524b7b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1077-1081 | apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1688-1692 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c659356c0d6f09b1c8f20f768f997d623f901164a5176824896361837fe5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:1018-1034 | apps/bondy_oplog/src/bondy_oplog_instance.erl:2879-2888 \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":"apps/bondy_oplog/src/bondy_oplog_cell_apply.erl"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b97c40dbf9d9689820bfa23e39fb672e4a2f3e071d08048493847d4aedb74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_router/src/bondy_session_manager.erl:136-148 | apps/bondy_router/src/bondy_session_manager.erl:166-179 \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":"apps/bondy_router/src/bondy_session_manager.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0858f27ee9a336926dde5ad158732991501adeb62fd070893e38a83f92eeeff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): apps/bondy_wamp/src/bondy_wamp_message.erl:231-244 | apps/bondy_wamp/src/bondy_wamp_message.erl:294-304 | apps/bondy_wamp/src/bondy_wamp_message.erl:362-372 | apps/bondy_wamp/src/bondy_wamp_message.erl:431-441 | apps/bondy_wamp/src/bondy_wamp_message.erl:464-473 | apps/bondy_wamp/src/bondy_wamp_message.erl:545-555 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_message.erl"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7270f88fb5e5e875f1b1cd76d5cbd03ba0ff572f120dbfe0671dda788060a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_registry.erl:527-542 | apps/bondy_oplog/src/bondy_oplog_core_registry.erl:1146-1161 | apps/bondy_oplog/src/bondy_oplog_registry.erl:741-749 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_core_registry.erl"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"af61505efdfa5a0c9d6cd12bd35dfade3fc10d249e31cbffe518d15b2cd0ce2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_oplog/src/bondy_oplog_origin.erl:169-179 | apps/bondy_oplog/src/bondy_oplog_origin_bans.erl:708-718 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_origin.erl"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cfb1097aa21a595c3dcb39c4feded54739bec3713b1dce8b1616dc90e0c29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): apps/bondy_router/src/bondy_registry_partition.erl:223-231 | apps/bondy_router/src/bondy_registry_partition.erl:277-284 | apps/bondy_router/src/bondy_registry_partition.erl:290-298 \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":"apps/bondy_router/src/bondy_registry_partition.erl"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a30b03c8656836e569771a0a2b99152d14ffa4fdade48c763f06c6165157db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_connect_lib/src/bondy_connect_error.erl:833-843 | apps/bondy_router/src/bondy_oauth_refresh_token.erl:168-179 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_lib/src/bondy_connect_error.erl"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95dabc632dc605ef5df38749c950b692a5d9c56cc4b8cc7ea30c0daa037d05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_mcp/src/bondy_mcp_spec_parser.erl:253-258 | apps/bondy_mcp/src/bondy_mcp_upstream_sup.erl:63-74 \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":"apps/bondy_mcp/src/bondy_mcp_spec_parser.erl"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d1efd03e8affaab1976252731c825b9ffe3d76b115a4b067b3eeac730a76ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): apps/bondy_router/src/bondy_oidc_handler.erl:56-63 | apps/bondy_router/src/bondy_oidc_handler.erl:168-175 | apps/bondy_router/src/bondy_oidc_handler.erl:589-598 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"apps/bondy_router/src/bondy_oidc_handler.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c37bbc141e8f9ff5ff411c8d33c7fc07df15b364ebf64b0e3205d16876d9d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_router/src/bondy_aae_reactor_worker.erl:73-81 | apps/bondy_router/src/bondy_registry_partition.erl:511-519 \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":"apps/bondy_router/src/bondy_aae_reactor_worker.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7659e5a987b2bcacb047529e3b215e9f11925ec4c72e8250c9c017f72becfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_password_scram.erl:188-191 | apps/bondy_wamp/src/bondy_wamp_cra.erl:217-220 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_password_scram.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a156ee37348464bbc9a8e54bef2eb48071687bc2dd458056697941ec68a468d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/bondy_router/src/bondy_registry.erl:1056-1071 | apps/bondy_router/src/bondy_rpc_promise.erl:811-826 \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":"apps/bondy_router/src/bondy_registry.erl"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"705bc899bdd8a488d6f18ebf17943f50e2a0b565207497a98733016c868133a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/bondy_router/src/bondy_registry_rib.erl:344-356 | apps/bondy_router/src/bondy_registry_rib.erl:359-373 \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":"apps/bondy_router/src/bondy_registry_rib.erl"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"749a6c23f9d107c6a6fe04bdd8a5040944f60b3282bac9c1ac105d92d12df691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_router/src/bondy_registry_store.erl:1347-1355 | apps/bondy_router/src/bondy_registry_store.erl:1362-1375 \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":"apps/bondy_router/src/bondy_registry_store.erl"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7ec6a89b5c733f023c3525b54f840336966c15a43321abe73acf4c5e6302d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_oplog/src/bondy_oplog_db_overlay.erl:144-155 | apps/bondy_oplog/src/bondy_oplog_db_overlay.erl:173-181 \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":"apps/bondy_oplog/src/bondy_oplog_db_overlay.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"552cca00935e2c2dadb461b113aa22d50cc0932f36a801a25bf29309cbba411e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_http_connector/src/bondy_http_connector_auth_generic.erl:346-356 | apps/bondy_oplog/src/bondy_oplog_index_spec.erl:361-369 \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":"apps/bondy_oplog/src/bondy_oplog_index_spec.erl"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"87523c4181dac016ed516412e177809fb25b39687b4254fd2f58900c1adaa12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_oplog/src/bondy_oplog_instance.erl:5493-5507 | apps/bondy_oplog/src/bondy_oplog_high_water.erl:112-122 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":5493}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf6171f65779d52c8e0a4e53f07eb72f4ca1c69530a36481509cc281e46c78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_mcp/src/bondy_mcp_gateway.erl:184-188 | apps/bondy_router/src/bondy_interface.erl:271-275 \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":"apps/bondy_mcp/src/bondy_mcp_gateway.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a8623c7ad86de89e517096d921e3061190fafd05272fcafc2d22a752f230b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/bondy_mcp/src/bondy_mcp_gateway.erl:386-396 | apps/bondy_mcp/src/bondy_mcp_handshake.erl:700-712 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_gateway.erl"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f9afc21e832f007d46e01dafa40952969229309ae83fa3a18d62333f30856d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_mcp/src/bondy_mcp_stream.erl:382-388 | apps/bondy_router/src/bondy_wamp_meta_api.erl:295-301 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_stream.erl"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa59dc53dad9f35f6f52296267082c3999752f17a1aedfcc458b086121c54317"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_mcp/src/bondy_mcp_spec.erl:204-209 | apps/bondy_mcp/src/bondy_mcp_upstream.erl:161-166 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_spec.erl"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0619cf5e3bae393e8c39c2c63b70525ee0fbdc9bda40fbeebdb2f715c3c069ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/bondy_oplog/src/bondy_oplog_peer_state.erl:331-343 | apps/bondy_oplog/src/bondy_oplog_quarantine.erl:189-198 \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":"apps/bondy_oplog/src/bondy_oplog_peer_state.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4aaf65b94faab1a3b9486e183a97238790c1370d43e28ed7b326b65943596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_router/src/bondy_oauth2_client.erl:115-120 | apps/bondy_router/src/bondy_oauth2_resource_owner.erl:107-112 \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":"apps/bondy_router/src/bondy_oauth2_client.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a830216371f33fd1f661f559c9f1728f429acaafd8d6bc64a636e04360ffcaab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:482-484 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:425-427 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab62a59b6e86d2cb77202cc2279ca76bca948f61ba0bc2a01cbd3260a4fc59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_mst/src/bondy_mst_pack_seal.erl:176-184 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:1668-1673 \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":"apps/bondy_mst/src/bondy_mst_pack_seal.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687dfe842a641f8d24ec720b461009a4d11fee5f30d0606c13dddc036b806c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_max_register.erl:139-142 | apps/bondy_oplog/src/bondy_oplog_crdt_min_register.erl:140-143 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_max_register.erl"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d50df8a2b29f5a74c850f1336e2a8ec5c61fa6acac44feb073c3224fe4943fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_router/src/bondy_rbac.erl:1627-1633 | apps/bondy_router/src/bondy_rbac_source.erl:286-293 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"52800a6b8bb48d1d58ca4bc32c707fbcc001d856047e8b2634546a2671323e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_auth.erl:132-138 | apps/bondy_connect_sdk/src/bondy_connect_session.erl:92-98 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_auth.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90bc20e652d7b42a0ac3bbe21a63406bf21e2cb2bc475e106efab8c25d6bc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl:184-186 | apps/bondy_oplog/src/bondy_oplog_crdt_g_set.erl:141-143 | apps/bondy_oplog/src/bondy_oplog_crdt_owned_reading.erl:198-200 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:190-192 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 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":"apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6be31e15b42a51320f0089c9584dc4bbcb4064a2c6ac97f0dff98fc002bed21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:116-123 | apps/bondy_router/src/bondy_http_sse_handler.erl:64-71 \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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"957c853d04ec3f0c49a882ee71821e3d422e874971c8fd7ad0c2422452aa49fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:258-265 | apps/bondy_router/src/bondy_http_sse_handler.erl:199-206 \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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ce7c1d561e82ed84ca4b2a44d5f3c16dd49a1dfb0b576cb3c1eee842c75733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_router/src/bondy_http_longpoll_handler.erl:388-395 | apps/bondy_router/src/bondy_http_sse_handler.erl:269-276 \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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80e6276d0f7884eb66f9e971917fad59e7eccfbd2fc203b233d74e891114981"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_events.erl:163-165 | apps/bondy_oplog/src/bondy_oplog_core_registry.erl:689-700 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_core_events.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"47621458739c04fbcd8ae85e1dc2c223b18819b852324bac4a1b01af403f6c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_router/src/bondy_reclaimer.erl:126-137 | apps/bondy_router/src/bondy_system_gc.erl:62-70 \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":"apps/bondy_router/src/bondy_reclaimer.erl"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8f75f8fd8753259065104d4bfb01dd932e9d62767696d4903710f7d89a67d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/bondy_mail/src/bondy_mail_worker_sup.erl:64-72 | apps/bondy_oplog/src/bondy_oplog_instance.erl:587-595 \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":"apps/bondy_mail/src/bondy_mail_worker_sup.erl"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b91afa16b2bc4c2e714a5b49cee21952bae499ca880f658c1bdcac952b03ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_mcp/src/bondy_mcp_gateway.erl:354-356 | apps/bondy_router/src/bondy_http_gateway.erl:515-517 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_gateway.erl"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d23ab8238ebda3f493323fd707c46e925fc21e525ea95fd6f5611d40463f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:496-498 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:371-373 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:314-319 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_set.erl:237-239 | apps/bondy_oplog/src/bondy_oplog_crdt_struct.erl:483-489 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0853df5183440638b93d44c61e1d93c80816d15b8b56b3b8c501cb1c35b104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:134-136 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:153-155 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:161-163 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"852a9d7d612313832f9831c5c31bb72fa71d3f407bfb8435010b07fe71718d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/bondy_broker_bridge/src/bondy_aws_sns_bridge.erl:70-77 | apps/bondy_broker_bridge/src/bondy_kafka_bridge.erl:375-384 \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":"apps/bondy_broker_bridge/src/bondy_aws_sns_bridge.erl"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a14ef8bb054057275e0bf15fb593e5809583a452af187fc2cc89992d0198df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_metrics/src/bondy_metrics.erl:566-570 | apps/bondy_router/src/bondy_aae_reactor.erl:182-186 \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":"apps/bondy_metrics/src/bondy_metrics.erl"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"a541cec8c4bcc598ebf559e3791e21226853f0b8db564c9eb92e94af0e2f971e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_dealer.erl:504-508 | apps/bondy_router/src/bondy_registry.erl:196-199 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc73d0dfcc7d1c1d0e4167aaf5caa4198be44dfc41274d397ccfc34b891b822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_event_manager.erl:146-149 | apps/bondy_router/src/bondy_wamp_event_manager.erl:74-77 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_event_manager.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc47ef4a5eae1ea911005ddcda14efc68941d3a2df7bde52e1faf21bf0727666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_oauth_token.erl:1366-1369 | apps/bondy_router/src/bondy_ticket.erl:1247-1250 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth_token.erl"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"337df64a214a7cfcae67b56e9d16ab8e77d0bd8fc2e960cccdc3b21fc5b3e6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): apps/bondy_http_connector/src/bondy_http_connector_token_cache_sup.erl:64-72 | apps/bondy_router/src/bondy_jobs_sup.erl:32-42 | apps/bondy_router/src/bondy_oidc_refresh_sup.erl:47-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_jobs_sup.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"86294a80a8877febf2d29bfb8cbd49e048b9eb56e48ae496d079cb1bb6ab42b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_router/src/bondy_bridge_relay.erl:693-695 | apps/bondy_router/src/bondy_interface.erl:280-282 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay.erl"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e42e69089ea66d47134c5ae80b95779c317e7d8eef60dca62cdd1a008ea2a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:2021-2027 | apps/bondy_router/src/bondy_wamp_api_utils.erl:350-356 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f35c2c04df6c42999b40f5139307d495400bacd2511a563aa1a48a7cd8a5d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_db/src/bondy_db.erl:2344-2348 | apps/bondy_router/src/bondy_aae_reactor.erl:700-706 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7864b4d9e20ca810757490c74b1428b68a4ea8a4e48a52439a4e0aebc67b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_connect_lib/src/bondy_connect_error.erl:1096-1097 | apps/bondy_mcp/src/bondy_mcp_wamp.erl:550-557 \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":"apps/bondy_connect_lib/src/bondy_connect_error.erl"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0a5e894415d30530f3044fc39d52343c3438615cae059d76c090f91a51d098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:487-488 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:430-431 \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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b76579a08702e5065ee7871ecf879bd24cc337ace5662c87a02b8f1dbd0b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_db/src/bondy_db_topology_memory_owner.erl:105-112 | apps/bondy_log/src/bondy_log_wal.erl:483-489 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_db/src/bondy_db_topology_memory_owner.erl"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1c3240ea23e1d0f40e78d1c58e13cdecb6a36084af021a9be8722af36664da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_max_register.erl:146-149 | apps/bondy_oplog/src/bondy_oplog_crdt_min_register.erl:147-150 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_max_register.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e80ef72fd3ba65deac1faa80235cb1dd5ac40c59329ba20fe235f3273e10c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_admin_cluster_topology_http_handler.erl:21-24 | apps/bondy_router/src/bondy_http_verify_handler.erl:127-130 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_admin_cluster_topology_http_handler.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4b3df14814944486a5d142027c32d069979418c4c32c2f172cc1cd67f79d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:116-118 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:135-137 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:143-145 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ac36dab2eb2062ff3fb6f9458ce0914c52459d38fcc2e57c0af7a3eb251ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl:144-145 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:133-134 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3f1357207e10dc131b1d2ad6ac4760c414b6591ee388b1bee32fa9a6dc67e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_router/src/bondy_broker.erl:176-178 | apps/bondy_router/src/bondy_router_peer.erl:468-476 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_broker.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10a87c0529092b2c45a98a67a82d47de0f0bffb4151a003b7db75729303820f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/bondy_router/src/bondy_rbac.erl:1643-1648 | apps/bondy_router/src/bondy_rbac_source.erl:618-623 \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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe76bedf1efb2cf648007157cec54c502216fdc817c7c2e322aa9b77ecab11ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl:385-388 | apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl:1829-1834 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c59b03e019ce633e7f82d4144aecf696f0d123785a6cc9de760c5af62e6648"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:524-527 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:455-458 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a78cc68b62a4ed32c218215238ade88f0db50576b675914a0b1a3f227b2cea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_http_connector/src/bondy_http_connector_callee_handler.erl:390-400 | apps/bondy_router/src/bondy_oidc_provider.erl:211-215 \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":"apps/bondy_router/src/bondy_oidc_provider.erl"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c6399f3e0611ba1a93f60543e63d803f39b72ad5085f44ecaea811faac557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_oplog/src/bondy_oplog_applier.erl:2926-2931 | apps/bondy_oplog/src/bondy_oplog_instance.erl:4060-4063 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"212cc4ea868efbb54969c6039d3fa4f1bdf57ffd23eca2f454bafd626b6e43c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_aae_reactor.erl:543-546 | apps/bondy_router/src/bondy_rbac_user.erl:1844-1847 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_aae_reactor.erl"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2406d22218755258c1f293d9f4769e84fb1cb608b1c8530c1f6e059e77c7123"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_aae_reactor.erl:549-552 | apps/bondy_router/src/bondy_rbac_user.erl:1850-1853 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_aae_reactor.erl"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c03a60493186829598a2862468c5b8f137582a6a47444b1dd2f3b85bc8684e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_db/src/bondy_db_projection_leveled.erl:800-801 | apps/bondy_oplog/src/bondy_oplog_cell_frame.erl:219-223 \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":"apps/bondy_db/src/bondy_db_projection_leveled.erl"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1620fab611e52a98d5751421e61fc10c0f27270c70451b54da3bc59affd3a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_log/src/bondy_log_manifest.erl:368-371 | apps/bondy_mst/src/bondy_mst_pack_manifest.erl:445-446 \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":"apps/bondy_log/src/bondy_log_manifest.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6dbff525fd6cb3384caf9f770bc0968e67b0707a9a4c95f142a8cf099895e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_mst/src/bondy_mst_pack_manifest.erl:434-438 | apps/bondy_mst/src/bondy_mst_pack_store.erl:905-909 \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":"apps/bondy_mst/src/bondy_mst_pack_manifest.erl"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"de05b516218f2922b3eca349cc483e1bf7b6d50de8a2a44c907eca0db35b1cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:365-368 | apps/bondy_oplog/src/bondy_oplog_instance.erl:580-583 | apps/bondy_oplog/src/bondy_oplog_wal_mem.erl:148-149 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36e594905bc641843ac6f8e2ea4526cbfeb2740932c38f47807f88a85a8b98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_mcp/src/bondy_mcp_sup.erl:107-109 | apps/bondy_oplog/src/bondy_oplog_secondary_sup.erl:76-82 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_sup.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5839e1a1684d174d333c8ca883caf3c058ca4e6e121d2c5cac818092a529b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_router/src/bondy_rbac_group.erl:322-326 | apps/bondy_router/src/bondy_rbac_user.erl:1194-1204 \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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f649af5474bf9753e1d47744fe0f73769ca5366744fffa15fa76b90ca93537a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_router/src/bondy_rbac_user.erl:843-849 | apps/bondy_router/src/bondy_session.erl:719-725 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_user.erl"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fa3a922ffc7860f06f1ca555b082d1d9e148affe331a9346db5bf1835e5ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_connect_lib/src/bondy_connect_table_manager.erl:153-157 | apps/bondy_metrics/src/bondy_metrics.erl:610-614 \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":"apps/bondy_connect_lib/src/bondy_connect_table_manager.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada9a025f7ee4a06ffab397eabcffdb47fa6923ed0c030433a326c484edb28ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/bondy_mst/src/bondy_mst_map_store.erl:78-94 | apps/bondy_mst/src/bondy_mst_pack_store.erl:360-381 \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":"apps/bondy_mst/src/bondy_mst_map_store.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dad6bc92ce0bd44fb66ad52264f2d5b3c9ceafcab6045c8df99bdbafd46d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_router/src/bondy_rbac_group.erl:659-662 | apps/bondy_router/src/bondy_rbac_user.erl:1360-1363 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9536323e0feaa68906262c370a7a9151963daa78683e26cda5149cb109b12760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_db/src/bondy_db.erl:2399-2405 | apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:1460-1464 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4105b0ed633aa7a1b5168918aa44314a786d7206ee9d7c309d9c8444ae4f2d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): apps/bondy_log/src/bondy_log_io.erl:127-131 | apps/bondy_log/src/bondy_log_recovery.erl:202-206 | apps/bondy_oplog/src/bondy_oplog_bootstrap_lifecycle.erl:261-265 \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":"apps/bondy_log/src/bondy_log_io.erl"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"06809e93a8a434fbf049f8c7ca4ba6681ae8d4ffb78ed030e01bda392a358a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:269-272 | apps/bondy_oplog/src/bondy_oplog_latency.erl:263-266 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_core_metrics.erl"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac6325bf470d24add317874bff22a38f9b14a5553286274aa1a1b0fd7ab394"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_router/src/bondy_oauth_token.erl:1372-1373 | apps/bondy_router/src/bondy_ticket.erl:1253-1254 \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":"apps/bondy_router/src/bondy_oauth_token.erl"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cbcefc157ce85f0deccba4a40999503b31bb360b5e37d9fedb4a681f2a7be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_router/src/bondy_rbac.erl:1654-1656 | apps/bondy_router/src/bondy_rbac_source.erl:632-635 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b891df78f38a9ba419d8f06d0aeca55ff78d457bd1a790f9b7553d03352844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:791-794 | apps/bondy_oplog/src/bondy_oplog_instance.erl:2398-2401 | apps/bondy_oplog/src/bondy_oplog_wal_mem.erl:222-223 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f1885423c9115593e42afd888d03acf6ad69e04774c95a885519e08e2b1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_log/src/bondy_log_wal.erl:827-830 | apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:199-200 \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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c68a370aae0a9c43ddec18507d5a19931c280df8be9d3dbf1cbf444e35fa2db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_mst/src/bondy_mst_crdt.erl:719-724 | apps/bondy_mst/src/bondy_mst_exchange.erl:476-477 \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":"apps/bondy_mst/src/bondy_mst_crdt.erl"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"16785dc00e5e5ad0910651dc0e8e1f4eea1294f7c2d3a0f6817e5b5933b1f591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_oplog/src/bondy_oplog_applier.erl:906-907 | apps/bondy_oplog/src/bondy_oplog_instance.erl:1700-1701 \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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa41bd398362b6606de0cf2e6d178e4e12f357a4f8694d9bb7557ba7b4381c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl:405-410 | apps/bondy_oplog/src/bondy_oplog_peer_state.erl:311-315 \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":"apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e148742985ac309e0b1582c7dd690bcc997f2883c4987d8c255d169d185a58eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl:438-443 | apps/bondy_oplog/src/bondy_oplog_responder.erl:422-427 | apps/bondy_router/src/bondy_oidc_refresh_worker.erl:143-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7930dd3f3c9893ef4e906b60f6fd79a4bc9c2ab55f02778b4295a389bea09345"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_g_set.erl:149-151 | apps/bondy_oplog/src/bondy_oplog_crdt_two_p_set.erl:177-179 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_g_set.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd7feb7fe20ecc7eda8672526d1efbdcaabaf4b088a5e77d66d7a2ad86b4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/bondy_router/src/bondy_oauth2_client.erl:82-84 | apps/bondy_router/src/bondy_oauth2_resource_owner.erl:60-64 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth2_client.erl"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01685579af4c292e386298b5e3e294269829f234560c76033281e356e592ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/bondy_router/src/bondy_rbac_group.erl:767-774 | apps/bondy_router/src/bondy_rbac_user.erl:2138-2144 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff4aee75e7818840cdbf3df5cf67a14728966b299b58c7ba4e32ed1c32b2d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/bondy_log/src/bondy_log_manifest.erl:296-299 | apps/bondy_mst/src/bondy_mst_pack_manifest.erl:399-400 \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":"apps/bondy_log/src/bondy_log_manifest.erl"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98a062d2ed0266b374620184383b71432ea66fb1c8a586e5b3e3a74656cd198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/bondy_oplog/src/bondy_oplog_crdt_aw_core.erl:87-91 | apps/bondy_oplog/src/bondy_oplog_ctx_guard.erl:209-213 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_core.erl"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"017fcb3af376701ab32db3e2d44b40f74a960773e5eea5156e85afa8e2ed8978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201349 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:209-255 | apps/bondy_router/src/bondy_http_sse_handler.erl:148-196 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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 \u0060apps/bondy_router/src/bondy_http_sse_handler.erl:148\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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c143c6142e8899aee1e02248766333a41aa08dd92cfa12551d2114cea9dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201343 lines \u00D7 3): apps/bondy_router/src/bondy_bridge_relay_server.erl:1098-1129 | apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:791-833 | apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:707-738 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl:1098\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bd6d0e0a0765286ae7823315a225d602ca02965b2f6cf1d85cf481ba04cd0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:104-140 | apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl:131-167 \u2014 before extracting anything, compare \u0060apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl\u0060 and \u0060apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 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 \u0060apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:104\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":"apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9cd666b4d802d0f08c2ed027e8c44302b4dcdbc80fb7d27f034dd703da9001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201335 lines \u00D7 2): apps/bondy_router/src/bondy_rbac.erl:1124-1154 | apps/bondy_router/src/bondy_rbac.erl:1234-1268 \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 \u0060apps/bondy_router/src/bondy_rbac.erl:1124\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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eb30bffddd8d496afc47dc2b7e136fb9c178ef171b56048050a9050d24b7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 3): apps/bondy_router/src/bondy_http_longpoll_handler.erl:471-501 | apps/bondy_router/src/bondy_http_sse_handler.erl:347-377 | apps/bondy_router/src/bondy_http_sse_stream_handler.erl:184-213 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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 \u0060apps/bondy_router/src/bondy_http_sse_handler.erl:347\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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"195ddd85f5321451605992b1a270865dad5ccfad236b392691e9bcbf5193728e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): apps/bondy_router/src/bondy_jobs_sup.erl:56-79 | apps/bondy_router/src/bondy_oidc_refresh_sup.erl:72-99 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_jobs_sup.erl\u0060 and \u0060apps/bondy_router/src/bondy_oidc_refresh_sup.erl\u0060 as WHOLE FILES: this scan already matched 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_jobs_sup.erl:56\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":"apps/bondy_router/src/bondy_jobs_sup.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a93c20930d3d52e7cebc4441d2e1a1b157a84ef0f7a8680b452d2d96c5d3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): apps/bondy_router/src/bondy_rpc_promise.erl:141-167 | apps/bondy_router/src/bondy_rpc_promise.erl:218-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/bondy_router/src/bondy_rpc_promise.erl:245\u0060 calls \u0060session_id\u0060 and \u0060apps/bondy_router/src/bondy_rpc_promise.erl:169\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":"apps/bondy_router/src/bondy_rpc_promise.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1968676109ff39338a5579ab8e579872cbdc54101f3cc9807809a08a64ab90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201326 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:310-326 | apps/bondy_router/src/bondy_http_sse_handler.erl:239-264 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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 \u0060apps/bondy_router/src/bondy_http_sse_handler.erl:239\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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8100811a8056f39f670f7acd9d0849cbc2308710c9ac4c5ac9fb1944107052d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:167-191 | apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl:194-218 \u2014 before extracting anything, compare \u0060apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl\u0060 and \u0060apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 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 \u0060apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:167\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":"apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1456f314b59eb096276f2f8de4a5292bdd238f4c2b4e265b8ec553bbbe5b2d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:688-711 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:745-768 \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 \u0060apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:688\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":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cfc98491b81ea0a0f933cfc63502714b7a7638a76f1f569ef93dfd03e88b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 2): apps/bondy_router/src/bondy_registry_ptrie.erl:741-764 | apps/bondy_router/src/bondy_registry_ptrie.erl:847-864 \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 \u0060apps/bondy_router/src/bondy_registry_ptrie.erl:741\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":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"c836c363991dafc980bd9e9158e452ef8e9728d0e504c325aa833b665991a140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): apps/bondy_router/src/bondy_aae_reactor_sup.erl:84-106 | apps/bondy_router/src/bondy_jobs_sup.erl:61-83 | apps/bondy_router/src/bondy_oidc_refresh_sup.erl:81-103 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_jobs_sup.erl\u0060 and \u0060apps/bondy_router/src/bondy_oidc_refresh_sup.erl\u0060 as WHOLE FILES: this scan already matched 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_aae_reactor_sup.erl:84\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":"apps/bondy_router/src/bondy_aae_reactor_sup.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e2220730ca3cdca4438fdb8a8127684b4ac0b31dfb0d7ec17d6984d61d742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:229-250 | apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl:254-275 \u2014 before extracting anything, compare \u0060apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl\u0060 and \u0060apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 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":"apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e08aae5ed9168c28adf5e27f0e9b1288b192e27f8bf0df662043f2e8787041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:1678-1696 | apps/bondy_oplog/src/bondy_oplog_instance.erl:3438-3458 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl:3438\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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d590ec548a5559ded59ac806cda3d6528b16d509b1b87d45b82818aff104b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:227-247 | apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:964-982 \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":"apps/bondy_oplog/src/bondy_oplog_cell_apply.erl"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d652a3f1a8ebec6892379359ed7e614715af73e31b3f38d4ace531aaf95e2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:1050-1070 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:1120-1140 \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":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"2030faa91673e23b73b2cc73b2ea3d8e18f0f2aed835c335f7d41fae49b20822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_connection.erl:511-530 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:544-560 \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 \u0060apps/bondy_connect_sdk/src/bondy_connect_connection.erl:511\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":"apps/bondy_connect_sdk/src/bondy_connect_connection.erl"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"db937d487b5b946ec21bb3a893e85cbda910c916fbbb15a638f1b3de4512db08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:450-469 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:396-414 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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 \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:450\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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"670953adf55e293fd71e13e1c96561b70827b517b28e89ff16c6d7dd0590a510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:1097-1115 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:1157-1176 \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":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"120fb36d96bcf76b3013adaa17894893a9ba65ba3e6d821497e9ada21be722c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): apps/bondy_router/src/bondy_rbac.erl:1604-1623 | apps/bondy_router/src/bondy_rbac_source.erl:305-324 \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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbbe0da18ba93ec9fca8e998d05c8946f73a5ff89ad1bf77560dd029b8c1f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:836-855 | apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:741-760 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:741\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":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e7f167e90b4d62ead0b26f737ae875925fd4607cefe102c5c55f4bb0536244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): apps/bondy_router/src/bondy_aae_reactor_sup.erl:92-110 | apps/bondy_router/src/bondy_jobs_sup.erl:69-87 | apps/bondy_router/src/bondy_oidc_refresh_sup.erl:89-107 | apps/bondy_router/src/bondy_registry_sup.erl:82-100 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_jobs_sup.erl\u0060 and \u0060apps/bondy_router/src/bondy_oidc_refresh_sup.erl\u0060 as WHOLE FILES: this scan already matched 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_aae_reactor_sup.erl:92\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":"apps/bondy_router/src/bondy_aae_reactor_sup.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3283cd985793088fa546e7d849e5e7fdadadd334fbe7063e2327b69e11db122c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): apps/bondy_router/src/bondy_bridge_relay_client.erl:528-546 | apps/bondy_router/src/bondy_bridge_relay_server.erl:491-507 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl\u0060 and \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl:528\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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c4ee01f43b4085b1b9758127ee1880e84d05f1d70c75ddbcad3b8b4b806f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:266-283 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:691-708 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:748-765 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:266\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":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"650f36df580981316950673937841b5b8710f03a1e423973862c23961c110584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): apps/bondy_db/src/bondy_db.erl:887-904 | apps/bondy_db/src/bondy_db.erl:959-972 \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 \u0060apps/bondy_db/src/bondy_db.erl:887\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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae10d56140f3d48ca9f366f3e0158a25f1224561224a145153c79ce323d48919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): apps/bondy_router/src/bondy_bridge_relay_server.erl:612-629 | apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:413-430 \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 \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl:612\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":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e40abac17325bbd940d242bc49b05a87f585c87d890d4cdd452e55676a4a463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:450-467 | apps/bondy_router/src/bondy_http_sse_handler.erl:326-343 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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 \u0060apps/bondy_router/src/bondy_http_sse_handler.erl:326\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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057f8300321cd664d282e8659f889d0826453ce2801ae0b9431df556ac51727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): apps/bondy_router/src/bondy_registry_ptrie.erl:1043-1054 | apps/bondy_router/src/bondy_registry_ptrie.erl:1116-1132 \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 \u0060apps/bondy_router/src/bondy_registry_ptrie.erl:1043\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"18599eb03fcd9148d016b713fdf86a4a86e6624b98e85087a821b3046df37f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): apps/bondy_connect_sdk/src/bondy_connect_telemetry.erl:93-108 | apps/bondy_mcp/src/bondy_mcp_wamp.erl:130-145 | apps/bondy_router/src/bondy_telemetry.erl:604-619 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_sdk/src/bondy_connect_telemetry.erl"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f688403651935a717526efd7a7b20f64f7904b5da8068574ffa549746f2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): apps/bondy_router/src/bondy_http_longpoll_handler.erl:281-296 | apps/bondy_router/src/bondy_http_longpoll_handler.erl:340-355 | apps/bondy_router/src/bondy_http_sse_handler.erl:222-237 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"483c4fbf70fce0e958f0d8d2733a1cf6378af3f3227f8577a80040f71600c97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:410-425 | apps/bondy_router/src/bondy_http_sse_handler.erl:291-305 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fb1d445e1a5c6a1d4ae70f58693c78aaf8ac38bc4a57c634309e57c58a1674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:410-424 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:268-282 | apps/bondy_oplog/src/bondy_oplog_crdt_ew_flag.erl:171-185 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:231-245 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71201d0128358448ac5cd0ffaaaffe340e652d15175449522546cc0efaf49bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): apps/bondy_db/src/bondy_db_topology_per_entity.erl:94-108 | apps/bondy_db/src/bondy_db_topology_shared_shards.erl:108-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note 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":"apps/bondy_db/src/bondy_db_topology_per_entity.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd49e1f806cb0bb779931324c436de14223e77d213cd825a382742ec10711a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201315 lines \u00D7 2): apps/bondy_log/src/bondy_log_wal.erl:1707-1721 | apps/bondy_log/src/bondy_log_wal.erl:1762-1770 \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":"apps/bondy_log/src/bondy_log_wal.erl"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f10c22c2f2b775ae2895b9135f707cd8eaa740ffd85e989ee86a4fe8b43012a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): apps/bondy_router/src/bondy_rbac.erl:450-462 | apps/bondy_router/src/bondy_rbac.erl:1376-1390 \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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"908c4e104f8609a4e3e549bca3fdeeee220d7ccb8a713d7b1206a15398b4369f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_group.erl:829-842 | apps/bondy_router/src/bondy_rbac_user.erl:1912-1926 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_rbac_group.erl\u0060 and \u0060apps/bondy_router/src/bondy_rbac_user.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 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 \u0060apps/bondy_router/src/bondy_rbac_group.erl:829\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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"304ffe03915cf820a5276c8f6dbe46817d4ac15d47c9f894a9fa7dbdcba489f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): apps/bondy_router/src/bondy_router_peer.erl:279-291 | apps/bondy_router/src/bondy_router_peer.erl:302-316 \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":"apps/bondy_router/src/bondy_router_peer.erl"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f36d48540b0ae07ff578c2d616b3d310016f626791015cd88dfdd3360443c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl:63-77 | apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl:169-183 \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 \u0060apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl:63\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, \u0060apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl:61\u0060 calls \u0060collect_bondy_metrics_families\u0060 and \u0060apps/bondy_telemetry_exporter/src/bondy_prometheus_db.erl:167\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":"apps/bondy_telemetry_exporter/src/bondy_prometheus_collector.erl"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee4cdb833db8d12a65d69081e730e87c5426eec35b72f7e65ff87b7713a8bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl:143-156 | apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl:170-183 \u2014 before extracting anything, compare \u0060apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl\u0060 and \u0060apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 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":"apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7135d90cde04c6c9601f9a64c7483ef2646d4d4966b116a6e2a47744136c8274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:322-335 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:293-304 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f63b4af25a52f9ebcbe51f7c716785a203a633b53c23dc2937b82a6f520fae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:530-543 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:461-474 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc24780f90318384d501fddb5d84745caf6ec290fd4074301a2e89b55521547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/bondy_log/src/bondy_log_io.erl:108-121 | apps/bondy_mst/src/bondy_mst_pack_seal.erl:291-304 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_io.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ba7ce2d88fb8def8b4589ad709208c06e5cffa4389ed5e4b5b4924a57dc664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/bondy_mst/src/bondy_mst.erl:2540-2553 | apps/bondy_mst/src/bondy_mst.erl:2585-2598 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca0999a852dbcb480736212799cfbd6efb01a9b5f98b75cd1f7a0c461c83c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): apps/bondy_mst/src/bondy_mst_pack_writer.erl:1026-1036 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:1139-1152 \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 \u0060apps/bondy_mst/src/bondy_mst_pack_writer.erl:1026\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/src/bondy_mst_pack_writer.erl"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04df9d2fb89643584c0b2cf4684e10f361a2ca08d3ce7e441f5d6f9f08dcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201314 lines \u00D7 4): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:322-331 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:182-195 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:156-159 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_set.erl:140-142 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:331\u0060 calls \u0060max\u0060, \u0060key_hlc\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_rw_set.erl:142\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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1a5ac6b470d7fbec6383a1d13c0263ef3f4f388244a9c597bd1fe129065ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:1350-1363 | apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:1405-1415 \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 \u0060apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:1350\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":"apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8578ed0666e3b8654de2f652ad2f6029da2b59859bf0e292d628f78b6b0defcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/bondy_router/src/bondy_auth.erl:894-907 | apps/bondy_router/src/bondy_auth.erl:925-938 \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 \u0060apps/bondy_router/src/bondy_auth.erl:894\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":"apps/bondy_router/src/bondy_auth.erl"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c701335b83c6545d270e7f358319dd11d64271e9ae30e914ea5ac8a55325b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 3): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:101-110 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:115-127 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:117-126 \u2014 before extracting anything, compare \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl\u0060 and \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a4ceed4b4a58c1e4f05379fad64aec2e09714a8ba5f5981558f625bf046b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_instance.erl:2959-2971 | apps/bondy_oplog/src/bondy_oplog_instance.erl:2979-2991 \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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8979d741490339fd458ee69a1518441bf017834d6ff43b154c641e9725c7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): apps/mops/src/mops.erl:709-719 | apps/mops/src/mops.erl:728-740 \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":"apps/mops/src/mops.erl"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c9f2dbad685039cbfb71e37027decc41b830aaf577a5f33eac882d847f25a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:32-44 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:36-48 \u2014 before extracting anything, compare \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl\u0060 and \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"330414ac7d7d3fea958e2e6e949953e2d97baaab57cbb9b75319f81bc58cf8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): apps/bondy_router/src/bondy_http_longpoll_handler.erl:49-59 | apps/bondy_router/src/bondy_http_sse_handler.erl:32-43 | apps/bondy_router/src/bondy_oidc_handler.erl:31-41 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d82cb589c5f1bcc82ad688981ab3ad36d0d32182a78fe23850166823d67f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): apps/bondy_router/src/bondy_http_longpoll_handler.erl:525-536 | apps/bondy_router/src/bondy_http_sse_handler.erl:383-394 | apps/bondy_router/src/bondy_oidc_handler.erl:1045-1056 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1b4a2217f11bea6bea134d0fe1f4c9a3e74ed782ba8baf151af91c071af1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:508-519 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:441-452 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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 \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:508\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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd7db7ca20a840ca70665ec28b961b266ee75c7c187f98d587627adcfb9a151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:1807-1818 | apps/bondy_oplog/src/bondy_oplog_instance.erl:3762-3773 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl:1807\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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"beddce20b9e793666f12118aa27e01fafa3b67756454cd46405ccddeda72b1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_instance.erl:964-977 | apps/bondy_oplog/src/bondy_oplog_instance.erl:5972-5983 \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 \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl:964\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":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead2ed4ab778dd7ca618187604812560b56ac7a3a9a7c42941f61371cb61d2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:351-362 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:669-680 \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":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e8889bf48dd6589ba55e83714c5062546013c919f877899708c9f46f48a001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/bondy_router/src/bondy_realm.erl:3277-3288 | apps/bondy_router/src/bondy_realm.erl:3313-3324 \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 \u0060apps/bondy_router/src/bondy_realm.erl:3277\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":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":3277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a35bb90350fff7fac8c12f0b2e467041f9f87440965ecae577d97af98e47aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:301-311 | apps/bondy_oplog/src/bondy_oplog_latency.erl:311-319 \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 \u0060apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:301\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":"apps/bondy_oplog/src/bondy_oplog_core_metrics.erl"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1971edc3fecc3b742f845a0ba3b0cc804d46b4e9f072797981c284da556cd585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/bondy_router/src/bondy_dealer.erl:1588-1598 | apps/bondy_router/src/bondy_dealer.erl:1627-1637 \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":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b63270ba7f98c7c9d12b767eab94092d557485ba7510ed1f46a0fc3150520a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/bondy_router/src/bondy_oidc_handler.erl:72-82 | apps/bondy_router/src/bondy_oidc_handler.erl:305-315 \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":"apps/bondy_router/src/bondy_oidc_handler.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"defd142a151d73e4ea2abbd53cc0f3d5e915c00878ace5a8d65985ea3a23414b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): apps/bondy_mst/src/bondy_mst_ets_store.erl:217-226 | apps/bondy_mst/src/bondy_mst_map_store.erl:141-150 | apps/bondy_mst/src/bondy_mst_pack_store.erl:523-532 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_mst/src/bondy_mst_ets_store.erl:217\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/bondy_mst/src/bondy_mst_ets_store.erl:227\u0060 calls \u0060insert\u0060 and \u0060apps/bondy_mst/src/bondy_mst_map_store.erl:151\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":"apps/bondy_mst/src/bondy_mst_ets_store.erl"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac14e1d363d6a5204ada63b69bb2c9f5931966627e8effe85f6584da4317da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:465-474 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:348-357 | apps/bondy_oplog/src/bondy_oplog_crdt_struct.erl:459-468 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18c04c01f7e338f277162f8d89148b736bcf1f0860d2e22188f62680b687d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): apps/bondy_db/src/bondy_db.erl:2121-2128 | apps/bondy_db/src/bondy_db.erl:2158-2167 \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 \u0060apps/bondy_db/src/bondy_db.erl:2121\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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f1f2a4abfeb51fc7e495ef1a3dbe36b43020c6dc6bb9abc4610e077458ea31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/bondy_db/src/bondy_db_projection_leveled.erl:752-765 | apps/bondy_db/src/bondy_db_projection_leveled.erl:772-785 \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":"apps/bondy_db/src/bondy_db_projection_leveled.erl"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdaebcbf51b56392d7412fcc00d58b13acba8cfddd33ba06f6376aa45c5065e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): apps/bondy_mcp/src/bondy_mcp_client.erl:243-252 | apps/bondy_mcp/src/bondy_mcp_client.erl:269-275 \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":"apps/bondy_mcp/src/bondy_mcp_client.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d636d21afa2044c47986a7871578205c62126463773c4892d3eef2def2f2fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/bondy_mst/src/bondy_mst.erl:1128-1137 | apps/bondy_mst/src/bondy_mst.erl:1175-1184 \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 \u0060apps/bondy_mst/src/bondy_mst.erl:1128\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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b214257d8ddacddf98ccbfc54895533876f06544e6bdfbc8924b47ea9e5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/bondy_router/src/bondy_bridge_relay_client.erl:1026-1035 | apps/bondy_router/src/bondy_bridge_relay_server.erl:1152-1161 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl\u0060 and \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl:1026\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecb71e70785bfc6415cc0356c9fd8df0b7b9bfeb6bf15b971134a6234215626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:462-471 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:408-416 | apps/bondy_connect_sdk/src/bondy_connect_transport_ws.erl:296-305 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab37899790a0d28911d250ed845f71537b68ce8624d2c4ddb6c7806bdf121393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_db/src/bondy_db.erl:4193-4201 | apps/bondy_db/src/bondy_db.erl:4207-4215 \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 \u0060apps/bondy_db/src/bondy_db.erl:4193\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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":4193}}}],"partialFingerprints":{"codehealthFindingId/v1":"558223756649d721ee43dea146a00199c398fefb7249a483e7c60f67ea922697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_mst/src/bondy_mst_ets_store.erl:268-276 | apps/bondy_mst/src/bondy_mst_map_store.erl:184-192 \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":"apps/bondy_mst/src/bondy_mst_ets_store.erl"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef38805b8faa2cedac3376373b614d833ac70757a135e77a3ee2cf814adf984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:2973-2981 | apps/bondy_oplog/src/bondy_oplog_instance.erl:4081-4089 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl:2973\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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"1560ac3056d41059b8d519cc5f7b3c6fb27561d991ebc655e4aebc31e02d5923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:531-539 | apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:791-799 \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 \u0060apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:531\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":"apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8ddd3ece0f3a222f1add57271da829ee9b3fb3339d028e5eea20a044253b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_router/src/bondy_rbac.erl:1659-1667 | apps/bondy_router/src/bondy_rbac_source.erl:638-646 \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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5adc63eee0f394cd6353bad8b98da904a97af94f75c6d4c6f008cb9a2e5f37c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_router/src/bondy_router_worker.erl:147-155 | apps/bondy_router/src/bondy_router_worker.erl:202-210 \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":"apps/bondy_router/src/bondy_router_worker.erl"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b90e9a3307b19b74d784a9a27830bf8605399635e0f336bf818b63e612082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): apps/bondy_wamp/src/bondy_wamp_cbor.erl:388-395 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:397-404 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:406-413 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:415-422 | apps/bondy_wamp/src/bondy_wamp_cbor.erl:423-431 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_wamp/src/bondy_wamp_cbor.erl:388\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":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1445e5a212c116996f438eee72a4e45ae6b4e9c7e088bf663cc14e3950f1a3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): apps/bondy_router/src/bondy_rbac_api.erl:42-49 | apps/bondy_router/src/bondy_rbac_api.erl:74-81 | apps/bondy_router/src/bondy_rbac_api.erl:126-133 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_rbac_api.erl:42\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":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf2e03099f1b4ecf548380bda90719e97ee7923f0f321f39f18b9fdf860a0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_config.erl:156-164 | apps/bondy_connect_sdk/src/bondy_connect_connection.erl:2152-2159 \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":"apps/bondy_connect_sdk/src/bondy_connect_config.erl"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be5888e65ba5b8f0b77545a9d42cb7036004f6bb4369011773e6ddf8817862b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_db/src/bondy_db.erl:1686-1693 | apps/bondy_db/src/bondy_db.erl:1921-1928 \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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce0239b60e5fd6a911c55b53bd198d6ce3d2e57e8f4e916c5d94fc502cadda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): apps/bondy_mst/src/bondy_mst_pack_store.erl:663-670 | apps/bondy_mst/src/bondy_mst_pack_store.erl:809-814 \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 \u0060apps/bondy_mst/src/bondy_mst_pack_store.erl:809\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":"apps/bondy_mst/src/bondy_mst_pack_store.erl"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbdffc8c26ce2925164a67700ffded45bfb834b47a8dfd2a17f23c19bc5a511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:2172-2179 | apps/bondy_oplog/src/bondy_oplog_instance.erl:4215-4222 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9686d567a9092ac07265c92cde672e7dce72edb074634cc12d245ba21e4774a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:2897-2904 | apps/bondy_oplog/src/bondy_oplog_instance.erl:1207-1214 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59c665196dd6751593031190c61b191f80bbf9f606c280f21ae4113758645d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_g_set.erl:153-160 | apps/bondy_oplog/src/bondy_oplog_crdt_two_p_set.erl:181-188 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_g_set.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c218b7d28ed54cf29d1ca4a02e685caabebef7b083a91e27d1cde0c20e3285cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_oauth2_api.erl:39-46 | apps/bondy_router/src/bondy_oauth2_api.erl:60-67 \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 \u0060apps/bondy_router/src/bondy_oauth2_api.erl:39\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":"apps/bondy_router/src/bondy_oauth2_api.erl"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97c3374ac8eea3559b6b190251490a3a1587eb912aba1b2f44f9d3975d652dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_oauth2_api.erl:84-91 | apps/bondy_router/src/bondy_oauth2_api.erl:105-112 \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 \u0060apps/bondy_router/src/bondy_oauth2_api.erl:84\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":"apps/bondy_router/src/bondy_oauth2_api.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec81462f793f393ef7e4fe5d79256508e3e7c35c76d905a889f5335d3e99a53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_api.erl:232-239 | apps/bondy_router/src/bondy_rbac_api.erl:272-279 \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 \u0060apps/bondy_router/src/bondy_rbac_api.erl:232\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":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6ee6d3afd35f59680bb8f143ea0fe56540dca8fadb29c25fdf756efb6be478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_registry_ptrie.erl:1052-1059 | apps/bondy_router/src/bondy_registry_ptrie.erl:1065-1072 \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 \u0060apps/bondy_router/src/bondy_registry_ptrie.erl:1052\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":"apps/bondy_router/src/bondy_registry_ptrie.erl"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d7ba89347e2796650b2aae756dbfe90f855681031afa706f8577bc6d1f165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): apps/bondy_router/src/bondy_rbac_api.erl:150-156 | apps/bondy_router/src/bondy_rbac_api.erl:161-167 | apps/bondy_router/src/bondy_rbac_api.erl:172-178 | apps/bondy_router/src/bondy_rbac_api.erl:183-189 | apps/bondy_router/src/bondy_rbac_api.erl:196-202 | apps/bondy_router/src/bondy_rbac_api.erl:209-215 | apps/bondy_router/src/bondy_rbac_api.erl:284-290 | apps/bondy_router/src/bondy_rbac_api.erl:295-301 | apps/bondy_router/src/bondy_rbac_api.erl:308-314 | apps/bondy_router/src/bondy_rbac_api.erl:321-327 | apps/bondy_router/src/bondy_rbac_api.erl:379-385 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_rbac_api.erl:150\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":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7bc6e34f3f599710651bcf1d5cdd9b71b7b480bb58517f6c7d7ff6503a3e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:321-326 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:181-187 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:149-154 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:321\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"426b0a32d2ccc0ce2b09708a0040d38d73c38493d34c67b717536d376bbf0a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:354-360 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:672-678 | apps/bondy_router/src/bondy_http_gateway_rest_handler.erl:728-734 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1724901b4a4f69bd0931236e4ddb9d8257ca8e29c34c523d49c5f65889edc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): apps/bondy_router/src/bondy_oauth2_api.erl:50-56 | apps/bondy_router/src/bondy_oauth2_api.erl:95-101 | apps/bondy_router/src/bondy_rbac_api.erl:244-250 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_oauth2_api.erl:50\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":"apps/bondy_router/src/bondy_oauth2_api.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dea41d1f0ee3d10061e5419e81c18caf8737d387b77826d0b1d2871ada0ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:173-179 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:151-157 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf94705d91c9e6fc024ebd3e08bc7fa9b377355183f14e0e17e7b39ebd8999d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_db/src/bondy_db.erl:1993-1999 | apps/bondy_db/src/bondy_db.erl:2057-2063 \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 \u0060apps/bondy_db/src/bondy_db.erl:1993\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":"apps/bondy_db/src/bondy_db.erl"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20453b79bfa392d5460fa929e39ed9254b87f56b8ac7b0d1bf05eec6d4b45cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1522-1528 | apps/bondy_mcp/src/bondy_mcp_stream.erl:395-400 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a45b4848205328b17663a2c9595ff3d535ec714911db6d08665c7228d87e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_mcp/src/bondy_mcp_wamp_api.erl:100-106 | apps/bondy_router/src/bondy_interface_api.erl:56-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_mcp/src/bondy_mcp_wamp_api.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":"apps/bondy_mcp/src/bondy_mcp_wamp_api.erl"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a775af06d6c05fc8ea28b49d5003a396223d0c3a65d550e30098a3edb13e523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:2181-2187 | apps/bondy_oplog/src/bondy_oplog_instance.erl:4224-4230 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2945bd1c31d2c3e7e065b4842f95b5f5c10387e8ba806de174c2054b6cde260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:542-548 | apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:807-813 \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 \u0060apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:542\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb6a41119575153757ef5f2ef4381930de2b5a125fbdfd1bcafe1978d77b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_router/src/bondy_cert_manager_wamp_api.erl:62-68 | apps/bondy_router/src/bondy_cert_manager_wamp_api.erl:81-87 \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 \u0060apps/bondy_router/src/bondy_cert_manager_wamp_api.erl:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_cert_manager_wamp_api.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a42fc0be0ad3e25c65567abf3640d321b43a68206213958c2eace545fdba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): apps/bondy_router/src/bondy_oauth2_api.erl:41-46 | apps/bondy_router/src/bondy_oauth2_api.erl:62-67 | apps/bondy_router/src/bondy_oauth2_api.erl:86-91 | apps/bondy_router/src/bondy_oauth2_api.erl:107-112 | apps/bondy_router/src/bondy_rbac_api.erl:44-49 | apps/bondy_router/src/bondy_rbac_api.erl:76-81 | apps/bondy_router/src/bondy_rbac_api.erl:128-133 | apps/bondy_router/src/bondy_rbac_api.erl:234-239 | apps/bondy_router/src/bondy_rbac_api.erl:274-279 | apps/bondy_router/src/bondy_rbac_api.erl:369-374 \u2014 there are 10 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_oauth2_api.erl:41\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":"apps/bondy_router/src/bondy_oauth2_api.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d210cc3a6c711ac51603e701228921404a89ed58d21d2dca05891b89a5fc1471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:50-55 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:34-39 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:54-59 \u2014 before extracting anything, compare \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl\u0060 and \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3331af66e92b784676ae6ddb853fe376d84a325c8ec76598e0a3de4a3e5067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_mst/src/bondy_mst.erl:1587-1592 | apps/bondy_mst/src/bondy_mst.erl:1605-1610 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be2969e1c12accad4d0aa01b1da7ce2f2b084b153236396b225c25edf7285de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_mst/src/bondy_mst.erl:2477-2482 | apps/bondy_mst/src/bondy_mst.erl:2492-2497 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b83f7da4428ff2424f6a75c284ec17343f99cd7c0947844e10882c849f81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:293-299 | apps/bondy_oplog/src/bondy_oplog_latency.erl:303-309 \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 \u0060apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:293\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":"apps/bondy_oplog/src/bondy_oplog_core_metrics.erl"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"840057bf08f9895c6b418593e0db0f8c94ac1a097b4d441efdb9c69b01ffdbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:488-493 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:363-368 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadf0ded150203539b8cf273ddeaa3e30cebeffe9c0a01b50a9b9880882f8a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:257-262 | apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:591-596 \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 \u0060apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:257\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, \u0060apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:589\u0060 calls \u0060handle_call\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl:255\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":"apps/bondy_oplog/src/bondy_oplog_gc_scheduler.erl"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac035110ed2358d12bae1672f46ba3484f663bf4a27da25d7e048047f1b34d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_group.erl:848-853 | apps/bondy_router/src/bondy_rbac_user.erl:1940-1945 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_rbac_group.erl\u0060 and \u0060apps/bondy_router/src/bondy_rbac_user.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 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 \u0060apps/bondy_router/src/bondy_rbac_group.erl:848\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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"10616957e567417dce51f3a038a8f4be617e8ef8cf031e5d4c9bbdc83d85fff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_user.erl:1728-1734 | apps/bondy_router/src/bondy_rbac_user.erl:1755-1760 \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":"apps/bondy_router/src/bondy_rbac_user.erl"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e7f4eaae1f6a58c6fa234d3f665f478044cc266a41492f08881725602f7560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_mst/src/bondy_mst_pack_recovery.erl:253-257 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:1248-1252 \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 \u0060apps/bondy_mst/src/bondy_mst_pack_recovery.erl:253\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":"apps/bondy_mst/src/bondy_mst_pack_recovery.erl"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea960d3554eeb515bb7affb41755756bd5d35af6412d7ff49034ea99be12cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:152-158 | apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:873-879 \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":"apps/bondy_oplog/src/bondy_oplog_cell_apply.erl"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0393fecd84658ed36fa15c02100a316fe4f31de3538fb2ed8c2c05c0125ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl:333-337 | apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl:197-204 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_crdt_aw_set.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_crdt_aw_map.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"062c4e35d8e98800d0b23b200994faca14a8dedf1f99b4d0ec6593fa3f701878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:75-79 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:98-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d0244e894153d44e5171b2f9fb0939ecbfdc18c857ca8357cfef68650dc249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:154-160 | apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl:134-138 \u2014 before extracting anything, compare \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl\u0060 and \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_sse.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 84 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 \u0060apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl:154\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":"apps/bondy_connect_sdk/src/bondy_connect_transport_longpoll.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"59edb1a5c5aca7a30320dc77af23b489e91bfef2b11ff1b85507d0c529219906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_http_connector/src/bondy_http_connector_config.erl:53-59 | apps/bondy_wamp/src/bondy_wamp_config.erl:44-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_config.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b414dcc670ce3fde6c61adb12a361c7e528be66e532e673cb295ffd2913363d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_log/src/bondy_log_manifest.erl:355-359 | apps/bondy_log/src/bondy_log_state.erl:380-384 \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":"apps/bondy_log/src/bondy_log_manifest.erl"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cc9bddc2d1d8c948b697f936aa9506c6b12ecb8a3e2ce4d82dccdba6f623d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_log/src/bondy_log_scrubber.erl:147-155 | apps/bondy_oplog/src/bondy_oplog_applier.erl:501-509 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_log/src/bondy_log_scrubber.erl:147\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":"apps/bondy_log/src/bondy_log_scrubber.erl"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a242b145b01910718167ecd14c7955161fe8d3a5936e630323fb1cbe74ac2d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_log/src/bondy_log_scrubber.erl:159-165 | apps/bondy_oplog/src/bondy_oplog_applier.erl:513-519 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_log/src/bondy_log_scrubber.erl"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"085312da35480a582f653572c70df64fc946d37bc3070093204bf68081c92cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_log/src/bondy_log_scrubber.erl:211-215 | apps/bondy_router/src/bondy_reclaimer.erl:153-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_log/src/bondy_log_scrubber.erl:211\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":"apps/bondy_log/src/bondy_log_scrubber.erl"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8da5adc99c59bf9ce27c695c8ae5f3ed1501232ca3e5b75e22fe0c599831708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_mail/src/bondy_mail_status.erl:434-440 | apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:170-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_mail/src/bondy_mail_status.erl:434\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":"apps/bondy_mail/src/bondy_mail_status.erl"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac07b0ccd1c70530561789d659e3f1a1aacec094bfc98106e210bc050466d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): apps/bondy_metrics/src/bondy_metrics.erl:178-186 | apps/bondy_oplog/src/bondy_oplog_core_dispatcher.erl:145-153 | apps/bondy_oplog/src/bondy_oplog_core_events.erl:105-113 | apps/bondy_oplog/src/bondy_oplog_core_registry.erl:427-435 | apps/bondy_oplog/src/bondy_oplog_index_rebuild.erl:125-133 | apps/bondy_oplog/src/bondy_oplog_instance_keeper.erl:93-101 | apps/bondy_oplog/src/bondy_oplog_origin_bans.erl:148-156 | apps/bondy_oplog/src/bondy_oplog_origin_retirement.erl:215-223 | apps/bondy_oplog/src/bondy_oplog_quarantine.erl:97-105 | apps/bondy_oplog/src/bondy_oplog_registry.erl:311-319 | apps/bondy_oplog/src/bondy_oplog_responder.erl:157-165 | apps/bondy_router/src/bondy_registry_meta.erl:388-396 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 12 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 12 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_metrics/src/bondy_metrics.erl:178\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, \u0060apps/bondy_metrics/src/bondy_metrics.erl:188\u0060 calls \u0060start_link\u0060, \u0060pid\u0060, \u0060term\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_core_dispatcher.erl:155\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":"apps/bondy_metrics/src/bondy_metrics.erl"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b772902135d92748e5b75908f9515d7679003577b336adb6ea6d6d0ebd08c281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_applier.erl:841-846 | apps/bondy_oplog/src/bondy_oplog_instance.erl:1715-1720 \u2014 before extracting anything, compare \u0060apps/bondy_oplog/src/bondy_oplog_applier.erl\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_instance.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"39956899dc529c2f7c7bdbecaa828924deb49f2c1e40aafa05da5c64aaa36958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl:167-175 | apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:127-135 | apps/bondy_oplog/src/bondy_oplog_latency.erl:126-134 | apps/bondy_oplog/src/bondy_oplog_peer_state.erl:129-137 | apps/bondy_oplog/src/bondy_oplog_sync_scheduler.erl:418-426 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl:165\u0060 calls \u0060child_spec\u0060 and \u0060apps/bondy_oplog/src/bondy_oplog_core_metrics.erl:125\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":"apps/bondy_oplog/src/bondy_oplog_catalogue_cursor.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1394bddf654881d4deff3e5e6950d711f10ff178268969b06c4249c39029b332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_cell_apply.erl:1549-1554 | apps/bondy_oplog/src/bondy_oplog_secondary_writer.erl:655-660 \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":"apps/bondy_oplog/src/bondy_oplog_cell_apply.erl"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46630020861112eda78ad8bb5959c28145046a9ae72c87cf39944a19f9fb246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_owned_reading.erl:167-173 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:159-165 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_owned_reading.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4218e9d4059196dc6f23a78f8986d66f3cc6af076f1380eddfac94e56cbe3c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl:306-311 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_set.erl:229-234 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_rw_map.erl"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c6901825a4db13147ade29bce11c8165faced0195a420b8edcfece51516e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_rw_nested_core.erl:145-149 | apps/bondy_oplog/src/bondy_oplog_crdt_rw_set.erl:219-223 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_rw_nested_core.erl"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dd9e8f0037a7e8a4a0b3bde9be9fa1aebbcd4bf186ed81743fcd47da563d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): apps/bondy_regulator/src/bondy_regulator_load.erl:175-181 | apps/bondy_regulator/src/bondy_regulator_memory.erl:244-250 | apps/bondy_router/src/bondy_aae_reactor_worker.erl:65-71 | apps/bondy_router/src/bondy_reclaimer.erl:118-124 | apps/bondy_router/src/bondy_retained_message_manager.erl:234-240 | apps/bondy_router/src/bondy_router_worker.erl:317-323 | apps/bondy_router/src/bondy_system_gc.erl:54-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_regulator/src/bondy_regulator_load.erl:175\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, \u0060apps/bondy_router/src/bondy_aae_reactor_worker.erl:73\u0060 calls \u0060handle_cast\u0060, \u0060safe_react\u0060 and \u0060apps/bondy_regulator/src/bondy_regulator_load.erl:183\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":"apps/bondy_router/src/bondy_aae_reactor_worker.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"827e88f56e8bff3be587a155c80032f7cba7961595f7ffa6c2eec1e57679d91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_router/src/bondy_auth_oauth2.erl:33-42 | apps/bondy_router/src/bondy_auth_ticket.erl:32-40 \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":"apps/bondy_router/src/bondy_auth_oauth2.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"102cddc7e503e17b404f820d47187c91db5b0ea1bc5da3d7c80c139b6d0a04da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_bridge_relay_client.erl:1006-1011 | apps/bondy_router/src/bondy_bridge_relay_server.erl:1132-1137 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl\u0060 and \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl:1006\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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac556762da87db434d7ead089a852b5faee12a89bb2fa2d443ea9e8caf795b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_bridge_relay_client.erl:1014-1019 | apps/bondy_router/src/bondy_bridge_relay_server.erl:1140-1145 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl\u0060 and \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl:1014\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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"585c5d50564939d84dff6409118255fafe018498404c91605cfcc8796c3c8a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_bridge_relay_client.erl:1071-1076 | apps/bondy_router/src/bondy_bridge_relay_server.erl:1205-1210 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl\u0060 and \u0060apps/bondy_router/src/bondy_bridge_relay_server.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060apps/bondy_router/src/bondy_bridge_relay_client.erl:1071\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":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe53fa75ab5becf9a7b4daba21832ef14f8e6d27cde2c86301a06f7429e0031f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_broker.erl:1076-1081 | apps/bondy_router/src/bondy_dealer.erl:1486-1491 \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":"apps/bondy_router/src/bondy_broker.erl"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"544de8f1c6de6ccdb8457076a300ce65be143b8076466f400694f1b324604986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_event_logger.erl:40-45 | apps/bondy_router/src/bondy_event_wamp_publisher.erl:75-80 \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 \u0060apps/bondy_router/src/bondy_event_logger.erl:40\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":"apps/bondy_router/src/bondy_event_logger.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1e884380d6c87ffd3a3c1c3c0dd35b40947523bdd75df3a1f62f24cb872966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:126-135 | apps/bondy_router/src/bondy_http_sse_handler.erl:74-83 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb45506fadbb465baa0da4a823b43f90a4ea93b6efb763563b61a369a68640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:180-188 | apps/bondy_router/src/bondy_http_sse_handler.erl:123-131 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc79f65b9309d58f23fdbd85917439ce9213b60ba6ad08ab25b9636fad8304e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:268-277 | apps/bondy_router/src/bondy_http_sse_handler.erl:209-218 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f787cfe565291a07cb758183e5a6e5b85edbb4fe2139e23a152c3608ad795bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/bondy_router/src/bondy_http_longpoll_handler.erl:398-407 | apps/bondy_router/src/bondy_http_sse_handler.erl:279-288 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_http_longpoll_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_http_sse_handler.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 219 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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8065548c6fe56dd1e9bd1b9f98eeded08585da683805b7e02d2483a09a66b241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_router/src/bondy_http_transport_queue_manager.erl:69-75 | apps/bondy_router/src/bondy_rpc_promise_manager.erl:54-60 \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 \u0060apps/bondy_router/src/bondy_http_transport_queue_manager.erl:69\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":"apps/bondy_router/src/bondy_http_transport_queue_manager.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f5d31a116f34d1976c24f7e1791c64234e242d1d40b8b4df32f143418e08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): apps/bondy_router/src/bondy_jobs_worker.erl:126-134 | apps/bondy_router/src/bondy_registry.erl:672-680 | apps/bondy_router/src/bondy_retained_message_manager.erl:256-264 | apps/bondy_router/src/bondy_router_worker.erl:389-397 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_jobs_worker.erl"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c119ed4d57f564cf133540ecd690ef97e0168f75326bd075064f5026b2cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_router/src/bondy_oauth_token.erl:1359-1363 | apps/bondy_router/src/bondy_ticket.erl:1240-1244 \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":"apps/bondy_router/src/bondy_oauth_token.erl"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2220e12020e0939d8d3dd4032c91d0ecd07ba4bc1c9999f5050f350861422db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_group.erl:667-671 | apps/bondy_router/src/bondy_rbac_user.erl:1665-1669 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_rbac_group.erl\u0060 and \u0060apps/bondy_router/src/bondy_rbac_user.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ccf6a0bf6bce603fc7d5a1d2b3256f85fefa5fb3d7e57e48822e4389d00449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:858-862 | apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:776-780 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:776\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":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"9156bf3a2dc990301684fd1185148ea3cabcf280c85009f51b62b7e9f6081580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_db/src/bondy_db_sup.erl:31-39 | apps/bondy_mst/src/bondy_mst_sup.erl:29-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_db/src/bondy_db_sup.erl:31\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":"apps/bondy_db/src/bondy_db_sup.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa4f329ea125ee1f4671279db3bb3a408996183baeb52dd96f240b740ded129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/bondy_http_connector/src/bondy_http_connector_callee_sup.erl:54-65 | apps/bondy_router/src/bondy_subscribers_sup.erl:51-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_http_connector/src/bondy_http_connector_callee_sup.erl:54\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":"apps/bondy_router/src/bondy_subscribers_sup.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40deba67a81e8eeb54d7be7fcb598a625c871b99568af5f3c530c4bde858a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_mcp/src/bondy_mcp_http_handler.erl:1167-1173 | apps/bondy_mcp/src/bondy_mcp_stream.erl:373-379 \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":"apps/bondy_mcp/src/bondy_mcp_http_handler.erl"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7211cd383997c28a151695a9a83427883c3805c91a4dbe981ddf823ca635756f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/bondy_mst/src/bondy_mst.erl:368-374 | apps/bondy_mst/src/bondy_mst_pack_store.erl:344-356 \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 \u0060apps/bondy_mst/src/bondy_mst.erl:368\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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c126a564ae96040f1fcc22f1ac6c056019a0a2bba5582bb86befa63d5e5db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_mst/src/bondy_mst_pack_store.erl:1133-1138 | apps/bondy_mst/src/bondy_mst_pack_writer.erl:1509-1514 \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":"apps/bondy_mst/src/bondy_mst_pack_store.erl"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67b307bea9f41d4504fbc764f5f317da3776b08a98366c211ab8018a1698cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/bondy_router/src/bondy_broker.erl:134-143 | apps/bondy_router/src/bondy_dealer.erl:357-366 \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":"apps/bondy_router/src/bondy_broker.erl"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"746bbfd7b1aa475409f4046b569bbb44225124fcd8e40c35f359e0eef92b6e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_group.erl:636-641 | apps/bondy_router/src/bondy_rbac_user.erl:1333-1338 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_rbac_group.erl\u0060 and \u0060apps/bondy_router/src/bondy_rbac_user.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 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 \u0060apps/bondy_router/src/bondy_rbac_group.erl:636\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060apps/bondy_router/src/bondy_rbac_group.erl:633\u0060 calls \u0060page\u0060, \u0060stream\u0060 and \u0060apps/bondy_router/src/bondy_rbac_user.erl:1332\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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1c68468b2f5ec98de6b704239f4c7ecc5b80342b12059fafe4647304ac5418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_router/src/bondy_wamp_api.erl:81-85 | apps/bondy_router/src/bondy_wamp_meta_api.erl:64-68 \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 \u0060apps/bondy_router/src/bondy_wamp_api.erl:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_wamp_api.erl"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"367db888b56c7896dbc5fe2ac855a3e0581c3e43227813239289f0641aed3986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl:911-918 | apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:766-773 \u2014 before extracting anything, compare \u0060apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl\u0060 and \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl:766\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":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d293c12234423a8254d66be46eb7e6a71f3f98fd6e4c075130194ec29d33aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): apps/bondy_router/src/bondy_rbac.erl:919-938 | apps/bondy_router/src/bondy_rbac.erl:943-962 \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 \u0060apps/bondy_router/src/bondy_rbac.erl:919\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":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"144f8b5e0cb99cc208a27d6da286d93fef510e437dfac503a042f95394adc275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/bondy_router/src/bondy_task_catalogue.erl:175-192 | apps/bondy_router/src/bondy_task_catalogue.erl:203-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_router/src/bondy_task_catalogue.erl:175\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_task_catalogue.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13d0debe7531584d145ee4b3ac033f30adadfce772603c19d78a4fcccd2f2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): apps/bondy_router/src/bondy_task_catalogue.erl:296-312 | apps/bondy_router/src/bondy_task_catalogue.erl:322-338 \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 \u0060apps/bondy_router/src/bondy_task_catalogue.erl:296\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_task_catalogue.erl"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"447f395f9dcacaaa239200fd7e42145dd9872cb52ef220d62e96a16f12ab4946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/bondy_wamp/src/bondy_wamp_json.erl:370-380 | apps/bondy_wamp/src/bondy_wamp_json.erl:387-398 \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 \u0060apps/bondy_wamp/src/bondy_wamp_json.erl:370\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_json.erl"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceca71ae3e77f3d5730c07adb549dd3c5319640922509da508d3b8dfe0a2456b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_password.erl:298-307 | apps/bondy_router/src/bondy_password.erl:312-319 \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 \u0060apps/bondy_router/src/bondy_password.erl:298\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":"apps/bondy_router/src/bondy_password.erl"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1bfd7f6f6142ff3e264ffc93dd8aa45034c032c6e8944a825146ead7afd305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/bondy_router/src/bondy_rbac_api.erl:54-61 | apps/bondy_router/src/bondy_realm_api.erl:50-57 \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 \u0060apps/bondy_router/src/bondy_rbac_api.erl:54\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":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe62654e00232018bbb105c79eaaf0f6e67299ad515e3e391e05a93bbf017f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:120-126 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:139-145 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:147-153 \u2014 before extracting anything, compare \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl\u0060 and \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"494556669ce66ba53667789bd0b55cd8c58ed6ab30119b0ce25733cae5f645bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/mops/src/mops.erl:592-597 | apps/mops/src/mops.erl:608-613 \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":"apps/mops/src/mops.erl"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"380157f769ce933157d3e9ebbdc51a9153591efdab69d397e615dcb5c9921267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl:33-37 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl:17-21 | jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_set.erl:37-41 \u2014 before extracting anything, compare \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl\u0060 and \u0060jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_handler.erl\u0060 as WHOLE FILES: this scan already matched 4 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":"jepsen/bondy_mst_jepsen/src/bondy_mst_jepsen_http_counter.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef48c07413e1118ba66f9e8bbe7fcae5b256d11c55cecd4c21f643a3d335eb1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_broker_bridge/src/channel_handler/email_adapter_mailgun2.erl:101-105 | apps/bondy_broker_bridge/src/channel_handler/email_adapter_sendgrid.erl:121-125 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_broker_bridge/src/channel_handler/email_adapter_mailgun2.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceeb7398f529223d9ed4aee2fcd3784baebe24a26b6152010d57180708a1999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_mst/src/bondy_mst.erl:2085-2089 | apps/bondy_mst/src/bondy_mst.erl:2092-2096 \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":"apps/bondy_mst/src/bondy_mst.erl"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f123cbc507b4385c692510e55651cfc7db9b33930d502fba493503b554892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl:176-180 | apps/bondy_oplog/src/bondy_oplog_crdt_pn_counter.erl:182-186 \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":"apps/bondy_oplog/src/bondy_oplog_crdt_g_counter.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a233b57fa74024a67df34dafff7eeafca9b426b589a0756a8937bcbdc3c36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:280-301 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:307-328 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:358-379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:280\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd7a29370621a42a0a85529f6da235f2bf4267c8d2a7ab074adcdaed54e9cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:333-344 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:384-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b38aa41efca6231b05860578d915229c3e7cfc8104d6dbf8879a5062df2dc72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:277-285 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:408-416 \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 \u0060jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:277\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":"jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce25f47133240d9474d5a814f812c84c921d22de9c16d0082614bb3cef61a084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:279-286 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:306-313 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:357-364 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:410-417 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:279\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":"jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2163c66ab602ae8e15e51d28d6976bd384f18b15c3e68da229c003f34b610df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jepsen/jepsen.bondy/src/main/java/io/leapsight/jepsen/bondy/Utils.java:389-396 | jepsen/jepsen.bondymst/src/main/java/io/leapsight/jepsen/Utils.java:207-214 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jepsen/jepsen.bondy/src/main/java/io/leapsight/jepsen/bondy/Utils.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c1ae45c01ce08d2e8bac3fefd50d4b2bbdb580d2d0c33ced99f0d9a50b275a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): bench/lib/bench/concurrency.ex:116-200 | bench/lib/bench/e2e.ex:50-268 \u2014 These two members are variants of one another: 45 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":"bench/lib/bench/concurrency.ex"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5286f3707f160b00eae656ec22e875ce068d61124b1f702729f0ebe6e6c1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bench/lib/bench/projection_leveled.ex:175-182 | bench/lib/bench/projection_leveled.ex:186-193 \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":"bench/lib/bench/projection_leveled.ex"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"106a15dcef075c971a604d8a1c174a491e5d523ad9631a4b842d065b54d626c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): apps/bondy_mcp/src/bondy_mcp_spec.erl:282-290 | apps/bondy_mcp/src/bondy_mcp_spec.erl:312-321 \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 \u0060apps/bondy_mcp/src/bondy_mcp_spec.erl:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/src/bondy_mcp_spec.erl"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a727e9370e2692bafc207b610862a290b7ed8c2a933c8654061a361b76ee8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/bondy_mcp/src/bondy_mcp_spec.erl:291-299 | apps/bondy_mcp/src/bondy_mcp_spec.erl:342-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/bondy_mcp/src/bondy_mcp_spec.erl:291\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":"apps/bondy_mcp/src/bondy_mcp_spec.erl"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"327f89ada338a783eac957e1fe2da30e1e2365ccb87d05649f82382e6a09cdb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): bench/lib/bench/concurrency.ex:204-222 | bench/lib/bench/e2e.ex:370-387 \u2014 before extracting anything, compare \u0060bench/lib/bench/concurrency.ex\u0060 and \u0060bench/lib/bench/e2e.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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":"bench/lib/bench/concurrency.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3af6e6c87eb10dc7f542ada2af8929960bef557eb3400382b88864dbde41d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): bench/lib/bench/concurrency.ex:129-145 | bench/lib/bench/e2e.ex:93-106 \u2014 before extracting anything, compare \u0060bench/lib/bench/concurrency.ex\u0060 and \u0060bench/lib/bench/e2e.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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":"bench/lib/bench/concurrency.ex"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2255bb5185f0868e7b38c47d5c03db3f37ebe467af9328ff92585c3a7f4b79a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): bench/lib/bench/concurrency.ex:147-162 | bench/lib/bench/e2e.ex:139-152 \u2014 before extracting anything, compare \u0060bench/lib/bench/concurrency.ex\u0060 and \u0060bench/lib/bench/e2e.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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":"bench/lib/bench/concurrency.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb31a91d7a559914cbf46ca2adb75492f9d102e1f20cc91e5b84ada302a6cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): bench/lib/bench/concurrency.ex:242-257 | bench/lib/bench/e2e.ex:459-473 \u2014 before extracting anything, compare \u0060bench/lib/bench/concurrency.ex\u0060 and \u0060bench/lib/bench/e2e.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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":"bench/lib/bench/concurrency.ex"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc52ae31bbc8b9f44037a5dd33e96cd07e73ce48a79a1bfa9f1560bd2584875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bench/lib/bench/concurrency.ex:167-176 | bench/lib/bench/e2e.ex:164-173 \u2014 before extracting anything, compare \u0060bench/lib/bench/concurrency.ex\u0060 and \u0060bench/lib/bench/e2e.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060bench/lib/bench/concurrency.ex:167\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":"bench/lib/bench/concurrency.ex"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b0cb4e61f1612c1f7931bfab69d54bfff2f491f28f51a5b729d12c6e44388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bench/lib/bench/concurrency.ex:177-183 | bench/lib/bench/e2e.ex:175-181 \u2014 before extracting anything, compare \u0060bench/lib/bench/concurrency.ex\u0060 and \u0060bench/lib/bench/e2e.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060bench/lib/bench/concurrency.ex:177\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bench/lib/bench/concurrency.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafc9191d015a180dbcb887fb7354a9dcee42234ff06cd860cb39d40085f4b18"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project bondy_oplog: bondy_oplog has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5e434f9ddccbe1837e385d0190736922de7fefe071a97aae75da2cb240177564"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: bondy_cluster: bondy_cluster: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"08f66fededa5a3c13fb335a5be1d6b31862084d37e383fa6955bfd7f7d1dc66c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: bondy_json_rpc: bondy_json_rpc: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9b0be993683d376ccbf81ad2fcaa5b2ce3868cd2773cefa489ae980c243b1175"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: bondy_metrics: bondy_metrics: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dfad42e7d63a651077d557867be8d824a7297a025b92ca1349e156c7ef6e99f3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: bondy_connect_lib: bondy_connect_lib: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc2ab6f0213396b1f77700f585fa2d6f5fa1b16cf98f38e61022f357863bb18d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: bondy_mst: bondy_mst: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d53bb762e1a35f84409f2d375d17604f1cc2489f22df3e87d42e31fe294184ff"}},{"ruleId":"D13","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":"6e99e0ff5398f2049aff57c7d78192f5471695eeb1206eaa35e711e75ff79b45"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"e956a04765baf963fd02b41272c9149119aa05809731b331003ea7e89009027f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"10c0041928ea2399c983ba126b4f755b76ea58f5f51505f7d3b9b0d08e86ceef"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/bondy_router/src/bondy_rbac_api.erl: apps/bondy_router/src/bondy_rbac_api.erl changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in bondy_rbac_api.handle_call at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:16:27 \u002B00:00\u0027 --until=\u00272026-11-13 21:16:27 \u002B00:00\u0027 --full-history --no-merges -- apps/bondy_router/src/bondy_rbac_api.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":"apps/bondy_router/src/bondy_rbac_api.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3ddf5f0d7ccaeb66ee90080b503c7db747d676b7c6b8e184afddbeb7b2827"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_cbor.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8116c065bb0bbaf95de8368cb556a5ede6087670b5223ffc2ae5f60dbd791abf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_json.erl"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3783e642e5aba154f097478154d033d4c0f57a2ee49a2030e1d360b729e75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth_wamp_cryptosign.erl"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"743c1cee8caa36ea2ed896a5b94a94b24b4868fb8dd7e31c6de3fe0fe91745f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth_wamp_scram.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf20e5eea0bbe54c08106085b0cf2a5e5cd8faf71b160881b65e12d04d51f2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd604fcb6d9f8712e634591e112c9de682dc90788f2b56e0f1f4334c4a65218"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"98223a85a38c82fd8706e2e60a900488233986e0c580d9353a58936e8957e234"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth2_rest_handler.erl"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ca6360c7e4ec12a5138855bb84d7600e7ae075c73331cc0ac7a1aa5bc49032"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/test/bondy_mst_leveled_store.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0657baf857d307e98d9827977fe2e3ca7ff44211d0080e52381f74adcbb0b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO using bondy_wamp_cbor? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_wamp/src/bondy_wamp_encoding.erl"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca4dfab1bd4f027a954e6a02d4c06ba1681c740053a7faf097bde0eaf7a457b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth.erl"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ad71ad7c6ba7b1e473c76038494ffc27d8c76192c489803b1684115efe238e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Fix this we should carry on with the challenge \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth_wamp_scram.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fda8ff207b303294e7d581437157890568b63f4920c406ad9c8589ef1e9952a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO join all realms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"299b3658e01644f14c03eba1e6f43000589d7efb9f91b68986820ab85e33692b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO HELLO should include the Bondy Router Bridge Relay protocol \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_client.erl"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"220fd3bf72db53506d5f058c054f1adb0c6d6c18daa589aef4c5c79253546620"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO monitor pids and add them to \u0027started\u0027 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_manager.erl"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"207de6d9652cbfc3c2fb0eda1849a66a8b85250ef55f87f233304a5b299c2417"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO forward_message or forward? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d1feb10de8483917c1b6fa35c7d652b535686ce143e1349664abff17feb8c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO take it from conf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"19090377ce64f04534c86005c9adeda1157d4d8ab284d61f60582d24729b8276"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO we should spawn an exchange statem for this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_bridge_relay_server.erl"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"198dc9fb6dda525cf405501d6d70ce7062094bfdd41bcaf1fea51d206f68c073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO disclose info only if feature is announced by Publishers, Brokers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_broker.erl"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9268d5bdd89af9877ef35545b65d2da55ef91e51e72442657aecd069c9e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Validate if we need ack enabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_broker.erl"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdcc21ef41631da886383e9865d4f076b8bf292a7df986f0d2eb1ef8ddb4a79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Evict all caches for Session, User, Client and Realm once any of them are deleted \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_cache.erl"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d99568f129050328090929b561ff7233cb70298c0772e72ad00a005b3f1bdc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO instead of dequeuing, update the entry to reflect it was \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff08ecab8c61b15ae3eb061ce2c90a57756e486b8e24860ce73f0a43838b034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Shouldn\u0027t we restrict this operation to the peer who registered it? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dcb8cfbc6499028485064f302c3996aeea7c36aafc4e9929001ac7a06a8772"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO disclose info only if feature is announced by Callee, Dealer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_dealer.erl"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db2dc1f151e91fb4e9c11a34891db5641c9f40f131d1f41c8fb261d6e89dae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Refresh any sessions\u0027 rbac_ctxt caches this user has in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_event_wamp_publisher.erl"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b7d90004204e5964d89647d3612a535658af9aa601ef85f1589ec28bcfb21d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO for other types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_api_spec_parser.erl"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7d580cc6ced2fb4dfa706f8caedc1026712da7e728bd2d9d70ca733e8a563c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Set session will now be required by bondy_auth:init \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acbd86628269e74cd243d80c874f1404e919e7d757738485d0986c8074ae56f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO add feature to spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"818b701bd519841b43b83f455196838a25c2c4c2d622b21979654e647c85fca3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO add feature to spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"5866886124760fef605655cef63186511c5e304e19c99915e412303bac60a0f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO We should check for real here, but we carry on and let \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f46fbe144a66a089d102cee48c9c6422d4457708b76bc356312530e7b5b7165"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO get this by parsing headers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c287a82f65cee539b90e9a5c9c475d3913bba7002b95c9347874bde9e4b1312e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO get auth method and status from St and validate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fbb174b3dc9c895181a6a8a0691f5539014604fdafce540714e6cad8cdefc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO get auth method and status from St and validate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"10453c6ea8897dbc65fde1a03d11416c3ced5ce6183d33ef94349af33525ee8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Here we need the token or the session with the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e62b1bc5f279874fefee984960e54f661a9e1ca97fdd3106ab8d1eb3ec8e198"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO update context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ee9be3fe871dcc3594ce19ab7be8b8034ade4292241e8214264a2c32a539c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% Todo get this dynamically \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"066b254b8fb50f6bed60018e47573958c9cfc707036833f448e901a0d5eccd37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO We need to recreate ctxt and session from JWT \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c25785945f0e04968dd1a50950f1f90d65904d7fa7cf92bea677b9ce6aaf5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO We need to recreate ctxt and session from JWT \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_http_gateway_rest_handler.erl"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7a75dd35d31ac4ede07aca5cfc51bcfc947b1131b509bbb61683d476c33f88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO get config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_jobs_worker.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cac1255fb5817bed6e6bcb0b9abe127f8fb3cffd928ced758a0ec213ad542f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO publish metaevent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_jobs_worker.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"129c920ead11f38bbcb1d08875d263040f98a3c554a3aba9b593a2add70fecc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO publish metaevent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry.erl"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b727d27804cdb654207e6af1f1ed75b0232a80f9cae5cfeb267c05fe61c8f30b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO publish metaevent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_retained_message_manager.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"00297368fc8c05b31134a08ec6650a5f82b718f4f2e8029b9bae28842ca2e0ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO publish metaevent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_router_worker.erl"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2586cef88dad0f8d82d3baec8638d1e496f1d9f95f7273880fd5904ffdaef5f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO publish metaevent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_system_gc.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c5e2ff06669e05a2acb336f48bb4501f20e680f25d6c3001d37f231ecccf2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO at the moment the flows that we support required these vals \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth2_rest_handler.erl"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafaf46fe385e30d88c0b2438041993671f701448f2428f83f4034c7bf21e419"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Here we should check this principal belongs to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth2_rest_handler.erl"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"931c10fba98b1b581ff03662c7753dae352e70745ee512128f05ca0fb6a84f0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO not supported yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth_token.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0905555f35e136546e71eb4ff992732ee3d0af95f441e4d1b35d2b0988d96a29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO check if we need to base64:decode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_password.erl"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3aae4617c6ef112715307fd99b8c5cd34753af1902b83b1e9f249e59d01050"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO check password here and fail with error(bad_signature). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_password.erl"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b978e18764058c0aa1312cc1a54ae57d78837917dd606401cb0cad60d4fba5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Replace this with configurable value of \u0027session\u0027 so never \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b71738739fdbccda1c3ccf0d8ffe01bd6dd3ddf5f2197ad89c00b126092e135"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: check if it is possible or necessary to remove this clause \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac.erl"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd892182a24c60beff339cf58647659584d40c5bcb8912417f474a6219513c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO validate that we are not updating a prototype group, if so raise 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":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f065762868aec2b67ed06862db37e1ff40a3240d6562147ffac2160bdccedcb4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO We SHOULD list the realm\u0027s prototype roups as well (amd potentially \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_group.erl"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b95244c4018c04ac25435f357e3ac1083866008bfe2758abb4c7eb2d65e446c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO check if there are already \u0027user\u0027 sources for this CIDR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_source.erl"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae42d0ab4f77f14d2b5ae64f55b322a383bad6fc6440ae194acae5f940906d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO when we enable assigned to groups here we need to also union the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rbac_source.erl"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"73acbc7fda09949ca48a803eb513d2fb7604c252a66baaa7609b392ea8cdb881"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change sso_realm_uri to allowed_sso_realms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1455c77c1ed54727d92114c4b258166dd93960e344d7286010bb7d89a3ab14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change sso_realm_uri to allowed_sso_realms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c61af1b534bbf967a00ce9521258ff57110cb70458f16251a686e3fe262da5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change sso_realm_uri to allowed_sso_realms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"0573aa4a8bc5cc443c8854b4288270ec2e67495a3c9ac34f2d90328b281fb559"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change sso_realm_uri to allowed_sso_realms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"462629aee7fc13578ae74590549788715b6cfaee5384f480c79a33839eb8e2f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO make it inheritable???? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e143ecdced99cb692e4165b751b84c317cff12fb991e4189a2a4c0cc8e94900e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change this with continuation return \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"396b80d6a01537dfad83cf88721aa30f532b2900c491910f25eb80672c26bff9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change this with continuation return \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"33512e66f33c65372f9e10c39722124373eedb69d44d7e364ce374f875905ccf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change this with continuation return \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"3205dcd47e4f1adb1ba3734d61943a6f093ea799a939c4f149b1b118046e1e32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO change this with continuation return \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eb21fe72a37da8e008ce19283f5eafd29aa642ddd47388534dd4daf60edb88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Review the idea of banning the creation of static users w/ \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_realm.erl"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"438829df5bdd914385d6af31af952e76efe838c23776e4a42f81c52ac1ea9449"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO move to one_for_one \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_registry_sup.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daccd1805973e191ab96d8f9eb06509ea46ed16b8397a5f35217128c7472da6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% Todo manage alternative when event has encoded payload in the future \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_retained_message.erl"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd976a0eda8703f9b5657580416869868a79605e0dcfb6cfa50d73f2e0820b26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Maybe publish metaevent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_router.erl"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"69acf6dcf81ff7453602b0f5fb6a08a42f9644e242b44927da2b46da5e61c7ba"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: %% FIXME we need to fix the wamp.hrl timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_router_peer.erl"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e69a09659295da33ed715807b940349721e1e31302a4a840df887d81914105"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO also, according to WAMP the default is 0 which deactivates \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_router_peer.erl"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b15674bfd55718647c6bb9dcfbd9255dfae63b6976d79da683918bd19aa940"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO publish metaevent and stats \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_router_worker.erl"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d868f0ef3442f4b223a0540f84be75aa106edb5c51e3c8154ad8d0334704b3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO this should be a map \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_rpc_load_balancer.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bf4b40b5db0f6c7505568dc45bdbb9af075f296777c8dfe5111744dfd9ad60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO replace with CRDT Counter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_session.erl"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7d3a0d68127e2272c3e9868555391a01deacff0b4415e890cb96f0926d2ac0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO We need a new API to be the underlying cleanup function behind \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_session_manager.erl"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfefd2b44d851a3695d6dd230df5c0da396469eeea111614dc53e4048d5f667"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Try to retrieve from Claims.node \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_ticket.erl"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad677e6dd98ddebab58a31269d2397b9856fa4edb6783711ca18b110eaa2f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO BONDY_TICKET_VERIFY \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_ticket_api.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4474b849a3c5d3b973be60e54e2e192d9b95327a224cb5277e474bdd17e8cf3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Shouldn\u0027t we stop 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":"apps/bondy_router/src/bondy_wamp_protocol.erl"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e26533b9321c55419d66d2a746f291b6784775b4e9e56bacb59f0e1cc37d5cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO should we reply with ERROR and keep on waiting for the client \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_wamp_protocol.erl"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62bb7ca5092457a4c1cac93c9f19a82dc1e7d9ee40e05d8cd18250f36b77e59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO define correct error return \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93bd4a18017ac6e482f73fc77b0c1f1396d0e29aede9bf352076d1fe65703cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO define correct error return \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47edb3e9ab55e84796cb4001d9cf7bb3fec90c70bd4c6a97d6bb80db6c4390c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO make this dynamic based on adaptive algorithm that takes into \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_wamp_tcp_connection_handler.erl"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0494bbd9d472dacd409f01b11c107f2031d45ed94e5d6219473be51f285100"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO This should be handled by the websocket_init callback above, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_wamp_ws_connection_handler.erl"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0ff6c5f0b984a47faf5df71c4bb0ef531e2b3b06ca19580e4bbf0905d4ce86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO at the moment we use a global instance, we should give the option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/test/bondy_mst_leveled_store.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0447447fcb2c5c56b48d0901c494041d75c97b615e7d5a9f4ae6131fe9b7ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO fold over bucket (name) elements and delete them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/test/bondy_mst_leveled_store.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba7e34dcbe0797f6726453273b6d3075b3ca6db665351481d5cb9b2f3d210d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: check the proper configuration (using default at the moment) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_broker_bridge/src/bondy_aws_sns_bridge.erl"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbff279ae18a76b1dc029a2133b28a63200f940510f3bc51a255189e3f1e272"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Also handle acknowledge to publisher when \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_broker_bridge/src/bondy_broker_bridge_manager.erl"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f351fe9a8ed857d10c50662c06d80afb662c6c48d333838cebfe59f3fb75cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: I think that this starts are not required in this context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_broker_bridge/src/channel_handler/email_adapter_mailgun2.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead4e82f00c26fc31e7aeb3e3a1b4937a04b6d922f441eefada21946cd0694c0"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060fly.toml\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fly.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e29d63eda2a94d0fb2a3407ec7b67cf4587f5b83978499603e988c4023e55fa"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 9.1/10. The most over is \u0060apps/bondy_router\u0060 (72991 LoC, 165 module-visible types across 1 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"254e5959b66c2f2564e9bdd78a56f970ae4065b6a2b48ed7743d97bc2cdf07e0"},"properties":{"commitSha":"b3ee3a9c52aca266b8738b278a1ece7474770f44"}},{"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":"16056ad424e1cd0fe12d44335622f515580cda6f0999c651c357b5644e4c4014"},"properties":{"commitSha":"4569f4d29c7c06608fc87c5cb268d5cda4bcbd13"}},{"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":"b309c59c094738535af0b728715024bcad044f86c133e3f1b23cefbf5c13e633"},"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":"fcc8b3a41b542d591c448b5ff936699a1b2497c9adf355c1c54b70c8f5339f92"},"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":"8f5d71574961833bd4b6c6be983a111c4c09bb3e919ababe017cb0a66d1d3dd4"},"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":"d52ad10362698850aaff3799b0e15ba5fc7473dc4ddaf66de3d18a983f166279"},"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":"e9ffcce498fe7e40d3cfb41237f7031c22275dac57591819bf2e6f9abd0000bd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93c92038188c1137f77a9d21cb234f05df751422bb6a90f52ad6b6230f8ecced"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6335732521e69349206667022a7bf0f2a6b6dc3d489188aa6d1120067f673641"},"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":"164dca1ac39764dd4c0af9a4a68fecd807d7e31c7370a0bb1c2a02bbdfb26dda"},"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":"b39e81dbbd8f85556e4a9529eef46e2dc70e09d164ac1ab4a09a211e9673f528"},"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":"5c0fe2f282e21d6431a003c36f429b6a7f55a57e7716813afe2e56c4c47e5ff4"},"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":"7e950b8451e72af453b4e8481abf4be183e89c224570431926ba2c5c931f5b2e"},"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":"6a292f1e47448a18d5e6a60e867441eb1add4a0fbaed28d4597f8f4e039d35a9"},"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":"49f1e1bd349a440516a20a7fc436f0abb51506c420cf488cfcd70b300a65c95f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e574e3925ee86b24b35333952c212f3358f6ffac08f119c7afa34e48faa9bd1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb7f492f52aafb07563beb1ebb3e6f5ea4d7f7dd271a4f9e2f39323ae1fa2fdd"},"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":"574051ce4a16f15dc5a077007af316b9311c95e09a0af04e6703d2967c3c9dc3"},"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":"c75341d8494ce6a20a125956a83d7f019dbd969c85037e865d7e1ee67662b039"},"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":"eca3d0e07e287a9b8e8bf9a4cada57b1ab3979ee3e8eea1d15a5b987b59e7551"},"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":"24c37c212068f365f2857514e60f3d47b824f2f33088ee807a1c6d2898cb8852"},"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":"a758280dd745abbbe1b72dc927c576b37f4ff75133d4164e1884f322866b889e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88c654d14092f9852e197f31c09ccbc5aef2d9fe5ce4f3eb63e2caf4e81bbc17"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84883f23858f95cdc722b3912688785f0ab433892c1615d8eec9f5351e28e1da"},"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":"a3260bae27c60d5468b22c69b52396eb3671f498f0877d8b5ec003a204a140c0"},"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":"3910df6d9bb8b25ead8f2523bd54a46c39fd566f301d2ba7509e24679770436d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"127a25f07546f44f46e3995daba645597e4f7136dce53d2272b92607dca8e7f7"},"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":"3dc6a4d247dea582ca93a78e7eb78fb75895145f065d30e29558c294cc776795"},"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":"c05a21e2bdc383cd3720b5b066ad60680002ed64eea041ff257f31edfba6f474"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4296e0c1db6a671604762c59e4bd68320371dab01b6e9ca89395cc60f9163c43"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49a4f98ad3260581a2c4a31a0980c33d1bf809c3a12f13c60758391b7c210e56"},"properties":{"dependency":{"package":"cowboy","version":"2.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9e4b689384b6f8bcfac83dad0238182def3cdb7d6c8e5e23915756d30f52343"},"properties":{"dependency":{"package":"hackney","version":"1.20.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b56b71bc60fc752a211a55eda1852554b8ba49da099a2e8b3404ef4d7392f119"},"properties":{"dependency":{"package":"cowlib","version":"2.21.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81f4351dba1fe7ac92701e351ee9e017c32b2138717905b6d8d92f1488c17e81"},"properties":{"dependency":{"package":"cowlib","version":"2.21.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d5eaf9e10e32d7fab8d7e15d0ae668b22bb61c84902791d24568e289d83c1fb"},"properties":{"dependency":{"package":"cowboy","version":"2.20.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6de0ed27d7d9ada19a85de9e59c7765e2907a2310f3bc64ad609ecfca269652f"},"properties":{"dependency":{"package":"ssl_verify_fun","version":"1.1.7","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"787a3a163abf6f33765cc618f30a7693b78ed344301c124099abac156064c205"},"properties":{"dependency":{"package":"jose","version":"0f57e002a9bbe2464f5fce6facfe13d83e15ae61","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d840d07a2a0947fafacac9ffe33078403c9cf340a11ddc123f0bec2df8f6a53b"}},{"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":"d9527f3e06deb1f8d2f45d37ca8f45ed8c8f41cb20bd07cbb50940211771b39c"}},{"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":"b4dfd93f9424a7919d70aa84bd57d43338a3d8e003189fcbacbcd597e742fe1e"},"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":"cc2802f98d1340b9e5fdc1644f2124132ce6c7c10f042f3af231651666e0e729"}},{"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":"e5257cc697830cdcaa097f58e4f9e0cb069ea5274d6baee94bb984af4ce9e1c1"},"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":"35198f0a5afea770fa2d26a253dfe72145b6ae0cf32017e3d6a8ef0441b8108e"},"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":"bbe3ddd5f128282f9a53bf9592e0ef4386fcbf494d877c8b5fab7eebd859fc87"}},{"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":"708e0a08dd32b8e1910a44547b73bafda903e63c804e18f4c5b2a1c2f06b7d84"},"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":"336e2493053d94437be53f81bdc5b9b21f4f9543980100f82f6dd93a52e6372d"},"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":"0a817bd8db8af9d1104260514c0d2e23298e4731216f02017eeef0caa7b0b630"}},{"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":"ee321c47ae2c4840b19966de3114827853b57c3a6cbed9b12b9f1265de80bfe1"},"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":"5e5c2266cb7c4604ed9f3d40fc19eddd15f6e58486256a48e167a6f9909d473f"}},{"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":"4d183316e12ed24429426382e3f2b2d4397bce275207d31e37ab7f28c21c0b42"},"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":"07c152f9139e41ac783218302b6a708973d5e3d26f50b01e8cb1ddc0fd1f68dd"}},{"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":"8d8dd3ca416b5d63eb7d287f266c7d5ba7a339e7c057b242c4ec21426d20d9eb"},"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":"b14e8eaa52b8fbb345586aa17c56a7557f32627268042cd87fc79f9612b6da80"},"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":"138ddeafad9d22991c2eb4289fadbe52a8be0896c38a59123fc1dfd48aabca68"},"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":"cb9841493747578b8852a95f279447bc6562ec1a5fe68bb9518efe930c278d6a"},"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":"577aadf361d109e90165e11aec5969c57c52c7d9ea3cc9189e42168dc63d97d6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9477e38d3b3ed9ea2949b16ee14669b55f7e8d6c86ababf7fc7a6bac0c465ad6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e994f932c4fc2534fe9f7863724577c793118ea7c1c296a6b911264f674971cb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a21cae0eb445d57519822013063134796f4deeeaec6238f6d62e413add65e35"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b378d8f8f8fa687a3f989b784903109a8a5361af734e2bbf43fcf3e734ae5381"}},{"ruleId":"D32","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":"59d43818f3a698600a8795b008a1090222404ae15061c3b185a98cf8558724cb"}},{"ruleId":"D32","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":"6e88d87ff387aaacb31f557a47a45a3ddd43fa4a03285c9fb7e80a8b17ffa12c"}},{"ruleId":"D32","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":"0e9738230ca7e8e45dc3e42607d742f1719b95bd497878adfacf05f564e75953"}},{"ruleId":"D32","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":"fd006322d3223c3317abec13eabb15a3db58763c8f4d6d59d2ffdd4717848252"}},{"ruleId":"D32","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":"1f2514e60481c336e6ac2f6c9c7b35ae088d311a685491ef4fa42e24dbfde22c"}},{"ruleId":"D32","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":"f64958a2aa16318c3e389e51cf9758ac886e7a4e55c73ea9a1df62e8a7dea704"}},{"ruleId":"D32","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":"bf75444617cfd71cded488568c21d9b103d032873e8d1ad9607f6a1f88e413e1"}},{"ruleId":"D32","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":"95e0ebd1ed5628dfa74ba1af1a4f4de47649d98f843a58d4602a22414d5e7c14"}},{"ruleId":"D32","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":"a60c9b7dbfcd97ef480c55a2baf4c11cf9e9830bd4bbc57d08bf76dcbbee49de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bondy_auth_password.erl \u2194 bondy_wamp_protocol.erl: \u0060apps/bondy_router/src/bondy_auth_password.erl\u0060 and \u0060apps/bondy_router/src/bondy_wamp_protocol.erl\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \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 6 shared commits counted here, the most recent 3 are \u0060271ee638\u0060 Log the reason for a refused WAMP authentication; \u00600377154f\u0060 Fix a ticket authentication bug recently introduced. API changes to p\u2026 (at that commit the files were still \u0060apps/bondy/src/bondy_auth_password.erl\u0060 and \u0060apps/bondy/src/bondy_wamp_protocol.erl\u0060); \u00601613edfd\u0060 fixed wamp_cra authentication bug introduced in recent API change; fi\u2026 (at that commit the files were still \u0060apps/bondy/src/bondy_auth_password.erl\u0060 and \u0060apps/bondy/src/bondy_wamp_protocol.erl\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_auth_password.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76ee009eeea908037d64385e052fede2ed17e27dc6b21d0d33182539e141bf6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bondy_oauth2_client.erl \u2194 bondy_oauth2_resource_owner.erl: \u0060apps/bondy_router/src/bondy_oauth2_client.erl\u0060 and \u0060apps/bondy_router/src/bondy_oauth2_resource_owner.erl\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \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 8 shared commits counted here, the most recent 3 are \u0060d8c86d9f\u0060 fixes to oauth flows (at that commit the files were still \u0060apps/bondy/src/bondy_oauth2_client.erl\u0060 and \u0060apps/bondy/src/bondy_oauth2_resource_owner.erl\u0060); \u00602233f339\u0060 prevent sensitive information to be exposed on OAuth2 APIs (at that commit the files were still \u0060apps/bondy/src/bondy_oauth2_client.erl\u0060 and \u0060apps/bondy/src/bondy_oauth2_resource_owner.erl\u0060); \u0060d211cf12\u0060 Fixed missing removal of OAuth tokens on user delete (at that commit the files were still \u0060apps/bondy/src/bondy_api_client.erl\u0060 and \u0060apps/bondy/src/bondy_api_resource_owner.erl\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_router/src/bondy_oauth2_client.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f523195426bbfe227b00c33f2273f2ac637b00de89571187485dc16c5303cb79"}},{"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":"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":"b6d96ca126c5358b86d5a59a9895fa504bdc550c44171a0ebbdbeb1c23c16282"},"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":"a8c78cae8591e2aeada5a8294683f11c92f59202fb2411936f2cb4774842d2d8"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX9","level":"error","message":{"text":"Query handler writes persistent state on the read path: bondy_connect_table_manager: \u0060bondy_connect_table_manager\u0060 has a \u0060handle_call\u0060 query clause that reads a store and, on the not-found (cache-miss) branch, WRITES it \u2014 a get-or-create that mutates as a side effect of a read. A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the lazy-init write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_lib/src/bondy_connect_table_manager.erl"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"61900ed2bc38c252101cb2f24f91a23827f1fdc134cda9f6b3ed20174a1e498f"}},{"ruleId":"AX9","level":"error","message":{"text":"Query handler writes persistent state on the read path: bondy_connect_table_manager: \u0060bondy_connect_table_manager\u0060 has a \u0060handle_call\u0060 query clause that reads a store and, on the not-found (cache-miss) branch, WRITES it \u2014 a get-or-create that mutates as a side effect of a read. A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the lazy-init write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_lib/src/bondy_connect_table_manager.erl"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a9ee762e9cc6c3d2705b9a8d69ef6626992b303b034a954f4f0d268be4d4f3"}},{"ruleId":"AX9","level":"error","message":{"text":"Query handler writes persistent state on the read path: bondy_connect_table_manager: \u0060bondy_connect_table_manager\u0060 has a \u0060handle_call\u0060 query clause that reads a store and, on the not-found (cache-miss) branch, WRITES it \u2014 a get-or-create that mutates as a side effect of a read. A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the lazy-init write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_connect_lib/src/bondy_connect_table_manager.erl"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5455c110de52c931a957dfcae96293bf1735e68a48eb3a397f2fdbb762fd14aa"}},{"ruleId":"ES1","level":"error","message":{"text":"Nondeterministic fold: bondy_oplog_instance: \u0060bondy_oplog_instance\u0060\u0027s event-replay reducer reads a wall clock / randomness / a peer process / persistence while reconstructing aggregate state \u2014 replaying the same events would rebuild DIFFERENT state each run. A fold must be a pure function of (state, event); stamp the timestamp/id into the event at raise-time and read it back in the fold."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_oplog/src/bondy_oplog_instance.erl"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8602d46a4eb5407f5f465c129385a162684b968f1d13861f4b60071fa75b6f75"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: apps/bondy_mst/README.md links to \u0060reference/\u0060, but \u0060apps/bondy_mst/reference\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mst/README.md"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ac9d23e10aad741be3ca9da041fa02d7d40b6a2889564a7247c5b147219f01"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060apps/bondy_mcp/test/bondy_mcp_e2e_SUITE_data/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/bondy_mcp/test/bondy_mcp_e2e_SUITE_data/package.json"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdf7bda790664af2af797c6490bdff9d92a752d53866e6c8828c7f140e11ff6"}},{"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":"apps/bondy_broker_bridge/src/channel_handler/email_adapter_mailgun2.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8bf745c3641c5a2bc7ea81037f2e5b19ee122855db7389574d746b5bf2852a"}},{"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":"apps/bondy_broker_bridge/src/channel_handler/email_adapter_sendgrid.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaf7f5e187cbf4b97dda16969741ab438efe3738d103de361242738439606a4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney: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":"apps/bondy_http_connector/src/bondy_http_connector_auth_generic.erl"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba41478d48cd4adf0d9754c619ed3e86978de01ee55f4353fe29ecdba3bf37"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney: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":"apps/bondy_http_connector/src/bondy_http_connector_http_pool.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4636015bd3681975c928c39a698c36a9117de8622489024a531ffb38a28344a9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney: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":"apps/bondy_http_connector/src/bondy_http_connector_http_pool.erl"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"df649a85c30f45a37456ac7a044d6dcc67efb75e5dd1cde14f5828bd21528f38"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 6 plain JS \u2014 the untyped files are apps/bondy_mcp/test/bondy_mcp_e2e_SUITE_data/handshake_client.mjs, apps/bondy_mcp/test/bondy_mcp_e2e_SUITE_data/modern_client.mjs, harness/k6/fleet_smoke.js, harness/k6/lib/wamp.js, harness/k6/pubsub_smoke.js, harness/k6/rpc_smoke.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): harness/k6/pubsub_smoke.js:33 \u00B7 harness/k6/rpc_smoke.js:20 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/pubsub_smoke.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6ecc84ea3261a251f15f18dc3ee3390b8004554222b30ffbac326449d685d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): harness/k6/fleet_smoke.js:191 \u00B7 harness/k6/fleet_smoke.js:267 \u2014 the two spans are one implementation copied and then locally edited \u2014 458 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/fleet_smoke.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f64ec2521d04ffd59c22b0a96591920fcbbfbaffc866960f0103ecb844647b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): harness/k6/pubsub_smoke.js:101 \u00B7 harness/k6/rpc_smoke.js:95 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/pubsub_smoke.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f32a1a686bd5aa58bd49dfc931fdf3ffe6ca673c7a9553c6fc179ea42a3b1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 28): (anonymous) has cyclomatic complexity 18 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/fleet_smoke.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e788da8edcda6d7fd07550e75783ab889052e598cf0ff13123b48a7e2cbe15d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/rpc_smoke.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"523569cfdadeb57727ed4df38bdc0f3b16b4899849cf3481d01ca8abb03bd71a"}},{"ruleId":"R6","level":"warning","message":{"text":"No test or lint script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cc320bfcb25580c14169043586a3ddd9570d8bf0b4c844452a5deb0ff234a119"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~367 LoC): no import path from any entry point (1 application, 0 tooling, 2 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/fleet_smoke.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd91afb827ef368dbee5e03b0a4ccd9f888d37d0f1845c0a2ee54ac153b3534"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~119 LoC): no import path from any entry point (1 application, 0 tooling, 2 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/rpc_smoke.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f67b89b7b8125a4c51d780008ab615bc4802c74f0e548912ef50f470adcd12d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NAME\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"harness/k6/lib/wamp.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a68b5536221bfcf3afce10d01ffc79e4602bc1d9d0dd0845ba506d0c78088f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@modelcontextprotocol/conformance\u0027: Declared in apps/bondy_mcp/test/bondy_mcp_e2e_SUITE_data/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf49303621e9273a37c103a648fd450ef3f1e905c3f6cf9f2568451f690fd473"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Authid =:= ExpAuthid andalso Authrealm2 =:= ExpAuthrealm\u0060 appears character-identically in 3 files \u2014 apps/bondy_router/src/bondy_http_longpoll_handler.erl, apps/bondy_router/src/bondy_http_sse_handler.erl, apps/bondy_router/src/bondy_http_sse_stream_handler.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":"apps/bondy_router/src/bondy_http_longpoll_handler.erl"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f16b61f00d9c002144b8bcd767bcc4f61215743b2dbce756ab1b13cf73c33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Limit == deadline orelse Limit == max_retries\u0060 appears character-identically in 5 files \u2014 apps/bondy_mail/src/bondy_mail_worker.erl, apps/bondy_router/src/bondy_bridge_relay_client.erl, apps/bondy_router/src/bondy_bridge_relay_server.erl, apps/bondy_router/src/bondy_wamp_tcp_connection_handler.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":"apps/bondy_mail/src/bondy_mail_worker.erl"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8540fc6b3fa7057e43860404831db90d5c3fe37207881819ea96a948fbf67b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NewKeys =/= undefined andalso NewKeys =/= maps\u0060 appears character-identically in 2 files \u2014 apps/bondy_router/src/bondy_aae_reactor.erl, apps/bondy_router/src/bondy_rbac_user.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":"apps/bondy_router/src/bondy_aae_reactor.erl"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b0517672ccac83d5e8f2c71f6be9bf6951d59f3b71e83f9cb87e108b282be6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NewPassword =/= undefined andalso NewPassword =/= maps\u0060 appears character-identically in 2 files \u2014 apps/bondy_router/src/bondy_aae_reactor.erl, apps/bondy_router/src/bondy_rbac_user.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":"apps/bondy_router/src/bondy_aae_reactor.erl"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f358213b407ba4d8863d3acb6c4c79f72f45a7d9100d344981de7a1b828add7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Status == 401 orelse Status == 402 orelse Status == 404\u0060 appears character-identically in 2 files \u2014 apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl, apps/bondy_broker_bridge/src/bondy_sendgrid_bridge.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":"apps/bondy_broker_bridge/src/bondy_mailgun_bridge.erl"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e18a0d8ca4250a827886bfaabb472e69bacc58ccc357136cd10ca7cad9a947"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060X == registration orelse X == subscription\u0060 appears character-identically in 3 files \u2014 apps/bondy_router/src/bondy_registry_entry.erl, apps/bondy_router/src/bondy_registry_partition.erl, apps/bondy_router/src/bondy_registry_store.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":"apps/bondy_router/src/bondy_registry_entry.erl"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8b4c16dfa05bb146eebb74f9b4a43e498050b04b3f8d86dc5783e1089e8cdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byte_size(Bytes) == salt_length() orelse error(badarg)\u0060 appears character-identically in 2 files \u2014 apps/bondy_router/src/bondy_password_cra.erl, apps/bondy_router/src/bondy_password_scram.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":"apps/bondy_router/src/bondy_password_cra.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f8a87610022b31545e0e4dab8f61654382278cb26703b505d4963cb5a494a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(RealmUri) andalso is_binary(Id)\u0060 appears character-identically in 2 files \u2014 apps/bondy_mail/src/bondy_mail.erl, apps/bondy_mail/src/bondy_mail_status.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":"apps/bondy_mail/src/bondy_mail.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffc9f333700a76b3818ecf838391addd6622a19a218a097ce02b39fbdf813a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not is_list(Entries) orelse Entries == []\u0060 appears character-identically in 2 files \u2014 apps/bondy_mcp/src/bondy_mcp_spec_parser.erl, apps/bondy_router/src/bondy_interface.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":"apps/bondy_mcp/src/bondy_mcp_spec_parser.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0972639738bfa8aee732b983eccc75fa0474502909433d93a23de41833fff9a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060__ENV.WS_URL || \u0027ws://localhost:18080/ws\u0027\u0060 appears character-identically in 3 files \u2014 harness/k6/fleet_smoke.js, harness/k6/pubsub_smoke.js, harness/k6/rpc_smoke.js. 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":"harness/k6/fleet_smoke.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a35c99d28b51588f89c2dddc2bd5bc0ea398511da0f0023a1ee223a34635e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_router/src/bondy_data_validators.erl"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b430a44b0cf46a6641f6866d9e8966e739696d2c575e5593b221730f1cf9a41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_router/src/bondy_data_validators.erl"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"72612f64ba627fef571f47222d1a8cb854cee1f57f2456ecdae291ca627bc147"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_mail/src/bondy_mail_request.erl"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d15874ee88352068db3ecb185a6b18901e04f827331d411df9192d24f2eb64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_log/src/bondy_log_codec.erl"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c94b208560860c534c4e95e1df04021185d41fc5a0c1c78f5dc1ac05a460dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_db/src/bondy_pagination.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6414e0a2e5540d498d0d0583daa3bdb1065777fe7c89a1b7fc0e2bb5a6faed90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_connect_sdk/src/bondy_connect_auth_cra.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"430c35a06c34971046aa523d4e73ee8735e5c1c59d44510d61e9bd7d099ee4d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\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":"apps/bondy_connect_sdk/src/bondy_connect_auth_cryptosign.erl"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb75a0b84fca4f98a67e3955b8bbea269cf343af2a22b4e6c23f4dd6464e044c"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_http_connector_callee_handler:interpolate_path/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":"apps/bondy_http_connector/src/bondy_http_connector_callee_handler.erl"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"debb1b6fdd140a42e44920b7d936a4a2b7863695b1d3d361b0842c6170123718"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_http_connector_http_pool:liveness_url/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":"apps/bondy_http_connector/src/bondy_http_connector_http_pool.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"265963e079511a9f1a18afdd924b2704d370b480990e7497457993d7cb9c2c99"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_http_connector_telemetry:classify_status/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":"apps/bondy_http_connector/src/bondy_http_connector_telemetry.erl"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c2e9eb921f152d32a5f8ed6296ec3ba71c1b79bbaf4d9496b269c8cb6a86f1"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_mst_pack_codec:magic/0\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":"apps/bondy_mst/src/bondy_mst_pack_codec.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf7a011449ace3c65ce86fe3106dbd4fa1677f16ff693c2310126e9a75518db"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_mst_pack_manifest:encode/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":"apps/bondy_mst/src/bondy_mst_pack_manifest.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef8e8431f8c0999287c38a90c230b1a802bb2622a85a645bd4387e289c7694"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_oplog_applier:bootstrap_publish_decision/3\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":"apps/bondy_oplog/src/bondy_oplog_applier.erl"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f81fb21accd75c7992e33b38cc608e47fcbb009c70ae1e6eee4c1572029bfc1"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_export:legacy_translate/4\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":"apps/bondy_router/src/bondy_export.erl"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c669e2f0205654dff56d2991a2da21c277ea6c26491cfe7828d7c74271a638d"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060bondy_http_gateway_api_spec_parser:mops_expressions/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":"apps/bondy_router/src/bondy_http_gateway_api_spec_parser.erl"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b44fdb7cb530891fbb7f082b4eba900dd1ed558d9463c0530c572e43dd9e59"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/2 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":78,"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."]}]}