{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"router_device_worker.handle_cast (cyclomatic 69): router_device_worker.handle_cast has cyclomatic complexity 69 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2298d0a8a55785d3b20745904b84f3f714b05faefb2915d65aa5f9d3408cc06d"}},{"ruleId":"D1","level":"warning","message":{"text":"router_console_ws_worker.handle_info (cyclomatic 36): router_console_ws_worker.handle_info has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e04066f8815de0cdcc6a9ed85c25904aafbe23a3e08cd7a0a809396cbbb3c40"}},{"ruleId":"D1","level":"warning","message":{"text":"router_xor_filter_worker.handle_call (cyclomatic 28): router_xor_filter_worker.handle_call has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_xor_filter_worker.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e99d0488da34dba4b3bbcf392ea7185e17f65aeb385750a80ce2b281cc0d09"}},{"ruleId":"D1","level":"warning","message":{"text":"router_console_ws_worker.update_device_record (cyclomatic 27): router_console_ws_worker.update_device_record has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc318bf535e8cc5851a4c6d93edc3a7c4e1f32e6a527bd9c3bc2da66ff1fbab"}},{"ruleId":"D1","level":"warning","message":{"text":"router_device_channels_worker.handle_info (cyclomatic 26): router_device_channels_worker.handle_info has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c201547ae205b799c7889963a981d9c102a67e89fc00aec6f69bc6b85e2d45"}},{"ruleId":"D1","level":"warning","message":{"text":"router_device_channels_worker.handle_cast (cyclomatic 24): router_device_channels_worker.handle_cast 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":"src/device/router_device_channels_worker.erl"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"981b2ab7fc989690658eb2799022bd2bfa5b2adfce29d52aaedad9ee57ccc25b"}},{"ruleId":"D1","level":"warning","message":{"text":"router_xor_filter_worker.handle_info (cyclomatic 24): router_xor_filter_worker.handle_info 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":"src/router_xor_filter_worker.erl"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ed2ab8ce29171d88158680e1c0e6ce3e4a32d9960f590ea3e0abf9e3e2e3cd"}},{"ruleId":"D1","level":"warning","message":{"text":"router_mqtt_channel.handle_info (cyclomatic 23): router_mqtt_channel.handle_info 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":"src/channels/router_mqtt_channel.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d6cf326fcfe3e0785c867a2d2f5f099e8999957d1c682f543219e03223bff8"}},{"ruleId":"D1","level":"warning","message":{"text":"router_cli_xor_filter.report_device (cyclomatic 21): router_cli_xor_filter.report_device has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_xor_filter.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f353dfaafbfbc22cec15e068bc64261e6600ed7a263c89137cf80266c3fbef7"}},{"ruleId":"D1","level":"warning","message":{"text":"router_console_api.event (cyclomatic 20): router_console_api.event has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8225051d0e9e573e64e9e5a4b5e5ded33780596c9e43964bf8793c7b7107c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"router_device_worker.handle_info (cyclomatic 17): router_device_worker.handle_info has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e62b0b4b0eaa9f7017032b8fb7e9855621afc0f547129a7e951f8a751ae359"}},{"ruleId":"D1","level":"warning","message":{"text":"router_device_worker.validate_frame (cyclomatic 16): router_device_worker.validate_frame has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"573d4504eb3cedb8d353a809ffebe4be9962bf3426e41eb5248443f1aaa3f5c6"}},{"ruleId":"D1","level":"warning","message":{"text":"router_sc_worker.handle_info (cyclomatic 16): router_sc_worker.handle_info has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_sc_worker.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7879976c4920900309186ef3ea94f344e95165f809e6822ce11b6dfa4bd60cc"}},{"ruleId":"D2","level":"warning","message":{"text":"router_device_worker.handle_cast (cognitive 90): router_device_worker.handle_cast has cognitive complexity 90 (threshold 15). Drivers by points: error handling 14 (47 pts), match/switch 25 (43 pts) (nesting depth added 51). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"da064f65473ef8fcb92c37036a8eec3a5a3db355a4e1d1bf2f59b05d150bbc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"router_console_ws_worker.update_device_record (cognitive 51): router_console_ws_worker.update_device_record has cognitive complexity 51 (threshold 15). Drivers by points: error handling 10 (33 pts), match/switch 11 (18 pts) (nesting depth added 30). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fbc1310461b5198532d554f7969d650df3b5ac91694fe56b0771f448e8a54d"}},{"ruleId":"D2","level":"warning","message":{"text":"router_cli_xor_filter.report_device (cognitive 25): router_cli_xor_filter.report_device has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 12 (15 pts), if/else 2 (6 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_xor_filter.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"368914900a754860014f39bd16bca1f124db60b4a3b5555b7ed8a064432582b9"}},{"ruleId":"D2","level":"warning","message":{"text":"router_device_channels_worker.downlink_decode (cognitive 22): router_device_channels_worker.downlink_decode has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 12 (18 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"0338bf4aaeb42febf3c3bf0d89ceb776b6d3d1160c9c062d94e6bb5add90a697"}},{"ruleId":"D2","level":"warning","message":{"text":"router_device_channels_worker.handle_info (cognitive 21): router_device_channels_worker.handle_info has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 13 (20 pts), boolean chains 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d326e8404dee55e1d8e9bd63a30b76b3f370ea8a0025b54777b263466c7c7"}},{"ruleId":"D2","level":"warning","message":{"text":"router_console_ws_worker.handle_info (cognitive 18): router_console_ws_worker.handle_info has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 11, error handling 4 (6 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":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"83add250c0ad8643c56d8c7d7648d7a3442f63dc8edada51998a6092a1395cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"router_device_routing.send_to_device_worker (cognitive 18): router_device_routing.send_to_device_worker has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 10 (18 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_routing.erl"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"021d58f386d17118a4c58c80e208e4dd4776c5c1c87a5822a921e537681f098b"}},{"ruleId":"D2","level":"warning","message":{"text":"router_console_api.event (cognitive 17): router_console_api.event has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8 (13 pts), boolean chains 4 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f8eb6e46560ff342055bed888ca27a56015836cc45e2974c5553580cb7f1aa"}},{"ruleId":"D2","level":"warning","message":{"text":"router_device.deserialize (cognitive 16): router_device.deserialize has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 11 (16 pts) (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device.erl"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21f86962bd5f9eaaddb989a2314293adae77555873141984c12cb2e5a1f2f32"}},{"ruleId":"D2","level":"warning","message":{"text":"router_device_routing.packet_offer_ (cognitive 16): router_device_routing.packet_offer_ has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (16 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_routing.erl"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5dee50a2baa600c17b9f16b30e3599a1036a1412569442adc05945a41086fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/router_device_worker.erl: FileTooLong \u2014 2006 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 1506 over it, 4.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":"src/device/router_device_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bab00a8cb25c086e159c269b2261359f66f3e416aff5dae76dddecee715ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/router_device_routing.erl: FileTooLong \u2014 1305 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 805 over it, 2.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":"src/device/router_device_routing.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63483f8698e8d83f2eeb14c2ef3f577f4b44c13763443c124a2c84fde34029fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/router_xor_filter_worker.erl: FileTooLong \u2014 1223 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 59 functions. The bar is 500 significant lines; this is 723 over it, 2.45\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_xor_filter_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"771d5c169ecfe0e8c67cdd122a0ed7ecd2105b1f1167705a864921ef01951cef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apis/router_console_api.erl: FileTooLong \u2014 1138 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 638 over it, 2.28\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad63f67c40685edee529bff5e418b53f9e2374c86f29987fc666d24e5d796efe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/router_utils.erl: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 362 over it, 1.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":"src/router_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e72af8fe5ee64fcb65d3f5255da804dc62bcd56af2b94fa9aa6ff04ea15142"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/router_device.erl: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 252 over it, 1.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":"src/device/router_device.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cebf8954130df5205a0c44ca79d9b981eb60dd3b673d26a1c41a2235b4880b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/router_device_channels_worker.erl: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 250 over it, 1.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":"src/device/router_device_channels_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7757d3d20adc0988589eaef1d1dc79cf4a17ff1ba0ee757c39a521b693ee5acf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: router_ics_skf_worker: 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":"src/grpc/router_ics_skf_worker.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"510749225ec4a444bf5a4fd753ebb0948507803f9517d61be97296559a1bbec3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/router_aws_channel.erl: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"129a799bca926e0da5e2fa406a9d0d96f68f35b7dbe8a7c05400c867898707f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: router_cli_device_worker: 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":"src/cli/router_cli_device_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eca2f095c6258c4ca8f038af9936397c9750568b2e8eeec0e3aee1a0d31ecac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/channels/router_aws_channel.erl:78-90 | src/channels/router_console_channel.erl:36-48 | src/channels/router_http_channel.erl:55-67 | src/channels/router_iot_central_channel.erl:58-70 | src/channels/router_iot_hub_channel.erl:57-69 | src/channels/router_mqtt_channel.erl:70-82 | src/channels/router_no_channel.erl:36-48 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"df343b3585089dbe30b16f9ef67f24d42479b243d8785e141a6b90ba08a996a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/channels/router_aws_channel.erl:263-299 | src/channels/router_iot_central_channel.erl:227-251 | src/channels/router_iot_hub_channel.erl:223-247 | src/channels/router_mqtt_channel.erl:374-410 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec03756f104fe6a27561080bc3a5242b5d2217a01839b3c5da440aaeaeb27138"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/channels/router_aws_channel.erl:302-335 | src/channels/router_iot_central_channel.erl:254-287 | src/channels/router_iot_hub_channel.erl:250-283 | src/channels/router_mqtt_channel.erl:413-446 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d29745355e5546bcaf1b550788e9cb01f0fdfdb7701bb65c0ffe0cf483e0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src/channels/router_iot_central_channel.erl:78-116 | src/channels/router_iot_hub_channel.erl:77-115 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bdedd7388361b844ea49f6594c53169b169bb94f5b199328d24e1fa3e813c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/apis/router_console_api.erl:677-702 | src/apis/router_console_api.erl:715-740 \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":"src/apis/router_console_api.erl"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e3fea9cd53611fa81d75037b1b22d264060d7cf1ab5e00032779f46702d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/apis/router_console_api.erl:1024-1054 | src/apis/router_console_api.erl:1099-1126 \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":"src/apis/router_console_api.erl"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e136c650e1fe21c46a335f7b1015caf173ff2ab4b59ceca0c9d128c2367e68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/channels/router_iot_central_connection.erl:415-447 | src/channels/router_iot_central_connection.erl:451-481 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a29b5d491540e934c4b06753e31be0fc981a349bd39112e5da11f7424299a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/channels/router_iot_central_channel.erl:179-199 | src/channels/router_iot_hub_channel.erl:178-198 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa65a9c38dede7ef8d9266ba128f6acbdb2779a2b8b77f856c2336858bdb576a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/device/router_device_channels_worker.erl:686-705 | src/device/router_device_channels_worker.erl:709-728 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fe3db6e905b0aeb3a757d4149fbd48df7ff83853c1feef08fd5b47f06c05ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/channels/router_iot_central_channel.erl:133-159 | src/channels/router_iot_hub_channel.erl:132-158 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"016b25fc2d40fe4c094c971fb9b9038858288586f4262452b8c72b68304acc9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/cli/router_cli_migration.erl:160-199 | src/cli/router_cli_migration.erl:201-235 \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":"src/cli/router_cli_migration.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"668c2cd5cc8579e40024a83159e9a650f3a230980b707ff0a50c61dbaf9dbe09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/cli/router_cli_xor_filter.erl:162-188 | src/cli/router_cli_xor_filter.erl:190-212 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_xor_filter.erl"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb28fb47f7c71baa94c3416ec47c888d8094a201d0cec69b9dafe05b325c7302"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/device/router_device.erl:640-653 | src/router_xor_filter_worker.erl:698-710 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device.erl"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3aabf8c328c8f0f916a0e48921fa3b4f1af30718541834ce0d1e8a5ad3592e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/channels/router_iot_central_connection.erl:181-211 | src/channels/router_iot_hub_connection.erl:145-175 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad39b0a6e0809b7deadff8a7c89900ae727b8e36a4c2ae56e46beba8d3fe5b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/device/router_device_channels_worker.erl:852-870 | src/router_utils.erl:839-854 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523f76f1ba056154c7b08f7f59a08de1c42d5d0cb750cf570e5185146493920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/channels/router_aws_channel.erl:423-449 | src/channels/router_aws_channel.erl:452-470 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa245b52b56bbacf7d1c86da2e92717d579de8cc4ef00aae0f1cc5b4704d9423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): src/router_utils.erl:398-415 | src/router_utils.erl:422-439 | src/router_utils.erl:448-465 | src/router_utils.erl:474-491 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc3702ed59033ecc5824bdac28ed852bcc3649dc1c4048b122efac2a170186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/channels/router_aws_channel.erl:218-237 | src/channels/router_mqtt_channel.erl:328-348 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f877be34f27b52b38117ca899fe6ae6d048c683c9283d81f1c87d35fa31f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/channels/router_iot_central_connection.erl:283-302 | src/channels/router_iot_central_connection.erl:333-363 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9269eb9c4cb894453d17d49f099b569f693f4312a606d4c4d1c0d2b5fe3ba680"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/channels/router_iot_central_channel.erl:38-56 | src/channels/router_iot_hub_channel.erl:38-55 | src/channels/router_mqtt_channel.erl:49-68 \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":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae7783d6e951701b11fd2a80f16dc34a94539ac30d042c380050403febb7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/channels/router_iot_central_connection.erl:534-547 | src/channels/router_iot_hub_connection.erl:327-342 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7557874e304bbd32a7c2bb81c82e9f15116742f3c6a577cbe4a278d05f2e02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/router_utils.erl:224-238 | src/router_utils.erl:246-260 | src/router_utils.erl:318-341 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2df332fe2444a529d920a3b808210364a36d8f37dadc8c7e68b039ae997214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/grpc/router_ics_eui_worker.erl:60-73 | src/grpc/router_ics_skf_worker.erl:87-100 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_eui_worker.erl"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d53911caa0594858df4617f406d187edbcb83c7fc461f28d7ad6e67eeadd27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/device/router_device_devaddr.erl:331-347 | src/grpc/router_ics_skf_worker.erl:411-428 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_devaddr.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a053ae7ab2fc2b184c729e8787be2526b0d121451d494b9a258463e925cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/channels/router_iot_central_connection.erl:221-230 | src/channels/router_iot_hub_connection.erl:183-194 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"59063ada232ab401ef128cafc0dbacc842e3d23a3e6039aca5929dae8278e114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/router_xor_filter_worker.erl:1068-1078 | src/router_xor_filter_worker.erl:1101-1112 \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":"src/router_xor_filter_worker.erl"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7e34ab5b29d57f09901b20098ca4bda5805c6c4fb9c7fff86d2832ac1d14e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/device/router_device_stats.erl:89-94 | src/device/router_device_stats.erl:97-102 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_stats.erl"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9062be31b8f8ac13baf61d79d557956bea581d58592c787fdd1ab2ad4f32b8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/router_utils.erl:501-513 | src/router_utils.erl:523-535 | src/router_utils.erl:542-553 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2056fa53a84efb3afd67fae52e0406a02389f082fe8c921354d9bc331a93a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/channels/router_iot_central_channel.erl:163-176 | src/channels/router_iot_hub_channel.erl:162-175 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff020cc5488078b4af9a1f32152d22a100a15170a3a3fedf71ce5d1b473416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/device/router_device_routing.erl:472-487 | src/device/router_device_routing.erl:599-614 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_routing.erl"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"99187e62f1e417207fb59bae3e50cbc24edcd01919fea316a0b28f3f87fdddf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/channels/router_console_channel.erl:73-81 | src/channels/router_no_channel.erl:74-82 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_console_channel.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aafb0d9991e5bdeabf74ed226c488b4d3bd4fc565405a24b101958c60802e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/device/router_device_cache.erl:32-48 | src/device/router_device_multibuy.erl:24-39 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_cache.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf795c7229c71fd2b5a02aba6c15bf4ff5d0ffd8c9d69040a5f200e380f8014"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/device/router_device_channels_worker.erl:811-815 | src/device/router_device_channels_worker.erl:818-823 \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":"src/device/router_device_channels_worker.erl"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4dfed7f00f120ae7639a6cf3681102095dc67a972e1a492d8a1b0c068eee6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/grpc/router_ics_skf_worker.erl:227-239 | src/grpc/router_ics_skf_worker.erl:244-256 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_skf_worker.erl"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e2bb8675e8645cf1b8ab76133930c61b233aab958c0aa5fab3b68a9c19646c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/channels/router_channel.erl:160-171 | src/channels/router_channel.erl:184-195 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_channel.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2214a68e1521a42f7a2002fd7c5cca498431dd52d484560d0be9cc00467c7ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/decoders/router_decoder_custom_sup.erl:178-187 | src/device/router_devices_sup.erl:65-74 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_custom_sup.erl"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc1176256563ac12892bc2531b83c4e7dce4339837efea76527098eb79dfa80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/channels/router_iot_central_channel.erl:202-211 | src/channels/router_iot_hub_channel.erl:201-207 \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":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83a26f0e41b748f76e244e5bd79c60cf4fc784f7cd5d2aebb413a95b3a8cf20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/channels/router_console_channel.erl:31-34 | src/channels/router_no_channel.erl:31-34 \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":"src/channels/router_console_channel.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"391e885dc7859cb0b53a60e30464d87b23f3b7f1dac06025aa29cc21c296e5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/channels/router_iot_central_connection.erl:246-249 | src/channels/router_iot_hub_connection.erl:204-207 \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":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"49980c157aa9df0dfa3e608c7fa9c4a748b54eed2040704486690f8d7dad177a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/cli/router_cli_device_worker.erl:28-38 | src/cli/router_cli_organization.erl:26-35 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_device_worker.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"81deb90f5e10ccd52ad2153dc285af0fee67f3d9f238c418b65299051a00790d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/lora/lorawan_utils.erl:74-75 | src/router_utils.erl:587-588 \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":"src/router_utils.erl"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdee96daa8c4fb125d56a9f662d9bf70180561c5df1ac05ac5f35ceedebb33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): src/grpc/router_cli_migration_skf_list_handler.erl:29-31 | src/grpc/router_ics_route_get_devaddrs_handler.erl:29-31 | src/grpc/router_ics_skf_list_handler.erl:29-31 \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":"src/grpc/router_cli_migration_skf_list_handler.erl"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e24de4a850db1e8f40a335538c27fc9f7f0b6c7a33d5dda973a3a9cf6bf5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/channels/router_iot_central_channel.erl:218-220 | src/channels/router_iot_hub_channel.erl:214-216 \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":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1129954063902757ab9aa2c5f7cca27c79df3fc3303f231448c76f5787d25166"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): src/apis/router_console_dc_tracker.erl:342-346 | src/decoders/router_decoder.erl:145-149 | src/device/router_device_cache.erl:55-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 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_dc_tracker.erl"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5b2fda15bb9deb767c0f65ee056d00402cb60705e57314d632b286ac526722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/cli/router_cli_device_worker.erl:16-26 | src/cli/router_cli_organization.erl:15-24 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_device_worker.erl"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9dec0cb9e893f0c6c2e569145aa9f5735709f8092d919750231fb0df0ab83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/channels/router_iot_central_connection.erl:214-217 | src/channels/router_iot_hub_connection.erl:178-180 \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":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c689fae2135f315feac00b97be36a22ce75596193523b8973414109d58e8a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): src/grpc/router_cli_migration_skf_list_handler.erl:24-26 | src/grpc/router_ics_route_get_euis_handler.erl:22-24 | src/grpc/router_ics_skf_list_handler.erl:24-26 \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":"src/grpc/router_cli_migration_skf_list_handler.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"371ce80808a4e4f69c4cf94289759699501fe95647e57ccb8c20862b6ab2726f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/channels/router_iot_central_connection.erl:488-493 | src/channels/router_iot_hub_connection.erl:351-356 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc5a3089302ed3902137e2d458c228c57b6c8538cf908eeafe8c3d1cbeb96fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/apis/router_console_ws_worker.erl:463-498 | src/device/router_device_worker.erl:420-455 \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 \u0060src/apis/router_console_ws_worker.erl:463\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, \u0060src/device/router_device_worker.erl:417\u0060 calls \u0060max\u0060, \u0060id\u0060, \u0060save_and_update\u0060 and \u0060src/apis/router_console_ws_worker.erl:461\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":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a41e4eabf14037c6d8fb5fae7a07aeda42f61e4fd9d4373d40e609b95b6f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/channels/router_aws_channel.erl:263-291 | src/channels/router_mqtt_channel.erl:374-402 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_mqtt_channel.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abe11f4366b2604918a7af36b190a85081290b051471128ba9deb95fd3caa71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): src/channels/router_aws_channel.erl:302-326 | src/channels/router_iot_central_channel.erl:254-278 | src/channels/router_iot_hub_channel.erl:250-274 | src/channels/router_mqtt_channel.erl:413-437 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_iot_central_channel.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:302\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"998fd4179c46a4fb5561ecfc73e1b5b3ec621016ba23be2d16ce1638d64550d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/channels/router_iot_central_channel.erl:83-105 | src/channels/router_iot_hub_channel.erl:82-104 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_channel.erl\u0060 and \u0060src/channels/router_iot_hub_channel.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_iot_central_channel.erl:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe507b9afe2d5a89d93cb8b5b7af8f658f250fcd057f166bdc7acf61ebcfee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): src/router_xor_filter_worker.erl:284-305 | src/router_xor_filter_worker.erl:318-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 \u0060src/router_xor_filter_worker.erl:284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_xor_filter_worker.erl"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c963482b2fcd07f0d0e00d86e3344b1dd968686305a5e001fc85c572fa412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/channels/router_iot_central_channel.erl:227-247 | src/channels/router_iot_hub_channel.erl:223-243 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_channel.erl\u0060 and \u0060src/channels/router_iot_hub_channel.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_iot_central_channel.erl:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"05477732b921bd3719eae45443e1aa0f766e3a80d6cd4b0d158af873262ce987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/device/router_device_worker.erl:1667-1687 | src/device/router_device_worker.erl:1718-1738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/device/router_device_worker.erl:1667\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff056c64ed5b5a3fc2d4eccaa068bb199e21a79aba338c0507f349a08bfd800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 5): src/apis/router_console_api.erl:778-796 | src/apis/router_console_api.erl:809-828 | src/apis/router_console_api.erl:838-856 | src/apis/router_console_api.erl:874-893 | src/apis/router_console_api.erl:910-928 \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 \u0060src/apis/router_console_api.erl:778\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd7cf21264ba10edcad1939ef0383313517355c0089deded318d426aac36013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 2): src/device/router_device_worker.erl:294-313 | src/device/router_device_worker.erl:1314-1327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/device/router_device_worker.erl:1314\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"589c733403047f735b7d0f4e3a5e1c8721d7a9bd39baa903ca08827d6653df72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): src/channels/router_aws_channel.erl:202-215 | src/channels/router_mqtt_channel.erl:297-315 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_mqtt_channel.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_mqtt_channel.erl:297\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8a92d23cbd49dc993cee9ceb9a7985e9201dc396056ddb0a000de6b3e683be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/channels/router_iot_central_channel.erl:143-159 | src/channels/router_iot_hub_channel.erl:142-158 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_channel.erl\u0060 and \u0060src/channels/router_iot_hub_channel.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ba96204c6e982873577066dc0708b1cfd31b50326b56013070b14daad117b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/channels/router_mqtt_channel.erl:153-168 | src/channels/router_mqtt_channel.erl:209-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_mqtt_channel.erl:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_mqtt_channel.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c131d05e7a945ecb33403d8e4a2fc8e7bcc14bf4495f6cd3f60c8c255568aed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/router_sc_worker.erl:173-187 | src/router_sc_worker.erl:205-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/router_sc_worker.erl:173\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":"src/router_sc_worker.erl"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b03cedfe5e9c6adf1202e70b32a8c718e5a98f3852fe6872a322e818d86d1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/channels/router_iot_central_channel.erl:185-199 | src/channels/router_iot_hub_channel.erl:184-198 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_channel.erl\u0060 and \u0060src/channels/router_iot_hub_channel.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_iot_central_channel.erl:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0715e9b06612a2eedd49024c26772d61677fe7876a224a90b00b13fc244aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/channels/router_aws_channel.erl:218-229 | src/channels/router_mqtt_channel.erl:328-341 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_mqtt_channel.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c930abfb32bc856b39b9e5142e168b89f3969f368d67ae64c4947a177eea784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/apis/router_console_ws_worker.erl:437-449 | src/device/router_device_worker.erl:392-404 \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 \u0060src/apis/router_console_ws_worker.erl:437\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/apis/router_console_ws_worker.erl:435\u0060 calls \u0060info\u0060 and \u0060src/device/router_device_worker.erl:391\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":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f520b48bc2a6855f96288e0628a1631ae6ea0bb0b961a7dae3bf5acee08ec4ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/channels/router_aws_channel.erl:116-128 | src/channels/router_mqtt_channel.erl:186-198 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_mqtt_channel.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2804a8987f55d9ba71a2454edea6e3eafc262a759f6a14779699b94f16ce67e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/channels/router_aws_channel.erl:168-180 | src/channels/router_mqtt_channel.erl:259-271 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_mqtt_channel.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87dbe1d954141a4a54de4c19cb41dbba16380a5f0e4c6e05071b191def11bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/channels/router_aws_channel.erl:287-297 | src/channels/router_iot_central_channel.erl:239-249 | src/channels/router_iot_hub_channel.erl:235-245 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_iot_central_channel.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcefc409c12f0a079dbe592ad6e7f9cc20074c9c514905f168b440d4a935f612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/apis/router_console_api.erl:322-332 | src/apis/router_console_api.erl:338-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/apis/router_console_api.erl:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe02d8efa26383f3f3f25a122d042d9c6bd644f9ee49ab09b2e12ed2b2fd6e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/device/router_device_worker.erl:1811-1821 | src/device/router_device_worker.erl:1897-1907 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/device/router_device_worker.erl:1811\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8844a5858216c9746a0fb01c9569875bf27b1e5cf43eaa83245320c7f6d8111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/channels/router_iot_central_connection.erl:291-299 | src/channels/router_iot_central_connection.erl:344-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef357f8988b023d0f591c0e721b167a8a3e86a6c26dd624885cb8145a39f25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/device/router_device_routing.erl:391-400 | src/device/router_device_routing.erl:415-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/device/router_device_routing.erl:391\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_routing.erl"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0dd49ab3baedb89b9330c852f4dbcf91a0ff5292a5bcf55251427a979b0441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): src/channels/router_aws_channel.erl:79-87 | src/channels/router_console_channel.erl:37-45 | src/channels/router_iot_central_channel.erl:59-67 | src/channels/router_iot_hub_channel.erl:58-66 | src/channels/router_mqtt_channel.erl:71-79 | src/channels/router_no_channel.erl:37-45 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_iot_central_channel.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8509b045bef26570d268edf4d4e338555ca5bb3cc1cdf400d54c6a710d9f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/router_utils.erl:404-412 | src/router_utils.erl:454-462 | src/router_utils.erl:480-488 \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":"src/router_utils.erl"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"56126b3b710960d82f483bf324d32dcd42540246b65cac43ef56e6e46b4990b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/apis/router_console_api.erl:385-393 | src/apis/router_console_api.erl:398-405 \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, \u0060src/apis/router_console_api.erl:394\u0060 calls \u0060get\u0060 and \u0060src/apis/router_console_api.erl:406\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":"src/apis/router_console_api.erl"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"50098b898ac1c1bbccddd01680730c9406056ae423c2ed7359970612d9cb8bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/channels/router_mqtt_channel.erl:133-141 | src/channels/router_mqtt_channel.erl:178-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_mqtt_channel.erl:133\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, \u0060src/channels/router_mqtt_channel.erl:187\u0060 calls \u0060subscribe\u0060 and \u0060src/channels/router_mqtt_channel.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":"src/channels/router_mqtt_channel.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ae417668f9fade5d31312db8780d927166e797e615f31cc94378dfea1605b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/device/router_device_devaddr.erl:262-270 | src/grpc/router_ics_eui_worker.erl:269-277 \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":"src/device/router_device_devaddr.erl"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6bd1b7ae1e2753e364e01ae43bdb312de9fc5ef83fc2aa1f8a2ece2f51810e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): src/channels/router_iot_central_connection.erl:538-545 | src/channels/router_iot_hub_connection.erl:333-338 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_connection.erl\u0060 and \u0060src/channels/router_iot_hub_connection.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_iot_central_connection.erl:538\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2dfa1421fb57d1397acf1581d81c9482298628b4ffd517ce2e7496d1f44419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/grpc/router_ics_eui_worker.erl:186-193 | src/grpc/router_ics_eui_worker.erl:207-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/grpc/router_ics_eui_worker.erl:186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_eui_worker.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f5a6266e3a74486540e6f372358fbc4b892f8046352928c176a1be5b2fa0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/grpc/router_ics_eui_worker.erl:482-489 | src/grpc/router_ics_eui_worker.erl:500-506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/grpc/router_ics_eui_worker.erl:482\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_eui_worker.erl"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28bc38f600da3714d02ff377af261d6f628d7878ee1c1eda73335b2015bd160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): src/channels/router_aws_channel.erl:78-84 | src/channels/router_console_channel.erl:36-42 | src/channels/router_http_channel.erl:55-61 | src/channels/router_iot_central_channel.erl:58-64 | src/channels/router_iot_hub_channel.erl:57-63 | src/channels/router_mqtt_channel.erl:70-76 | src/channels/router_no_channel.erl:36-42 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_iot_central_channel.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"395ab141a0b6adf27519bdb6803139393b88f9abed70a91ff3985ea9dcbc947b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/router_utils.erl:376-382 | src/router_utils.erl:403-409 | src/router_utils.erl:453-459 | src/router_utils.erl:479-485 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9e6edcb446fe9ee4ec130a8f433fd6657ecc496268c073d82a54d0820170cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/router_utils.erl:409-415 | src/router_utils.erl:433-439 | src/router_utils.erl:459-465 \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 \u0060src/router_utils.erl:409\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"7836c57772e37c9ac786916c7be1d434c846b5f98e6b5db781c0d28b91633970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/channels/router_aws_channel.erl:248-254 | src/channels/router_mqtt_channel.erl:359-365 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_mqtt_channel.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ebcbf7e40c04007e61d1c824fad686e17f307ebeca4f9a86ae22f3186d95c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/channels/router_iot_central_connection.erl:427-433 | src/channels/router_iot_central_connection.erl:463-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbf588e3a598dbd3d996d938c2b3482c4a864ece9185de0a8f4b3978a363e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/cli/router_cli_xor_filter.erl:168-178 | src/cli/router_cli_xor_filter.erl:196-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/cli/router_cli_xor_filter.erl:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_xor_filter.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"31344e72bcf6191e27537481f9dc15ecc1ec63be80c721768ee2026e735daad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/device/router_device_channels_worker.erl:853-859 | src/router_utils.erl:840-846 \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":"src/device/router_device_channels_worker.erl"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"105f848e1824779411699872ff3ef6acb70fb06c48435daf9bf61b0202d96f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/channels/router_aws_channel.erl:294-299 | src/channels/router_iot_central_channel.erl:246-251 | src/channels/router_iot_hub_channel.erl:242-247 | src/channels/router_mqtt_channel.erl:405-410 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_iot_central_channel.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/channels/router_aws_channel.erl:294\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36b9058acdf946a7092e96ece72dfcec200e756fd2395a9b58ce106900f1b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/apis/router_console_api.erl:320-325 | src/apis/router_console_api.erl:335-341 | src/apis/router_console_api.erl:414-420 \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":"src/apis/router_console_api.erl"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac961a6c54a834891f3bdd8e587e1d73fd70449c20164cbe4ada15b96563f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/apis/router_console_api.erl:1032-1037 | src/apis/router_console_api.erl:1067-1072 | src/apis/router_console_api.erl:1105-1110 \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":"src/apis/router_console_api.erl"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7396a4afd9470d80353934d857b1c848f0a87ce75d31312cf72db7054a9b8a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/device/router_device_channels_worker.erl:862-867 | src/router_utils.erl:847-853 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17fc2d379bf1a93eecbce5d70c3114127e2bbbaa2b208972d3f97df42bdc86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/apis/router_console_api.erl:684-688 | src/apis/router_console_api.erl:722-726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"661df7845303613d9f30b6ab4f1f3f16b798bf30f9d9261ac0fc3dfe4a08c28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/device/router_device.erl:625-630 | src/router_xor_filter_worker.erl:683-688 \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":"src/device/router_device.erl"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d79fec96adc3d5c5fedaaf63ba3a33e45e16a8a7e844258fd4c2e7a0d99176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/cli/router_cli_info.erl:25-29 | src/cli/router_cli_migration.erl:26-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_info.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b18515736d4637c793620872d5cf04f512de8ca1d79fd80efe2e46c08b1668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/channels/router_iot_central_connection.erl:236-243 | src/channels/router_iot_hub_connection.erl:197-201 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_connection.erl\u0060 and \u0060src/channels/router_iot_hub_connection.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f27225589e0fca404a583e913e8ef8ec909d01578c9335760b0add0b8e7983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/channels/router_iot_central_connection.erl:252-260 | src/channels/router_iot_hub_connection.erl:210-218 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_connection.erl\u0060 and \u0060src/channels/router_iot_hub_connection.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a766f3695e6b55509d7729cbf157c3d57ea30940531359dff93bb1b18cf0a7e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/device/router_device_channels_worker.erl:284-296 | src/device/router_device_channels_worker.erl:312-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/device/router_device_channels_worker.erl:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7b7f59ff659f1c8b1f31434798fbd4da0f01253789f39c7cc7ce8568fcc470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/grpc/router_ics_eui_worker.erl:64-73 | src/grpc/router_ics_skf_worker.erl:91-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_eui_worker.erl"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced2c58a2f02de45895a3e82f99ec2fa52162384f928e15acff49e373d022ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/router_utils.erl:229-238 | src/router_utils.erl:251-260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/router_utils.erl:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd517e43ee16e78d6919667dcf164eb68ef2fbdc63b48e3268abfe1518ca099e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/apis/router_console_ws_worker.erl:157-165 | src/apis/router_console_ws_worker.erl:166-172 | src/apis/router_console_ws_worker.erl:173-179 \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 \u0060src/apis/router_console_ws_worker.erl:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_ws_worker.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c47685e2bccf405466923826b39097767a8ebd4ef9e747f44a1ab3da09835e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/device/router_device_channels_worker.erl:698-705 | src/device/router_device_channels_worker.erl:721-728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"893c7936821d9f83247fdeed7d611d3c99ae4e7c1cac192707c7e86a9537496b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/channels/router_iot_central_connection.erl:222-229 | src/channels/router_iot_hub_connection.erl:186-193 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_connection.erl\u0060 and \u0060src/channels/router_iot_hub_connection.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c8c9cb637f7d766c7df5a147b0427f433266cda5bbda514a83db3fd2c3142e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/channels/router_aws_channel.erl:442-449 | src/channels/router_aws_channel.erl:463-470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c8699843c8e4f3222c3e14097cbbe1101d4f18e22aa1881654c6176793db88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/channels/router_iot_central_channel.erl:110-116 | src/channels/router_iot_hub_channel.erl:109-115 \u2014 before extracting anything, compare \u0060src/channels/router_iot_central_channel.erl\u0060 and \u0060src/channels/router_iot_hub_channel.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf689eeb983c369cfef409024074b95db0ce480a15bd52dd10c746e46ba0452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/apis/router_console_api.erl:442-448 | src/apis/router_console_api.erl:1314-1320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/apis/router_console_api.erl:442\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd0271543b74f27c96473fa408562735cd6f26196b7dc61fc72395e96144cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/device/router_device_channels_worker.erl:690-695 | src/device/router_device_channels_worker.erl:713-718 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c627572093d91a921465ea02a048b1036f9054e56e70de817fd0d1981a93d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/channels/router_aws_channel.erl:92-96 | src/channels/router_iot_central_channel.erl:72-76 | src/channels/router_iot_hub_channel.erl:71-75 \u2014 before extracting anything, compare \u0060src/channels/router_aws_channel.erl\u0060 and \u0060src/channels/router_iot_central_channel.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede9164f59c73ae73dd489c115d8a6b6ab6a274714f866dac3c78c9a8aae3afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/device/router_device.erl:648-653 | src/router_xor_filter_worker.erl:705-710 \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":"src/device/router_device.erl"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13e45cd3e87693c0ea35393b6ef26997d3d0eac583f658b80da154dbc185ed5"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: clique: Runtime dependency \u0060clique\u0060 is fetched from source in rebar.config and tracks branch \u0060develop\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f608079e3ee83e3e4f5cb5cf78a90917576739c356b03cf425c02652f7f1b548"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: erlang_lorawan: Runtime dependency \u0060erlang_lorawan\u0060 is fetched from source in rebar.config and tracks branch \u0060master\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a6971744cf21a6bdb5771519ce7638d7a181d030af39e3e6265aa5d54d31f91"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: router_utils: Runtime dependency \u0060router_utils\u0060 is fetched from source in rebar.config and tracks branch \u0060main\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aa73ddd5c94e7e543b53cfe115757bc4ecc27544b2945d661fc582301522b425"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: httpc_aws: Runtime dependency \u0060httpc_aws\u0060 is fetched from source in rebar.config and tracks branch \u0060master\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e85390e0620633456501187687bb7d3beef827eb465e9af48502b15417acea82"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: erlang_v8: Runtime dependency \u0060erlang_v8\u0060 is fetched from source in rebar.config and tracks branch \u0060master\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a1f642d63a7afbb51631bad000bb77a7b423b44b426a7352002e8cf9c91c9369"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: bbmustache: Runtime dependency \u0060bbmustache\u0060 is fetched from source in rebar.config and tracks branch \u0060data-fun\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f6e120b127dfdd2eef453891078d6c226a4ab9daf1d2dac94303da595d3ab757"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: iso8601: Runtime dependency \u0060iso8601\u0060 is fetched from source in rebar.config and tracks branch \u0060master\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2a120583f4a5f93992c2718440f2d3a8be74a6debcadd028fa8bcb1d009b34bd"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: grpcbox: Runtime dependency \u0060grpcbox\u0060 is fetched from source in rebar.config and tracks branch \u0060adt/immediate-sends\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"755804b9c8c971017a443d53908b507bb8694cc2e595197071d78460c9049087"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: e2qc: Runtime dependency \u0060e2qc\u0060 is fetched from source in rebar.config and tracks branch \u0060master\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"517088f4e369e9314942fd5fd4d5089c1eab4b74e4488083eed3093699eace40"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: helium_proto: Runtime dependency \u0060helium_proto\u0060 is fetched from source in rebar.config and tracks branch \u0060master\u0060 \u2014 the declaration pins no immutable revision, so \u0060rebar3 upgrade\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060{tag, \u0022v1.2.3\u0022}\u0060 or \u0060{ref, \u0022\u003Cfull commit SHA\u003E\u0022}\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fbd26ebbf37bbf25cfbfb6a44c1482d427b7bfde9e6e520d3c7eada55dad8928"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/channels/router_aws_channel.erl, src/grpc/helium_packet_service.erl. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fb7beceaa7555e61d81467d051a8476dbbdfcbc52de487572f1fe3c1768a0ffd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO uncomment if testing against other regions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_SUITE.erl"},"region":{"startLine":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56b25024aa0abc192f07556c1a8662e2afc6c862e2f70c47813b0465a86477f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO uncomment if testing against other regions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_SUITE.erl"},"region":{"startLine":3041}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a64d78b324bf322fcbe89c8cd07b523ce497c1914a03fb8399fd62b1702943"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO uncomment if testing against other regions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_SUITE.erl"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"674b851e1ee3cd0c77e1103be1568bb45a1d503375c20e9b1faf4652abe7efb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO uncomment if testing against other regions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_SUITE.erl"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"326b6cc8b45aa3eec0b32c959dc058a99125fa47fb00cdbaccd29e9a8127b9ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO uncomment if testing against other regions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_SUITE.erl"},"region":{"startLine":3301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aad5402890c8ee22f8ad0a31b24f0719f7098c0d818772d16e6d8f409fca5d"}},{"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":"test/router_channel_aws_SUITE.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b873a3032a5fac644d459ae87ef8b5e335bdfdd708eedd7f38b4f3a9d6ddb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Kill single grpcbox server rather than entire app. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_ics_eui_worker_SUITE.erl"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"554eeaf982cfc48f10bb93db3e182dae5c82cb7e48b2eb34fafca25ddcc353f7"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: %% XXX assume AS923 form \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/router_lorawan_handler_test.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c3d624947608c6a2166d9077b0c20794f67272d4eb9e5b93524ea2863a3417"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Fix force open nonce \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_sc_worker.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03801704da165ff8413b9d9a64666a21b1aa08d33052f94d52e6cae543e4785"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Not really sure where exactly to install this handler at tbh... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_sc_worker.erl"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a4d326148e1902c6286398bd349d35f74539fece323f795e38f7ad1b661a54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO promote \u0060rx_delay\u0027 out of \u0060metadata\u0027, so metadata can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device.erl"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e26df54cf5031c9b40fe20eb9dc4100fd1ef67b150f458070d3387c9eed29c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: improve this maybe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_cache.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b565659f4bf7e127905dae90e694c08f14547e4c24c4cc306158365d2b901"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Maybe make this a ets table to avoid lookups all the time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_devaddr.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25843c138023d32a1d34e5752c0980bb47ceb232a376ba5c535649aa7faf11d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: I dont think we should be doing this? let the device worker decide \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_routing.erl"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b230796457ad0685d6886eaa0b1b4b908c98f23464a0c329978ef13275cefca4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO we should really just call this once per join nonce \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2723007848e8ecac094484bb2b45baa31721ec32e7d207531125b85f721951b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: we need \u0060link_adr_answer\u0027 for ADR. Suggest refactoring 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":"src/device/router_device_worker.erl"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"362ac7f801a8bbcb79db725b2d972e2fb3b651c0cc7de42bba3ea19f4c476f89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: with ADR implemented, this function, or at least its name, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca56f4624b99a45f48366c00f6b4038dc8e69784ba004dd7379aa322986389a1"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: %% XXX we should get this to report_status somehow, but it\u0027s a bit tricky right now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aac370461b571a87a19750a76d00bf6d2a03451e275007495fa993a0bd4d5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: when purchasing multiple packets, is the best SNR/RSSI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f02cb2fe500792d4708e2b3ffd06c7e78b9fea650782484faf153a7dd16595"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% ToDo: Our goal is for Plan data to be retrieved from chain var \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_worker.erl"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d631258347a1cf4198328d8ae699125ef0dc62540322fe8c2ee69cbf46f196"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO this should be 0 or 1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_cayenne.erl"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d716b7cdea2607426b626525fd8d49a35e08527570485410186d014b454a338c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO this should be 0 or 1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_cayenne.erl"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf7fcd9f21844c6cb4aff2d731bb03dc060b0673e50b9cd1f5af744e53ce133"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO is the value MSB or LSB \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_cayenne.erl"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a538c39fcf7e3f7d8d174bd91111d84d1a76f585a3314804d64b3f35275f1c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO is the value MSB or LSB \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_cayenne.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5225cb5962f290f6bc84aa0c095d28036cc85a6d43f9a917b4da2c17993e62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO is the value MSB or LSB \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_cayenne.erl"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5729da903150c4b22a2982c6fc1cc4cea16afff455befa4fb937dc71195abd49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO value is 0 or 1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_cayenne.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d78ffb111ccde3c05ce4dea533524ac41f75786bf3f740c879599236d2a38bc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: %% FIXME: Bringing back the retry mechanism for decoding until we have 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":"src/decoders/router_decoder_custom_worker.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7d2fbc303980fb75cc326b31cd1727163a1c1c9c59c06856e0f58133aac827"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO this eliminates any tolerance for intermittent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/decoders/router_decoder_custom_worker.erl"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e28f0b1ccb78a1f29e02fdad18eef093900220d69aaf51c1678876aea5d8e19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: log more of the errors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b93f6f4c18f8e40d802082fc10ff667915d70a1d4a5293837f3df9fa37f1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Replace with \u0060uri_string:quote/1\u0027 when it get\u0027s released. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c1d265b304db6034044de84210b64a31556e55f0a019f0c2477ea291dcfdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Replace with \u0060uri_string:quote/1\u0027 when it get\u0027s released. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"134ad628851f7a4875d884b46c56df37c22cc0a3c425cf6de5775f05df6e8bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Replace with \u0060uri_string:quote/1\u0027 when it get\u0027s released. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_connection.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"739fadb84d5566f208a2d8dee35951b9b826152fd5f975f175b25587f668249f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Replace with \u0060uri_string:quote/1\u0027 when it get\u0027s released. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_connection.erl"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58f6a3309f515d56d269ccd90b566f79615b2a488c2a33739c5838d48b3b903"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: join_request guard never applies; see prev arm \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d21cf80d1386ecd1cbe8cb67cbb3929e4fce868a9b4599c392326f0931b178"}},{"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 \u0060rebar.config\u0060 makes this repository a deployable product (line 89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rebar.config"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b016f0e8c2fc811d40df24f2d57a5b518b61eb8e3fa700b4b7aff08b91675f"}},{"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":"2766b276434652c32f376ba507a0c858f6f8948f8edc18e9457086a1a1e15e01"},"properties":{"commitSha":"9c53847c577ac4220cc14658f35463c9864ef3d2"}},{"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":"bac747558c395bf543044c854a14f5b0780c38e7926fa99b7b55389c0f1d36b2"}},{"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":"1542ac657294a7960a3ca68607ef7a17d9ed3d2457fb06dcd777067445c6a3cf"},"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":"899d3700ebd8b85e804fcd7e38cb97e700f4fa8388214641b42213c781137375"},"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":"85b18aba1ee67c8d876d9a65fefa6d7c721aa6c1118d89c488f9b202b95f0b4d"},"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":"a821222cd3b5d13eda72de3afee13229183f297095c7cb07f672e42ed68a3c1a"},"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":"85dc2f68e5ffaefd67351e32b297c2b197d9d13b2cf8bc10f26f46851e53b956"},"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":"3bf89289f27397dd08adfd9858b2ff5c0e64d138d9ef5ccce80d9c648073154d"},"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":"3072005c439a50b4d15e4eb101ec2233c2ca5714442dd8e49a3bf34e4890f93e"},"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":"dc188d5fc5e4f77555a7588b11bffa6824b7e6929f587ec28829d7b08db9e319"},"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":"c0b3d3f0fa6bd7e02ab481cc571853652a33ece93ae0d6f759303aaeed7af084"},"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":"a945f2f47fd4ecdb4891703f683a196ef6cca329b4c0ff5cc3acb6848ae2df51"},"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":"a62949cf620a632128feb4dfe7cd6c02658f5b2871d461ae1ea976f6cffcaab9"},"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":"0c9b7062ff2570529693c7a6c6b3652920b327bf1ddb4553a1781d2ac0dedca7"},"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":"30437bf4ec951a56485af00fc53f232eaca9823354f3702d3ea10136e8dc1c94"},"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":"0e742b38d338045bbd7cefeb5c0d2e5574e74ca8989bb119bf76df69899c4a9e"},"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":"c98b9b97919003d5f61034eb9b717e6ea89253211b430c2cfcf2ec6aef2c8ab9"},"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":"9e94e76097395cbb5fb0d23d5d5895349ad2104371f50bf7b07c7ef7416b91a5"},"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":"73137bc9d7aa8441788812001343243ba9e8b9c855276a3ffb8ea2a92a96305f"},"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":"45a7a3c296d604d089618ecc3c420a6686670e223d2fb39fcf9d29e5da0b6980"},"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":"bc6fca571a2716cf11b412514510a6374238c183bfffcba3af59cd030d44e675"},"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":"1bd559ab645f128cc7d06706045b5de42a0f78c2801f5b81a530047e036b61b0"},"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":"a064487a051e6e65048327c180326f5e316a0c57faf50afc3e5a0b8e3bec933c"},"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":"0c9340a68977f04b4bb4a8a41cad77aa687c39bb01aaa400ad818e3784168712"},"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":"b98cbb8f083f720b982911a0578b63b23762e12929c81ab96af22d37fcc4642a"},"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":"f3cd19f8c41613e5c876e7aae5f130878e8ef49928da95d098e878e9c8208b65"},"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":"c3e24534085ed87ce1423fb5b2c749e17f719d3abe8d0590e70dffefc9ca0369"},"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":"6cd6644e20b2073c6faf89ecc367a0f9ea12b814297962bb869834c9898c2d63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2023e577000973fecdfda812fd5d39d8d264da1aab2188383c7c68c34bee1aa1"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b52f2cc8fd96cefabc3fd530a76a221078a58d54272af2d0d4560aa878709b64"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d22c02299a6b4de3a6d31ab8c105771a164ec609593ba8930a2a2e01d4bac387"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f08f839e9efa15ab6ae49efa55f0ddf14878887eb78c293fc4d01a5c0254634d"},"properties":{"dependency":{"package":"cowlib","version":"2.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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.18.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":"6de0ed27d7d9ada19a85de9e59c7765e2907a2310f3bc64ad609ecfca269652f"},"properties":{"dependency":{"package":"ssl_verify_fun","version":"1.1.6","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":"d0644a58ea4c9b9ccc706d004691ecaef1c14e2778efa12f7f34fcd82153e5b5"},"properties":{"dependency":{"package":"gun","version":"e1b5e14139e2a936ad6561bf960f70f1e80b81e2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","EEF-[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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc76998bbb35e6722b3ee754f17cc853871edf73a71346c027ccae34c86b00a6"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"ruleId":"D31","level":"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":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"78bca5db63bd94de44fa71ba81c3511aea03a6f3943bb925ab0d3538996f33df"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93b1d17dad2208d2221d8563ad4cf4134c1bd546b8934ab343eb1cca3ac90cc2"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"797e008ba8139007f7b20e9f0d894779d890eed6d72aaef7150e6b7eca0d7b0c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09851e203c020987e5f9f32b211981acc9f24d0fca24ce7570df088beae23b3c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebf688b9c6aeee54200b70b6126d1e69abbc4acbb56f79d05a0f4e308e3aec76"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea1710c4aaffef54d0746bdf8ceb13467fc1bc4265440e2f4eee1a9fe2c02675"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba361726bb541a9806b2bc175923665c63e5adf68e9f1792cb2021a0ab4aaa1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71cf9d39ff7b5b45700ec1dbf61e8c7c93ff10ae677bc44aecfad12f7334d5fb"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c1f6fa5ddb9c8baa15e4daa8cc7d82357b45d2982086717b7ce108453472cc9"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8c91bc0af5e8b7d9f0c4696adccc6dedbd781820fea01f0988e584a35ea8cd8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98c5616b11be6616a7f53d6c2e5ce1fb71f8de376ff93756bbb4f083e581aa33"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab4efbb332ca40b9942e6ede3f68315c359c9ca9a3bcd1ce282fb856dcb7f445"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3023303e151b1b62b71da70aacf4e01cf206d45c3d2075885b1a50d55a06fc00"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0df5ced7ef41150e25c39f7074f9f096fd763fa7ee1c88ed58e27457584d6571"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12f9847fb5ebcbd0cf33055a5441d5ea566a804fa18429f27cee424b026a53e2"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7cbf63c0e90ef7ba5d8c7e30fbafbf372999f7899bf4ae0b7ad604c6e203310"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"2ff21f85a8c15f83be96620f915e546555901991b73838dd545e4016636ad9a4"}},{"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":"47538c0ee4a44718440a488054e5bf59aa52af08d70ef0165f7965b015a3869a"},"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":"282bb84b27a7c0ccaa12b25714ed2545fa75c8702c171dd8b9d34d649b2fbc22"},"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":"4da9ce95cb4e3fb935016a4ccaede62426c7c621b68503a3a5b747b35c3b2d0d"}},{"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":"0299a4102dab078d6d0cc91d9a4530c0b5155f31d096ec3f0fdaf797f35cb79a"}},{"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":"a4ded31401cb44f8cf8186b390b44ba2d706550881c6cbc3249c10aedaf4a524"}},{"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":"33788730a47f5a9203d379a4b1193638992bd9addb315e20f95830dd69747d72"}},{"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":"3b64f2dd9bac8ea4c3c2b9b6f006fe2ffe01675b9b035fee425e49ee015e8d84"}},{"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":"8f2c190d14216b2beb114c8d139304c7541edf1469962dbc923224ddc647cc4f"}},{"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":"035f940d017b214a3f968b76ef93705944bd6279a2b27cb6900c943f0cc716af"}},{"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":"808fa2bc9894e1eb95bbd6ab30978cae88069c09f3a11162f63ed7ea546cd73c"}},{"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":"3bc74027d57f7f73a7ad400018409e4f881737ba050e885d5e1814930c7b37b5"}},{"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":"5ed67d4debf5bd78f64f6e65a8ab23455e9443da9b3aec654fb8405e99b219ab"}},{"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":"5c2e423879aef415b630be67f2119a08bc93d234b5d59a604e1522e24fa9149e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_xor_filter_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6099b559a8fefeee84d2ddf45106b861a97b2afbd0bf75f254b644e3822b023"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_skf_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a38db3af994b43e951c36339d3d0c7a7f67f1af438215a3b496f2edc7091d99"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 10 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/channels/router_iot_central_connection.erl, src/cli/router_cli_device_worker.erl, src/channels/router_channel_utils.erl, src/cli/router_cli_xor_filter.erl, src/channels/router_iot_hub_connection.erl, src/channels/router_iot_central_channel.erl, src/channels/router_iot_hub_channel.erl, src/lora/lorawan_rxdelay.erl (and 2 more) (12 orphaned of 54 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 54 of the 72 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a368618a91f936625ae927fe651a5c1487376ed7f79565b8184e7ed35cfe226e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_device_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97ede092e01a3fdf2c356e9a016347771d56129e0136efbbe235b272e2b2b15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_channel_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e047520e2002f3f322da62307ab8a233eb152d894879ab8335211182c2e617e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/router_cli_xor_filter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"647ddf009fc07062a2b8b1eb821a93593a083bf111c373a19623811b6fee9a55"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_connection.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b01afed53762fe03ff8f1addac7c34ed6af9b3655b0296a73505a50692dd9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99736adc724f9a0094a7d0cfbca6470b2991e703b74ff1e86e9e0b2390363597"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_channel.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723cf142e9e938bb8d4f9b75de434b9d882dcac75a17dd305389fbe112e9dc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lora/lorawan_rxdelay.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acd09219e65f888f27f1e7d9b5bf0792d7db1b67dd993a87d5880104d0e4942"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/lorawan_adr.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d747e783ccbf59bf7098e2966e856931efbc1b36c254299eda72458bb6923d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_skf_reconcile.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a5d5755b28bf5cdcb2ee3a29e613eb924eb92666948bc4b6a7f12cc5cdea7d"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"171a5915161e926e35d9f9302156f7a2c57d16c96d5bdd1af3f21e2d4308269b"},"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":"3991b662e3b0fcc534b7d4f17891848d9434d8f3cba6589894c3a74c67ad1f53"},"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":"16306b945c4d23f63233ca9e436ca6f07b29beb9e894901775fc18bf267cb0a8"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: router_console_api clause \u0060handle_info/2#643\u0060: \u0060router_console_api\u0060 clause \u0060handle_info/2#643\u0060 blocks the process on a synchronous outbound I/O client call (a remote HTTP request, a socket receive, or a blocking pool checkout) awaited inline while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, issue the request off the hot path \u2014 reply asynchronously and do the I/O in a throwaway spawned worker (or use the async client API), so the process keeps serving its mailbox."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cc73ba6388510c69522ce3c49cb42147088aa9ea0fab16604292639c910f47"}},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: router_http_channel clause \u0060handle_event/2#55\u0060: \u0060router_http_channel\u0060 clause \u0060handle_event/2#55\u0060 blocks the process on a synchronous outbound I/O client call (a remote HTTP request, a socket receive, or a blocking pool checkout) awaited inline while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, issue the request off the hot path \u2014 reply asynchronously and do the I/O in a throwaway spawned worker (or use the async client API), so the process keeps serving its mailbox."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_http_channel.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f733ebfe5e8976758832b593f89f84447f113146b5900cdf673ce6daa5625605"}},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: router_http_channel clause \u0060handle_event/2#62\u0060: \u0060router_http_channel\u0060 clause \u0060handle_event/2#62\u0060 blocks the process on a synchronous outbound I/O client call (a remote HTTP request, a socket receive, or a blocking pool checkout) awaited inline while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, issue the request off the hot path \u2014 reply asynchronously and do the I/O in a throwaway spawned worker (or use the async client API), so the process keeps serving its mailbox."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_http_channel.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c87a2ac36efb1f4215bb7f9d13eae0ce6a5f96919a153bebe0c3f90e4103082"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update: \u0060update\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_aws_channel.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"30852d6a3d00833f22ba2332e9dc36b09cd8d72ec5df0018984d4c7d1cf515f9"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update: \u0060update\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_http_channel.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e8cbb7821e9e76068914d33021c11ceacaf5fffa0f4b55f4935d0f41e1eade"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update: \u0060update\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_channel.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"27038e1beacdb3c275227f1843e0a959a85b06c8c76381e5e97e53bd6b489a30"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update: \u0060update\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_channel.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6794f11663897ecf56420f01f73cfea9722d303758936ec8cf7d81119637ce24"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update: \u0060update\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_mqtt_channel.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f1ca47c1124966ca1e79696ddd6759672131e5d665c42e3a2fcc6cff52d94b"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with competing owners: update: \u0060update\u0060 is shaped like a command (one imperative intent) but is handled synchronously by more than one module \u2014 a command should have exactly one owning handler. Split the responsibilities, or raise an EVENT after the command and let the others subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/grpc/router_ics_eui_worker.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"120431bae33517f6bbbfda20e9343c34b64fe4fb165cb596b49f0e01064335bd"}},{"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":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef701b6218569ab8f3ecc9e4efa23110390e104f05c7d5e4cbaffbe4a57897"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4a9c91adfdb18219fb2786c9feba7f22bcfe58ee482cc463ef47e6f7769cac"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322c421d998c206b863aff0af7bc57a884cf31f5cf6b0981243f543edcee284"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a401e835aa0e0a6b0ab8404d2985d49025c6e87da10a42f74f10bd0cd4fe2d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5d7124bed92b2a4c9f5750264d28f804da511f87dc80b413638a22581a865e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ca569d70dcdd5e2b2686c901c65a3c53e22818a465e982036e1fcb8986aa35"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b38cd651f2cf03b7647c5b2eb41518c3d2af77e7d8acf5c8a2bee15f9a29f8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"b911b90a5a59093bf49f90e761e44c4af86ee61e1a719c88c5271aedaec728a8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40e7945c9c464eea28807c16b4ae5b86834a77a6d49f1500841d6feecfecf70"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_api.erl"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f19b00be64363c941eaf7caa6b7edaa7dfb458831f6c66288580f9a196860f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc69faebd5154c62471a89fa74b89d7e362469d4f3e45c138d8084bb054caf1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:put(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1186d40448f40174336980e361ff1ee9710465dcc0a9752a7f605dc0357f002"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa682cbdd9441c29805cc4b1c9014a67dd5788e17395a9328cd4cb6ea6d2de7f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"537f12afe697c54e6a54793f7b2a3e5bdd8d60c6a66577a566ee74fd47f15f6d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:put(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_central_connection.erl"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fc09b66a0ba177fbf8fb24e2b3a20c579e8d9a9e766cae0a5e6108adc7f262"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_connection.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1419b408d72dbeaee6071f1feab1240e7982fa86f7cfb30301fdc76a0166a743"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:put(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_connection.erl"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce2bdd431a82fa104caf5f0808a2191967a65703d1645143603a1ddd2e84ccc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hackney:delete(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/channels/router_iot_hub_connection.erl"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb6124fc7ace7746cd2c7c99478dcbaf3a5df6e610807aa7c80bdc15d2a8511"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060MType == ?CONFIRMED_UP orelse MType == ?UNCONFIRMED_UP\u0060 appears character-identically in 2 files \u2014 src/device/router_device_routing.erl, src/device/router_device_worker.erl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_routing.erl"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91c644b8a753a5da218588549d4aae97cd47aca2663e545cbb8c76ee4041b4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/router_utils.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"230198ed75e1ba7b5ce710b24ebf9e2e817f61efb9128388c79051107dc0ce37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2f98fd9a72f4896228b3f7eb8fa8353c1abc137c318f17bc4182455264c98a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/device/router_device_channels_worker.erl"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"19019b9e0fec040735413f18cbedfef285bf79ea4ed6c5d27b2a36f684ac395c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apis/router_console_ws_handler.erl"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dad195084307b5037313c241d5650be90b742b5bd58745e3bbfd6b426f8555"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-653","guid":"aa3e371b-590e-225d-a56c-cd490a1dca63","name":"Insufficient Compartmentalization","shortDescription":{"text":"Insufficient Compartmentalization"},"helpUri":"https://cwe.mitre.org/data/definitions/653.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":"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."]}]}