{"$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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"riak_core_handoff_sender.start_fold (cyclomatic 34): riak_core_handoff_sender.start_fold has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_handoff_sender.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e017b164e48149b52b0476ea7f6cf53f796779b7c45b5d00f1afbf858b1809c0"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_security.print_grants (cyclomatic 27): riak_core_security.print_grants has cyclomatic complexity 27 (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/riak_core_security.erl"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2225958355b46ecd6e0ab467bec8476fde681acb0ef401f75611e8f93547c58c"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_handoff_manager.handle_call (cyclomatic 24): riak_core_handoff_manager.handle_call 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/riak_core_handoff_manager.erl"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e859b6d95f3effe8107e27d69ded67a9c0d650b8da979b4075b3d25c98851a"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_node_watcher.handle_call (cyclomatic 23): riak_core_node_watcher.handle_call has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_node_watcher.erl"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f329552163c27db1a8eb675456bd8615ec7de96f4f9490577b6f0357dab87517"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_vnode_manager.handle_call (cyclomatic 20): riak_core_vnode_manager.handle_call 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/riak_core_vnode_manager.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc7bf0e1c9a46f47febed4d66d1f6aeb9d1be72898725a400c046b4854074f0"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_vnode.active (cyclomatic 18): riak_core_vnode.active has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_vnode.erl"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6fdedc344e2680fefa2f16e56d5d8826744dc0422b25e805cac8472680b219"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_security.authenticate (cyclomatic 17): riak_core_security.authenticate 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/riak_core_security.erl"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a688e689909df760dfaf51a4445fe1bcc9c1b751665f222fa9aaef12f7083e"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_gen_server.rec_nodes (cyclomatic 16): riak_core_gen_server.rec_nodes 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/riak_core_gen_server.erl"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e63e1f7dc6e67c11b9b1191e9eebeb208830e583b5bd737d23dc5f338c9517"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_ring_manager.prune_ringfiles (cyclomatic 16): riak_core_ring_manager.prune_ringfiles has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_ring_manager.erl"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be4bc2c4665b51da6ddf764d6ac135d70f6968583f796b088a9e2a5d6f92d0"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_core_tracer.handle_call (cyclomatic 16): riak_core_tracer.handle_call 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/riak_core_tracer.erl"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d252b55c1c663a2ad83cfc7d89d85f9ba5ccea731aab454d60708203a72b2"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_security.print_grants (cognitive 52): riak_core_security.print_grants has cognitive complexity 52 (threshold 15). Drivers by points: match/switch 16 (28 pts), if/else 4 (12 pts), loops 6 (12 pts) (nesting depth added 26). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/riak_core_security.erl holds 2 of the 13 functions over the threshold \u2014 including the worst \u2014 and 60 of the 157 points over it (38%), 2.1\u00D7 the next-largest file (src/riak_core_ring_manager.erl at 28). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_security.erl"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3e78039ac211b2a85d177ea05d44c6304cd22776fab88774a0ff8f11ddf061"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_ring_manager.prune_ringfiles (cognitive 43): riak_core_ring_manager.prune_ringfiles has cognitive complexity 43 (threshold 15). Drivers by points: loops 7 (26 pts), if/else 3 (10 pts), match/switch 4 (7 pts) (nesting depth added 29). 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/riak_core_ring_manager.erl"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0bbfb4b8692fe0971366963a5cb40f1c78791bbc433c763fd8bf17d8f358b0"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_handoff_sender.start_fold (cognitive 38): riak_core_handoff_sender.start_fold has cognitive complexity 38 (threshold 15). Drivers by points: match/switch 13 (30 pts), error handling 5, if/else 3 (nesting depth added 17). 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/riak_core_handoff_sender.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d821eaa49ca57cc1944be43424f68e6ae92ff80caf62e3b99f207d5d109cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_security.authenticate (cognitive 38): riak_core_security.authenticate has cognitive complexity 38 (threshold 15). Drivers by points: match/switch 14 (38 pts) (nesting depth added 24). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/riak_core_security.erl holds 2 of the 13 functions over the threshold \u2014 including the worst \u2014 and 60 of the 157 points over it (38%), 2.1\u00D7 the next-largest file (src/riak_core_ring_manager.erl at 28). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_security.erl"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c6b1678d841c4dc5b9b8d2ed80ae61835d2f0ba1714bdc9f6ec48e8354e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_dtrace.dtrace (cognitive 25): riak_core_dtrace.dtrace has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 10 (21 pts), if/else 4 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_dtrace.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc8b773b391ff9082dcd066de68113f6135a7c6036101f4ea1f06d869292e34"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_handoff_manager.handle_info (cognitive 23): riak_core_handoff_manager.handle_info has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 11 (19 pts), boolean chains 3, if/else 1 (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/riak_core_handoff_manager.erl"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f88eb7d483983941359ff18e301a196469701193a1fdf7a687816ffdd65d37"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_gen_server.rec_nodes (cognitive 22): riak_core_gen_server.rec_nodes has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 15 (21 pts), error handling 1 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_gen_server.erl"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"2202e78480772cbdf5b96ad759928b251165093e5691955d92ace0a2c4b95d9f"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_ring.pretty_print (cognitive 22): riak_core_ring.pretty_print has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (11 pts), match/switch 5 (6 pts), if/else 1 (4 pts), boolean chains 1 (nesting depth added 10). 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/riak_core_ring.erl"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43a18f56fb1198e0118c3f5d7182ce3894e61551368ddf009682f181a95c7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_membership_claim.choose_claim_v2 (cognitive 20): riak_core_membership_claim.choose_claim_v2 has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (12 pts), match/switch 5, if/else 1 (3 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_membership_claim.erl"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d021bef1d5d703d04edc7faec964dd889417cc807cb74a3faeece37af263ed5c"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_handoff_manager.handle_call (cognitive 18): riak_core_handoff_manager.handle_call has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 8, loops 5 (6 pts), if/else 2 (4 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_handoff_manager.erl"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"153e5e095d8ac48d5e95f4794f2f0185723226f14c90bbc8373f7f71e5f1dd94"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_handoff_sender.get_handoff_ssl_options (cognitive 18): riak_core_handoff_sender.get_handoff_ssl_options has cognitive complexity 18 (threshold 15). Drivers by points: loops 2 (7 pts), if/else 1 (5 pts), error handling 2 (4 pts), match/switch 2 (nesting depth added 11). 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/riak_core_handoff_sender.erl"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56fc0999812c4f068001ab70e47c04e86492a63a2b35bf0185494026c4f58a3"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_console.output (cognitive 17): riak_core_console.output has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8, loops 5 (7 pts), if/else 1 (2 pts) (nesting depth added 3). 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/riak_core_console.erl"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f2528c0c044ac1ca781932209d1b8bc8b086d9ebcf580a8a3b9f90ffecf08"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_core_vnode_manager.handle_call (cognitive 16): riak_core_vnode_manager.handle_call has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 13 (16 pts) (nesting depth added 3). 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/riak_core_vnode_manager.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"097374d41bec36d2002e83f35174ef62f365a44aa43ff55ba27e25f48bbd8635"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_ring.erl: FileTooLong \u2014 1660 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 158 functions. The bar is 500 significant lines; this is 1160 over it, 3.32\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/riak_core_ring.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f342be08ace6cfc7d21fe40c7170bf9255083af624e5e4f466cf918cab26564"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/new_cluster_membership_model_eqc.erl: FileTooLong \u2014 1602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1102 over it, 3.20\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":"eqc/new_cluster_membership_model_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59966695a2ca73d21c772db853c9d9136c831c563c86eeb3e280d0b202a24a52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_console.erl: FileTooLong \u2014 1361 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 107 functions. The bar is 500 significant lines; this is 861 over it, 2.72\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_console.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e9616dc78c9729ef49e01551a08c294ca6083f5af6ae48ccf6069fc2ecf33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_membership_claim.erl: FileTooLong \u2014 1280 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 76 functions. The bar is 500 significant lines; this is 780 over it, 2.56\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/riak_core_membership_claim.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83afc78b690dc259fcf6070f6cf50d733e1aab188eb7d70710cdbee02a46022"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/hashtree.erl: FileTooLong \u2014 1235 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 87 functions. The bar is 500 significant lines; this is 735 over it, 2.47\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/hashtree.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92f24b40e9346c3a40c31e0d0cb36464cbd66acae50e51db5083537f1a7f083"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_claimant.erl: FileTooLong \u2014 1183 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 115 functions. The bar is 500 significant lines; this is 683 over it, 2.37\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_claimant.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8433b621bb920f5129f067d5c9d20e7b446f725f913a96c2074d15c7344f0104"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_metadata_manager: TooManyFunctions \u2014 68 functions. The bar is 30 functions; this is 38 over it, 2.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_metadata_manager.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8f5412260aedd85df622230e9725ad08eb2fa321e44cc8cd8c75556529c6b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_security.erl: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 81 functions. The bar is 500 significant lines; this is 589 over it, 2.18\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/riak_core_security.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2516b23f9af65baf86e7efd07792148ff7217ecd407382e7d9b7e0c020b21da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_broadcast: TooManyFunctions \u2014 61 functions. The bar is 30 functions; this is 31 over it, 2.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_broadcast.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d69be11bf7734a2b7e3ee3fa35ce61bf145b05b94abaebf73ea7d32ce2fffb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_vnode.erl: FileTooLong \u2014 957 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 457 over it, 1.91\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_vnode.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa6f479a239558ff1ead8019aa5c72d2400d36ac9c298d8f78a75fc4c18c330"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_claim_util: TooManyFunctions \u2014 54 functions. The bar is 30 functions; this is 24 over it, 1.80\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_claim_util.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a61f756bb3672de5bfbb2bfda34a423fc83e451ae89ff411640f07360586ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_capability: TooManyFunctions \u2014 53 functions. The bar is 30 functions; this is 23 over it, 1.77\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/riak_core_capability.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7520c964dfc0850de9aaafaa509df589b6f518184c1ec9f406fbef861b545cb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_vnode_manager.erl: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 75 functions. The bar is 500 significant lines; this is 381 over it, 1.76\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_vnode_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f2ec802aac4529f1563b5c6f7ccb3f74ffcd9d1a9bacab6baa5f47262a9dc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_util.erl: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 65 functions. The bar is 500 significant lines; this is 261 over it, 1.52\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_util.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e7456257dd464be5a8b675dc59c211ddef76c1f00b29e290e575239f0e49ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_coverage_plan.erl: FileTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 229 over it, 1.46\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_coverage_plan.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ba3030a71170160ebaaaa82846503af2e9d213d3c1322da342d345f8ee0ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_claim_swapping.erl: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 227 over it, 1.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/riak_core_claim_swapping.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8eba8f4d1e66813039b360f8cac68af74d249219afca37cec70c9d8f8d6d63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_gen_server.erl: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 64 functions. The bar is 500 significant lines; this is 193 over it, 1.39\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/riak_core_gen_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1649fb3c04bfbbacf3b43f6a8730e0f8700be6b1e2f876284a073b868a07de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfc1b5f6e550c10bb5b52578a4fe2d6b35c61dbf4571485f7afaeb1202bfb64"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: hashtree_tree: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\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/hashtree_tree.erl"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b1ca421c833010f47544a39ae51380349b96226ab6d0ac98d83a13a0f2e4e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_handoff_status: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_handoff_status.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb76181fb5be65ead59c97eef02c696abd7ebc4dd12ad195d1bd6d84aadedb43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_metadata_hashtree: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_metadata_hashtree.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2705e83e74661515a5426d70ba5f487e0dd72b66513dd123089186326d88ccb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_handoff_sender.erl: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 133 over it, 1.27\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/riak_core_handoff_sender.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d214f34c8b294fce41351eb2d0563576807af4cad6133c16709425f16066092f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_tcp_mon: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_tcp_mon.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16a74c94ab839a8e32a7aa41ccaeb8d854171515ee15c947684c82c30556ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_handoff_manager.erl: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 98 over it, 1.20\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/riak_core_handoff_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bf3b83f5e5c63a435a8a9880db6aae4631c63b14486915da68a9d2d5de1da4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_claim_binring_alg.erl: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_claim_binring_alg.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3ea933241ebbf150c10b942e93db0ab4e4d91b3689b6840d8bc844595d821e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_ring_manager.erl: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 73 over it, 1.15\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/riak_core_ring_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f81d5af85f5cbda74a712bbff8c2cba7db2d2abcc4edf753a37f53c525bf345"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_bg_manager.erl: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_bg_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9fea2655c4e8b1551fc7751cd3efbbe09ec6a32729a4a7a4a38fcde5f1c53a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/bg_manager_eqc.erl: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba162f1238047c7c8c72ca31bc63462f33e5bb41d290b2ab9aed436eee247a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_cluster_cli: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_cluster_cli.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cddf208d95a587916e5f82fe9e7bdc26ae0dd05e1435254dde3d4e4dc76f3df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_core_node_watcher.erl: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 27 over it, 1.05\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_node_watcher.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf21cd3bc8fb003fbb7eed4ba085679f6abca0f6024ada6a87fd0c3bef09ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_metadata: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_metadata.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8b8902a53836ce23b571889ea2463cc36eba0f38c13fc32129af54aa23f016"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_core_vnode_master: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_vnode_master.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"76114e2c38f7ee658fbcf1ee4acbe177c5440c24c04a29b29db6f1c6fd9c0a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/riak_core_security.erl:632-656 | src/riak_core_security.erl:673-697 \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/riak_core_security.erl"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"418f9cb033e0465a5b3159eafaa737c6c8fd1ae8127801d0eb32ed9bed4a9641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/riak_core_vnode.erl:382-405 | src/riak_core_vnode.erl:427-450 \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/riak_core_vnode.erl"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83c441a48ebd23e942cde170a6a446e5a21253c3bf5d0aac37b69e45203301c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/riak_core_claim_sim.erl:434-450 | src/riak_core_claim_sim.erl:469-485 \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/riak_core_claim_sim.erl"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d92a0cd5c321432fdd4c004b98d5516bd4bc85a521e89efc98c0a5e5f2ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/riak_core_security.erl:250-264 | src/riak_core_security.erl:313-328 \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/riak_core_security.erl"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"62721e369551024c903978e84367bad11219c57c506411f21c8491030174a361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/riak_core_security.erl:230-243 | src/riak_core_security.erl:249-262 | src/riak_core_security.erl:293-306 | src/riak_core_security.erl:312-325 \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/riak_core_security.erl"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c3fdbcbc78205cab90a96154b790fbc1093bdbc1ce7eb5387a1cbd08645328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_core_security.erl:212-225 | src/riak_core_security.erl:275-288 \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/riak_core_security.erl"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9328da73b57369bc9418dba4bf8c8fef8e0ffc30d01ddc3d826e2df898baf70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/riak_core_console.erl:934-946 | src/riak_core_console.erl:955-967 \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/riak_core_console.erl"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a29b6aaab3e09c286184e35fb22bec0c2252c73f6be5ac68fd11a5f0ba489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/riak_core_vnode.erl:384-393 | src/riak_core_vnode.erl:429-438 | src/riak_core_vnode.erl:459-468 \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/riak_core_vnode.erl"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"813c8777c9a84d9524af7f0ada289c91edf0402dec7fa65689db56b63f653561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_core_gen_server.erl:768-776 | src/riak_core_gen_server.erl:810-818 \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/riak_core_gen_server.erl"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e4b8a9ca02d800428f33c4c29fe1fed2342132e9c841298b830a8a2621ad36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_core_priority_queue.erl:144-151 | src/riak_core_priority_queue.erl:172-179 \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/riak_core_priority_queue.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc43eef19c2ae52912a548d9af7352546e340cd12057ff206613d1fd4e4da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/gen_nb_server.erl:117-123 | src/gen_nb_server.erl:138-144 \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/gen_nb_server.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6959300ff0dce131bceaee35ad73545a904a57a27dc47115a164b05004847c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/riak_core_claim_sim.erl:230-236 | src/riak_core_console.erl:731-736 \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/riak_core_claim_sim.erl"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d8144554ae648b68ac44f4d0d9af1fdaaff7edbce4d65223acd9d90333c4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/riak_core_console.erl:1325-1330 | src/riak_core_console.erl:1349-1354 | src/riak_core_console.erl:1371-1376 \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/riak_core_console.erl"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d80d07af43e66fcd2da8fe0a46f49b5a3463f18122d0c35c562b3c5e7e640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_core_priority_queue.erl:190-195 | src/riak_core_priority_queue.erl:198-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_priority_queue.erl"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d52389f13db34aad9718d6302a372e8182fc3a7ffee92b93aaeafafbbf8fc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/gen_nb_server.erl:104-108 | src/gen_nb_server.erl:117-121 | src/gen_nb_server.erl:138-142 \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/gen_nb_server.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a2815374e8842bf0bbdf0b6f8c23c407ad6fd3a9c78fe7d371a9c7aac76b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_core_broadcast.erl:604-608 | src/riak_core_broadcast.erl:610-614 \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/riak_core_broadcast.erl"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fd16d4451a0cbf46038b854a98e4a88094813a076117765a623a2cb3789d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/bloom.erl:179-183 | src/hashtree.erl:1184-1188 \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/bloom.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd407421bc4d4b761403264c1c6abf9f0967e48bcd1aa1e4a4e9fe949a753968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_core_console.erl:483-496 | src/riak_core_console.erl:516-530 \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/riak_core_console.erl"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54434f6c9b3c11eb3c3db9fa1f36197cc70deedc2b80e748d914e34e8f3d218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_core_security.erl:579-590 | src/riak_core_security.erl:606-617 \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/riak_core_security.erl"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b478b7dfb617549d6591dfa155092fa503cd2bf465dc187501f124024919e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_core_claim_sim.erl:425-433 | src/riak_core_claim_sim.erl:460-468 \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/riak_core_claim_sim.erl"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5619cb8b679966c8e73c07905d7295a11b7ec4a562c47b33ccbbc01a950c4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_core_security.erl:115-119 | src/riak_core_security.erl:161-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_security.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e1a96f1d69684e0e674eb1b0ef8d30792fa361a2a54f88b7cbdf442700b082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_core_security.erl:87-91 | src/riak_core_security.erl:403-407 \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/riak_core_security.erl"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf8091666c67bd19c5be118f165059ffef5fc2138b3c061704e12db27b3a52"}},{"ruleId":"D12","level":"warning","message":{"text":"No dependency lockfile committed (rebar.config): rebar.config declares 9 dependencies but no lockfile (rebar.lock or mix.lock) is committed beside it, so \u0060rebar3 compile\u0060 resolves versions afresh on every machine and every CI run \u2014 two builds of this commit are not guaranteed to be the same build. Run \u0060rebar3 compile\u0060 and commit the resulting \u0060rebar.lock\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8167d684e70969326978dc347dd61843dfe24c2c826307dbb1edecc8ff726c1c"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: poolboy: Runtime dependency \u0060poolboy\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"1e0f06ae95d22c6e5bdc81dd05f2056a9e9af0525eb11b87b48cc7dde73e9036"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: riak_sysmon: Runtime dependency \u0060riak_sysmon\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"fd32edf881e16ef0aa4c31786d7b8123d2c74981a5c0fc3d7c6a6378803b5dd8"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: clique: Runtime dependency \u0060clique\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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: eleveldb: Runtime dependency \u0060eleveldb\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"bc24ed5ea94199f6000d3285b47de86500597bc96492a7853001fa6849de51d8"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: riak_ensemble: Runtime dependency \u0060riak_ensemble\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"a3d699eda2b0b00fcc5f208da61e75029ae84b2e122efafb372c0100ae6659be"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: pbkdf2: Runtime dependency \u0060pbkdf2\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"9535ff133bb6c389c66f2e9a533f2865067aa999edad437f9840f7bada886660"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: cluster_info: Runtime dependency \u0060cluster_info\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"db25ba41e6c27210b6c206d4d2e1b47563da51dd214aa5f9206e4d1bd1f89dac"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: exometer_core: Runtime dependency \u0060exometer_core\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"8d05dc6697c2cd580c4455783258e0117925602eeb626a510a871ce213bbeed6"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: basho_stats: Runtime dependency \u0060basho_stats\u0060 is fetched from source in rebar.config and tracks branch \u0060openriak-3.4\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":"eb282da8a3e99b08acf3ab85b485b29fb0da0db6f52bffd7a6b86665ea9bd3d5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 6 significant file(s) lose their only recent owner: src/riak_core_vnode.erl, src/riak_core_vnode_manager.erl, src/riak_core_coverage_plan.erl, src/riak_core_handoff_sender.erl, src/riak_core_worker_pool.erl, src/riak_core_repair.erl. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"14b56249046bfce340eaa0493322216dfd8886205d70c83e138166d0fda0d206"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (8 single-owned of 68 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 68 of the 119 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: actually not needed, since the bug is deadlock, and will \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/worker_pool_pulse.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9a52d55c8c1d8167f13dc4eeaa839a3cac30e7c8e56dcfdf4f08deaf01a4e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Update check_states to work with rejoining \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/new_cluster_membership_model_eqc.erl"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d370bebaf3fbfc34c744dd43da18385761962137fdd6be5d6891b8da68303eaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Should we add joining here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/new_cluster_membership_model_eqc.erl"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a34434519927e6d81f5eeb3b94cacd2ae52fc8733ab41dc04cf75a2ff58f87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Re-add manual tests. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/new_cluster_membership_model_eqc.erl"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeaf636a32e685fd0cee5affa861dd52d40c8f34bac4412d7d1a5bfaa2f68d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Convert this to a conjunction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/hashtree_eqc.erl"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e7145a1b9755fdf1d25c7727b6b2362a6d7a71a84cfdeed636d32daf7f9ca7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: generate fault for type that dne \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/btypes_eqc.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea934bbd0fb0b21453fa53c62b9971f4030de3d499cc12d55e16ef74abfd1f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: introduce fault to test non-existent types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/btypes_eqc.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a35e872b6324c47ac7a537302d5ed7ff4c1627592ed7ec3813865b52eb8a828"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: add fault that sometimes generates missing type name for negative testing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/btypes_eqc.erl"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e099c9133368c8145e8966e3222ed1c92cc62c9e69e9eb75f06c05235d61d341"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: use faults to generate negative case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/btypes_eqc.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7bd2e4d30ba7721c01ebfd2c03d485903a44bfef3d4623357968d3004ebf48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: incorporate other nodes so we can include created status? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/btypes_eqc.erl"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"24136131f56c73eeef347d52ddd70dd5d28165f8a64b74e308901f55fcf53769"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO This module currently tests a limited subset of 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":"eqc/bprops_eqc.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585bb5809013039183c040984b5f2fb138b7578e8b0a19d572ed673cf05e031"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO revisit, e.g., generate invalid inputs to force an error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bprops_eqc.erl"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99a1deb6516cd2329b098174d4de74da73b046cb1a95d8c66a3f67ba644c45e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Add more commands here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bprops_eqc.erl"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4733e0c26b907932330290b5b2b81e11f0c54c6fef8448937f9041a9c244d1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: change Kill (3rd arg, to boolean gen) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5226edd4503b02ba14248fb7e5dfc4596f8618f2428ec3f3e7d4cdd0d65789d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: test getting locks on behalf of calling process instead of other process \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97121540aedf314fdc21c9b548f79210281d3f3cda2613878e807ef943970d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: test trying to get lock on behalf of killed process? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f706715b8c6cb9c57b6ed9b9bf5d31ce5e3ec231d8eb007ed03468db1aca95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: we can probably remove and test this restriction instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f6e54499a469bbb3430e9c7997706a7e3e3e57ecd2059673703420b3a8a217"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: we can probably remove and test this restriction instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"96574b3438b4b821a1377ff92d08e7fb0eef062109c74426cfe83f16bddc34d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: we can probably remove and test this restriction instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55dd2e56330871138e7b8fb1af93a295cf01e3019989de3aee2caa3c075674b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% hack to get more informative post-cond failure (like eq) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda0a438c6d5733ed419e50d6c886c117bba962877be034c858ef60c9da3e106"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% hack to get more informative post-cond failure (like eq) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c42f0bb2cf7670ac507a5f6cab3a2461b212e4681c300bf9918b787b210a8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move \u002220\u0022 to define \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"106b8597f1d0278c858a1b9f05a92cfbdce40450b5f15660fd606e07b33d87c8"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% hack to get more info out of postcond failure \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f63161bf09647856af48fc404bb059d44338fda2cb86c2e52741e22e4c287d8"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% hack to get more info out of postcond failure \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d1e570a2cf18bd5cbb7f63e9406bbe55a4a645ba39edda66f1b2e48fbb5ddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: find way to get rid of this timer sleep \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5098f5997483f914667fe93d3d1f24454960d80619665bf48ae19fca4372e1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: anything we want to validate here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"352be03e45ca4e2f2b2fd5e41bb36ac1bc2dcc1d2f1c50190bc37103ee823c99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: what to validate here, if anything? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3fe0a466e3886ebb447533ee021f3cc209be9763764be3b15b0eca759f3458"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: could validate record entries in addition to correct counts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/bg_manager_eqc.erl"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"167fdbbcffbcc49ac798e5a030c98d4ce8ef270ebb7b2c886f44cd334778c558"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Double-check that these special cases are kosher \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/riak_core_vnode.hrl"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a25742d4f63cc2a379e0fb7b74e5e0ea711c56eac7b694fb7d77785a64fa985"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: make cast with retry on handoff sender side and handshake? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_vnode_manager.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aab01e54643e2f32fe17822030693e5e44f2abbde3c0f862888f16092320e81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: second arg has specific form but maybe make proplist? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_vnode_manager.erl"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8efb00e5d1b3fa0f7ab70a0ad238b153c1e0bd3058a9e41069fad84bc607b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: get all this repair, xfer status and Src business figured out. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_vnode_manager.erl"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8557b3f0cd84440783ce5bb4e719dbf6d5f981bf50fb8375eb3d2bb8d1715b87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: refactor similarties w/ finish_handoff handle_event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_vnode.erl"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cef799d16391bfcd591bf3e52fb15e93bf39f82be8f09ebaf43e7208a81e390"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Consider pmapping in a spawned proc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_util.erl"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8831921fc24a48eb38d333a872c3048a28695ad187d0277cbf7f7f580e0cc72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Consider trying to do something graceful with poolboy? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_tcp_mon.erl"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"528440c3612e44c540ceff825186a654fbca7afc5e832bbf37fef31cf99c54f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO postgres support a map from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_security.erl"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d2601481af6ddd36e36105c2f3da7d9ba1e5671c61debc6fbf1f9f800ac54c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO check if there are already \u0027user\u0027 sources for this CIDR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_security.erl"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"36acf571f55946ab5f0841d6a479cab8688b7dab0896f83a90164445a182c8e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO check if there is already an \u0027all\u0027 source for this CIDR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_security.erl"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f856efeb5aab3185cb593f54e49f9ccea08b5a3f6d14b753d97d2e6a17ee3903"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO - do deletes here, once cluster metadata supports it for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_security.erl"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac99ac1a70f8259b69e49eca905b15912398c15249c6338f88da208d9a96777"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO replace this with a cluster metadata hash check, or something \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_security.erl"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"85373c1bcf97702bcf1cc4028e8bc3dd0c83e4b3ba7c68ee0b1c7d68d1697c7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO this should call a default_hash_func() function to get default based on erlang version \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_pw_auth.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4e7bd8e4efe9d2ff5d6976d8e9262e55fc2097747fafa144dd0892143cdf51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Do something more with the salt? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_pw_auth.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6944862545080f1c04d126464c4942ed4fda4f2d3051d667fba53a93a0568ca9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: should do this out-of-band from startup so we don\u0027t block \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_metadata_manager.erl"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f7bf5cc85599713b4216113b08b93b754f5cd4eb16d356a9f9e643cf3d9bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: do this in parallel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_metadata_manager.erl"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe007c6f0d1dffed8d11eb06e3230d78df033025f72d00d286742283856c2b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Change this to an exact count of violations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_membership_claim.erl"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c52d664a4799cce1340d66ee4a829d772a070fea4f471cf082318ca6e698a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Add step to allow minor perturbations of the ring to improve \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_membership_claim.erl"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"1080146a17f2315d1adb228af716d1ccf4a30a9b8520472d92e0a44900f87c87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Consider removing reverse, not necessary for algorithm \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_membership_claim.erl"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ddb859f94d307a9d92fa7d48e89d1d6b4a0c04caeb37e546c000a4c56646b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO : Remove claim_v3 from the code base \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_membership_claim.erl"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bd6ec249c7f46d2a26c72cf43cbd8b442f81c5215689fabc427e73860bc78f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO (atb): Refactor this to comply with max_concurrency logspam PR\u0027s exit codes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_handoff_manager.erl"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03736850bfce81b2e6b9d527fdef3de473fcbe95d03bc00f1a3efd8dc39300d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: make a record? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_handoff_manager.erl"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6667493e4999bd47fb7038e6d1b45c08d00e9c0199bf1172d44bbb744c10023d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Tell other node to stop gossiping to this node. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_gossip.erl"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b96b83d6fc3007bb64fdbec03afda9cdbdf57cd8df73a982a79a5673cf9278"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Either re-implement this module from current gen_server or eliminate it. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_gen_server.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"360426d2ee6d1f3f9ec10e8a5ad51f23707f74ff25c5b0dd079e5dd946185eeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Break bulk join up differently - add 10, then another 10 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_claim_sim.erl"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b76e143e27e177286d1040a369c5ca5055b11d204258b03d124d8bc479a0cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Don\u0027t use DeltaV for BestV (total violations instead) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_claim_binring_alg.erl"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abb66f47d03a23f762b366811211b59698201b161852c6c274ba91c2088fbd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: recompute local violation changes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_claim_binring_alg.erl"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca0053e9602bdb4ec0a48a1052a8c6b5df2e32d8d292f4448fbd19a29d278be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: recompute local violation changes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_claim_binring_alg.erl"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b41b8bf5f0cd1622534ee1fe274a22d9b2b611d498003a29b2fb237a54265f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: don\u0027t graft immediately \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_broadcast.erl"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c212ead9725541055252c580edfe9cc03b4614c9fa0c5861ae0c0aff4f51d04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: once we have delayed grafting need to remove timers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_broadcast.erl"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81bd2565f39567e92d98b9329a1e839d3038ebbd65208299616bb591de76374"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: add debug logging \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_core_broadcast.erl"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1fa212ca362e198941a99167afe086231e78d8dee75092f0f128d8fea7cdfc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Use bloom filter so we don\u0027t always call get here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hashtree.erl"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03861fe6aa37bb012fa25f291a7cdf86c181599d68c91146f3372bcccc24175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO consider re-adding removed nodes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/riak_core_claim_statem.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab344e443763be15e15e00b38da0e9a58e7fc70876982d5f1ea3905c5858b04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO consider re-leaveing leaved nodes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/riak_core_claim_statem.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"137e039f31dba34546b43f818c80c8fefc938d103191522c06ab764625c7f341"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO consider re-leaving leaved nodes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/riak_core_claim_eqc.erl"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4084546c3e7b07f31c55b74a3cf50345e2b964e8050efd7150774f3f72e92dc0"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (42738 LoC, 369 module-visible types across 2 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47778939935661d1b1e3e1296d73b33b4eb79c1c976e269492caa7f705a949d5"},"properties":{"commitSha":"71d1ef25493cef4b053bd74965986fde34737b6c"}},{"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":"ecec9f71a4f4eb1a777d89610ec7ab589ac9839ba481b4c3003d77b435e68ed4"},"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"}}]},{"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":"a66d9315fb0ff4f78a6acdca7095c75f7988a058a5261b7803e0bd2a74f72635"},"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"}}]},{"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":"8e73875d441879a5de52ab0cf3555be257029fead30edac543f828af5692d0bb"},"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"}}]},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 74 of 94 significant files have no living knowledge, while the repository is still being changed at a low rate (2 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 74 separate risks. Counted over 94 of the 119 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_ring.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e8f4305a28e65f2248e70f80405ebaff8c73dc03534a4cc10860d0dae79c80"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/new_cluster_membership_model_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f74efbf6b882314ae81821ae5759845c426e3d8e43890d9dc0055ebc9dc9d42"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_claimant.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"889e7f40c9e45ea4fea0d668bb494014752614e615c114c0f7268148642e8a00"}},{"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":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README claims riak_core_lite exists but the evidence shows no such project \u2014 searched for: \u0060riak_core_lite\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_core_tracer:test_all_events/1\u0060 is exported unconditionally and its name carries a test marker at a name-segment boundary, so the shipped module publishes a function named for the test tree. No other module in this repository calls it at any arity. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_core_tracer.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94157f6971f1a3a4a56e08d229dd6c140506ae4e9c357565d2e2211f53e25b4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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":"CWE-353","shortDescription":{"text":"CWE-353"},"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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":6,"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."]}]}