{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"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 65): riak_kv_pb_object.process has cyclomatic complexity 65 (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":109}}}],"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":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ae43229901d63afff39fc80fc4b2d7bd6d632792e61551e23c85e48de2d45a"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_vnode.handle_info (cyclomatic 35): riak_kv_vnode.handle_info has cyclomatic complexity 35 (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":2500}}}],"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":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2fa9f09a92dcd709e14d19ec1b6e8ea5f94f9af027accaa47cdab375c12c2e"}},{"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":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"441b8daf68496df4019ed36773222e6479def85c6c96f463dddf044648eac700"}},{"ruleId":"D1","level":"warning","message":{"text":"riak_kv_replrtq_src.handle_call (cyclomatic 30): riak_kv_replrtq_src.handle_call has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_src.erl"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e1bdf70af40f42d6cddc64e6e8b7e43bc956dedb8e28f3caec9daf6d766b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"tracer_backend_latency.start (cyclomatic 29): tracer_backend_latency.start has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_backend_latency.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eb34ce7d7e82b13cba07ab08ebe4cae94d7f82de0c5c6a10752c4505e1b924"}},{"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":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c996ac47ad4a533443ca959b49a014fd7db687953b6e69e0dbe434340bfe5618"}},{"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":250}}}],"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":603}}}],"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":649}}}],"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":248}}}],"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":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca6facd1b9f6f6168d318bf2979b4fe1e0b738314d122403562ce33388496bd"}},{"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":175}}}],"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":361}}}],"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":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d47b0ba88eab640d2e58f2d86cade2e79c7609445c1dc797a349b09fb05091"}},{"ruleId":"D1","level":"warning","message":{"text":"tracer_backend_latency.trace (cyclomatic 17): tracer_backend_latency.trace 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":"priv/tracers/tracer_backend_latency.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbb83e6b2ef2238f6feb790ed5b8d64d6be90f07c8af3215489d2efda5b9b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"tracer_timeit.trace (cyclomatic 17): tracer_timeit.trace 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":"priv/tracers/tracer_timeit.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d93c14119fd0ba146e56fb9698792241a944d28dc86eb7dc60db7f05797905"}},{"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":"tracer_backend_latency.start (cognitive 49): tracer_backend_latency.start has cognitive complexity 49 (threshold 15). Drivers by points: error handling 7 (21 pts), loops 14 (21 pts), if/else 7 (nesting depth added 21). 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":"priv/tracers/tracer_backend_latency.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c06f3169482bf66c220e0a81fc4185e619480466a8ee2c6b3386145775c22d"}},{"ruleId":"D2","level":"warning","message":{"text":"riak_kv_pb_object.process (cognitive 48): riak_kv_pb_object.process has cognitive complexity 48 (threshold 15). Drivers by points: match/switch 31 (39 pts), loops 2 (7 pts), boolean chains 1, error handling 1 (nesting depth added 13). 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":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac2a99e5d4cd0445c96b185485751a35a561eaac8c1aa596c5046dc966b6a7"}},{"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. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"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":322}}}],"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":737}}}],"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":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1576d933ab54430222c8ffe2ff38cee4fa40d10c6e43cb4e80e23b455c8c64"}},{"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":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d170a0c83db8484ce39d2a385ba1f1d8c81c4eb6990e820ab5704c84ba9545"}},{"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":603}}}],"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":"tracer_timeit.trace (cognitive 17): tracer_timeit.trace has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8 (12 pts), if/else 5 (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":"priv/tracers/tracer_timeit.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"101f7c5a30c45e4ccf1331457cb1fd34bb566d9b943e2317ed45c02c17c64310"}},{"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":198}}}],"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":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"0539ddca883e6368213b16fde3a35c61f0701a37c6d8d05b03bcf59e1de42edd"}},{"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":321}}}],"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":250}}}],"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":342}}}],"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":3721}}}],"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":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da95dd4232f9a6f4f2c6885aabecc0e994e57dfb20c717f371de296a9d344d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_vnode.erl: FileTooLong \u2014 3736 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 204 functions. The bar is 500 significant lines; this is 3236 over it, 7.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_vnode.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e47256b25d53bdb94b1ee61577660c3f20567a5c3479a56a36ab8863d0b57f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_object.erl: FileTooLong \u2014 1689 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 124 functions. The bar is 500 significant lines; this is 1189 over it, 3.38\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 1372 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 872 over it, 2.74\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":"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 74 functions. The bar is 30 functions; this is 44 over it, 2.47\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":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2671857e857e10ccd83233d343af7b1a4ecf41c51410b2c3f554af48a53884d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_put_fsm.erl: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 611 over it, 2.22\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 1082 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 582 over it, 2.16\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bucket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"094232a46eb4e00a5fb22fec0a1c0e387d8e3392070c0dcc821220d5cd55984b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_object.erl: FileTooLong \u2014 1055 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 59 functions. The bar is 500 significant lines; this is 555 over it, 2.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_wm_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fc9e20d875eb0234ad90b132a9ac1789cd3b98beef8d4aa85ecd3ac18fcabc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_stat.erl: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 496 over it, 1.99\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_stat.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"081aabca0cdf7a94eb75200a6cfdce44b66ed6147a7a323aeee6184609ef6745"}},{"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_entropy_manager.erl: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 90 functions. The bar is 500 significant lines; this is 425 over it, 1.85\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_entropy_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9271da1f2576c4f0ec159d201361e8016bc86bd35ead78be3c356f7edaa1c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_wm_aaefold.erl: FileTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 418 over it, 1.84\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_replrtq_src.erl: FileTooLong \u2014 888 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 388 over it, 1.78\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":"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_eleveldb_backend.erl: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 382 over it, 1.76\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eleveldb_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f61f48db9509c4a523b5f5c9cbd152b25e78c85271ccbdc9982f38da7b58c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_bitcask_backend.erl: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 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_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 796 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 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_kv_get_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a657200e855f14c23b1a22a04b2549fe9e7b7c4f7892178f719a2342db226ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_console.erl: FileTooLong \u2014 775 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 275 over it, 1.55\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_replrtq_snk.erl: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 250 over it, 1.50\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_snk.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486943c3f9ce8fe8013536b2bde146761bf9d9848fb7db2640fa4a16fe0eee64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/ec_eqc.erl: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 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":"TooManyFunctions: riak_kv_util: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\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_util.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a414089a8c8b34c3d18b0860adf51e79f782343e28db71031b8d9bea0276de3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_clusteraae_fsm.erl: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 222 over it, 1.44\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_clusteraae_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb05f48ebc0fc64821e127d35a7ef73ce2472c6c7ee3f0648ab966778f03fb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_client.erl: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 90 functions. The bar is 500 significant lines; this is 219 over it, 1.44\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e5ec3bf59ecf88b82bb19da3c1816ed8da945eda2f543c2f65be2ec1c714a5"}},{"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 669 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 169 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":"FileTooLong: src/riak_kv_get_core.erl: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 137 over it, 1.27\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_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 635 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_memory_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd9360e7ee016cc524c87fbcd8fed79949211987f76a97e6a94a846b820fb34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eqc/put_fsm_eqc.erl: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 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":"eqc/put_fsm_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafecd43cb9977d684ab8408f6c0a2f947e5522f039baff3da67b024188f239e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_multi_backend.erl: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e823eb73f279d64cb185ec513274626a7f9648137c073c3e53aec82d03d21f95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_leveled_backend.erl: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 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_leveled_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fe7add18bc2f322877fefb5508f68f2b7d2661240abfec6baeec2f89f4091a"}},{"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":"TooManyFunctions: riak_kv_mapreduce: 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_mapreduce.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20274e05bc6319db1e131c15933975a699d13bee8897628f9bdd13c165f1d67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/riak_kv_2i_aae.erl: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 83 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_requests: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_requests.erl"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03d8b7c605f066e7311b3d22707b9de1c042efff267f982f75f97dfd7cbe250"}},{"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: 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":"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 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_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad5bc144c9af7f75cb0b0528ecab3737b1c19c5f87446debfcd0cebbafb609b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): src/riak_kv_wm_counter.erl:358-430 | src/riak_kv_wm_object.erl:1356-1438 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"79040ad18714d6ee4eb19a6a3d9eb89c3dce6dba2250d70bdeb3439f264304ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 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:160-173 | src/riak_kv_wm_index.erl:116-129 | src/riak_kv_wm_keylist.erl:119-132 | src/riak_kv_wm_object.erl:264-277 | src/riak_kv_wm_props.erl:144-157 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3348dae4cb4f1493e36685e580905ae77ad0398302bbefbac11b54bfb1d6f216"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_multi_backend.erl:229-238 | src/riak_kv_multi_backend.erl:245-254 | src/riak_kv_multi_prefix_backend.erl:265-274 | src/riak_kv_multi_prefix_backend.erl:281-290 \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":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd272646a13961ff83842906134e69e96f25b310bb10daed69e3e42caaab9c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_multi_backend.erl:262-271 | src/riak_kv_multi_backend.erl:277-286 | src/riak_kv_multi_prefix_backend.erl:299-308 | src/riak_kv_multi_prefix_backend.erl:314-323 \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":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"386713a18e04c64b3473a6c99408af57e0e908cd3c128a0dd3a370539ad3c94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/riak_kv_wm_aaefold.erl:429-455 | src/riak_kv_wm_aaefold.erl:459-486 | src/riak_kv_wm_aaefold.erl:490-517 | src/riak_kv_wm_aaefold.erl:612-639 \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":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc6976ba0befda0f35363063207a5d5dcb6fe7acabed7861c93fc125f1b68a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/riak_kv_pb_csbucket.erl:95-119 | src/riak_kv_pb_index.erl:213-235 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_csbucket.erl"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e36cda781ee9fd7382a863430892f6e2e92bf354d49d0f844abd8ed96fc965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/riak_kv_pipe_index.erl:167-218 | src/riak_kv_pipe_listkeys.erl:162-224 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pipe_index.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32bff1376171d49743afbbe1e5fda8a930c80602bb7fa9e70ba7deaab11860d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src/riak_kv_delete.erl:119-157 | src/riak_kv_delete.erl:159-201 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_delete.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d274d96e6d1b1c29fc2b39d1d1368b232f3e9d0890be4b10ad5d0541f682f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src/riak_kv_crdt_json.erl:207-226 | src/riak_kv_crdt_json.erl:231-252 | src/riak_kv_crdt_json.erl:257-277 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_crdt_json.erl"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b3e24e0eb74f03ced7f87d06e3b6f3ad35e9cccfcd3029418c02859b5dfecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/riak_kv_multi_backend.erl:145-181 | src/riak_kv_multi_prefix_backend.erl:176-217 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1f481d872b2f68d87cda4d6f98cf0e2e96e88feca9f10cdaa5ed1935074f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/riak_kv_wm_index.erl:133-159 | src/riak_kv_wm_keylist.erl:136-160 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_index.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe354e4df509d85f3407e1390f24cea2ac727be3000fad2c8d354cb3c28ae26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): src/riak_kv_bitcask_backend.erl:283-319 | src/riak_kv_bitcask_backend.erl:326-357 | src/riak_kv_bitcask_backend.erl:364-395 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3c2d2cf8503481e17f11576d54f713ea2e76a09a67e486b0c57c8695a07e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): src/riak_kv_wm_bucket_type.erl:132-156 | src/riak_kv_wm_counter.erl:175-200 | src/riak_kv_wm_props.erl:159-188 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9bde165051f02741f940c948ac3ba9614ae449fdaff90ddbdb89d022a5010c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): priv/tracers/tracer_func_args.erl:61-73 | priv/tracers/tracer_latency_histogram.erl:82-94 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_func_args.erl"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2603238e7884689fb68e6a61490a0dd70e69d2ec406c09fff620607b25019cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/riak_kv_mrc_sink.erl:212-224 | src/riak_kv_mrc_sink.erl:239-252 | src/riak_kv_mrc_sink.erl:254-267 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_sink.erl"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"97998ce67880bce3c06f04e23d576e3c4c1d56ec0dea4de69f139342c0a4da96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/riak_kv_wm_crdt.erl:212-227 | src/riak_kv_wm_object.erl:436-458 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_crdt.erl"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"57210a7faf68d861543c024f7e50c331ae0319f877ea90caf2e603cf83950032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_kv_wm_buckets.erl:244-256 | src/riak_kv_wm_keylist.erl:279-288 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a184a387acb322407bb07377ebeb33e894008088f12b1774c03621b5a2e9cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/riak_kv_wm_counter.erl:261-276 | src/riak_kv_wm_object.erl:515-530 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc46f3c30e3c731d3a24616aac98fc032cba77d8969724f06abb5a3d8d395d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): priv/tracers/tracer_fsm_init.erl:29-44 | priv/tracers/tracer_merge_and_and_handoff.erl:29-43 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_fsm_init.erl"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9491fbdecdb3a105ad881f6dbe507c0c1cc2fe9ed23f909a5bbcf592383308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_kv_wm_crdt.erl:534-546 | src/riak_kv_wm_object.erl:1440-1449 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_crdt.erl"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e59e3a6de0e476457a513dfdbb7d9c13683652199d2d5ea90a7bf060a8ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/riak_kv_w1c_worker.erl:282-291 | src/riak_kv_w1c_worker.erl:293-300 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_w1c_worker.erl"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba41a62526a5d9b03472cfd6a0b5442adfdc73e39160e4b57af1cab72d2a3103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/riak_kv_multi_backend.erl:510-541 | src/riak_kv_multi_prefix_backend.erl:541-571 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b03ad81a97ecda82300f6a9aec795d3932315dc09ae06bff5b452cf046ab80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/riak_kv_yessir_backend.erl:313-329 | src/riak_kv_yessir_backend.erl:336-353 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_yessir_backend.erl"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8556e483d64ea298cf915dbfea69bafd85a35bd28b8f271a5edc38b12197a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/riak_kv_wm_bucket_type.erl:104-115 | src/riak_kv_wm_buckets.erl:94-110 | src/riak_kv_wm_keylist.erl:98-117 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"522a4c351fa18064949bd51b54506bab72ddd441f379bb12388c9d3bc5ca0662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/riak_kv_util.erl:103-111 | src/riak_kv_util.erl:124-132 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_util.erl"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb28a254677a68792267a6b87d895581de2a2aaa49fe8fb1e1d5db9642cc02e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/riak_client.erl:1031-1038 | src/riak_client.erl:1051-1066 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"4324edf723fb886c386a7e1dd9be377bdd1d3c2763670b84ef45752e4c3b9a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/riak_kv_pipe_index.erl:81-102 | src/riak_kv_pipe_listkeys.erl:96-117 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pipe_index.erl"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90c33dd328bff049d66623f9000ca0b6d6a7a405c67d080dd6250e3ebe1f660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/riak_kv_index_hashtree.erl:892-904 | src/riak_kv_index_hashtree.erl:927-939 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_index_hashtree.erl"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4d4e92afc5d6e0badb1b1987959a39b125bddb562f0a219923feeaa90ee2ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/riak_kv_vnode.erl:3225-3232 | src/riak_kv_vnode.erl:3235-3242 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode.erl"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdd813dcfcf3b0805f52aec71493fc0b4c05a825d0d5cd8844cbf71d001e9dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): priv/tracers/tracer_accumulating_time.erl:26-35 | priv/tracers/tracer_eleveldb_put_size.erl:29-40 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_accumulating_time.erl"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27c8efb19def28329b45e61e87b246722a701248dedd412f6337da5d5e3524f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): src/riak_client.erl:308-329 | src/riak_client.erl:443-461 | src/riak_client.erl:550-560 | src/riak_client.erl:641-651 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2832c8121573f4150c2c772a0303497153d413fb290285ce8ca331286453d259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/riak_kv_multi_backend.erl:113-129 | src/riak_kv_multi_prefix_backend.erl:128-141 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c021432f1326acf98237585eea3b2d1c1039fe9776b3cc0769f386959ebd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/riak_client.erl:92-106 | src/riak_client.erl:202-219 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d6b99a54a56e1a0490bf0f0adde3d113bd701c6c0b89a1e6917d8a4e05419"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/riak_kv_console.erl:128-147 | src/riak_kv_console.erl:149-171 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_console.erl"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f33e159b566f87043d56c74aa9162fffec603cadb96f87576e1b92b33bd740f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/riak_kv_console.erl:348-359 | src/riak_kv_console.erl:377-387 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_console.erl"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e23c28644ee9eb23c65c2eb34846dca82e7195ea30e82e5251992e5447a284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_kv_wm_bucket_type.erl:263-272 | src/riak_kv_wm_props.erl:282-291 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1333b411a18644276daa9016f84e3c6badebacdaf4ad963e9ad4aaef0e92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/riak_kv_console.erl:544-555 | src/riak_kv_console.erl:578-589 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_console.erl"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb301b56e8183d16d5f912a50a04e0b01881ff4455570b85d06b60c54f0a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): eqc/replrtq_eqc.erl:143-150 | eqc/replrtq_eqc.erl:202-209 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/replrtq_eqc.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d20bd813b16ef7ebd5782d901c0e755045d8356c8f83bf9321beabec66a516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_client.erl:570-579 | src/riak_client.erl:661-672 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b3af67bbadfa1b4ddb4c1c67d986c5fd4261fd6f6d24d2467014e4937b2365"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/riak_kv_leveled_backend.erl:266-278 | src/riak_kv_leveled_backend.erl:679-692 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_leveled_backend.erl"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fde939a0484e9d7167f353f274e18225109baf355483951009d323eb7112ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/riak_kv_wm_bucket_type.erl:198-209 | src/riak_kv_wm_props.erl:215-226 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"46339a5ab40daf9904c01fd085bc3bf5af0ba1f55f217fbbd9590d57e0c42292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/riak_kv_vnode.erl:3264-3277 | src/riak_kv_vnode.erl:3284-3297 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode.erl"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1dfcaaa046e204561123f56f7f2e0907b4ef4eb703ef008800e0f5ad0a947"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): src/riak_kv_wm_aaefold.erl:335-353 | src/riak_kv_wm_aaefold.erl:360-376 | src/riak_kv_wm_aaefold.erl:549-565 | src/riak_kv_wm_aaefold.erl:591-606 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f02162f0464df9deb90053839e60eae46204675026df4d95c32a738c1af228"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/riak_kv_bitcask_backend.erl:547-561 | src/riak_kv_bitcask_backend.erl:565-579 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb754d0f59ebe7a1de2677dc4c6d700a649f1b236e2fd9fdb1becd6ed6b93ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/riak_kv_entropy_info.erl:126-133 | src/riak_kv_entropy_info.erl:141-148 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_entropy_info.erl"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f2ba1d6b586211f6a2e87f2585a76d5f7d2bd76aabe4ad2e9bd0ea9e318ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/riak_client.erl:562-568 | src/riak_client.erl:653-659 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbdae8345b47eb4f08fe7c945bbb9d77f918d9098551695d42689faaab7aeea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/riak_client.erl:1201-1211 | src/riak_client.erl:1213-1223 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7c59cee809ee328ff9e604eaee590dadb2a7424b27a3857ba34996c6e5efdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/riak_kv_multi_backend.erl:436-444 | src/riak_kv_multi_prefix_backend.erl:465-473 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb232c3cf9bca54a066332cf9b8578b9f81aae5f56e1db99c11996f7775bea63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/riak_kv_wm_aaefold.erl:383-393 | src/riak_kv_wm_aaefold.erl:525-542 | src/riak_kv_wm_aaefold.erl:573-585 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ac6a59f7b1f5786e090a71d90337a96a8e2d108f40d6c177d9507d95e9668f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/riak_kv_get_fsm.erl:120-130 | src/riak_kv_put_fsm.erl:164-174 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a611dcc4dbb73a7b13ddbc3fafc7083e64f988d0c8b6afcf327905650c0104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/riak_kv_mapreduce.erl:305-311 | src/riak_kv_mapreduce.erl:313-319 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapreduce.erl"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03b3b310d342c36de541f57a180c27ea2ca4ad8802c717a1733e8349482732d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/riak_kv_multi_backend.erl:485-493 | src/riak_kv_multi_prefix_backend.erl:516-524 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bce366eaa976817c283bab5a859a289856c680e4560c26d2cc38a1dac85d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/riak_client.erl:535-538 | src/riak_client.erl:626-629 | src/riak_client.erl:874-880 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeafcacaeeb327109b1b20ab4b0097ec6ec7441fc01e4286cf23da2570490b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/riak_object.erl:785-792 | src/riak_object.erl:816-822 | src/riak_object.erl:834-842 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_object.erl"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"8346ba89858748cc3a343372aaf3847d2cf1baf6203d52cd17b11b3d39ae9703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/riak_kv_wm_keylist.erl:83-89 | src/riak_kv_wm_link_walker.erl:215-221 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_keylist.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae8ebef0d01404d3c80864e10e77198e7b39d392b54eef1713d8dd2c23c5366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): eqc/eraser_eqc.erl:92-98 | eqc/reaper_eqc.erl:83-89 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/eraser_eqc.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2dee52b71988a61aa2fb0c6bb54b2ec8174949090723c42f1761550cf73b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/riak_kv_mapred_json.erl:192-197 | src/riak_kv_mapred_json.erl:465-471 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8482f28dbd58ec93fa98e5a35661fd630791c5bda4a62111cde522e6b6406130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/riak_object.erl:923-926 | src/riak_object.erl:930-936 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_object.erl"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"f698f1c78acb780f3fa75db2b454e8155c1bf0aad5aad7cfc214b3789128415e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_kv_wm_object.erl:1217-1226 | src/riak_kv_wm_object.erl:1235-1244 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_object.erl"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a07be3395594741376aa3e7f2e545ce0536950287d05a6bb9fe16e802ca7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/riak_client.erl:829-836 | src/riak_client.erl:1001-1010 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50655e2afa93f6a119883ee2ae8dc01e42426d51eea2926f41f2aecb9e77930"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/riak_kv_index_hashtree.erl:1228-1238 | src/riak_kv_vnode.erl:4113-4123 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_index_hashtree.erl"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3177b5a841274ab122bcb019322b72c31147639e0d0c910517ff2415e45ce1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_kv_bitcask_backend.erl:533-543 | src/riak_kv_memory_backend.erl:471-480 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7e1e80a555710233f10daf15e498370317cc41e46dfe8f6f7be94c6f4f9ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src/riak_kv_buckets_fsm_sup.erl:33-41 | src/riak_kv_clusteraae_fsm_sup.erl:34-42 | src/riak_kv_index_fsm_sup.erl:34-42 | src/riak_kv_keys_fsm_sup.erl:33-41 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_buckets_fsm_sup.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e88934f7c93f5ddbf1f484391a2ea424ebb2a13406c6a38783bc15cf017b591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/riak_kv_crdt.erl:474-479 | src/riak_kv_hll.erl:177-182 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_crdt.erl"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8013faf9da3a77b7f3c5416edaaaf0fd37a1458cb3268ed199d7a11d84ee2308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/riak_kv_stat.erl:422-426 | src/riak_kv_stat.erl:428-432 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_stat.erl"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4952f8e98479c8e13a878e93fae68b193719ff65ed147f66cda9660422f7789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/riak_kv_bitcask_backend.erl:632-642 | src/riak_kv_leveled_backend.erl:696-705 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe33005e328f4bfb858150c5e6bd2c29c46dff26218ef7f91426763304579cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): eqc/replrtq_eqc.erl:293-299 | eqc/replrtq_eqc.erl:318-324 | eqc/replrtq_eqc.erl:343-350 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/replrtq_eqc.erl"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"37de57c25733abed346cc5d8fea39fe81c532419fe8176f0461992d3b2f66660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/riak_kv_multi_backend.erl:307-314 | src/riak_kv_multi_prefix_backend.erl:338-344 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"86236fc80fc0db518870d1e6dccc97dc28f2dd8251ed7d7be96e648418bc7943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/riak_kv_multi_backend.erl:321-328 | src/riak_kv_multi_prefix_backend.erl:351-357 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c52d13014b6a4fe25e52595618822e62d4a5a3d0f4a88d080c0909d9d36462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/riak_kv_multi_backend.erl:386-389 | src/riak_kv_multi_prefix_backend.erl:415-418 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"785eee397f864ab8990918243f54a016eb300340fcb9cb8a6fa726d7307b97f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/riak_kv_buckets_fsm_sup.erl:50-55 | src/riak_kv_delete_sup.erl:43-48 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_buckets_fsm_sup.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"249c402a18fe5c43da636de620bf914b679fd3403cf188688dda11d357521908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): priv/tracers/tracer_latency_histogram.erl:96-102 | priv/tracers/tracer_gc_latency.erl:37-42 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_latency_histogram.erl"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbadf7675512d06f914ba14cca3c7e7aaed49d4f5def5a8bbf60ddb0477ed587"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/riak_kv_get_fsm.erl:578-581 | src/riak_kv_put_fsm.erl:709-712 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3a27b7406713ef4e4b79682e4ad42e0677aee3ac15071d82463ab385fc979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/riak_kv_get_fsm.erl:105-106 | src/riak_kv_put_fsm.erl:161-162 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4de112dfa45d9497d9b4217ef837a4983f8234e71162447038a0481ff0cc945"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/riak_kv_multi_backend.erl:397-399 | src/riak_kv_multi_prefix_backend.erl:426-428 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"741138cf937091ff76b4dfde7dcb8fb24c1dc5417e4b40c00340a9456651b349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): eqc/eraser_eqc.erl:45-46 | eqc/reaper_eqc.erl:39-40 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/eraser_eqc.erl"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bdc6e9835c08bff8cda4427689a60386bf07e38d956ae2cf377737af8012a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/riak_kv_wm_bucket_type.erl:189-192 | src/riak_kv_wm_props.erl:206-209 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa71a317595de5f15d034c48962d9bc00404df9c25a2ff0797d5bfbbdfd688"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/riak_kv_wm_aaefold.erl:157-161 | src/riak_kv_wm_index.erl:91-96 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0de9559278fc0a69320df14267d5e7e873256b144670e31054bc7916f819f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/riak_kv_get_core.erl:461-465 | src/riak_kv_put_core.erl:218-222 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_core.erl"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"214239041a24ab9b98e73fb20004be83ee1011d10320beb8019ce40ee0b61e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/riak_kv_multi_backend.erl:220-222 | src/riak_kv_multi_prefix_backend.erl:256-258 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a82c9a919d0afe9ccf8ad0ee7583c8ae8155bb611a22436c3c067214b74fff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/riak_kv_wm_crdt.erl:283-289 | src/riak_kv_wm_object.erl:280-286 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_crdt.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"425ed0cf655ddf0eb21405ad43f25781dbe9f422ba8259988c34d8d388b07c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): eqc/eraser_eqc.erl:41-43 | eqc/reaper_eqc.erl:35-37 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/eraser_eqc.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24a2078822b75dde89db9114859f2fb89916c7ff10c2e1da8768e9217ff7a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/riak_kv_get_fsm.erl:853-854 | src/riak_kv_put_fsm.erl:976-977 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"079ac7fcbc4f2c40a0efdef173bed9e9bd94b1c15db9f4678bba199ce9155e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/riak_kv_wm_bucket_type.erl:214-218 | src/riak_kv_wm_props.erl:231-235 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c497ca3909b608c586850ac29c4df4c7912a615d862e423cb06601e6af9c4ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/riak_kv_crdt.erl:567-573 | src/riak_kv_mapred_json.erl:548-552 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_crdt.erl"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1a96c400d9a40beab33d3d14abd9def63bdadf837f3468413eb7399e4419e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): src/riak_kv_multi_backend.erl:516-541 | src/riak_kv_multi_prefix_backend.erl:547-571 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:516\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2baa363c55687d8c9e040fac8243e4a0324d0fe4a85ea493bb5428c8808745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/riak_kv_multi_backend.erl:147-168 | src/riak_kv_multi_prefix_backend.erl:180-201 \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 25 separate duplicated blocks between them, totalling at least 274 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":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4155d317334491c7f0e5144297740ae1f2e1393b2f39722213dc9f8f831ab8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/riak_kv_multi_backend.erl:601-620 | src/riak_kv_multi_prefix_backend.erl:606-625 \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 25 separate duplicated blocks between them, totalling at least 274 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":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5c87328156b27462d4e6a02d8905a03f0116914f39d06f446e24bfeabf833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/riak_kv_wm_buckets.erl:186-204 | src/riak_kv_wm_keylist.erl:195-213 | src/riak_kv_wm_object.erl:411-429 \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 4 separate duplicated blocks between them, totalling at least 53 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":"54dff0a69f3a31627aac5ee49a2abcbb77f5fdf0cd853ed8ddf5e30b4427cfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/riak_kv_multi_backend.erl:184-202 | src/riak_kv_multi_prefix_backend.erl:220-238 \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 25 separate duplicated blocks between them, totalling at least 274 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":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5dcc81b18d27894f346595bee58797363cd38f4eb607f6a0c44dc3b26ff50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/riak_kv_wm_aaefold.erl:430-447 | src/riak_kv_wm_aaefold.erl:460-477 | src/riak_kv_wm_aaefold.erl:491-508 | src/riak_kv_wm_aaefold.erl:613-630 \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":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b089609b19fb9526fcc91afb12fb90474f123f13c1623389c77b042f31209f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/riak_kv_multi_backend.erl:332-349 | src/riak_kv_multi_prefix_backend.erl:361-378 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:332\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4817e76b6696c2247cd4106ec83a17895c1305aefdf8b8d858bf78d1901e1bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/riak_kv_vnode.erl:1907-1924 | src/riak_kv_vnode.erl:1937-1954 \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":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f13567f7b3381b18c5b54f3a180a193ca5805a9c0218a6f3e1fd0250de9912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/riak_kv_multi_backend.erl:418-434 | src/riak_kv_multi_prefix_backend.erl:447-463 \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 25 separate duplicated blocks between them, totalling at least 274 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":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5616b4659fbb0d8755f8e358cd6c932b7c43dc4bf1d1fc36c2347d2856dc56e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/riak_kv_wm_counter.erl:360-376 | src/riak_kv_wm_object.erl:1362-1378 \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 9 separate duplicated blocks between them, totalling at least 107 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":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1032a84313150f5aafb2fff675744f4d93e3e1a810abac988d982316d064234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/riak_kv_wm_counter.erl:405-422 | src/riak_kv_wm_object.erl:1411-1428 \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 9 separate duplicated blocks between them, totalling at least 107 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":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"379a359386e33310681e28ed4aab61f9c283665616ddbe6bf3d16086c6c4992e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 3): src/riak_kv_vnode.erl:1958-1967 | src/riak_kv_vnode.erl:1989-1998 | src/riak_kv_vnode.erl:2039-2053 \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":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c29876d67e68ab0616cb2f573e3c131a519e90f6890336c29f5f6767dd9babc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/riak_kv_vnode.erl:1972-1986 | src/riak_kv_vnode.erl:2022-2036 | src/riak_kv_vnode.erl:2075-2089 \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":1972}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_bucket_type.erl:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3ddfa0d0e181de9cbd8db1590b4e198546df92ff71ccb4563aeae3fe968aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): src/riak_kv_wm_bucket_type.erl:117-130 | src/riak_kv_wm_buckets.erl:112-125 | src/riak_kv_wm_counter.erl:160-173 | src/riak_kv_wm_index.erl:116-129 | src/riak_kv_wm_keylist.erl:119-132 | src/riak_kv_wm_object.erl:264-277 | src/riak_kv_wm_props.erl:144-157 \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 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_bucket_type.erl:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4bfa392afc2cf0b1ca2ef4bc42cd954a357f97acc56c07b2b91f408a44d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): src/riak_kv_replrtq_src.erl:433-445 | src/riak_kv_replrtq_src.erl:460-472 | src/riak_kv_replrtq_src.erl:487-500 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_replrtq_src.erl:433\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_src.erl"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"906376b8c9f1c204b5d4812b57e9f167cd4fd87d524551298995669d0919a7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_kv_multi_backend.erl:447-460 | src/riak_kv_multi_prefix_backend.erl:476-489 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:447\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":447}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_pb_aaefold.erl:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_aaefold.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a04777eb84cd16baa75f3521c465e6809a137c220db6eed213431f73a04c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_kv_ttaaefs_manager.erl:460-473 | src/riak_kv_ttaaefs_manager.erl:496-509 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_ttaaefs_manager.erl:460\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ttaaefs_manager.erl"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2662881f51fb6c52ac103700631ea3ceed860c6e8138cdd00e4abbc240daea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src/riak_kv_wm_aaefold.erl:883-894 | src/riak_kv_wm_index.erl:487-500 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_index.erl:487\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb761504a25b05ea2ff7fe3a70339fa6aa5dabb51e3ec4cdb05c975ed835be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/riak_kv_wm_counter.erl:263-276 | src/riak_kv_wm_object.erl:517-530 \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 9 separate duplicated blocks between them, totalling at least 107 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":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d122d335d188c94170457558873528a0218019f5f4a82c494f2aef83e588117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/riak_kv_wm_buckets.erl:140-152 | src/riak_kv_wm_index.erl:147-159 | src/riak_kv_wm_keylist.erl:148-160 \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 36 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_ensemble_console.erl:425\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_pipe_index.erl:172\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pipe_index.erl"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7c86a302bba09cc538d2fb614d7bf9d0883272669d8be47dc66a1d2f2eaa7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/riak_kv_pb_aaefold.erl:113-125 | src/riak_kv_pb_aaefold.erl:169-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_pb_aaefold.erl:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_aaefold.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bbb42ad6d22f8a64652116f0f752709ade4650fadc3f3a19b20ebd8787be52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_vnode.erl:2007-2018 | src/riak_kv_vnode.erl:2063-2074 \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":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"39be3115ae97e3265accf1791a3ad5a91348f0b9e1c6def4751736d56a9d33db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_vnode.erl:3266-3277 | src/riak_kv_vnode.erl:3286-3297 \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":3266}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fce916ee25e6be1faa8bea1a87ab1605def9b1fbb63607fa13b51984c6bbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_wm_counter.erl:248-259 | src/riak_kv_wm_object.erl:467-478 \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 9 separate duplicated blocks between them, totalling at least 107 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":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49334bea659032f993eb80506a3de2b08dc919bbc84baf513e4edb10e03dfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src/riak_kv_wm_counter.erl:142-151 | 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 54 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":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"993cc4e7e5b694dcc4d958e7847dcb2d8da223c75a71f4fd5a2343bcf2d6373d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/riak_kv_multi_backend.erl:113-123 | src/riak_kv_multi_prefix_backend.erl:128-138 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e3296f9552a7041c3a46eb6f401d0e5b78b1bc8a72eba77b83c5c1c26f324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 3): src/riak_kv_wm_aaefold.erl:168-178 | src/riak_kv_wm_index.erl:104-114 | 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 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_index.erl:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6ea011afcbd56d2c9a94dc95f727ecfeec3ff18e897bcebab9f9933f85cf90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/riak_kv_wm_counter.erl:130-139 | 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 54 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":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"605fd3e378a3997bf67c2168ab92bbb1c2b4a7f811cfdf23c31737f4b64253e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/riak_kv_wm_counter.erl:261-270 | src/riak_kv_wm_crdt.erl:241-250 | src/riak_kv_wm_object.erl:515-524 \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 5 separate duplicated blocks between them, totalling at least 37 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":"e63ad90968f660a1b4ff992484df0d4a00e32d88b69f3afe5bf0a771ca85f50c"}},{"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:222-231 | src/riak_kv_eleveldb_backend.erl:354-361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/riak_kv_eleveldb_backend.erl:234\u0060 calls \u0060is_tuple\u0060, \u0060element\u0060 and \u0060src/riak_kv_eleveldb_backend.erl:362\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eleveldb_backend.erl"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ceb1f1964957e8c3d605d4a97009c8b4486adaa44c6af8a6a888c3f7f0996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_multi_backend.erl:401-410 | src/riak_kv_multi_prefix_backend.erl:430-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 25 separate duplicated blocks between them, totalling at least 274 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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5912fdc0c8bfd926cd351c68fbbfe068d29ea70efd06254075c48d02747b8e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/riak_kv_wm_counter.erl:191-200 | 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 54 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":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58e20fabce74e695de905e0eae61c020fa587c61e87e77b6da0f6dfd5bc3321"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_pb_aaefold.erl:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/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_vnode.erl:2521-2529 | src/riak_kv_vnode.erl:2570-2578 \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":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e925daba9c83e5d911562c22b7e288a0845cd8ffbd8b8b04f2a40d1cb077553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_vnode.erl:2540-2548 | src/riak_kv_vnode.erl:2558-2566 \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":2540}}}],"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:133-141 \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 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_index.erl:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ca2c4d2e3c30c67a13226ef265ed709ae167a5bb5cf15ea294eab5bd8ae8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/riak_kv_wm_counter.erl:233-241 | src/riak_kv_wm_crdt.erl:213-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 5 separate duplicated blocks between them, totalling at least 37 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":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"09308663032e2cdb907d95483de665474754fbe96b2a5cef26916a4587869380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_wm_counter.erl:390-398 | src/riak_kv_wm_object.erl:1396-1404 \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 9 separate duplicated blocks between them, totalling at least 107 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":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"275d457d1ef4acb7eaccdf1118679da7a8fd7a7033c9d59d8d839879dab6ac62"}},{"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:175-182 | 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 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_bucket_type.erl:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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:332-339 | src/riak_kv_bitcask_backend.erl:370-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_bitcask_backend.erl:332\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"753e0c103a1ea7735b6449d72a054011707eb1e2553c7a3815390004275f076f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:229-236 | src/riak_kv_multi_prefix_backend.erl:265-272 \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 25 separate duplicated blocks between them, totalling at least 274 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":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14e8ea455da6fbfb3342d7c98bfb531b5602f3e4fee4f5b280124cac66dbac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:245-252 | src/riak_kv_multi_prefix_backend.erl:281-288 \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 25 separate duplicated blocks between them, totalling at least 274 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":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8682c125d6297b81f95ae548861d24b4f3db9afb1b0537bd708b83e7790bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:277-284 | src/riak_kv_multi_prefix_backend.erl:314-321 \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 25 separate duplicated blocks between them, totalling at least 274 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":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"325d81183bf3a9acfc9b6dda62feaf9eeb5d734cc35fccc3dc11186bcab07beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:486-493 | src/riak_kv_multi_prefix_backend.erl:517-524 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:486\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a9791965543ce93fee2149fe200d63c5ccc79ab94232f5f6e952d76a5b7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/riak_kv_multi_backend.erl:232-238 | src/riak_kv_multi_backend.erl:248-254 | src/riak_kv_multi_prefix_backend.erl:268-274 | src/riak_kv_multi_prefix_backend.erl:284-290 \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 25 separate duplicated blocks between them, totalling at least 274 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":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"820b14b6d21e39c1be506a1c7da46cea9d7b63591bcc9f63511280319c24b783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/riak_kv_multi_backend.erl:265-271 | src/riak_kv_multi_backend.erl:280-286 | src/riak_kv_multi_prefix_backend.erl:302-308 | src/riak_kv_multi_prefix_backend.erl:317-323 \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 25 separate duplicated blocks between them, totalling at least 274 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":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"14198b97c6edfd31c926f02116669503e74ddfa57f1c8f5c99bb04e1a3de4872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_ttaaefs_manager.erl:1054-1060 | src/riak_kv_ttaaefs_manager.erl:1064-1070 \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":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"953e269739161aaebe77a0381d3add82798115dba1df52d63bf002ffa9d901ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/riak_kv_wm_counter.erl:232-238 | src/riak_kv_wm_crdt.erl:212-217 | src/riak_kv_wm_object.erl:436-442 \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 5 separate duplicated blocks between them, totalling at least 37 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":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"28771d7510efc31bc6f1acd1e26602c3e94300abc1b99a784cdd99c48278523a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eqc/eraser_eqc.erl:93-98 | eqc/reaper_eqc.erl:84-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060eqc/eraser_eqc.erl:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/eraser_eqc.erl"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c887d668176a10bc9487af7131172fa8bbecbe3f04ac729666828ea9d8aa0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): priv/tracers/tracer_timeit.erl:67-72 | priv/tracers/tracer_timeit.erl:83-88 \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":"priv/tracers/tracer_timeit.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b354172498fa0defb5221f9271e5ab118ae605688efcefb4a2b763ccb3d9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_clusteraae_fsm.erl:516-521 | src/riak_kv_hotbackup_fsm.erl:109-114 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_clusteraae_fsm.erl:516\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_clusteraae_fsm.erl"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eccaa23c266ce40463f92c9d81f3b4ae371215aac749faf6e18007ac61730e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_get_fsm.erl:198-204 | src/riak_kv_put_fsm.erl:301-307 \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":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"002badf08ec99132ba0b37c3c244a915321efdad45f0179b6475cbb198ed5c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_mapred_json.erl:238-245 | src/riak_kv_mapred_term.erl:91-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_mapred_json.erl:238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"30126dbd3fa8d9ad72c9b57b67e2140ffc9b1d9ffd440215bffda85812d48ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_replrtq_snk.erl:704-709 | src/riak_kv_replrtq_snk.erl:714-719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_replrtq_snk.erl:704\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_snk.erl"},"region":{"startLine":704}}}],"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 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_bucket_type.erl:199\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a416d2141d1da9b7c4569a76a0fcc02d03e2009aaea6a2557e2e7cafe1a7bb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/riak_kv_wm_counter.erl:247-252 | src/riak_kv_wm_crdt.erl:229-234 | src/riak_kv_wm_object.erl:466-471 \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 5 separate duplicated blocks between them, totalling at least 37 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":"163ebbd4fc05dd824aca2d70de857b6485ea0da9766e4a8742b6091d5cd9851f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_client.erl:1032-1036 | src/riak_client.erl:1052-1056 \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":1032}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_ensemble_console.erl:472\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/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:840-844 | src/riak_kv_put_fsm.erl:963-968 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_get_fsm.erl:840\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad41cfeb7b7055ed5dc7bbc8b3d6f2c19abd8b55deac0e3752c1af3128719c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_stat.erl:440-444 | src/riak_kv_stat.erl:456-460 \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":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea675f4c259eacb46518027946b7fb511652f92fe847902f7bf3c7c64b2f14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_get_fsm.erl:754-760 | src/riak_kv_put_fsm.erl:922-928 \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":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2434546f419ed5b0c483b59c2080a270ca7e408938c92a1de23ae5a228885a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/riak_kv_multi_backend.erl:205-216 | src/riak_kv_multi_prefix_backend.erl:241-252 \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 25 separate duplicated blocks between them, totalling at least 274 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":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2669c222e9a53c129ccee2ba99abd2343c3fd448208489ed05fef251e597bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:354-358 | src/riak_kv_multi_prefix_backend.erl:383-387 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:354\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9bc9b52c6763ff1745600f1dd9addb72447f01ecde6eda5febdf87919308da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/riak_kv_multi_backend.erl:369-376 | src/riak_kv_multi_prefix_backend.erl:398-405 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ece48e4dc02e77eaca322d49699ee1911e1fd8373fd47dbb2f2ba37045cf5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:380-384 | src/riak_kv_multi_prefix_backend.erl:409-413 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:380\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c1ad866ab2c372bd1975e09d842e8f7ac63712348b2921186ace7ad22e9890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:391-395 | src/riak_kv_multi_prefix_backend.erl:420-424 \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 25 separate duplicated blocks between them, totalling at least 274 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":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e6b8b7e554b2780f1d72a7604ee0657c8d275d75e23a057fd2b1ef536cdf69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:412-416 | src/riak_kv_multi_prefix_backend.erl:441-445 \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 25 separate duplicated blocks between them, totalling at least 274 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":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f53e51434fadabcf57fa4d3b27932f79606e87c79227df316e075a8a5c0d1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/riak_kv_multi_backend.erl:462-466 | src/riak_kv_multi_prefix_backend.erl:491-495 \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 25 separate duplicated blocks between them, totalling at least 274 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":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ca2ad2bd575a67e3664ec287e3fb6f24e6c8a7bc2822b7ee2efed318b03974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_multi_backend.erl:498-506 | src/riak_kv_multi_prefix_backend.erl:529-537 \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 25 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_multi_backend.erl:498\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"349b1bb546e7f73511c8c18173560a0d6fe6a773bd461a6fb6780a27880141b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/riak_kv_multi_backend.erl:543-548 | src/riak_kv_multi_prefix_backend.erl:573-578 \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 25 separate duplicated blocks between them, totalling at least 274 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":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d4d140934db57ff83197e37c20e5cebdac924cd41f9bae196e905a3f32f471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/riak_kv_multi_backend.erl:622-632 | src/riak_kv_multi_prefix_backend.erl:627-637 \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 25 separate duplicated blocks between them, totalling at least 274 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":622}}}],"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:513-518 | src/riak_kv_wm_utils.erl:473-478 \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:170-175 | src/riak_kv_pb_crdt.erl:234-239 | src/riak_kv_pb_object.erl:493-498 \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":170}}}],"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:520-525 \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 (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 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_wm_bucket_type.erl:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/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:214-218 \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 40 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:278-282 | 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 5 separate duplicated blocks between them, totalling at least 37 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":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf190b17b0eedb96831fe3b79113e4b064a7612e2894c5a7acc36159358d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/riak_kv_wm_object.erl:1331-1339 | src/riak_kv_wm_utils.erl:211-219 \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":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5d1c08679ac639c06183b97ef2f55abdb2981ee44f8b236d61c6f135c6bced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): eqc/eraser_eqc.erl:81-89 | eqc/reaper_eqc.erl:72-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/eraser_eqc.erl"},"region":{"startLine":81}}}],"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:132-139 | src/riak_kv_reader.erl:112-119 | src/riak_kv_reaper.erl:138-145 \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":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"735fc286f4cd748775464aa77d660a9050d4700aa1835c641f34f2d206c04981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/riak_kv_get_core.erl:312-318 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_get_core.erl:312\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_core.erl"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5782948528e6902e1a856b13107571d2b9be08ee6975c2b7c3056b7d07a583a7"}},{"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 4 separate duplicated blocks between them, totalling at least 53 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:134-144 | src/riak_kv_console.erl:158-168 \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":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"93284abf09acc4c65644b1bf9aff4a8d9f5c3d81516d5520f8a5bbaf02534961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): priv/tracers/tracer_backend_latency.erl:141-148 | priv/tracers/tracer_backend_latency.erl:155-162 \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":"priv/tracers/tracer_backend_latency.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07c2397db665781148a82f4244973e4f7d0c6bd065101733f0f7f2eeeaf7604"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_ensemble_console.erl:474\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/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:1064-1069 | src/riak_kv_ttaaefs_manager.erl:1088-1094 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ttaaefs_manager.erl"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"605499a8b24a6736c7bef5911bab3cb79ec8b8adc2f488aaf3457e0484b6bb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eqc/replrtq_eqc.erl:144-149 | eqc/replrtq_eqc.erl:203-208 \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":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5962ede8cec5cd747344329013d7d266d90ab35ec423e8235093ba7f5ae28855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): priv/tracers/tracer_func_args.erl:68-73 | priv/tracers/tracer_latency_histogram.erl:89-94 \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":"priv/tracers/tracer_func_args.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fa3c6ca37d3b0ecdaedfbec2dc02bec9da60d1e685617b6399499c9388b832"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/riak_kv_pb_csbucket.erl:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/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:469-473 | src/riak_kv_wm_queue.erl:360-364 \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":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7451356dfc05c53eb14581278ecc188ad42a7740d240483e2d68bfba2b510c"}},{"ruleId":"D12","level":"warning","message":{"text":"No dependency lockfile committed (rebar.config): rebar.config declares 12 dependencies but no lockfile (rebar.lock or mix.lock) is committed beside it, so \u0060rebar3 compile\u0060 resolves versions afresh on every machine and every CI run \u2014 two builds of this commit are not guaranteed to be the same build. Run \u0060rebar3 compile\u0060 and commit the resulting \u0060rebar.lock\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8167d684e70969326978dc347dd61843dfe24c2c826307dbb1edecc8ff726c1c"}},{"ruleId":"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":63}}}],"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":104}}}],"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":385}}}],"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":401}}}],"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":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe696213b86fa409139a062b944d83ac3a38c14611f0d6f08969d22d17a7575d"}},{"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":105}}}],"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":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8094c92a58f056dc7311caa9c26adcb2dd96d259ab33b66646529d73828a4cc2"}},{"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":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c387a47f4eb00aba518a1a68442b5f2ea9cc213a5ba56e20caf178bbc9b744"}},{"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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddad22ff1f88bafbca9caa78677f73f5231669bd07b8cb0e45c4405321cb2f3"}},{"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":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5b0a8f59e54504f6cb90089c3db490bc0c4c4f133e812084db7bf8d5893161"}},{"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":34}}}],"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":"eqc/get_fsm_eqc.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b81ba14245bc37b199ec2de45125f0ab40be54527372a6f2eb42e64edf484"}},{"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: 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":115}}}],"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":181}}}],"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":199}}}],"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":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86a59133b920ee5a2087fc2243a638b12b380acce76aee9cd7fbb01e1636086"}},{"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: 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: 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: 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":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c472af5e2a72eeafb6d2820db8e34bd5939b5df35a7a3b1d2582d9b40dd5262"}},{"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":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14757adeb499d0bfcba9845bd9a155813ccfd1a770f4c653708f9812c5dc86a"}},{"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":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc4d18a1d2005a90b728dee0353ae9e12a56beebe8f9f4b40a157d70b6f847a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: not yet implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_leveled_backend.erl"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"db37c14d08e245792ccddf4c3ffc1772888e8091eeec4293ab86fa7c32748a29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: not yet implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_leveled_backend.erl"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e873e073b254da1aa7982b31e4ee16ceaa48c429c5d40250d6f36df5c4989c"}},{"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: 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":"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":649}}}],"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":746}}}],"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":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d71dde8a7fb0246fcbcd1cd0b829299c9d710a9028db8b065915721ca19d502"}},{"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":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd4baca12c7b4b1c73ebbdf5bf7e7d7bf2bee4b03660ffb5e029a1b189f9f6b"}},{"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":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"68225ee796cdc4ed3b6dbfafdd6ca084ade5e1197339a7cdec03ab53addd7681"}},{"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":"XxxComment repeated across 10 files: The identical XxxComment appears in 10 files (10 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 10 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_bucket_type.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0575934d416c97b16cbb13ad977c98b5fde48517e2bb4be2918f126a70e3fd49"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% HACK ALERT: Split values on comma. The HTTP \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_object.erl"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99d79d93ff2efb503832bb9d494d8d5f67e8f776905c51d5dded74537c2a5c"}},{"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":258}}}],"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":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9c185d08bddfa673466adadeb7e5cbce9d6e1972b387fa39686ae1015f688d"}},{"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: 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: 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, 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":206}}}],"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":225}}}],"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":257}}}],"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":542}}}],"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":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea5daa1c76081abb2b746fc0d10440f7b09be16ab278beabefe164dc1873ca"}},{"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":23}}}],"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":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6615d6572b892e5a9d3c3e2bf0bd85220c5cd037b8df80aa5f8d43b7e0ad099"}},{"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":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bb92046bc522bc0dd04ae829036c69c83dbb90efa860c519febd071707eb95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Would like to clean up the expecte 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":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d170d43be4268775a13afc99f309d5d2c54e18d12e36301670d41791f78f687"}},{"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":"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"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"f4c41877c577c04fe8bc2ef0efca67f2963a268c4183eb4a6919042bf44b38f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"576d9526d2d55dea4ce4bf842f48eb247010aa26299780411359a685eb30862a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 134 of 134 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 134 separate risks. Counted over 134 of the 158 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_vnode.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbda1e48b313cbab0aa54b43f2c8886ffda869bf90cb4b3cfe1882ba9848658"}},{"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_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809feeaf894b5952219b265f9f339f078e4ac3c2437c87c865ab108fce1d2108"}},{"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_ttaaefs_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9d2fec46257cab839b8401f214a96937648905bf151b0ae8449e025796a3fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bucket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6710282ab14778d37eba64dfa7b967d4b09a3ba4d2df8b0745d9e307d5ffb8be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_stat.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b815a27f35a862edcefb12457dad01ed783e5f9b944f6115783504ebdeac2bb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_put_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f470decb43958ba990d2e5f78e83d68dff11da7746fe9c19b298ecd2dddb5efb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c45948aa57f9ef45155c82d1a4aa7ab97d90f0ffc0a8e3b41bb02637122c165"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_client.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"639fd9ba212cdbc453f98067cb9013a566c871003ab198ab4579785497d05e63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_index_hashtree.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d78353e6c0f233e78f495f6507b6209eb47d61c100f786bdcba526d6dabbb91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0235de18835e32e19f914a4d2e795ef7920a47570329ae99f6fd37d0ec58a149"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_pipe.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"235693eb5d72079e2389ab3e3acea062a394ef2f8c7a1a26485293e33dc8b6cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_src.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeeabaa19d0458be859cbeea486203a511916194e13513965baf9a9e1106daa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_clusteraae_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f244f157f5a2d5da9b76da5898f75550278db8379c601cd0fd98e2d94b5eaa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_entropy_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec021c03daf308004082f390fe8cc3ffd3d5d8912920391c42799f8807d3e0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad72ce487750fa30dd9b5f9baa0fc9e23f7af19a2e2578464bd3bf2d8853802c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eleveldb_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"799c08596ad81820910189489ec405c99c86f61161ecb713cd75ca0d46b42f1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/ec_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5c2e7cf6f4d8826c67357e06c3825c625228e0c773fa9bc8880148253a6568"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_snk.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3d8409df2fd517ca7a73a90665e10de6db7c98551b91a03bec99eca6397443"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5987b06045dfcc8a978e35762015111cc29109dea7f22e10c83c1946f0a40446"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/put_fsm_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac56a544d38e2a467cc00144dc146010df64254f6c279dc373f1275c88dc04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_get_core.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9767c8ed19984f40ba29fe4818f697c07caec06f69f369968aabd6de5facc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_leveled_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8385ecfee1bf860641ffa36c0b6abc17df3cb865f0c32885a74b2fbf8def52f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_console.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49794b5732a9f5cdaf48b07dd6100679189f9e41bd38d0b5e87621b3055a7cdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_prefix_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0f4965cd4edd3e95a83f549e08686a1390dd8da0db0a04d14c6526e4c6af96"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_multi_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aa5a546b63962bfbf8177d975f228c48f1fce43d6aa9efcb771bc8154ee9ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_memory_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4994c570edd2b400d28a20130b12019c9540af45d649c1ec236a097c5099b2c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_crdt_json.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d97a7edc9f30b6aa688ad6b36bca5a97c1f008b9706786001d2dc079c9a7cc0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e5015aafe05e999357fa8e0a54652c3d4223847298c8feb087d24e21583e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_2i_aae.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b1e41b05ea75cf973f6cce61f1d6f75c8b9dd77d5cc931f01ccf884bb1f33a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_crdt.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b2c3eb143b43a816d0145e432d58cb10b11ede6d10e9c1b261a4b1371f4850"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d326ae85fae1f37ddc601683338bfa7f8ce02dd796458e5e025decdd63ed4f2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/get_fsm_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"912148e7045b14bea9ddccba68f76bda67fd570bf1263a0b2db26ff150d31b5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_vnode_status_mgr.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"857538c464e67d1d07153dab7665433989f838bc48c9e2956bc6be69b0a7d494"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/backend_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e45cb6280df55c02e4673bd753273d70cce3e1979c40cecc935cdeaa26cc1f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_crdt.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a5cd5f82a3b66bf15583a6dcddf6414c1715103500944faa43f73d5d37c2e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_object.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6edeb0fdc7ac219c71ccf34431c23bcdeed3322ba80c8e5a59dfda9ba6159b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_overflow_queue.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa8edf064227def72147d402a7fd928070f3d9e90307d2780695e142dcd3cf7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_put_core.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43ac8fa99c83cf8d833f43cf3482595100dc11a905788d5e01375b722b5b9d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"399dd69d691c7571b2e92e5588a0729750b3401144ab95b417a7e3e1d55452a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_util.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6200027a926a6cd0ec0455321232726d5b7d9f2d78ad592b635f185845a4521"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ensemble_console.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9236fb1d4e1cbcc9160fe022e3a0a4443a7665fd914977ead90eae424ff63e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07619889eaaecd460bd453309f89844863be6b37bb539c8855dd094c2f8de770"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_link_walker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3c170c16dc82a68adcb092f60f9d8a4fbece3c9f9757e0af136862ad3a0537"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_exchange_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2bab237a0e436f5d50746e4ff88981761bf373199bcaf5551d2384247119e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_yessir_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5d4d1b9235a9fd0115212b150d8934850ff2828d764d1f59d572ee16c94706"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_counter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01821c2488e6d41c971276f19fc865c25890ed398d45c57a2dcd72b82537d8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/kv679_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa98000d8b8cfebacb59c12d0ed92084fe327c4a9e6b26e9b09a67182dc9776e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_sink.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0059dbeae40f7b7d529f04e4efedc94300eb4d7c848e37d4f8c76dd0ff0a9c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_test_util.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"117b4a393f45d73f4165906d1736d05cfbceb42d53d9b875ef2254b93ab03c17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/replrtq_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdbc20239e386a07bca728ab5e606ecddc57baef21a44a3477666146d746f08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_app.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2c46b5585b63b40a2fff06841afb1700fb9a19f35d0b3b11959103132d560e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/replrtq_snk_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"328e6d5590fc2543641b7aaec32486b7bb90f27496df11bf0eadbc1cd40700e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_requests.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"892a08388517ac4224f2b0feee988fb2ec1a900446f011e16b2989833e412a97"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_w_reduce.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a87886f6e9e90fd22d0928d8e4f9201d68efe3f07ca6f192830bd8625a2423"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_queue.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"882d826357d44e1aa5cceca047e0fdc3395a4a44295f6c75ab9761d7b4809b5b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_hll.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc2631ee225fcdb20faf92bca5440d3490d4a35063806b16cabc5e5963fe563"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_tictacaae_repairs.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b78bd5be0aad5544e4bd00026628ed569d54d29dc3f14632a201e13cbd91f9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_crdt.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a71b1742cb02da9ec3a42ce20bc7021e9089032233d65f796437f15ee8be7a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapreduce.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"283e25af1cd2823e2e3e994146c9ce4aa4918c0f52d701814703a542f6eb5b4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/riak_object_dvv_statem.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e67e9b2d25075a46021b072ea721116b26766ac3001ed299e101a5634a5bf56"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_filters.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"949cc58e9101f3dc07bd96c75321b761574f78dc886f3d1bb68ca652030effa6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_delete.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7939feead35facec4bd970d07d31cdcce02b218e64398ad6c6b16fefaf69d800"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_mapred.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb05c4cc80e1161d2a288aab527505d61d337babc63ceb4048100498cde34f3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_index_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e9e84cc0b318dbd8b64aa479ad1b57b3ffb74381bdc72ee942b7851ba4442f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/fsm_eqc_vnode.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff40a8a23b0b572685030c6024709859900a5f54d5929ac5e6eea3873b790a74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_stat_bc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d12aa348e7b45e8b867f6bea75b803e130c308781b147d30afd2db3484bfdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_keylist.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebd888ca29b3284024e555c671c759de9384e86f60c8bf65e989bd4307eb0e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_props.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09069b2987e9ae2be6867341285f8b00464e77d27d72281392b178b765996c80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_w1c_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7f3c7ae9d63d83245e771fe0cffaf4ebeb26a901cce16364662a8084b7c0a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_aaefold.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd59957dc6dbd9fa78109d4079dcd7d7daa6a025330a33816bd9c5294d91316"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_entropy_info.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e0d8f97f4f93b5332d918cbae37add62f6a3ab29e74778c4fb425d36d14b44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_map.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b107150ffca59ed0ed9c511decee2da58072cb39c0b31298abddacd24848370e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_reaper.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202224c39493ffd6e8c984b211ce0bb79876f4b9f0f31895bc8b50541bd36d74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_queue_manager.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67f31bc2ba5bdef8577001f77203d1a7abd83a15d05afd2731ca445a0d31766"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_bucket_type.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fae7999fc1e2b326f601285670cc4b0be4fcd30e079175325c95c950506b5e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/kv_crdt_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9795633fe9f2b542effc26595ea47cdf51859a6ca1ce5c73edd360c882406344"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_mapred.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3b9d08a5634440a8d973ac0bf8d09b6be9589f7a4df0e7c11eca238abba233"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ensemble_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55434f69deab96cbdb8f61bce99efe9bb00347f862b76c6d1f4d0fbb3bac2e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_buckets.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c522e4ccaba247eb5c1fbf3e43cb535c7325041794e384d7e66be85a3ba07aad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"229762f4dc1a1ae33ef093dc3dcef248276f20f06d51043c6b204849a43479cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_replrtq_peer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a02765d7a33525a4cf04b936bded9b5090efb7611c4551470ad25bb10d4643e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/fsm_eqc_util.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40fe138ebbe6a72e25a8add2b07a9594c555168a1fceca49b0b53ad28470ae3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pncounter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d458ca3fc2a7eb5147cc547d503ed24a8f5b790d7faf5d75a0647a5a6ceb42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_gcounter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c732b0d992a00315c07e80a9e5cf016c197104e16403669da71481115135732"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_bucket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383ce86c10163a26954d443a74de3632f28d322725289b53c77aa588819c9cf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_env.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"018fafbbe701f068f1abd047be7c7c0f34a9ccc3dc8a21869152e00bb66b6346"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_term.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b22ccc77f2f80100b5a9db2178b8ab5501bd3c8b4dd5a2dffdb6f894a2d17e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_object_json.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90ff468ce03b7c8563c7b111ad102edc9c31a9cfdd661cb41dd44997dc2652f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pipe_listkeys.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c7b488078231c5a1fd02ada2c8426641a60b4c6afead2721f4f1c4a26710e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pipe_index.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d22e383016cfc9a11c78fddcc4cdc888af021b1cb436250dd22e4b79b4652"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b535f2f3aab166ffa9408c15e40b58bbb00d2a94558727a2a295f4810d8f1104"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eraser.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"720fa32f13eda943e77879299f62d8852b0ef38ec6f64d253b3168351ae9bd2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/sms_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6c97fad6ae5cf5a4bca15fad84c69bc780d72791f7980b4ca90e30e549307c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pipe_get.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6b7962d33772cde604f855f168a22785ccde38b65899bb9dd2eec32e368933"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_backend_latency.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3b1436701a2c813a62f7316dbd4447ce91ce796a52260e18a724dda52f150c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_legacy_vnode.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68107340815223ebe428308526d2f4580759cb65104f60bbe4b2f8ddc86edc3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_counter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e345e7ee58391b79a21351218ebdd7e8c5fba5945b5c37bb5a419e761b61c2a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ensembles.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d22585287c04477d4b9a6c9994a70ac42e466fd6e27b9312f765f6665524e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_web.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4aeb2fc0a2c07b852427a33ba4d984b9593050644df40c0b08c881874c3e7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_hotbackup_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58bef91b4af0539e1d3e0760c7952fc5101d61ff3be9d2ab7562a01bb4f6176"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_keys_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f186ea1ac497d0bd619771d830c4d6f0637a8192b133a20528b396b19af46b45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/crdt_statem_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcac27c5df0b6793e6fba9e91780fa316d41a1a62969ba78837405f9109e8bb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_csbucket.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea657225e164ddbaf90a1374dcc1ac4ca7b329dfcd0f45af552b429eb35b6147"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_sup.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c76e5fd8cf186597d2a8c4639c46a3ded8e284af46c1b1861db8b39d709367"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_coverage_filter.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7096de4f6016879bfe7b73bd777f7040dd9bdcdc7f273056f617076ab7f1b779"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_buckets_fsm.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1368104bf7fa79fd2c2f8d0728792c3eb7fbdc30d1509bb1e3242aa306401e2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/replrtq_snk_monitor.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06017de5d5325931f0089b6f2aa69eae5ab37b5435903278d547bae8de54c91c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_reformat.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3443e15e47d9d08ea083d66a08bef363754cf9123d7e66f1b00388a5f4ebb8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_status.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a225d665297bc071af4a8d06eea87a2e926c27d7617da6e640125acf47a7f15b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_fold_buffer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5daedff8cad79039d1f2254a179bab403b289c819280df5a9a8b2560dc08bd2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/kv_vnode_status_mgr_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c154ed360f801ba738eb8fff8cdb54f5df21af68deab4f2215a03773e91ad2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_hooks.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f666e53aa8d35996343d1f9de39bebc0bca050db7e472bad082aab868daa23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_timeit.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d810deb1ee6f1630b3dd82edb172dbb7a98641692490a865ca412a634785d046"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_reader.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2638e1a5506f5cc846caa2c8a6d34eb66fce19f15dd3f239651ad02ac06ac7c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_latency_histogram.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cac39ab178239fd0cbf2e6e2a1d501e94bdd7d1733962d2a1fb7b8ed42fa4f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_large4.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fb13170b08dd715636d0090585d7f10fae2a1c6945bd1a8055252b9f75b2fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_merge_and_and_handoff.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfc28c7fc97464547382f70c0ebbe72ffc1f6ea5d6d289f0e5b5c71bd8f6101"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_backend.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f696e39e4ec619e4cb658436ad91d4f2365e900fb7d69a7ef1faf29151bed3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_fsm_init.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f927486ba68d93e80e84ebdce432c2e593c8620403937a055c7dbf0525d3e898"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_fsm_timing.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7d7e4e15c12ed37ff8b3f5fe67a61d110ee92fba7f156a310e3a36fa8389ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sms.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a9f3ec2ed7afc63db40d94e877fc7bad7265ecc1b42ced19dbb43ab999f4c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_func_args.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e481bde4d268fb2c184ffe7cd0c7b137766fde2192858ec60a80bc3cae8d591"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_raw.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de27f39f5fe62788365518bafdf1600039e8dfef275dcd0a1e23ce146586d663"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_exometer_sidejob.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1237a8da818bd4db67729817e6891666a51ebb0849813a338c811c9b20b1a79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_stats.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"456dc1e98525301966ac60c414306458a4b788e6ef93b93103f8f8dc96cc01a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/json_pp.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd25be85efecb7e43861c16f15536e53b34143be1934b2a7891d7de72d9b10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_accumulating_time.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba28cca177230844cd39e66f6d243a5d21dbf0109809269050936c78437cdfb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mrc_sink_sup.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce91a8de350352b76165053b487e4c85888a75cbaec7dc4215dc3502be5867"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_gc_latency.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e42a9af1d71205b7468ac0819cabd8b994eee47f04541e4b954e9398aea8448"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_read_bin_trace_file.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be4a314fcbd10a5ef6150c8336316dc759e67084b81590969992f83d454545f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/riak_kv_types.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102842a3278e83297f32f01757b5671946605a16b339a6028e9b1399e8865e24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_bucket_key_apl.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f3ad0157b440092475c2676e04e098af4098e9cd0cf70675b1629fad8be77e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/eraser_eqc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc1f54ab951b8230585ce8111e4f222a01b0be7d760b3f7abb113ed426799ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/tracers/tracer_eleveldb_put_size.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7a21dc7bcea7f6579c60047775ab926564f08f4af88f318c9c5ab522ad0e4e"}},{"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":"5e5d30d33b29569962e5449d58b4d9e235a9c4e1c3e4ab13e478fc7621fa351a"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: riak_kv_2i_aae clause \u0060wait_for_index_scan/4#423\u0060: \u0060riak_kv_2i_aae\u0060 clause \u0060wait_for_index_scan/4#423\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":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4319905b7fcc536e5fdde3b399d2dc956363cac35d99260ce34da39c6963fe1e"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(Bucket) andalso is_binary(Key)\u0060 appears character-identically in 2 files \u2014 src/riak_kv_mapred_json.erl, src/riak_kv_wm_utils.erl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e128346c16fdbc40bcaa32afe9aaabfefa2ee5444dd965be41cc709884444986"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(Source) orelse is_list(Source)\u0060 appears character-identically in 2 files \u2014 src/riak_kv_mapred_json.erl, src/riak_kv_mrc_map.erl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_mapred_json.erl"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"15078e9d4b869b1334981cd1bc82f1004ce5714828f8087c81eb81f143f23bfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(MaxResults) andalso Count \u003E= MaxResults\u0060 appears character-identically in 2 files \u2014 src/riak_kv_pb_csbucket.erl, src/riak_kv_pb_index.erl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_pb_csbucket.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d0ef44aff57b2ad7a57e35047c2175c5ac5005b9f492ec4d8fedd6c895207f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_pid(Res) andalso is_process_alive(Res)\u0060 appears character-identically in 2 files \u2014 eqc/replrtq_eqc.erl, eqc/replrtq_snk_eqc.erl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/replrtq_eqc.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67727fedcaf2c1d697488ec63da25a1bdab1f5306838d16ed23281b0427acc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_2i_aae.erl"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"fade380a4b26788a10342ed8439f75705fecee95ea43421dbe901403a1fbdc21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_bitcask_backend.erl"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a902972760f608b023a7b45acc154e63a066fe97e1ce87838b8832d41450dc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_eleveldb_backend.erl"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad6160755b3800d821fb8f88899c83909e44dd6ccb418c74db2a5def53afa83"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_ensemble_console.erl"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdc9ca4d51a8c5a3c0f1c567b06d3355fa32873cd8203a6dfb4317bd123c902"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch error:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_exometer_sidejob.erl"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0440e25124d8a2a970d910a4b37a51c8d299cb703a3093d041928fb9e1ed95f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cedc610d5a912b9a391e54f6b06f34ac4d4c14380b6ac03665c124f6403d7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c38f0664381fd46d8421bb9c090627a37a1e75f7ad3b025897898aeac73252"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb3d342b2aecc378c94c7ec261c1ab3b40e076ab1d70a2ee9d1ffea949c3772"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b48d0f5e2377112600a2364aaff6d713deec87845cea2b03c1ade82fa7c0f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_aaefold.erl"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d1f2578c9ec5be4154eafdc42e696bf929626476f1871a9d7358c478492728"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_index.erl"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5196301b6eaf5755b1ae66c881bdd94d0551aa4ea628b035b65b7656041d57e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_index.erl"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d4abd9fcd6f0f7032696e6b8e45a1d2ad98bc5fdefeb4b50fa03796140ac92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_queue.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abdd209082d3cc8a82519072a66a8ea176b8edbb01fe5ecd4ec65972fe26436"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/riak_kv_wm_queue.erl"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8454eb7c3dce79cb841c33500bdb36a82b4f0bd46c350c3ed999ca511e41140"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/kv_crdt_eqc.erl"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9baa586e4d76ecb6b380369cb2498bbf2b6b6b911b1857cdb8f904174f0b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eqc/kv_crdt_eqc.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687bbac6b2d1fa116fd66e15da9033a214ab5a66f9de13e8e4fa6c04ef7f951"}},{"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":63}}}],"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":29}}}],"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":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":7,"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."]}]}