{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"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":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_pb_aaefold.process (cyclomatic 67): riak_kv_pb_aaefold.process has cyclomatic complexity 67 (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_kv_pb_aaefold.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c966a32a3a75f5a8f53d1049d5291193b454f9c29d1aaa3b89ddb1bfcf28fc"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_pb_object.process (cyclomatic 61): riak_kv_pb_object.process has cyclomatic complexity 61 (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_kv_pb_object.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f805b2a19619318d0468c337eb1329bc733d947bb3eac2c73cb2a72a617e8370"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_vnode.handle_aaefold (cyclomatic 42): riak_kv_vnode.handle_aaefold has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode.erl"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ae43229901d63afff39fc80fc4b2d7bd6d632792e61551e23c85e48de2d45a"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_query_server.handle_info (cyclomatic 37): riak_kv_query_server.handle_info has cyclomatic complexity 37 (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_kv_query_server.erl"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cef921f0525cd91c8b2b6516ba9bed93841ef494cbddfade237a56f5113f51"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_vnode.handle_info (cyclomatic 36): riak_kv_vnode.handle_info has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode.erl"},"region":{"startLine":2891}}}],"partialFingerprints":{"codehealthFindingId/v1":"68460cd2362c48a889cbdbafbdf314ba8c6c8c827c29f6288037d11400e3983c"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_eleveldb_backend.fold_keys_fun (cyclomatic 32): riak_kv_eleveldb_backend.fold_keys_fun has cyclomatic complexity 32 (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_kv_eleveldb_backend.erl"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2fa9f09a92dcd709e14d19ec1b6e8ea5f94f9af027accaa47cdab375c12c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_replrtq_src.handle_call (cyclomatic 31): riak_kv_replrtq_src.handle_call has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_src.erl"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e1bdf70af40f42d6cddc64e6e8b7e43bc956dedb8e28f3caec9daf6d766b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_wm_aaefold.validate_filter_field (cyclomatic 31): riak_kv_wm_aaefold.validate_filter_field has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"441b8daf68496df4019ed36773222e6479def85c6c96f463dddf044648eac700"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_ttaaefs_manager.handle_cast (cyclomatic 29): riak_kv_ttaaefs_manager.handle_cast has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ttaaefs_manager.erl"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c996ac47ad4a533443ca959b49a014fd7db687953b6e69e0dbe434340bfe5618"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_tictacaae_cli.fold_query_arg (cyclomatic 28): riak_kv_tictacaae_cli.fold_query_arg has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_tictacaae_cli.erl"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad269f19e75480532796db43541cf3b3026a34f36edc9832f20df3760e425fe"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_bucket.validate (cyclomatic 24): riak_kv_bucket.validate 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_kv_bucket.erl"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78c4e483e75d04251c06d7164f89f95cee62ddbed04f89d4b2990d3e8096a85"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_mapred_term.parse_inputs (cyclomatic 23): riak_kv_mapred_term.parse_inputs 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_kv_mapred_term.erl"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d3a03531851b18d6d13dd0c6e8a07d509f85373118ee8171401dda80105263"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_mrc_pipe.send_inputs (cyclomatic 22): riak_kv_mrc_pipe.send_inputs has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb177c4dbaf89f176e318fbfd7cf8708da53ac86eafc07af763ca9e1c2da5507"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_mapred_term.get_required_permissions (cyclomatic 21): riak_kv_mapred_term.get_required_permissions has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_term.erl"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"207d94213dcb950a0d7deb7bcf98c2db034998e91793b445bfb560c534ad40c8"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_console.repair_2i (cyclomatic 20): riak_kv_console.repair_2i 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_kv_console.erl"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"838aaa0a68db8f816c0addc39b9d9c8eb92af5af9fe5e2bd652cf65335e46d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_get_core.response (cyclomatic 20): riak_kv_get_core.response 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_kv_get_core.erl"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"975400ece124f64c1f0ef06556d269ea1c8cac4941240ac73e681805df08f718"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_put_fsm.validate (cyclomatic 19): riak_kv_put_fsm.validate has cyclomatic complexity 19 (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_kv_put_fsm.erl"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca6facd1b9f6f6168d318bf2979b4fe1e0b738314d122403562ce33388496bd"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_tictacaae_cli.fold_cmd (cyclomatic 19): riak_kv_tictacaae_cli.fold_cmd has cyclomatic complexity 19 (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_kv_tictacaae_cli.erl"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"de48bd96ec9a09b198f45ac579145b5a7355f4a9cde2f308921d58e9a8b16d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_token_manager.handle_cast (cyclomatic 19): riak_kv_token_manager.handle_cast has cyclomatic complexity 19 (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_kv_token_manager.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19bf61199dea361eb62d20c9b63980fcca45e4928a17e0ba4cf4b427fb3156c"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_vnode.handle_coverage_request (cyclomatic 19): riak_kv_vnode.handle_coverage_request has cyclomatic complexity 19 (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_kv_vnode.erl"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"d302dfcfb451093726dcf1609e13f3cc88b3be37be6385483473acac48a5752a"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_wm_index.malformed_request (cyclomatic 19): riak_kv_wm_index.malformed_request has cyclomatic complexity 19 (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_kv_wm_index.erl"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bc0d686a3c8eefe973b736d150fd0b792f18bd3861a608912853b7a507dacc"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_clusteraae_fsm.init (cyclomatic 18): riak_kv_clusteraae_fsm.init 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_kv_clusteraae_fsm.erl"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edd4a0a59d3e38954b908159193b149bf174f84e44a184dc0bf3d6bb41992f6"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_clusteraae_fsm.process_results (cyclomatic 18): riak_kv_clusteraae_fsm.process_results 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_kv_clusteraae_fsm.erl"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d47b0ba88eab640d2e58f2d86cade2e79c7609445c1dc797a349b09fb05091"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_query_buffer.merge (cyclomatic 18): riak_kv_query_buffer.merge has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions \u2014 but note WHERE they are: these tests sit in guard sequences, and a guard is a restricted expression sublanguage that allows neither binding a local nor calling a function you wrote, so neither of those moves is available in place. Move the decision out of the guard instead: keep one clause with a permissive guard, compute the compound test in the body through named predicate functions, and dispatch on their result. Where the clauses genuinely differ by pattern rather than by test, keep the patterns and lift only the comma-conjunctions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_query_buffer.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da146509ef1eef1d66f8d06fef48a78c3ea92cd37260dcade3cc02c97c4875f"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_wm_object.accept_doc_body (cyclomatic 18): riak_kv_wm_object.accept_doc_body 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_kv_wm_object.erl"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1cec15a114b5f23e3eb311dcf9d920e7522e066064d503fe22d2d0a6b438b2"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_replrtq_snk.handle_call (cyclomatic 17): riak_kv_replrtq_snk.handle_call 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_kv_replrtq_snk.erl"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9574eccedf8b161c1710365b61ab5db06ca6146de25656052565e0660f8e69"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_wm_utils.multipart_encode_body (cyclomatic 16): riak_kv_wm_utils.multipart_encode_body 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_kv_wm_utils.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae90d62f8146cbb9ff424a7bb7ce02c1606224da939875536f60e5659f7ebd3"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_pb_object.process (cognitive 54): riak_kv_pb_object.process has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 31 (44 pts), loops 2 (8 pts), boolean chains 1, error handling 1 (nesting depth added 19). 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_kv_pb_object.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac2a99e5d4cd0445c96b185485751a35a561eaac8c1aa596c5046dc966b6a7"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_query_server.handle_info (cognitive 36): riak_kv_query_server.handle_info has cognitive complexity 36 (threshold 15). Drivers by points: match/switch 20 (26 pts), boolean chains 10 (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_kv_query_server.erl"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d3fd45a50058b3c12fe7a41216e2b3ac3486731199e5ce4e2537f5e52ef831"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_pb_aaefold.process (cognitive 29): riak_kv_pb_aaefold.process has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 29. 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_kv_pb_aaefold.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0baf4cfe606a7ad8cc9712d157198893337aac6f65cb6656758cd3a7d2ca11a"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_put_fsm.validate (cognitive 29): riak_kv_put_fsm.validate has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 15 (24 pts), if/else 3, loops 2 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_put_fsm.erl"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76bcd46f206749b894410c10ea025edcea80b8ba2c2eb09148e6edbcf48c784"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_eleveldb_backend.fold_keys_fun (cognitive 28): riak_kv_eleveldb_backend.fold_keys_fun has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 20 (25 pts), boolean chains 2, if/else 1 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eleveldb_backend.erl"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f714e01ac4efb05e00e859ab16049e76e0c5fb910495d225f261424b89632a70"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_vnode.handle_aaefold (cognitive 26): riak_kv_vnode.handle_aaefold has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 20 (26 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode.erl"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1576d933ab54430222c8ffe2ff38cee4fa40d10c6e43cb4e80e23b455c8c64"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_tictacaae_cli.fold_query_arg (cognitive 25): riak_kv_tictacaae_cli.fold_query_arg has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 10 (17 pts), error handling 5, loops 1 (3 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_tictacaae_cli.erl"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"212e631470840fd77cac37f48103dced096e9af515be3589a8a9a64a7c34aa27"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_ttaaefs_manager.handle_cast (cognitive 24): riak_kv_ttaaefs_manager.handle_cast has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 18 (23 pts), boolean chains 1 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ttaaefs_manager.erl"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d170a0c83db8484ce39d2a385ba1f1d8c81c4eb6990e820ab5704c84ba9545"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_wm_query.malformed_request (cognitive 23): riak_kv_wm_query.malformed_request has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 9 (19 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 12). 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_kv_wm_query.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc3a331f07a6416e95e24e703ab646d7a457fdb596d0ac63df5edfdb62598fe"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_query.evaluate_query (cognitive 22): riak_kv_query.evaluate_query has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 10 (19 pts), boolean chains 3 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_query.erl"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e32e48a27c4c9aacd8688c35a290f0e255762e418d2c92e0bc05c92563c2987"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_wm_object.accept_doc_body (cognitive 22): riak_kv_wm_object.accept_doc_body has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 15 (21 pts), if/else 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_kv_wm_object.erl"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cd263e9e403857f6c112bc447a47e2dcf544d845f85b77583acdd7fe0f98f"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_mrc_pipe.send_inputs (cognitive 20): riak_kv_mrc_pipe.send_inputs has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 14 (15 pts), error handling 2, loops 1 (2 pts), boolean chains 1 (nesting depth added 2). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"40166ea7abf083bc82469b5f6f70d83a35a4a9bf7c48f7610e059506582fa146"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_mapred_json.parse_step (cognitive 19): riak_kv_mapred_json.parse_step has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 12 (19 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6de5c3d6a86abec5d74d753a9856b20c5aac46c2aaafd3c5d705e227e1fcd5"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_node_cli.node_repair_status_cmd (cognitive 18): riak_kv_node_cli.node_repair_status_cmd has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (11 pts), match/switch 5 (7 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_kv_node_cli.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"035069477e201c876d58c42abeabbe38b5c7bf5a83e0540f7ca5b2d21867c03a"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_token_manager.handle_cast (cognitive 18): riak_kv_token_manager.handle_cast has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 16 (18 pts) (nesting depth added 2). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_token_manager.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2444d45c5eb663594ac5dff5ffb21d422f57b29e3f51e4a8d25e5773bae83e3"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_ensemble_backend.tick (cognitive 17): riak_kv_ensemble_backend.tick has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (9 pts), match/switch 5 (8 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ensemble_backend.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f8f9bda881dde5a0d4e2d0ca468575fd4b4952b52ad25538462273e73acf8b"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_mapred_json.parse_query (cognitive 17): riak_kv_mapred_json.parse_query has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 9 (14 pts), boolean chains 2, if/else 1 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e75d1e696d7f3da03a5152ff539c6de4007686a9f4257d8585640d6e7c50bf"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_mapred_json.parse_request (cognitive 17): riak_kv_mapred_json.parse_request has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (14 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf2682b5081fd6ba8f77760a1aa11f5603aafe13d7d6ec084bb7b0ebeda00e6"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_mrc_pipe.send_key_list (cognitive 17): riak_kv_mrc_pipe.send_key_list has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (7 pts), loops 2 (6 pts), error handling 2 (4 pts) (nesting depth added 8). 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_kv_mrc_pipe.erl"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0539ddca883e6368213b16fde3a35c61f0701a37c6d8d05b03bcf59e1de42edd"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_tictacaae_cli.fold_cmd (cognitive 17): riak_kv_tictacaae_cli.fold_cmd has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (10 pts), match/switch 5, error handling 1 (2 pts) (nesting depth added 6). 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_kv_tictacaae_cli.erl"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9177ee7831b1cc14a85a036a558940fb87be2b3fbb3c350d3601e24a53fa64b9"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_app.check_kv_health (cognitive 16): riak_kv_app.check_kv_health has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 3 (6 pts), match/switch 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_app.erl"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"27086690383fcc2ff815e9c2a3fb626a52494a0d810e2265a9b413b7a22c68ae"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_bucket.validate (cognitive 16): riak_kv_bucket.validate has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 11, boolean chains 5. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bucket.erl"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32ea6d659773c2f0b21e1cbd76a46efc2127d98696fab576dd244b3edd84954"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_get_core.final_action (cognitive 16): riak_kv_get_core.final_action has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6, loops 3 (5 pts), if/else 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_core.erl"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e830efdb5dcde277567637473bf0e1d61a33179118ec0c37c985c671e2bafd0d"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_vnode.aae_update (cognitive 16): riak_kv_vnode.aae_update has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 11 (15 pts), boolean chains 1 (nesting depth added 4). 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_kv_vnode.erl"},"region":{"startLine":4121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddcaedff9daf00a2194706c1785cb3aa8e49e7811fa7e4e5acca12380332b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_vnode.handle_info (cognitive 16): riak_kv_vnode.handle_info has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 12 (15 pts), boolean chains 1 (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_kv_vnode.erl"},"region":{"startLine":2891}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da95dd4232f9a6f4f2c6885aabecc0e994e57dfb20c717f371de296a9d344d3"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_wm_query.make_query_request (cognitive 16): riak_kv_wm_query.make_query_request has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 9 (16 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_query.erl"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"585f923b4ee0754bca0109a7f7ccfdd14a4ca8d02390781b28fb309e58ff805b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_vnode.erl: FileTooLong \u2014 4042 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 216 functions. The bar is 500 significant lines; this is 3542 over it, 8.08\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e47256b25d53bdb94b1ee61577660c3f20567a5c3479a56a36ab8863d0b57f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_object.erl: FileTooLong \u2014 1917 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 140 functions. The bar is 500 significant lines; this is 1417 over it, 3.83\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c4de30647a3f4cb0b0129d13c491a392a38e91f6b8cd09454cbfd110e3a7c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_ttaaefs_manager.erl: FileTooLong \u2014 1729 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 1229 over it, 3.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_kv_ttaaefs_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26175a9f257d03f3aabd0f8981bfc1af5c0210df51da4823004e2dd0e892786"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_object.erl: FileTooLong \u2014 1304 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 804 over it, 2.61\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fc9e20d875eb0234ad90b132a9ac1789cd3b98beef8d4aa85ecd3ac18fcabc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: replrtq_snk_eqc: TooManyFunctions \u2014 77 functions. The bar is 30 functions; this is 47 over it, 2.57\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":"eqc/replrtq_snk_eqc.erl"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da8634bf7843a879d901e54a45929cfbd379261f4b4f417ebf71880e9e48699"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: replrtq_eqc: TooManyFunctions \u2014 73 functions. The bar is 30 functions; this is 43 over it, 2.43\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":"eqc/replrtq_eqc.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2671857e857e10ccd83233d343af7b1a4ecf41c51410b2c3f554af48a53884d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_put_fsm.erl: FileTooLong \u2014 1155 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 68 functions. The bar is 500 significant lines; this is 655 over it, 2.31\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_kv_put_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d98ca2273956a9182be88176b282d6a42fd0c291b40f1de69e29bb455e8b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_bucket.erl: FileTooLong \u2014 1085 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 585 over it, 2.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_kv_bucket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"094232a46eb4e00a5fb22fec0a1c0e387d8e3392070c0dcc821220d5cd55984b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_stat.erl: FileTooLong \u2014 1071 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 571 over it, 2.14\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_stat.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"081aabca0cdf7a94eb75200a6cfdce44b66ed6147a7a323aeee6184609ef6745"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_aaefold.erl: FileTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 442 over it, 1.88\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_kv_wm_aaefold.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3971b7ff7927c5fc488bc14c4b119b460924cc3ffe4c252166e1c2af135557a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_index_hashtree.erl: FileTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 94 functions. The bar is 500 significant lines; this is 431 over it, 1.86\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_kv_index_hashtree.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765bd44f7e5f4e5419a2e7eb5700489041385b207003ece47e32bbd8b66319ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_query.erl: FileTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 414 over it, 1.83\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_query.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68c492deae0e51cd1ad2dce62fe4bde80a766c397a77b65b450bca419840298"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_entropy_manager.erl: FileTooLong \u2014 910 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 410 over it, 1.82\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_kv_entropy_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9271da1f2576c4f0ec159d201361e8016bc86bd35ead78be3c356f7edaa1c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_replrtq_src.erl: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 398 over it, 1.80\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_src.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a501cf23cf6b1a72976578225e42857b322fa0207c354db3790e086b8dcb062"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_eleveldb_backend.erl: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 385 over it, 1.77\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_kv_eleveldb_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f61f48db9509c4a523b5f5c9cbd152b25e78c85271ccbdc9982f38da7b58c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_kv_crdt: 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_kv_crdt.erl"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"225a5c61f0ba4cc4dfd92aa4719ae6e4627afe1a0341b5c9b3b39d6a71d1d99f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_tictacaae_cli.erl: FileTooLong \u2014 854 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 72 functions. The bar is 500 significant lines; this is 354 over it, 1.71\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_kv_tictacaae_cli.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e39caa4654dfee70dfdd063e70c691f34145757476b1caf0696a7b06603ccd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_query.erl: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_query.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b214fde7cc7a6c5da4ac09e5b47a036929a6d5d9da323a5807d1e6fc16735f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_bitcask_backend.erl: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 303 over it, 1.61\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0131b819e736d3d15a2c4822fa8310c2a6f6d5ad82d9691ef14eb366c7a841b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_get_fsm.erl: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a657200e855f14c23b1a22a04b2549fe9e7b7c4f7892178f719a2342db226ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_client.erl: FileTooLong \u2014 796 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 296 over it, 1.59\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_client.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e5ec3bf59ecf88b82bb19da3c1816ed8da945eda2f543c2f65be2ec1c714a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_replrtq_snk.erl: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 291 over it, 1.58\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_kv_replrtq_snk.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486943c3f9ce8fe8013536b2bde146761bf9d9848fb7db2640fa4a16fe0eee64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_json.erl: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 77 functions. The bar is 500 significant lines; this is 269 over it, 1.54\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_kv_wm_json.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed8a7cf14d5fb3b1d7364f1b41a28c2bfabe9c32039e6256a056f0f3a66fd18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/ec_eqc.erl: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 249 over it, 1.50\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/ec_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b716328e754f360ff151454a2e5994cd4aff522d0afcb91f73c707741254c96c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_leveled_backend.erl: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 249 over it, 1.50\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_leveled_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fe7add18bc2f322877fefb5508f68f2b7d2661240abfec6baeec2f89f4091a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_clusteraae_fsm.erl: FileTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 235 over it, 1.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/riak_kv_clusteraae_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb05f48ebc0fc64821e127d35a7ef73ce2472c6c7ee3f0648ab966778f03fb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_console.erl: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 232 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_kv_console.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb4c6db575fa41cd20d582a6dfcc6330ac3cc9c764f5be6f0ff1bf7bc95a7dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_token_manager.erl: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 201 over it, 1.40\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_kv_token_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8675105c3d8381177e1233c0cc2dbb2c21c02a08f8d53db8261f51a4373645e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_kv_multi_prefix_backend: 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_kv_multi_prefix_backend.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939d6a1db0bad33d8ca4d4f9a76fbaea408988b37a729512210522acaa3928d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_mrc_pipe.erl: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61af7501fd97cb1a469f735a81aa35a618a135d4866bdb2949d00b8ae11cc0fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_kv_requests: 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/riak_kv_requests.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03d8b7c605f066e7311b3d22707b9de1c042efff267f982f75f97dfd7cbe250"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_get_core.erl: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\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_kv_get_core.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dc0578ca256298fad228b956ebf477f4a65863723f6e97cc6486a7dd896889"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_memory_backend.erl: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 143 over it, 1.29\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_kv_memory_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd9360e7ee016cc524c87fbcd8fed79949211987f76a97e6a94a846b820fb34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_multi_backend.erl: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 127 over it, 1.25\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_kv_multi_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e823eb73f279d64cb185ec513274626a7f9648137c073c3e53aec82d03d21f95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/put_fsm_eqc.erl: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 107 over it, 1.21\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/put_fsm_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafecd43cb9977d684ab8408f6c0a2f947e5522f039baff3da67b024188f239e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_util.erl: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 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_kv_util.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2412dcaa50d00b09655ad70f796debf214e419a419b5fe6163f404d9e06be5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_2i_aae.erl: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 84 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_kv_2i_aae.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e33c97ecdd4fca65a76da8b882471f0ef01690763c56e2c8c6e1371656db9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_kv_mapred_filters: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_filters.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e8d328ff1889baa01ce6e16ed4cf94730aa4709c4d7d08bb8d41e83c7060a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_index.erl: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 70 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_kv_wm_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45477983bbd55877d39becbab3c5136d68d6539e090bbde7a7791de22a63db76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_mapred_json.erl: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 39 functions. 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":"src/riak_kv_mapred_json.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a41992405b8efbab591cccb5e5c244d0afe3d5c0ca13f986cb6784f4816f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_kv_wm_crdt: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_crdt.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"64020c9a193a71d172b493ecbe6fd71c15362ffa1fe8e5e60747474f6d0fb406"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_query_server.erl: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_query_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f55105d1fc65f792aa80d07f43291e8d41dac00ce52ad3a5dd902ca72f8efb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/backend_eqc.erl: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/backend_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fe1efaefb532820d7f191d46971a59453dc41e7f87fdf774b3a954a4c68ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_pb_object.erl: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23e0785dd82a17c5b4d8796fb87b0abaea309268b1b3a7475686ee199e5e522"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: riak_kv_yessir_backend: 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_kv_yessir_backend.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"edae9be8fdb935e05b2ace736f15b8592ca66e456b97c0b63eb0e0cd49dc0d3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_index.erl: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad5bc144c9af7f75cb0b0528ecab3737b1c19c5f87446debfcd0cebbafb609b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_query_buffer.erl: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 over it, 1.00\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_kv_query_buffer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"271bb9fc9a72bdb1534dad3e0ba902deb82a1dbfe0b85a7713916f1ccc10b79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/riak_kv_wm_bucket_type.erl:117-130 | src/riak_kv_wm_buckets.erl:112-125 | src/riak_kv_wm_counter.erl:158-171 | src/riak_kv_wm_index.erl:128-141 | src/riak_kv_wm_keylist.erl:119-132 | src/riak_kv_wm_object.erl:388-401 | src/riak_kv_wm_props.erl:144-157 | src/riak_kv_wm_query.erl:227-247 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfc38ff783d3f67f36c8855b32e3635bd0a2c44bc9e4d0dfea270f6a6792a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_multi_backend.erl:231-240 | src/riak_kv_multi_backend.erl:247-256 | src/riak_kv_multi_prefix_backend.erl:268-277 | src/riak_kv_multi_prefix_backend.erl:284-293 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d3b931a41f478af57f4cb4c8ef857314de63f37bd0823242194a7856b123a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_multi_backend.erl:264-273 | src/riak_kv_multi_backend.erl:279-288 | src/riak_kv_multi_prefix_backend.erl:302-311 | src/riak_kv_multi_prefix_backend.erl:317-326 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbc540022074f9ca3f473c557aec02d49b03b0ccdd5885e703713b776eb55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_wm_aaefold.erl:458-484 | src/riak_kv_wm_aaefold.erl:488-515 | src/riak_kv_wm_aaefold.erl:519-546 | src/riak_kv_wm_aaefold.erl:641-668 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8f621c20b5efe52b5d75cee0c2eaf4751ecfd122735a547382d52e7f2ca21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_wm_buckets.erl:129-152 | src/riak_kv_wm_index.erl:145-171 | src/riak_kv_wm_keylist.erl:136-160 | src/riak_kv_wm_query.erl:251-275 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b473cd9004f541e00e940b1feeb6dac142ec2d0561e3e4cc66b2745e0b893d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): src/riak_kv_multi_backend.erl:530-555 | src/riak_kv_multi_prefix_backend.erl:562-586 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2baa363c55687d8c9e040fac8243e4a0324d0fe4a85ea493bb5428c8808745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/riak_kv_index_fsm.erl:271-294 | src/riak_kv_query_server.erl:663-686 \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_kv_index_fsm.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b102e22b3288e85876782221a7fa68a733eaff10498c4b3aaba14c42931fe486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/riak_kv_multi_backend.erl:149-170 | src/riak_kv_multi_prefix_backend.erl:183-204 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4155d317334491c7f0e5144297740ae1f2e1393b2f39722213dc9f8f831ab8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 8): src/riak_kv_wm_bucket_type.erl:117-130 | src/riak_kv_wm_buckets.erl:112-125 | src/riak_kv_wm_counter.erl:158-171 | src/riak_kv_wm_index.erl:128-141 | src/riak_kv_wm_keylist.erl:119-132 | src/riak_kv_wm_object.erl:388-401 | src/riak_kv_wm_props.erl:144-157 | src/riak_kv_wm_query.erl:227-247 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_bucket_type.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4bfa392afc2cf0b1ca2ef4bc42cd954a357f97acc56c07b2b91f408a44d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/riak_kv_multi_backend.erl:615-634 | src/riak_kv_multi_prefix_backend.erl:621-640 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5c87328156b27462d4e6a02d8905a03f0116914f39d06f446e24bfeabf833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/riak_kv_multi_backend.erl:186-204 | src/riak_kv_multi_prefix_backend.erl:223-241 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5dcc81b18d27894f346595bee58797363cd38f4eb607f6a0c44dc3b26ff50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/riak_kv_wm_aaefold.erl:459-476 | src/riak_kv_wm_aaefold.erl:489-506 | src/riak_kv_wm_aaefold.erl:520-537 | src/riak_kv_wm_aaefold.erl:642-659 \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_kv_wm_aaefold.erl"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b089609b19fb9526fcc91afb12fb90474f123f13c1623389c77b042f31209f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/riak_kv_multi_backend.erl:346-363 | src/riak_kv_multi_prefix_backend.erl:376-393 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4817e76b6696c2247cd4106ec83a17895c1305aefdf8b8d858bf78d1901e1bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/riak_kv_token_manager.erl:354-371 | src/riak_kv_token_manager.erl:407-423 \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_kv_token_manager.erl"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc37bb92a090308d7e2155c6adee82fccf3525d2231988358b51bcf9f8958796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/riak_kv_vnode.erl:2282-2299 | src/riak_kv_vnode.erl:2312-2329 \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_kv_vnode.erl"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f13567f7b3381b18c5b54f3a180a193ca5805a9c0218a6f3e1fd0250de9912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/riak_kv_wm_aaefold.erl:183-199 | src/riak_kv_wm_queue.erl:109-125 | src/riak_kv_wm_stats.erl:58-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ebfb36ce2322ec398fa782a3f5cffbf18b3f00c204c64105ab023605e51a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/riak_kv_multi_backend.erl:432-448 | src/riak_kv_multi_prefix_backend.erl:462-478 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5616b4659fbb0d8755f8e358cd6c932b7c43dc4bf1d1fc36c2347d2856dc56e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/riak_kv_wm_buckets.erl:188-204 | src/riak_kv_wm_keylist.erl:197-213 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_buckets.erl\u0060 and \u0060src/riak_kv_wm_keylist.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dff0a69f3a31627aac5ee49a2abcbb77f5fdf0cd853ed8ddf5e30b4427cfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 2): src/riak_kv_wm_query.erl:204-220 | src/riak_kv_wm_queue.erl:97-107 \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_kv_wm_query.erl"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a97b761f6591c2958173ed1433a828974f455fdf6d47abc92b090991cbe98cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 3): src/riak_kv_vnode.erl:2333-2342 | src/riak_kv_vnode.erl:2364-2373 | src/riak_kv_vnode.erl:2413-2427 \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_kv_vnode.erl"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c29876d67e68ab0616cb2f573e3c131a519e90f6890336c29f5f6767dd9babc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/riak_kv_vnode.erl:2347-2361 | src/riak_kv_vnode.erl:2396-2410 | src/riak_kv_vnode.erl:2449-2463 \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_kv_vnode.erl"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c410a163bb724be652e694f32e08cef6bceeccff43697b30b596e6e28c8fc170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): src/riak_kv_wm_bucket_type.erl:106-115 | src/riak_kv_wm_buckets.erl:96-110 \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_kv_wm_bucket_type.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3ddfa0d0e181de9cbd8db1590b4e198546df92ff71ccb4563aeae3fe968aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/riak_kv_wm_index.erl:152-166 | src/riak_kv_wm_query.erl:256-270 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_index.erl\u0060 and \u0060src/riak_kv_wm_query.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_index.erl"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebd8c570da6d00ca5e41676cea4c2dd04b55dd952f4d6a5be425f060cd2cf1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): src/riak_kv_replrtq_src.erl:456-468 | src/riak_kv_replrtq_src.erl:483-495 | src/riak_kv_replrtq_src.erl:510-523 \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_kv_replrtq_src.erl"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"906376b8c9f1c204b5d4812b57e9f167cd4fd87d524551298995669d0919a7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): src/riak_kv_wm_buckets.erl:186-196 | src/riak_kv_wm_keylist.erl:195-205 | src/riak_kv_wm_object.erl:558-571 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_buckets.erl\u0060 and \u0060src/riak_kv_wm_keylist.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcddabfa9a3e0408a5a6a4a5077259035baaca8571b93ad7ad9bf3203eb02b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_kv_multi_backend.erl:461-474 | src/riak_kv_multi_prefix_backend.erl:491-504 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"640e91d7e0a687f6fc3c063cb353577ee45589cd6b23036d8297183bcc6504ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201314 lines \u00D7 3): src/riak_kv_pb_aaefold.erl:107-108 | src/riak_kv_pb_aaefold.erl:185-198 | src/riak_kv_pb_aaefold.erl:204-217 \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_kv_pb_aaefold.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88e2a1adb46afe86f68644423426b681d3f635950801d8ebcd0fda4458b19ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_kv_ttaaefs_manager.erl:585-598 | src/riak_kv_ttaaefs_manager.erl:621-634 \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_kv_ttaaefs_manager.erl"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2662881f51fb6c52ac103700631ea3ceed860c6e8138cdd00e4abbc240daea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_kv_wm_counter.erl:261-274 | src/riak_kv_wm_object.erl:693-706 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_object.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d122d335d188c94170457558873528a0218019f5f4a82c494f2aef83e588117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/riak_kv_wm_buckets.erl:140-152 | src/riak_kv_wm_index.erl:159-171 | src/riak_kv_wm_keylist.erl:148-160 | src/riak_kv_wm_query.erl:263-275 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_buckets.erl\u0060 and \u0060src/riak_kv_wm_index.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f9d90e6c98f07da27cab75afa47a3ae01ce15c77bf57e025ca3f75fc95e3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/riak_kv_ensemble_console.erl:425-436 | src/riak_kv_ensemble_console.erl:452-464 \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_kv_ensemble_console.erl"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84620324a6a08d6f6d0fe043ef7aaa2f41fae96f3c4748d39654b117e979e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/riak_kv_pipe_index.erl:172-184 | src/riak_kv_pipe_listkeys.erl:178-190 \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_kv_pipe_index.erl"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7c86a302bba09cc538d2fb614d7bf9d0883272669d8be47dc66a1d2f2eaa7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src/riak_kv_wm_counter.erl:247-257 | src/riak_kv_wm_object.erl:637-649 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_object.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49334bea659032f993eb80506a3de2b08dc919bbc84baf513e4edb10e03dfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_pb_aaefold.erl:113-124 | src/riak_kv_pb_aaefold.erl:169-180 \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_kv_pb_aaefold.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c02fef8d60ca1c81e56a854d2f5ff5ecba96da47cb12bfd3ab9ca3316e52a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_vnode.erl:3667-3678 | src/riak_kv_vnode.erl:3687-3698 \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_kv_vnode.erl"},"region":{"startLine":3667}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fce916ee25e6be1faa8bea1a87ab1605def9b1fbb63607fa13b51984c6bbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_wm_aaefold.erl:912-923 | src/riak_kv_wm_index.erl:501-512 \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_kv_wm_aaefold.erl"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb761504a25b05ea2ff7fe3a70339fa6aa5dabb51e3ec4cdb05c975ed835be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_wm_counter.erl:408-419 | src/riak_kv_wm_object.erl:1719-1730 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_object.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c55e82368a291651b3ccd214e18120ded51ab72e9901574f667e2c7ff6da16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/riak_kv_wm_counter.erl:140-149 | src/riak_kv_wm_keylist.erl:107-117 | src/riak_kv_wm_props.erl:132-142 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"993cc4e7e5b694dcc4d958e7847dcb2d8da223c75a71f4fd5a2343bcf2d6373d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/riak_kv_multi_backend.erl:114-124 | src/riak_kv_multi_prefix_backend.erl:130-140 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e3296f9552a7041c3a46eb6f401d0e5b78b1bc8a72eba77b83c5c1c26f324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 3): src/riak_kv_wm_aaefold.erl:171-181 | src/riak_kv_wm_index.erl:116-126 | src/riak_kv_wm_keylist.erl:99-104 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_index.erl\u0060 and \u0060src/riak_kv_wm_keylist.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6ea011afcbd56d2c9a94dc95f727ecfeec3ff18e897bcebab9f9933f85cf90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/riak_kv_wm_counter.erl:128-137 | src/riak_kv_wm_props.erl:124-134 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"605fd3e378a3997bf67c2168ab92bbb1c2b4a7f811cfdf23c31737f4b64253e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_delete.erl:135-144 | src/riak_kv_delete.erl:174-183 \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_kv_delete.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39612990bffc226ed9f2e85a42e444d0f919253147082e49365e08a1b906e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): src/riak_kv_eleveldb_backend.erl:227-236 | src/riak_kv_eleveldb_backend.erl:359-366 \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_kv_eleveldb_backend.erl"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ceb1f1964957e8c3d605d4a97009c8b4486adaa44c6af8a6a888c3f7f0996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_multi_backend.erl:415-424 | src/riak_kv_multi_prefix_backend.erl:445-454 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5912fdc0c8bfd926cd351c68fbbfe068d29ea70efd06254075c48d02747b8e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_wm_counter.erl:189-198 | src/riak_kv_wm_props.erl:179-188 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58e20fabce74e695de905e0eae61c020fa587c61e87e77b6da0f6dfd5bc3321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/riak_kv_wm_counter.erl:230-239 | src/riak_kv_wm_crdt.erl:212-220 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_crdt.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"28771d7510efc31bc6f1acd1e26602c3e94300abc1b99a784cdd99c48278523a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_wm_counter.erl:259-268 | src/riak_kv_wm_crdt.erl:241-250 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_crdt.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ad90968f660a1b4ff992484df0d4a00e32d88b69f3afe5bf0a771ca85f50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_multi_backend.erl:450-458 | src/riak_kv_multi_prefix_backend.erl:480-488 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0acfa588c3f09c7f5cc94696472f4bd2da50c17902035bc3ab06478780ed2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_pb_aaefold.erl:143-151 | src/riak_kv_pb_aaefold.erl:223-231 \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_kv_pb_aaefold.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a97375017a0708f36003abcbf9cd9cb385cafbf668ced1374b069df7290b203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_query_server.erl:319-327 | src/riak_kv_query_server.erl:380-388 \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_kv_query_server.erl"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22ec3a7ef15b5ac6ff0a30ff7d03b798d03bcad8c3d20da05d331a60a40293d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_query_server.erl:412-420 | src/riak_kv_query_server.erl:428-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_query_server.erl"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f94f07a9115d21c64577fcea28c3335ce27747cab0bcc5cc7d362ed46bd1e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_tictacaae_cli.erl:757-765 | src/riak_kv_tictacaae_cli.erl:798-806 \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_kv_tictacaae_cli.erl"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b6a0e48745a0fa48b2c87147584057015eb58e0e9954f0689091758d39edf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_vnode.erl:2912-2920 | src/riak_kv_vnode.erl:2961-2969 \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_kv_vnode.erl"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e925daba9c83e5d911562c22b7e288a0845cd8ffbd8b8b04f2a40d1cb077553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_vnode.erl:2931-2939 | src/riak_kv_vnode.erl:2949-2957 \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_kv_vnode.erl"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"d654057206d8c80a49073e5ac6fd217e296447c836cd8e221870d75a03c0af34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_wm_buckets.erl:129-137 | src/riak_kv_wm_index.erl:145-153 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_buckets.erl\u0060 and \u0060src/riak_kv_wm_index.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ca2c4d2e3c30c67a13226ef265ed709ae167a5bb5cf15ea294eab5bd8ae8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/riak_kv_wm_bucket_type.erl:132-139 | src/riak_kv_wm_counter.erl:173-180 | src/riak_kv_wm_props.erl:159-166 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_bucket_type.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e559225dc219f570c321e2a7a1997247cb69eb410e796e721d5c8d97ea07c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_bitcask_backend.erl:346-353 | src/riak_kv_bitcask_backend.erl:388-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"753e0c103a1ea7735b6449d72a054011707eb1e2553c7a3815390004275f076f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:231-238 | src/riak_kv_multi_prefix_backend.erl:268-275 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14e8ea455da6fbfb3342d7c98bfb531b5602f3e4fee4f5b280124cac66dbac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:247-254 | src/riak_kv_multi_prefix_backend.erl:284-291 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8682c125d6297b81f95ae548861d24b4f3db9afb1b0537bd708b83e7790bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:279-286 | src/riak_kv_multi_prefix_backend.erl:317-324 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"325d81183bf3a9acfc9b6dda62feaf9eeb5d734cc35fccc3dc11186bcab07beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:500-507 | src/riak_kv_multi_prefix_backend.erl:532-539 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a9791965543ce93fee2149fe200d63c5ccc79ab94232f5f6e952d76a5b7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_query_server.erl:367-374 | src/riak_kv_query_server.erl:380-387 \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_kv_query_server.erl"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6fbb29df7dd06befd689cec2bdcee1a8157c84006be19e578d505945dca9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_tictacaae_cli.erl:178-185 | src/riak_kv_tictacaae_cli.erl:219-226 \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_kv_tictacaae_cli.erl"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"479ba039c545c4edc493fde0ef34adf83f6f6a1439e443e460ac5fa2bccaebd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/riak_kv_multi_backend.erl:234-240 | src/riak_kv_multi_backend.erl:250-256 | src/riak_kv_multi_prefix_backend.erl:271-277 | src/riak_kv_multi_prefix_backend.erl:287-293 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"820b14b6d21e39c1be506a1c7da46cea9d7b63591bcc9f63511280319c24b783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/riak_kv_multi_backend.erl:267-273 | src/riak_kv_multi_backend.erl:282-288 | src/riak_kv_multi_prefix_backend.erl:305-311 | src/riak_kv_multi_prefix_backend.erl:320-326 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"14198b97c6edfd31c926f02116669503e74ddfa57f1c8f5c99bb04e1a3de4872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_ttaaefs_manager.erl:1470-1476 | src/riak_kv_ttaaefs_manager.erl:1480-1486 \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_kv_ttaaefs_manager.erl"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"953e269739161aaebe77a0381d3add82798115dba1df52d63bf002ffa9d901ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eqc/eraser_eqc.erl:112-117 | eqc/reaper_eqc.erl:103-108 \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":"eqc/eraser_eqc.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c887d668176a10bc9487af7131172fa8bbecbe3f04ac729666828ea9d8aa0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_clusteraae_fsm.erl:526-531 | src/riak_kv_hotbackup_fsm.erl:111-116 \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_kv_clusteraae_fsm.erl"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eccaa23c266ce40463f92c9d81f3b4ae371215aac749faf6e18007ac61730e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_get_fsm.erl:203-208 | src/riak_kv_put_fsm.erl:300-305 \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_kv_get_fsm.erl"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"002badf08ec99132ba0b37c3c244a915321efdad45f0179b6475cbb198ed5c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_mapred_json.erl:240-245 | src/riak_kv_mapred_term.erl:93-98 \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_kv_mapred_json.erl"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"30126dbd3fa8d9ad72c9b57b67e2140ffc9b1d9ffd440215bffda85812d48ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_replrtq_snk.erl:740-745 | src/riak_kv_replrtq_snk.erl:750-755 \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_kv_replrtq_snk.erl"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af19910a4c50ab80acb77145302ffc0e757a33ee792906b74bb6b1b9d4914c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_wm_bucket_type.erl:199-204 | src/riak_kv_wm_props.erl:216-221 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_bucket_type.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a416d2141d1da9b7c4569a76a0fcc02d03e2009aaea6a2557e2e7cafe1a7bb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_client.erl:1119-1123 | src/riak_client.erl:1139-1143 \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_client.erl"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c179db8813cd48a7c34cf2bab8e282a1b25b47bc44fbb5d8bd4c83af42ef34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_ensemble_console.erl:472-476 | src/riak_kv_ensemble_console.erl:500-504 \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_kv_ensemble_console.erl"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b327f6889235d2800c51b9bdd3f5e8b49d8d0f862b17a04ad757ca1c08660390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_get_fsm.erl:856-860 | src/riak_kv_put_fsm.erl:990-995 \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_kv_get_fsm.erl"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad41cfeb7b7055ed5dc7bbc8b3d6f2c19abd8b55deac0e3752c1af3128719c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_stat.erl:480-484 | src/riak_kv_stat.erl:496-500 \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_kv_stat.erl"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea675f4c259eacb46518027946b7fb511652f92fe847902f7bf3c7c64b2f14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_wm_counter.erl:246-250 | src/riak_kv_wm_crdt.erl:230-234 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_crdt.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"163ebbd4fc05dd824aca2d70de857b6485ea0da9766e4a8742b6091d5cd9851f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_wm_json.erl:880-884 | src/riak_kv_wm_json.erl:923-927 \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_kv_wm_json.erl"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccef0899e40fb01d9a451bb40641ebb6acc2c0535f362016e668729806d6d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_get_fsm.erl:770-776 | src/riak_kv_put_fsm.erl:949-955 \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_kv_get_fsm.erl"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2434546f419ed5b0c483b59c2080a270ca7e408938c92a1de23ae5a228885a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_multi_backend.erl:207-218 | src/riak_kv_multi_prefix_backend.erl:244-255 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2669c222e9a53c129ccee2ba99abd2343c3fd448208489ed05fef251e597bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:368-372 | src/riak_kv_multi_prefix_backend.erl:398-402 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9bc9b52c6763ff1745600f1dd9addb72447f01ecde6eda5febdf87919308da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:383-390 | src/riak_kv_multi_prefix_backend.erl:413-420 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ece48e4dc02e77eaca322d49699ee1911e1fd8373fd47dbb2f2ba37045cf5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:394-398 | src/riak_kv_multi_prefix_backend.erl:424-428 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c1ad866ab2c372bd1975e09d842e8f7ac63712348b2921186ace7ad22e9890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:405-409 | src/riak_kv_multi_prefix_backend.erl:435-439 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e6b8b7e554b2780f1d72a7604ee0657c8d275d75e23a057fd2b1ef536cdf69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:426-430 | src/riak_kv_multi_prefix_backend.erl:456-460 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f53e51434fadabcf57fa4d3b27932f79606e87c79227df316e075a8a5c0d1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:476-480 | src/riak_kv_multi_prefix_backend.erl:506-510 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ca2ad2bd575a67e3664ec287e3fb6f24e6c8a7bc2822b7ee2efed318b03974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_multi_backend.erl:512-520 | src/riak_kv_multi_prefix_backend.erl:544-552 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"349b1bb546e7f73511c8c18173560a0d6fe6a773bd461a6fb6780a27880141b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_multi_backend.erl:557-562 | src/riak_kv_multi_prefix_backend.erl:588-593 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d4d140934db57ff83197e37c20e5cebdac924cd41f9bae196e905a3f32f471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/riak_kv_multi_backend.erl:636-646 | src/riak_kv_multi_prefix_backend.erl:642-652 \u2014 before extracting anything, compare \u0060src/riak_kv_multi_backend.erl\u0060 and \u0060src/riak_kv_multi_prefix_backend.erl\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 283 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bd89aa51711b48576943adcd68c82a01aa7b9a22ec833614f650ed9d3017e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/riak_kv_pb_aaefold.erl:256-261 | src/riak_kv_pb_csbucket.erl:137-142 | src/riak_kv_pb_index.erl:238-243 | src/riak_kv_pb_object.erl:619-624 | src/riak_kv_wm_utils.erl:487-492 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_aaefold.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca456027232501ebe597990ba66dc9cd96f91ccd44ee1d6dcd45d84f7798c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/riak_kv_pb_counter.erl:171-176 | src/riak_kv_pb_crdt.erl:234-239 | src/riak_kv_pb_object.erl:599-604 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_counter.erl"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eeb6d7e7e6983412da435cda6989ac61123e9ceadb8082a6daf5a844ea69a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_pb_index.erl:200-205 | src/riak_kv_wm_index.erl:552-557 \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_kv_pb_index.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13cf3e001a83efdc7ecdc8d428f5aa4a2f6a9b9db43a1908b84a689e1c1b187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_tictacaae_cli.erl:408-417 | src/riak_kv_vnode_status_cli.erl:175-184 \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_kv_tictacaae_cli.erl"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fa37c6d74b492065062c2791120be7d81dcbd8a6f1e51a72fed68dac91e65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_wm_aaefold.erl:160-164 | src/riak_kv_wm_query.erl:192-196 \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_kv_wm_aaefold.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3571d8f4c40edafab6a1423d7953466b4eb59912d101e34d7eec150ebe267dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_wm_bucket_type.erl:91-97 | src/riak_kv_wm_props.erl:109-115 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_bucket_type.erl\u0060 and \u0060src/riak_kv_wm_props.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"02004ce488cb8b07a4b7f8e77cbf34ed65468b46c391c00e0de93bc30de5c193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_wm_buckets.erl:78-84 | src/riak_kv_wm_object.erl:334-338 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_buckets.erl\u0060 and \u0060src/riak_kv_wm_object.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f372e6cbf8fe05121f9974bd8f8cf9a0670a1ca8ddcb1ca9126319a51e8e2218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_wm_counter.erl:276-280 | src/riak_kv_wm_crdt.erl:436-440 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_counter.erl\u0060 and \u0060src/riak_kv_wm_crdt.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf190b17b0eedb96831fe3b79113e4b064a7612e2894c5a7acc36159358d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_wm_object.erl:1634-1642 | src/riak_kv_wm_utils.erl:217-225 \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_kv_wm_object.erl"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4c7450b1a415eb6756b74ec0083574cf4ac6da08b4ba5656736f77629c9ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): eqc/eraser_eqc.erl:100-108 | eqc/reaper_eqc.erl:91-99 \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":"eqc/eraser_eqc.erl"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e61e4e8a31af8a65197cce072f9f1b472879d60e554242e0fde2a3e45d80752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/riak_kv_clusteraae_fsm_sup.erl:51-57 | src/riak_kv_hotbackup_fsm_sup.erl:46-52 | src/riak_kv_index_fsm_sup.erl:51-56 | src/riak_kv_keys_fsm_sup.erl:50-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_clusteraae_fsm_sup.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a2329be1a7fc40dd2cbd0460f3679e729a33d7d3dcd2ed8ed8db511bb366e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/riak_kv_eraser.erl:135-142 | src/riak_kv_reader.erl:112-119 | src/riak_kv_reaper.erl:158-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eraser.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"735fc286f4cd748775464aa77d660a9050d4700aa1835c641f34f2d206c04981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_get_core.erl:317-323 | src/riak_kv_put_core.erl:168-174 \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_kv_get_core.erl"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5782948528e6902e1a856b13107571d2b9be08ee6975c2b7c3056b7d07a583a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_query_filebuffer.erl:326-337 | src/riak_kv_query_server.erl:551-562 \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_kv_query_filebuffer.erl"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"148dda715c7a1173e6654abb1108445c7bd9c76f1fd4643a1482e3f40c61242a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_wm_buckets.erl:155-161 | src/riak_kv_wm_keylist.erl:163-169 \u2014 before extracting anything, compare \u0060src/riak_kv_wm_buckets.erl\u0060 and \u0060src/riak_kv_wm_keylist.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad896c326ecce4be9451ef933dd5a80c179936c3821988736223ea2571eea38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/riak_kv_console.erl:144-154 | src/riak_kv_console.erl:168-178 \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_kv_console.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"46df9b6f8f60d7c800b537259d553841524ed9051e120429ef11b229e4b0bc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/riak_kv_ensemble_console.erl:474-480 | src/riak_kv_ensemble_console.erl:483-489 | src/riak_kv_ensemble_console.erl:492-498 \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_kv_ensemble_console.erl"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa9306bc6929c0bc10a2614080f3eafc6caa7fb6be6671262a9ad7ad36c03f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_ttaaefs_manager.erl:1480-1485 | src/riak_kv_ttaaefs_manager.erl:1504-1510 \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_kv_ttaaefs_manager.erl"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81ac28596e27cc23e431ca5f1609ad1a38be5e4ee8b2f2eb419927264701e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eqc/replrtq_eqc.erl:162-167 | eqc/replrtq_eqc.erl:221-226 \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":"eqc/replrtq_eqc.erl"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5962ede8cec5cd747344329013d7d266d90ab35ec423e8235093ba7f5ae28855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_pb_csbucket.erl:104-108 | src/riak_kv_pb_index.erl:222-226 \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_kv_pb_csbucket.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a4bdec65ccc7a1176e39762a02853cd12ecf2fce47c6fb9c2c2d099f1ee503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_pb_object.erl:571-575 | src/riak_kv_wm_queue.erl:406-410 \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_kv_pb_object.erl"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7451356dfc05c53eb14581278ecc188ad42a7740d240483e2d68bfba2b510c"}},{"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_object.erl, src/riak_kv_ttaaefs_manager.erl, src/riak_kv_wm_object.erl, src/riak_kv_wm_query.erl, src/riak_kv_query.erl, src/riak_kv_util.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 (10 single-owned of 96 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; 96 of the 163 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 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 DVV disabled? Get, interleave writes, Put \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/riak_object_dvv_statem.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d151235cd521e6c10e439f4a6585c6a4ffc648c26afe45852c119173dd3bf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Would like to clean up the expected result code and make it dependent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/put_fsm_eqc.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d170d43be4268775a13afc99f309d5d2c54e18d12e36301670d41791f78f687"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/get_fsm_eqc.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b81ba14245bc37b199ec2de45125f0ab40be54527372a6f2eb42e64edf484"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/ec_eqc.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"923c7ba9db572daf2c95f12655eb4c0b328c436d22a2763c694d4a4d17f32f3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_query_server.erl"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"415561882b54085aa0d2a5bd6ce74a7b408c4f73de35c2e771371d5079d2601f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_clusteraae_fsm.erl"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5b0a8f59e54504f6cb90089c3db490bc0c4c4f133e812084db7bf8d5893161"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: The riak_kv_vnode code should be refactored to expose this function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/fsm_eqc_vnode.erl"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bb92046bc522bc0dd04ae829036c69c83dbb90efa860c519febd071707eb95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: use some unfortunate partition counts (1, 50, etc.) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/fsm_eqc_util.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c799d8fd7c043efcdaed2516722351914cda3dba56d844a1ed3aa999cf8e36f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: The above oneof() should really be the below list(), but \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/fsm_eqc_util.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6615d6572b892e5a9d3c3e2bf0bd85220c5cd037b8df80aa5f8d43b7e0ad099"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% Todo, stop overloading Result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/ec_eqc.erl"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abcf60bc6e22e1690d9597c7223083bb633a849b71870b4bb424e35d78ef3a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Check if _Result matches expected values \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/ec_eqc.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f527c2e4ccf8e77331b3511ed8a2f9ea3d5910d94ba44f6772d33a3c0fc8929"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Work out what should be 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/ec_eqc.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e482f91d0059e88a591a9fdaa6382497392bb4df63b29daba5d6f2d7f55841"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Find a way to make the update priority different from the get \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/ec_eqc.erl"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a718b96f929345cc2a0666525043394d1c2c504cd9fa3b4b88fd75909ad2e84a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO, find some way to make putcore wait on the response from the local vnode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/ec_eqc.erl"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea5daa1c76081abb2b746fc0d10440f7b09be16ab278beabefe164dc1873ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Don\u0027t throw away the index\u0027s value, check 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":"eqc/backend_eqc.erl"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"87514c0ecb8e10aaf30f8528125b23389b7c453f061b390fe14fc22b41913b86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Refine model to check for received messages \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/backend_eqc.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1690fdc3d8d48bd2cb7a65c6b2784e2236caeec5bef25332f2c300d84aeb9420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: investigate whether it *can* be deleted \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/riak_kv_vnode.hrl"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61d29494ed45741d449d04e6667c57d6a56a2b7a035124e5215aa9948dcf4ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO list: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_yessir_backend.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b7b943fe0ef0b5fd4e5e08bf19d07c487489093c3a10e60d63a67d1b968b5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: what log level(s) 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/riak_kv_wm_utils.erl"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da613869ab5d19e6bbc772bfaf866bd6e6d0632ddb95fb99b014aea1966e2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO Remove Legacy extractor prop in future 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_kv_wm_utils.erl"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9c185d08bddfa673466adadeb7e5cbce9d6e1972b387fa39686ae1015f688d"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment repeated across 11 files: The identical XxxComment appears in 11 files (11 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 11 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022%% XXX 301 may be more appropriate here, but since the http and\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_query.erl"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b8dc5c4aca2864531c748302ee262383732cde79dabe4bc9fd409e98d8cfa7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO use riak_kv_put_core here 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_kv_w1c_worker.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"06172c5448c5f0945447700cd48f3160cdea22501610039a034e5a7a7332d176"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Case statement not required in 3.4 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_vnode.erl"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc03e7e646fa0d43c90160a50e531ad4e7b89bc7e3c52f39830375f252034816"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: warn -\u003E warning in 3.4 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_tictacaae_repairs.erl"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9940d3bb51ddea6abf26b4c9a0ef0a6a3dec47a66f0ea06bcd439d7e05109381"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: should fix the log_levels not log_level issue too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_tictacaae_repairs.erl"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf3575e18e307663e6980cebe1554d8f4c2a68ba26d19dfa37f19d655f7db78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO generalise for riak_core_stat_q \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_stat_bc.erl"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"68225ee796cdc4ed3b6dbfafdd6ca084ade5e1197339a7cdec03ab53addd7681"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: accumulate and handle errors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_reformat.erl"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd4baca12c7b4b1c73ebbdf5bf7e7d7bf2bee4b03660ffb5e029a1b189f9f6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Improve reporting of timing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_put_fsm.erl"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f738db1a3f2376d07b1c88f9a916193cd5ce003c05a5e589643402cf741519"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: more accurate sizing method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_put_fsm.erl"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee401d46ff6280974842b99afbecf8e4cfc075322c78d024b0297c5f73960baf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: For DTrace things, we will err on the side of taking the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_put_fsm.erl"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d71dde8a7fb0246fcbcd1cd0b829299c9d710a9028db8b065915721ca19d502"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Stolen from old-style MapReduce interface, but is 60s a good idea? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_mrc_pipe.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"324b0efb98c590840ab67a1930f0c9615cdeaf6a3c6248b377a61e03ecb4d057"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: %% XXX this requires a \u0027blanket\u0027 mapreduce permission \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_mapred_term.erl"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c658a68e773ba22c53165057f3011811837a2c9502b0a9c79951ed7810234b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO - check the Query for link walking inputs and implement a list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_mapred_term.erl"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72feefda4e68861567e64abc0e0b5527760c0e022e69258bcfff83388113bcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: have caller give us the Idx number. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_keys_fsm.erl"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc4d18a1d2005a90b728dee0353ae9e12a56beebe8f9f4b40a157d70b6f847a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: We should probably remove these warnings before final \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_index_hashtree.erl"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14757adeb499d0bfcba9845bd9a155813ccfd1a770f4c653708f9812c5dc86a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: We can see entire preflist (more than 4 nodes) if we concatenate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_get_fsm.erl"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c472af5e2a72eeafb6d2820db8e34bd5939b5df35a7a3b1d2582d9b40dd5262"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Add stats for AAE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_exchange_fsm.erl"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aac722cf0694685393d5ca6a597b90255c297b054ab2feaae74dc68313417d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Even though this is at debug level, it\u0027s still extremely \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_exchange_fsm.erl"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ea4ac539ea53c0d14518c8bab9cfded6088dfcf98ea9904897aaf42c46086"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Figure out recommended fullsweep range \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_env.erl"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5a5d266306927c8c8090a6e8d18a1858c87b3bdb17935307cec174fbcbc74a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Should this really be empty list? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_entropy_info.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3c682d460cb8e647045cca8993b5211ae2aa6d14e3de504c93a3a7b5a1c5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: We have no notion of deleting ensembles. Nor do we check if \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_ensembles.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4957a63d8d6de69cb75d3de277fcbba0c238d79ae191e34fe1dea106ed951a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Make ensembles/peers use ensemble/peer as actual peer name so this is unneeded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_ensembles.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f32661059fff38de2d45b933db351696233b61eeb941990b2182a247cdaaef7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Move to riak_ensemble_backend 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_kv_ensemble_backend.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d3a1c4e5f75ff3e744894fde5feec78d23b66ce27cd1144e42e930c8fd2e9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Add a timer:sleep()? Something else? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_ensemble_backend.erl"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8791c7d68daad2f823a8ac0743992e8a8b43d94356af9f5e5e4eb14dc2e346f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Should this entire function be async? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_ensemble_backend.erl"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a27267138a0be6933e6caadb25e58d81d2b4520d84077d33f51ae348ff89eb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Make ensembles/peers use ensemble/peer as actual peer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_ensemble_backend.erl"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86a59133b920ee5a2087fc2243a638b12b380acce76aee9cd7fbb01e1636086"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: No sanity check of this value vs. \u0022real\u0022 n_val. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_delete.erl"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1415c7d1df50d4b6f3f4005224b4e4df55d9dcd4ae8bea38ec50e517da3990d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO - loose_limit() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_clusteraae_fsm.erl"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddad22ff1f88bafbca9caa78677f73f5231669bd07b8cb0e45c4405321cb2f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO maybe more specific? [{atom(), term()}]? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_backend.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c387a47f4eb00aba518a1a68442b5f2ea9cc213a5ba56e20caf178bbc9b744"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Need to revisit this. Buckets are typically created \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_app.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3da357148ea342110b3da69e8a06c417aaa4db5a39e72bc59ab552547777402"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: clearly, this isn\u0027t ideal if we have more versions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_kv_app.erl"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8094c92a58f056dc7311caa9c26adcb2dd96d259ab33b66646529d73828a4cc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This type needs to be better specified and validated against \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_client.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd334918c1d045f92fc1c6d2c8ea0e5d69e75d3aa2c6f2b9adf7fbfb3d5420d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Investigate adding a monitor here and eliminating the timeout. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac72a4ebd969c374dda4fb347cfbb86f6c32c167819c29af5a79306e45c24c49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Investigate adding a monitor here and eliminating the timeout. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4929138fa7830cfc479f5a3dc216988703a9541f3f2d26c0c09b8c0fff520560"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Expose client option to explicitly request overwrite \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_client.erl"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"41eae4da747fe7a119c59f63c26cf65782ec2c290188f5648ef150aca6640e08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Expose client option to explicitly request overwrite \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_client.erl"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe696213b86fa409139a062b944d83ac3a38c14611f0d6f08969d22d17a7575d"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The README does not state how to install or configure Riak. Add installation instructions for Erlang/OTP setup, riak.conf configuration, and a one-line build/run command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/index.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"882b7fae2ff9fe802a787a39ed48fa9a5c1d8f3988e729311c7544b4c46cc282"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (69782 LoC, 352 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":"0851e60aa2367c9dc8491f7e64198e4372c33080"}},{"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":"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":"5b0c95ae13cc023d190823f694cbf53adf8b423e956185b16a31099029223558"},"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":"a4c15cb5264cbf1c6ee73405b2e9936daddcc357e7c3a42e5e2f4beee063c69d"},"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":"5083ffd4ec2468d756ab419ec0282fd9f2fd1081edf3568a345188c9c9953bc9"},"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":"2a7530de7b9880a1998376a81016beb1bc9b205568f3955710cdb117790e77ed"},"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":"e590a4ff35c0bc7a60d189727cbf86e74a746031d930baf7e2486c1962b93d2c"},"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":"2793e2b976685e4f7b2607014b0f633974a83c432dfae2582635ca0925ad4e92"},"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":"734c77af452ddd4c3ebf9debdeae8c6844b169fac83c3b8e7d732e6a21690f50"},"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":"97f3611f89445e285dccd130dfb6d460b265d462728e4e4ddc3acb04bd04d6e6"},"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":"9db89524269b058ac4dbaffe5bbef0630cb36917938c0f9c682e09cd6bb23696"},"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":"d051ae507844a73f8f2f1d2bd9bd1fe10b2e89ed56fe856477b75db3fa300dd2"},"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":"28629dbe47bad1825e76689d3e00de098d2292c49491db8b35491af00503a752"},"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":"3c031eff53ca08658a5dc6e4876d0d4ec3ec6608cd15a3e70a3436d29f400dac"},"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":"a366c1a8c645aeb358d0f53f17419bac8340422dbc7110bf28f315ba630cd104"},"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":"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":"87e2a271515ac1daa3e4df476eb14292d7f578392426198a69030b4912edcd7f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 83 of 137 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 83 separate risks. Counted over 137 of the 163 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"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_kv_bucket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3376cca1278d991666f2baeb450b1929eb190694aab58b5c5791b8900ccce04b"}},{"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_kv_put_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143e31ea9de5189215de38cf683d308f9fc4a6ac313ff782e047fa75c6e18993"}},{"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_kv_wm_aaefold.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db783aac48d5d03fcef5da65ef0d663c1668054cdd44ca352371c4e9d498e9b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: riak_kv_pb_counter.erl \u2194 riak_kv_wm_counter.erl: \u0060src/riak_kv_pb_counter.erl\u0060 and \u0060src/riak_kv_wm_counter.erl\u0060 change together 70% of the time (16 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u00600622729f\u0060 Nhse 034 orkv.i57 fixcapability (#26); \u0060328f2b94\u0060 Stop use of riak_client not as M:F; \u006011ad7c20\u0060 Update API to allow node_confirms per request \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_counter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa3e103cae89c654b87de737cc3bd11fa37c301a411270b9f217182cd6d3692"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: riak_kv_pb_object.erl \u2194 riak_kv_wm_queue.erl: \u0060src/riak_kv_pb_object.erl\u0060 and \u0060src/riak_kv_wm_queue.erl\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006089222225\u0060 Nhse develop d30upd (#15); \u00605c4c8da4\u0060 Mas i1788 reconcileapi (#1792); \u0060328f2b94\u0060 Stop use of riak_client not as M:F \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f783d45d8f40255eff6944dcf74677b31c98b28553605d85baf863f5e4ff4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: riak_kv_2i_aae clause \u0060wait_for_index_scan/4#425\u0060: \u0060riak_kv_2i_aae\u0060 clause \u0060wait_for_index_scan/4#425\u0060 blocks the process on a synchronous \u0060timer:sleep\u0060 while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, move the delay off the hot path (a \u0060state_timeout\u0060/\u0060send_after\u0060 self-message, or do the settle in a spawned worker)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_2i_aae.erl"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8b037bc32644259a433360de0ef98935a8b646d634a2f4b6c5b4e6aa4793d8"}},{"ruleId":"ES1","level":"error","message":{"text":"Nondeterministic fold: riak_kv_tictacaae_cli: \u0060riak_kv_tictacaae_cli\u0060\u0027s event-replay reducer reads a wall clock / randomness / a peer process / persistence while reconstructing aggregate state \u2014 replaying the same events would rebuild DIFFERENT state each run. A fold must be a pure function of (state, event); stamp the timestamp/id into the event at raise-time and read it back in the fold."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_tictacaae_cli.erl"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a6b7c8c4c517e17b909d38e7f1c1faf838b6a007253b2578a39779105a3b03"}},{"ruleId":"ES1","level":"error","message":{"text":"Nondeterministic fold: riak_kv_vnode_status_cli: \u0060riak_kv_vnode_status_cli\u0060\u0027s event-replay reducer reads a wall clock / randomness / a peer process / persistence while reconstructing aggregate state \u2014 replaying the same events would rebuild DIFFERENT state each run. A fold must be a pure function of (state, event); stamp the timestamp/id into the event at raise-time and read it back in the fold."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode_status_cli.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d23ce5cdbaba3f5433c2f343f3f530e42aee308508cda9f368c0281155aea"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060docs/InitialDesignDecisions.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060json_pp:test/0\u0060 is exported unconditionally and its name IS the test marker, 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/json_pp.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa61c90617a95b9bad53d817d071fa4893822ea885f45e3564dc507bcda3a3a"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak:client_test/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.erl"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3861fbc490c665538f2d3bc29a2950c3d13480d6bda6f2f5df20a69679913fee"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_memory_backend:reset/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_memory_backend.erl"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc24517990202d54bfe3d16e6aea81b22bf4de4ce4f1da9cfe6ab4a4fa51188"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_mrc_pipe:example/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"088da013e9c96ff3a2dd17d04b2b6bec80704bf0338e8e2674a91d7d956df96a"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_mrc_pipe:example_bucket/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3581123e58e568dc85cefd9118a6d0fd769799ad3daab54cd1abe76d808359"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_mrc_pipe:example_reduce/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5024da681a8eea16231db66d90ad8bb0bc155dba718d56c343791239c786d831"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_mrc_pipe:example_setup/0\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88e4fd8f418cccacc55a7ea073efe6e3fc66bbcdc89ef2878c1a5f9c13db42e"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_mrc_pipe:example_setup/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e276a8f4836e751b9090c298cce1de1021f7795bdd72f10c7f5d0bd72fbc431b"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060riak_kv_vnode:test_vnode/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_kv_vnode.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da55dbe484b3630abced876b26ece91fdfcbec68b5b61bb1939dc407bba5b50"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"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":25,"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."]}]}