{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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":"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":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"muc_roomconfig.do_decode (cyclomatic 142): muc_roomconfig.do_decode has cyclomatic complexity 142 (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/muc_roomconfig.erl"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c16e1b9e89003855cb4528863bada43e7a8a1c0fee513001beecedb0adef505"}},{"ruleId":"D1","level":"warning","message":{"text":"pubsub_node_config.do_decode (cyclomatic 133): pubsub_node_config.do_decode has cyclomatic complexity 133 (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/pubsub_node_config.erl"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7276dd4a87fb5315105e58e1d7c6c46f7b27d653dff199ca8687ccd2ce1b71"}},{"ruleId":"D1","level":"warning","message":{"text":"pubsub_publish_options.do_decode (cyclomatic 133): pubsub_publish_options.do_decode has cyclomatic complexity 133 (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/pubsub_publish_options.erl"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"207a57c35ff5ac34229fd0b5341b800f2b3b740d2652f608cf48b5b038c8256b"}},{"ruleId":"D1","level":"warning","message":{"text":"muc_roominfo.do_decode (cyclomatic 75): muc_roominfo.do_decode has cyclomatic complexity 75 (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/muc_roominfo.erl"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b859932a16b0d09474bea9a0734a2b0ffbc7f3310c86fc8b5ac6ec5554f29b8"}},{"ruleId":"D1","level":"warning","message":{"text":"captcha_form.do_decode (cyclomatic 68): captcha_form.do_decode has cyclomatic complexity 68 (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/captcha_form.erl"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1623021a1ed292359b21c26f43e7cddc499c8541879086e5bebfe913e05a73"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0054.decode_vcard_temp_els (cyclomatic 64): xep0054.decode_vcard_temp_els has cyclomatic complexity 64 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: xep0054.do_decode (cyclomatic 79) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4a990d23cfcab8154969b8759cab2a78b686cc9e84f9ae8327fb8e6cd685dc"}},{"ruleId":"D1","level":"warning","message":{"text":"pubsub_meta_data.do_decode (cyclomatic 56): pubsub_meta_data.do_decode has cyclomatic complexity 56 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pubsub_meta_data.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"004781a6d4d3d737426be3fb817539b892c6c28cc4651ef1912283ecff5c3062"}},{"ruleId":"D1","level":"warning","message":{"text":"rfc6120.decode_stream_error_els (cyclomatic 56): rfc6120.decode_stream_error_els has cyclomatic complexity 56 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: rfc6120.do_decode (cyclomatic 119) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d16e97050b3fd0a23cd776ecdf034dc9aa733ffba6c9e862b7f1a23f79620aa"}},{"ruleId":"D1","level":"warning","message":{"text":"rfc6120.decode_error_els (cyclomatic 54): rfc6120.decode_error_els has cyclomatic complexity 54 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: rfc6120.do_decode (cyclomatic 119) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":4145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cbb761011bfd76b003b685ac89d1de9c6336a47cc26d52fd3192e7d1dfb4f9"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0077.decode_register_els (cyclomatic 48): xep0077.decode_register_els has cyclomatic complexity 48 (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/xep0077.erl"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"002f65fd232ea41d112c2b6073eec960791b8a01d10d281c3d7910299c695886"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0198.decode_sm_failed_els (cyclomatic 48): xep0198.decode_sm_failed_els has cyclomatic complexity 48 (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/xep0198.erl"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cdbc581c3f6830aa3c94adb378017af560f135939b6725700b6b941366d18f"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0060.decode_pubsub_els (cyclomatic 45): xep0060.decode_pubsub_els has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: xep0060.do_decode (cyclomatic 64) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"83700dac019fddbcadc430b2199b5ccfe5cacd369b6a78ebec8e70ba79337475"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0166.decode_jingle_reason_els (cyclomatic 42): xep0166.decode_jingle_reason_els 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/xep0166.erl"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad004cab325f5f91b557de3dd9692a8e3f0b2b510aeb0b1c3b560f0feb9b3ef"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_stream_in.handle_info (cyclomatic 42): xmpp_stream_in.handle_info 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/xmpp_stream_in.erl"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d4193279b05638b7a67574b0632f65523d0b41f8cbb74eca29a0cf1968a5ce"}},{"ruleId":"D1","level":"warning","message":{"text":"pubsub_subscribe_options.do_decode (cyclomatic 35): pubsub_subscribe_options.do_decode 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/pubsub_subscribe_options.erl"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4e6919dc38a555e3e089a242dd752a3f2174ce5f106ba70c786e58f0eb6b1c"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_stream_out.handle_info (cyclomatic 33): xmpp_stream_out.handle_info has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_out.erl"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1265bc47d678beecb42239078bc5a60008b625db2c37cb08531a6688ab775a16"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0388.decode_sasl2_failure_els (cyclomatic 32): xep0388.decode_sasl2_failure_els 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/xep0388.erl"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"5446cc7be4ed61e26d063ae0bbf5e58b276a0c81143a16a6cdcf52ca0d5f16cf"}},{"ruleId":"D1","level":"warning","message":{"text":"muc_register.do_decode (cyclomatic 31): muc_register.do_decode 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/muc_register.erl"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9659c8f9d5718868bda56c7139e4dabd30c46e571385245509fbce717d2a22"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0054.decode_vcard_ADR_els (cyclomatic 30): xep0054.decode_vcard_ADR_els 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. This shape REPEATS in the file: one other method here (xep0054.decode_vcard_TEL_els) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: xep0054.do_decode (cyclomatic 79) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6053}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d322c110e5eb87172811cc24c8092b3773cda21aed7fb37a705ae55f9145fe"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0054.decode_vcard_TEL_els (cyclomatic 30): xep0054.decode_vcard_TEL_els 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. This shape REPEATS in the file: one other method here (xep0054.decode_vcard_ADR_els) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: xep0054.do_decode (cyclomatic 79) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":4783}}}],"partialFingerprints":{"codehealthFindingId/v1":"15395c0a8645564c5998b8c0e867285e71de44814a3b615d98a5ad59f863e2f1"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_sasl_scram.mech_step (cyclomatic 30): xmpp_sasl_scram.mech_step 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/xmpp_sasl_scram.erl"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ab758cba7c9db8f34a1de667382671ae1e0cd0308f88eed65b838f80b492c0"}},{"ruleId":"D1","level":"warning","message":{"text":"rfc6120.decode_sasl_failure_els (cyclomatic 28): rfc6120.decode_sasl_failure_els has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: rfc6120.do_decode (cyclomatic 119) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":3034}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1543e5ba94832c6d79b859d390e8fa920dc81a0a84b6ab732e7120e65860165"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_stream_in.process_stream (cyclomatic 26): xmpp_stream_in.process_stream has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: xmpp_stream_in.process_element (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_in.erl"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b516e4dc738c0d26b942fa57669daa17d317140fc4cf470e21f71671811191"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0060.decode_pubsub_event_els (cyclomatic 22): xep0060.decode_pubsub_event_els 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. This is NOT this file\u0027s highest cyclomatic complexity: xep0060.do_decode (cyclomatic 64) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":4539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9e6b65e1e5ea010c3d11773e6d49869900beeda98a845b81fdbf354d25009b"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0060.decode_pubsub_owner_els (cyclomatic 21): xep0060.decode_pubsub_owner_els 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. This is NOT this file\u0027s highest cyclomatic complexity: xep0060.do_decode (cyclomatic 64) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b360b656ee9b55a1f6ff1c975c2fea9aa0c255a47ca4b824bbdacf2563d0e1"}},{"ruleId":"D1","level":"warning","message":{"text":"mam_query.do_decode (cyclomatic 20): mam_query.do_decode 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/mam_query.erl"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71cf47c4b4cc09249d3b7132990d65a55c2025ce466347ff88b0a640ebbaf77"}},{"ruleId":"D1","level":"warning","message":{"text":"muc_request.do_decode (cyclomatic 20): muc_request.do_decode 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/muc_request.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"45248340053d889435d13f7f5406c74e178691fa7673b93f97755c3d3ed5391b"}},{"ruleId":"D1","level":"warning","message":{"text":"pubsub_subscribe_authorization.do_decode (cyclomatic 20): pubsub_subscribe_authorization.do_decode 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/pubsub_subscribe_authorization.erl"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58907e4fe38a686c2d8495755496fa9548637807c1dd7cf1672279faaf058f7"}},{"ruleId":"D1","level":"warning","message":{"text":"push_summary.do_decode (cyclomatic 20): push_summary.do_decode 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/push_summary.erl"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6774d193627872b8620ddb7d82a556158e64b3092442d442120cce86b997750"}},{"ruleId":"D1","level":"warning","message":{"text":"rfc6120.decode_message_els (cyclomatic 18): rfc6120.decode_message_els 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. This shape REPEATS in the file: one other method here (rfc6120.decode_presence_els) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: rfc6120.do_decode (cyclomatic 119) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":6089}}}],"partialFingerprints":{"codehealthFindingId/v1":"454b0311aee4c2eb82145130fd60e5688fc3a905942548a6a95d59403577d0d1"}},{"ruleId":"D1","level":"warning","message":{"text":"rfc6120.decode_presence_els (cyclomatic 18): rfc6120.decode_presence_els 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. This shape REPEATS in the file: one other method here (rfc6120.decode_message_els) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: rfc6120.do_decode (cyclomatic 119) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":5473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e390a1f745d1069d1aa932617065841957e2dea7bf40504e746d814dd06ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0045.decode_muc_user_els (cyclomatic 18): xep0045.decode_muc_user_els 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. This is NOT this file\u0027s highest cyclomatic complexity: xep0045.do_decode (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0045.erl"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f062ce6ed969a4997b0d9e2d29268ae0477131dd49fec7678f3bdad688f1e886"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0054.decode_vcard_LABEL_els (cyclomatic 18): xep0054.decode_vcard_LABEL_els 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. This is NOT this file\u0027s highest cyclomatic complexity: xep0054.do_decode (cyclomatic 79) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":5627}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d55c5a2a05c9d1fdcb8f64f87f12273ea694bf3ed19bd8eb63409262bf6365"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0234.decode_jingle_ft_file_els (cyclomatic 18): xep0234.decode_jingle_ft_file_els 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/xep0234.erl"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd02f57a1f144f38dbd880ed89d7d72535c4ee393a8554efe333a455bb58d2b9"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_stream_out.handle_cast (cyclomatic 18): xmpp_stream_out.handle_cast 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/xmpp_stream_out.erl"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"710946e48f67c059073d0844cd95ccca3dc8399231d10697da5ce957f0998c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_stream_in.handle_cast (cyclomatic 17): xmpp_stream_in.handle_cast has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: xmpp_stream_in.process_element (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_in.erl"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6c4e49c9d35ce053e0b77730e3af54e9efc3b024bdbedb937de4fee4a3bf8"}},{"ruleId":"D1","level":"warning","message":{"text":"xdata_codec.get_dec_fun (cyclomatic 16): xdata_codec.get_dec_fun 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/xdata_codec.erl"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d7aa70183c660d46146f3df5f55aba74ad7589d93419f0d49217875aece2e2"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0055.decode_search_els (cyclomatic 16): xep0055.decode_search_els 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/xep0055.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca019b666457b700c68e9efcc073dfa886267d33ca34d3901e678f0bf72a3a2"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0059.decode_rsm_set_els (cyclomatic 16): xep0059.decode_rsm_set_els 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/xep0059.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5896e129adf3055a626550005c31d4ec0eeeb32a8caff4fd341dee49f2c93a6"}},{"ruleId":"D1","level":"warning","message":{"text":"xep0313.decode_mam_query_els (cyclomatic 16): xep0313.decode_mam_query_els 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. This is NOT this file\u0027s highest cyclomatic complexity: xep0313.do_decode (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0313.erl"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb23a295e7f9fa935dadc01ba53431b6a5319e7c5e0f69efb50191b3d09e2b3"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp_sasl_digest.mech_step (cyclomatic 16): xmpp_sasl_digest.mech_step 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/xmpp_sasl_digest.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aea3716114f12752b02fdb1f81b0e04448dd53d3103ab53cd700fab775078e1"}},{"ruleId":"D2","level":"warning","message":{"text":"muc_roomconfig.do_decode (cognitive 117): muc_roomconfig.do_decode has cognitive complexity 117 (threshold 15). Drivers by points: match/switch 71, error handling 35, loops 5 (10 pts), 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/muc_roomconfig.erl"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f9853b855052a223b53cc2b3810ec9ca2f6be8211896d399157117b5bec35"}},{"ruleId":"D2","level":"warning","message":{"text":"pubsub_node_config.do_decode (cognitive 111): pubsub_node_config.do_decode has cognitive complexity 111 (threshold 15). Drivers by points: match/switch 67, error handling 33, loops 5 (10 pts), 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/pubsub_node_config.erl"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d24cbeb56bdc882b90e57188469a7dc791ee83f337e4364c41fa10a99eaf4c"}},{"ruleId":"D2","level":"warning","message":{"text":"pubsub_publish_options.do_decode (cognitive 111): pubsub_publish_options.do_decode has cognitive complexity 111 (threshold 15). Drivers by points: match/switch 67, error handling 33, loops 5 (10 pts), 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/pubsub_publish_options.erl"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"8583c75af6b1892cb7e68f4764e3b16be857b969db9739be74ffc166f552b662"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_sasl_scram.mech_step (cognitive 70): xmpp_sasl_scram.mech_step has cognitive complexity 70 (threshold 15). Drivers by points: match/switch 23 (61 pts), error handling 2 (6 pts), if/else 3 (nesting depth added 42). 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/xmpp_sasl_scram.erl"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27760a8ef3d0e04ada8a318d59aa9f3b78250907d1c86169f93243d4c09e801"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0054.decode_vcard_temp_els (cognitive 62): xep0054.decode_vcard_temp_els has cognitive complexity 62 (threshold 15). Drivers by points: match/switch 61 (62 pts) (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f77e8efd62acc290848de7d8f92dc9230d82f05754845b871e3161ecd2da72d"}},{"ruleId":"D2","level":"warning","message":{"text":"muc_roominfo.do_decode (cognitive 60): muc_roominfo.do_decode has cognitive complexity 60 (threshold 15). Drivers by points: match/switch 37, error handling 18, loops 2 (4 pts), if/else 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/muc_roominfo.erl"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"712394142f7f080e9470979c0211073a2b1dde4b27e20d7d5d2251fe3c551a46"}},{"ruleId":"D2","level":"warning","message":{"text":"rfc6120.decode_stream_error_els (cognitive 54): rfc6120.decode_stream_error_els has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 54. 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/rfc6120.erl"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d1e075da1cbe7ceaf3b228f7644fd34fde7c1a04ef7d7e945b457d5bfc9bcd"}},{"ruleId":"D2","level":"warning","message":{"text":"rfc6120.decode_error_els (cognitive 52): rfc6120.decode_error_els has cognitive complexity 52 (threshold 15). Drivers by points: match/switch 51 (52 pts) (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":4145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6952f8e4668c17bec2e2fdf10d48a48f5cd67264baf6964fe30ac64dfec0c00f"}},{"ruleId":"D2","level":"warning","message":{"text":"captcha_form.do_decode (cognitive 50): captcha_form.do_decode has cognitive complexity 50 (threshold 15). Drivers by points: match/switch 33, error handling 16, if/else 1. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/captcha_form.erl"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"28af764e2309fc40141762809bfadee4d150f1944677d4027a8029ae6e63769d"}},{"ruleId":"D2","level":"warning","message":{"text":"pubsub_meta_data.do_decode (cognitive 47): pubsub_meta_data.do_decode has cognitive complexity 47 (threshold 15). Drivers by points: match/switch 27, error handling 13, loops 3 (6 pts), if/else 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/pubsub_meta_data.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"054c793c9c667b5265755254d010f325e018ee88691e8a8d8cca0547d8a4486a"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0077.decode_register_els (cognitive 46): xep0077.decode_register_els has cognitive complexity 46 (threshold 15). Drivers by points: match/switch 45 (46 pts) (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0077.erl"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"835f91732cfb5f1f6f463f11cf62576d2d16bed2092d37493bb118d91bd9dd96"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0198.decode_sm_failed_els (cognitive 46): xep0198.decode_sm_failed_els has cognitive complexity 46 (threshold 15). Drivers by points: match/switch 46. 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/xep0198.erl"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad723d1c23fede0384d50f1330f02e9a8f5eea34eb7d75d3b5beab331d84e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0166.decode_jingle_reason_els (cognitive 40): xep0166.decode_jingle_reason_els has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 39 (40 pts) (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0166.erl"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"507f7901c81bacffe5e2b83e2b9ec05fc5345f00ceb3f5972dc274ea4bf61568"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0060.decode_pubsub_els (cognitive 32): xep0060.decode_pubsub_els has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 32. 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/xep0060.erl"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5379dce4ebc6663f7a8b806a10f299c54a6f33eb4c168d2a5d55a295449f015"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0388.decode_sasl2_failure_els (cognitive 30): xep0388.decode_sasl2_failure_els has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 29 (30 pts) (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0388.erl"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ddd7ca11811cf8f296ac4b686584b9aa64e9483eea7917e56b116827a743f"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_stream_in.handle_info (cognitive 29): xmpp_stream_in.handle_info has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 13 (19 pts), error handling 8 (10 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_in.erl"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4517c6a5902d4acf3ff78371bec2d4f56f8feada53caf04ecf3a9504fa25a42f"}},{"ruleId":"D2","level":"warning","message":{"text":"pubsub_subscribe_options.do_decode (cognitive 28): pubsub_subscribe_options.do_decode has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 17, error handling 8, loops 1 (2 pts), if/else 1 (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pubsub_subscribe_options.erl"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaff5b1ec97e95ccf809795d54324414f0ee6ef176ea365b50e6273908202b6"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0054.decode_vcard_ADR_els (cognitive 28): xep0054.decode_vcard_ADR_els has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 28. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (xep0054.decode_vcard_TEL_els) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6053}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3bbbf6173e0bfbb206302684f8d3fad8b8819c3a17a74d2d8fc2c012afb7da"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0054.decode_vcard_TEL_els (cognitive 28): xep0054.decode_vcard_TEL_els has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 28. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (xep0054.decode_vcard_ADR_els) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":4783}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf90809c8e61881683ce567c1e0fd3d494c8f894165c9ecddbf163b5ad58d31"}},{"ruleId":"D2","level":"warning","message":{"text":"rfc6120.decode_sasl_failure_els (cognitive 26): rfc6120.decode_sasl_failure_els has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 26. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":3034}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab6f7b9ef1acd297728c71a5e2e9ed8bf5dc9bd2ccfcc9193e3fa2a283fe88f"}},{"ruleId":"D2","level":"warning","message":{"text":"muc_register.do_decode (cognitive 25): muc_register.do_decode has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 15, error handling 7, loops 1 (2 pts), if/else 1 (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/muc_register.erl"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a670378a33b65a2da576af8242b6c5e391b7f2f2be022a6284ee4a8e624c0e"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_stream_out.handle_info (cognitive 22): xmpp_stream_out.handle_info has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 9 (12 pts), error handling 8 (10 pts) (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_out.erl"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd777c0f03dcd233d97032d5150fb66e1498abae51345e3bd6e808cdee40368"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_stream_in.process_stream (cognitive 20): xmpp_stream_in.process_stream has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (10 pts), boolean chains 5, if/else 3, error handling 2 (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/xmpp_stream_in.erl"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b6312908b892fad97516c18f4b7a23e27d6bd3eabc84e9e61ed1b180f2f21e"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_sasl_digest.mech_step (cognitive 18): xmpp_sasl_digest.mech_step has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 9 (18 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_sasl_digest.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bd8c1243e749df3ac10f0b4185f7e3de59a4224b9ba76843124ba80b1a7529"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_socket.get_tls_cert_hash (cognitive 18): xmpp_socket.get_tls_cert_hash has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 7 (13 pts), error handling 2 (5 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_socket.erl"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c5eed2e54345c021b1ae31a9a7496f3827a46d6bf40c6f89aa80179580cd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_stream_in.process_sasl2_request (cognitive 17): xmpp_stream_in.process_sasl2_request has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 9 (13 pts), error handling 3 (4 pts) (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_in.erl"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac3eb6eaa050c2afb22878b28fc2d98ed5c57ed22bcc89138182fc19576274c"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_stream_out.handle_cast (cognitive 17): xmpp_stream_out.handle_cast has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (12 pts), error handling 2 (5 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_out.erl"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1239f1d9c632b5a48cf0b917de922908a99b5a2145883994452c060af4526cb1"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0054.decode_vcard_LABEL_els (cognitive 16): xep0054.decode_vcard_LABEL_els has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 16. 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/xep0054.erl"},"region":{"startLine":5627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d2b21e8307e8cea508b71dcba3e92dfc846181e3e4be63b538768afe272397"}},{"ruleId":"D2","level":"warning","message":{"text":"xep0234.decode_jingle_ft_file_els (cognitive 16): xep0234.decode_jingle_ft_file_els has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 16. 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/xep0234.erl"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d758d2b3a07e33f71e58c1eb0ba1a44546f9f8222dc3d72d08bff06d0fd540"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp_stream_in.process_bind2 (cognitive 16): xmpp_stream_in.process_bind2 has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (12 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_in.erl"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"be323000c9a9871cc7ebfc8a8636ae2efa6199403bc8a11ce4141c598619f9b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0054.erl: FileTooLong \u2014 8397 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 393 functions. The bar is 500 significant lines; this is 7897 over it, 16.79\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aee0819c81bc46d5a154def0bcc63ce766f79860caeec47c8beaf7e42b708dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rfc6120.erl: FileTooLong \u2014 6420 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 368 functions. The bar is 500 significant lines; this is 5920 over it, 12.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/rfc6120.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff9704c9ddaf780b82411dc780a8e2af959ec58bf6c3de394a65ce683856c98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0060.erl: FileTooLong \u2014 5526 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 275 functions. The bar is 500 significant lines; this is 5026 over it, 11.05\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"700a63407fcccfad33dfc450219a2837b08f0029f0a196449a3e309f73b65210"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0077.erl: FileTooLong \u2014 2714 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 129 functions. The bar is 500 significant lines; this is 2214 over it, 5.43\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0077.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce4cac513a854645024025d3563843ea6bcd488eb934cc06107cb122b927dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0045.erl: FileTooLong \u2014 2676 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 165 functions. The bar is 500 significant lines; this is 2176 over it, 5.35\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0045.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d529cd9b4155928efb5859bef827ccb6b7eb2305051d4b21464b946d61520cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0388.erl: FileTooLong \u2014 2217 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 116 functions. The bar is 500 significant lines; this is 1717 over it, 4.43\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0388.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e9590da991fdf2a99b64e7da13d395f97ca3150122590f149bc087dac70180"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/muc_roomconfig.erl: FileTooLong \u2014 2161 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 58 functions. The bar is 500 significant lines; this is 1661 over it, 4.32\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/muc_roomconfig.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db74e33777157d99717225b6c30fdfa9ff74176908a49d6406d4a7175380f5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xmpp_codec.erl: FileTooLong \u2014 2159 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1659 over it, 4.32\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_codec.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd54b1599f7dbbc3e328ccddda3186fda53ce422f7705a987223ec400f4ce162"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pubsub_publish_options.erl: FileTooLong \u2014 2105 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 1605 over it, 4.21\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pubsub_publish_options.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0e791509cfe9e12070a759210614d54202d82f5b3e7b246093e9965b3612f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pubsub_node_config.erl: FileTooLong \u2014 2103 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 1603 over it, 4.21\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pubsub_node_config.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2acc44d393e6bdd25b223316aad605c9658e9fb8ec3fcf841b73aabeac08f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0166.erl: FileTooLong \u2014 1754 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 94 functions. The bar is 500 significant lines; this is 1254 over it, 3.51\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/xep0166.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fef599883af9414cb10baa2ab7e6b05925e05d739be62b6b001b13939c3a23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xmpp_stream_in.erl: FileTooLong \u2014 1659 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 104 functions. The bar is 500 significant lines; this is 1159 over it, 3.32\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_in.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e5a64d1a85cd0653d3299fbec2f4192c7d573da3d9dec73c46156480939e7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0313.erl: FileTooLong \u2014 1401 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 101 functions. The bar is 500 significant lines; this is 901 over it, 2.80\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0313.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db300fdb150d09e067928e036709c74ce8dd1a21ad856ac6e4734d5a49be624"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0363.erl: FileTooLong \u2014 1384 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 105 functions. The bar is 500 significant lines; this is 884 over it, 2.77\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0363.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30454d762e42fa7007e04227191c94f3d538375bdca908cf7aacc856c3b86cb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xmpp_stream_out.erl: FileTooLong \u2014 1373 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 85 functions. The bar is 500 significant lines; this is 873 over it, 2.75\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_stream_out.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f054a9ec0d38a39c4f913531ed910d6626d4438cacab9c2e87bb3e92ce9cef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0198.erl: FileTooLong \u2014 1314 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 70 functions. The bar is 500 significant lines; this is 814 over it, 2.63\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/xep0198.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f4062ed4bca4cac09cab5370e8e525f6f029ca5a8872b6e15213c67bd3e045"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0369.erl: FileTooLong \u2014 1249 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 88 functions. The bar is 500 significant lines; this is 749 over it, 2.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/xep0369.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"903af147b597bd5896c8650bc53b39908eb4bea1a2f25988753aba92c9063b9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0234.erl: FileTooLong \u2014 1238 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 85 functions. The bar is 500 significant lines; this is 738 over it, 2.48\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/xep0234.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"621674df31ed687a11608bf1be3c1b9f7b9d34c25a1c5e63a633acd0680dd24c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/muc_roominfo.erl: FileTooLong \u2014 1158 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 658 over it, 2.32\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/muc_roominfo.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cde44b2fe7c57f74b17f3f08cbcaf784dacea8c919830d9c0c9639139cf138"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0004.erl: FileTooLong \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 73 functions. The bar is 500 significant lines; this is 525 over it, 2.05\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0004.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7129c7ec3a6513ba0b5ac5c6051920ca92d2d1d6608b4b7d8090d6e39821c132"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/captcha_form.erl: FileTooLong \u2014 922 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 39 functions. The bar is 500 significant lines; this is 422 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/captcha_form.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7b5373bf501b99948b2810eab367cc4267b6996a843297c1845bb44ae003df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xmpp.erl: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 179 functions. The bar is 500 significant lines; this is 412 over it, 1.82\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b6d1d4fb7411fd2c0151c83c5215e24b9cac37bc3d43d53ce590c4e66e1c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pubsub_meta_data.erl: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pubsub_meta_data.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55961d855cbb2ecd506de27827950dcacb72be9507995962943cc524d58503b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0260.erl: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0260.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcfbaf572ded0549303f0ce55c14902611b082bbccdea9e39ed9e2b593f0aff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0417.erl: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 278 over it, 1.56\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0417.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c77fd5bb0f77d0cb13cb105342584a13b9044c5266c8247632293764c4271b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0055.erl: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 245 over it, 1.49\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0055.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b3f880767e327239292061fd3c9a207a712de342d8bbe45dd0c7e27f546895"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0220: 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/xep0220.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8f000dc7360d2e65f17eec8a484c507b8c3aba0e560d928fa6c62df96860ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: p1_mucsub: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/p1_mucsub.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e5a16732be8d4702f29f5ce4596fa42074f29311bba3e1bb128909fb6f495a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0048: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0048.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92b8c362e5d99bbd4a9dbb6c70502aef9d5fea69d73e0f87f4696b135bd9d9a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0065: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0065.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e21b8fd92287cfe880db010cbcdb399a508fe98524d227b0a9b1f65ab112cfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xdata_codec.erl: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 216 over it, 1.43\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xdata_codec.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd59c574f97c654c12d5e65c3ffc73ea603b1bc1d8d6be42da41e6977815cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0016.erl: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 58 functions. The bar is 500 significant lines; this is 207 over it, 1.41\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0016.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db14aea8bc4a14a65a954e9d35f3fc6e132c5a4783fb23508c2c4d24fbc1a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0484: TooManyFunctions \u2014 42 functions. The bar is 30 functions; this is 12 over it, 1.40\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/xep0484.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd70315a6db54dbcf26c1ee5f07b2a13789509a577b6bc9e68949a39438638f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0425.erl: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0425.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf2007e29fe5ddd0deb9813750a8eed29ec2c81453289a1110acacbbb21272"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xmpp_socket: TooManyFunctions \u2014 40 functions. The bar is 30 functions; this is 10 over it, 1.33\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/xmpp_socket.erl"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"783eb0067549fa58958c74616058cd924f6a1128db0ec33b6c71dacf2d781b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0059.erl: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 163 over it, 1.33\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/xep0059.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb04bc963c2c6363ba914eb523913217db51550795e1708a5669f78dfec433"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0050.erl: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 160 over it, 1.32\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0050.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7990985137446f3de0f561f50adee906d8c54da0371a5f96a1e9913f39d1181"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pubsub_subscribe_options.erl: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pubsub_subscribe_options.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc19270622efa84ad71acaffd3f5c21bb473707f2a3948c5bfe8fc2b3c5a31a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0215.erl: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 134 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/xep0215.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65fdb075007ab286d34703254ffb7e5907b22ac72cd0feaf28c87f391da5967"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0356: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0356.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"957fa959ef98ec42d097a5262a1284fb791a3600f286470c3209a8aa9d7457c5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0138: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0138.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e55ea5373ada6b3b58fdc162dac5b173d199adac8b967791df3873499d5ee34"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0039: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0039.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bba27982344e4c8a50889f9e95e5f7ac4eb8739ff7ec4bb48f271002d9285f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0078: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0078.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"20db33c45e6471e5333869c26e16caf317c70d0bc0e4d43fab058085ab8fffda"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0355: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0355.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"67211a60ca3aaf7546fe3885efced9ace8094c84ef0a1dfee1ebe74470b61425"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0485: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0485.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cbc7a13972f2ad11e0ccb24949954c7f9d7d4e5d48dc590b94807fb304115c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0084.erl: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0084.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ef0d7b052c33c60ca71c2597838c7fe180c7e2833abaf2aeb34a27e50edf96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0047: 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/xep0047.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03877c290391709da9bdc84ca4f7ae8f7efc77cf037944dda9bb05eba1d0e1d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0513: 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/xep0513.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93da8ddc51319d53f2d2377fac81388718aaef25fe53b7dcf0e14176026bb04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0030.erl: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0030.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41473386361a3dfd8093c3aefbe1c9169064da1599afc82b982a114ff6bd119d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: unifiedpush: 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/unifiedpush.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5872944c0beb20c8e0c54500a799a11598d51b49c5e795bc4509bc1f242897"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0402: 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/xep0402.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1dba86759a9bd7cb6b72eef27767bb6a62f65123c5a0b6028ffdafb5f37fc2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0430: 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/xep0430.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d0f49e0c4d004118db5c99c28d7d35643d9e135e92f8a22744f6f29d540dd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xep0424.erl: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0424.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2de23905bd0119473098cda7924a52690c4d8aab17521678472275dde4e87e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: xep0033: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0033.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a9d26fdbf17a37e4383145becdfe89bef3fb55dd30f4af437affa80feeb959"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rfc6121.erl: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6121.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ecd321a9cbbb6c78e44c0ee66dc65e60eaeb642385279dc5e01e888abb4a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (15 members, 20 shared lines): src/captcha_form.erl:268-762 | src/flex_offline.erl:205-245 | src/http_upload.erl:207-246 | src/mam_query.erl:207-334 | src/muc_register.erl:234-449 | src/muc_request.erl:224-354 | src/muc_roomconfig.erl:423-1650 | src/muc_roominfo.erl:293-932 | src/pubsub_get_pending.erl:213-252 | src/pubsub_meta_data.erl:281-696 | src/pubsub_node_config.erl:430-1508 | src/pubsub_publish_options.erl:432-1510 | src/pubsub_subscribe_authorization.erl:230-364 | src/pubsub_subscribe_options.erl:264-530 | src/push_summary.erl:219-361 \u2014 These 15 members are variants of one another: a block of 20 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/captcha_form.erl"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd15f9a9c8b483a25a9e633a92e3dcd6aa5a4c88f34b611093cd831588372c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): src/xmpp_stream_in.erl:366-480 | src/xmpp_stream_out.erl:397-489 \u2014 These two members are variants of one another: 54 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/xmpp_stream_in.erl"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"802c8c61188cdac6e9638785776ca8e357e6cfc7dd7239710d85431923d9a73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (23 members, 50\u002B identical tokens): src/muc_request.erl:360-377 | src/muc_roomconfig.erl:1673-1699 | src/muc_roomconfig.erl:1727-1752 | src/muc_roomconfig.erl:2233-2253 | src/muc_roominfo.erl:989-1015 | src/pubsub_meta_data.erl:883-922 | src/pubsub_meta_data.erl:928-954 | src/pubsub_node_config.erl:1514-1554 | src/pubsub_node_config.erl:1582-1616 | src/pubsub_node_config.erl:1797-1825 | src/pubsub_node_config.erl:1886-1911 | src/pubsub_node_config.erl:1918-1942 | src/pubsub_node_config.erl:2050-2077 | src/pubsub_node_config.erl:2125-2154 | src/pubsub_publish_options.erl:1516-1556 | src/pubsub_publish_options.erl:1584-1618 | src/pubsub_publish_options.erl:1799-1827 | src/pubsub_publish_options.erl:1888-1913 | src/pubsub_publish_options.erl:1920-1944 | src/pubsub_publish_options.erl:2052-2079 | src/pubsub_publish_options.erl:2127-2156 | src/pubsub_subscribe_options.erl:668-691 | src/pubsub_subscribe_options.erl:698-723 \u2014 These 23 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 23 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 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/muc_request.erl"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"773d503bdee1e5c51eda967348886221aaeb6c319d8eae4586248fe27bcc5b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): src/captcha_form.erl:137-153 | src/flex_offline.erl:122-138 | src/http_upload.erl:123-139 | src/mam_query.erl:122-138 | src/muc_register.erl:128-144 | src/muc_request.erl:125-141 | src/muc_roomconfig.erl:156-172 | src/muc_roominfo.erl:139-155 | src/pubsub_get_pending.erl:122-138 | src/pubsub_meta_data.erl:134-150 | src/pubsub_node_config.erl:154-170 | src/pubsub_publish_options.erl:154-170 | src/pubsub_subscribe_authorization.erl:125-141 | src/pubsub_subscribe_options.erl:129-145 | src/push_summary.erl:125-141 | src/xdata_codec.erl:183-194 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/captcha_form.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0ad443808b200d1b404c8c735f00cf18cd2751d569fb886273d6e13f6121ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): src/captcha_form.erl:155-173 | src/flex_offline.erl:140-158 | src/http_upload.erl:141-159 | src/mam_query.erl:140-158 | src/muc_register.erl:146-164 | src/muc_request.erl:143-161 | src/muc_roomconfig.erl:174-192 | src/muc_roominfo.erl:157-175 | src/pubsub_get_pending.erl:140-158 | src/pubsub_meta_data.erl:152-170 | src/pubsub_node_config.erl:172-190 | src/pubsub_publish_options.erl:172-190 | src/pubsub_subscribe_authorization.erl:143-161 | src/pubsub_subscribe_options.erl:147-165 | src/push_summary.erl:143-161 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/captcha_form.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c03e2a59e4e14289e369e5bbfd13f3877ea1ad06606c9c3c236ca89033814"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): src/captcha_form.erl:183-195 | src/flex_offline.erl:171-183 | src/http_upload.erl:174-186 | src/mam_query.erl:168-180 | src/muc_register.erl:181-193 | src/muc_request.erl:175-187 | src/muc_roomconfig.erl:205-217 | src/muc_roominfo.erl:188-200 | src/pubsub_get_pending.erl:173-185 | src/pubsub_meta_data.erl:183-195 | src/pubsub_node_config.erl:203-215 | src/pubsub_publish_options.erl:204-216 | src/pubsub_subscribe_authorization.erl:183-195 | src/pubsub_subscribe_options.erl:179-191 | src/push_summary.erl:171-183 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/captcha_form.erl"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b117ef1fa1ed741ff6fa1838c19ea3c08cd2f457cc8eb34ca6dabb91b7c04e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/pubsub_get_pending.erl:257-272 | src/pubsub_meta_data.erl:765-780 | src/pubsub_node_config.erl:1831-1846 | src/pubsub_publish_options.erl:1833-1848 \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/pubsub_get_pending.erl"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf7f8e82ab14069270c53e0a0fea1edbfb3aa17504829231c8436b08d7e557"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/rfc6120.erl:4793-4817 | src/rfc6120.erl:5736-5770 | src/rfc6120.erl:6355-6389 | src/rfc6120.erl:6806-6822 \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/rfc6120.erl"},"region":{"startLine":4793}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c72ee9bed002e706b5173509812b9b8358d3ad9d3a06e9fc6983f3d06be46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/xep0054.erl:340-414 | src/xep0054.erl:416-491 | src/xep0054.erl:493-524 | src/xmpp_codec.erl:1794-2190 \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/xep0054.erl"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7920747ea80eae89d70718d95732ba493177149d716f0dbc34a5e97a086b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (337 lines \u00D7 2): src/pubsub_node_config.erl:918-1254 | src/pubsub_publish_options.erl:920-1256 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"432da5058481003c0268b53fff822b7462a40b23a55fe7275442aa8eb4616d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (206 lines \u00D7 2): src/pubsub_node_config.erl:221-426 | src/pubsub_publish_options.erl:222-427 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"11939cbae16fd126007ab68c8b23d1f717c2f46f72ef9b4bff3b2c37dea73c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (185 lines \u00D7 2): src/pubsub_node_config.erl:456-640 | src/pubsub_publish_options.erl:458-642 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fca676a24fab05f1a22f518cae661d0ea74e696237f5c5814fa29a3f91fcc38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (176 lines \u00D7 2): src/pubsub_node_config.erl:1272-1447 | src/pubsub_publish_options.erl:1274-1449 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"38241e8e83c819bce35b93597a9feb342842818473b080439bf0036b4dd3cb91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (131 lines \u00D7 2): src/pubsub_node_config.erl:649-779 | src/pubsub_publish_options.erl:651-781 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5914fff408fa23243b594faab1470d868563bc77776cd138c4596bdccdafc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): src/pubsub_node_config.erl:794-872 | src/pubsub_publish_options.erl:796-874 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf838fee4c9cb95be1ab45e8808e177a724398a80d81506d3e02fec7aa2c788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 3): src/pubsub_meta_data.erl:527-586 | src/pubsub_node_config.erl:1439-1498 | src/pubsub_publish_options.erl:1441-1500 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72414fdbef46652db1017eb276af1a57f1c75a753c207d594f8ba6a695591a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): src/muc_roomconfig.erl:879-920 | src/muc_roominfo.erl:835-875 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"673ddcf1d4dd31e52863ba61ba944b7660a29fefe3184b603da7d2fdc363a2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): src/muc_roomconfig.erl:455-494 | src/muc_roominfo.erl:404-444 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4d96eec027a9105fa377fcdff6f9461eb9513167763c58a303e3341112f69f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/muc_roomconfig.erl:840-880 | src/muc_roominfo.erl:325-365 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1fc0bec074c8545fb0034e1471d5175f091bbc4877380f6459302fb81f7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): src/muc_roomconfig.erl:1436-1476 | src/muc_roominfo.erl:614-653 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"da23e2880ce7232604fb15061bba7c3a047bec774dcf9660e4ee9adf71918770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 3): src/pubsub_meta_data.erl:883-921 | src/pubsub_node_config.erl:1514-1553 | src/pubsub_publish_options.erl:1516-1555 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"e190807d5ba4a8d058208be69b23a31e9b9fafdc25dfe195e329c5c9270e0d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 28): src/xep0054.erl:853-890 | src/xep0054.erl:935-972 | src/xep0054.erl:1017-1054 | src/xep0054.erl:1099-1136 | src/xep0054.erl:1181-1218 | src/xep0054.erl:1262-1299 | src/xep0054.erl:1343-1380 | src/xep0054.erl:1424-1461 | src/xep0054.erl:1505-1542 | src/xep0054.erl:1586-1623 | src/xep0054.erl:1667-1704 | src/xep0054.erl:1748-1785 | src/xep0054.erl:1829-1866 | src/xep0054.erl:1910-1947 | src/xep0054.erl:1991-2028 | src/xep0054.erl:2072-2109 | src/xep0054.erl:2153-2190 | src/xep0054.erl:2234-2271 | src/xep0054.erl:2315-2352 | src/xep0054.erl:2396-2433 | src/xep0054.erl:2477-2514 | src/xep0054.erl:2558-2595 | src/xep0054.erl:2639-2676 | src/xep0054.erl:2720-2757 | src/xep0054.erl:2801-2838 | src/xep0054.erl:2882-2919 | src/xep0054.erl:2963-3000 | src/xep0054.erl:3044-3081 \u2014 all 28 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/xep0054.erl"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae34b05386c7a6e74042c4be647069642d055d6fe57dd952a0f1817661876ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 29): src/xep0054.erl:854-890 | src/xep0054.erl:936-972 | src/xep0054.erl:1018-1054 | src/xep0054.erl:1100-1136 | src/xep0054.erl:1182-1218 | src/xep0054.erl:1263-1299 | src/xep0054.erl:1344-1380 | src/xep0054.erl:1425-1461 | src/xep0054.erl:1506-1542 | src/xep0054.erl:1587-1623 | src/xep0054.erl:1668-1704 | src/xep0054.erl:1749-1785 | src/xep0054.erl:1830-1866 | src/xep0054.erl:1911-1947 | src/xep0054.erl:1992-2028 | src/xep0054.erl:2073-2109 | src/xep0054.erl:2154-2190 | src/xep0054.erl:2235-2271 | src/xep0054.erl:2316-2352 | src/xep0054.erl:2397-2433 | src/xep0054.erl:2478-2514 | src/xep0054.erl:2559-2595 | src/xep0054.erl:2640-2676 | src/xep0054.erl:2721-2757 | src/xep0054.erl:2802-2838 | src/xep0054.erl:2883-2919 | src/xep0054.erl:2964-3000 | src/xep0054.erl:3045-3081 | src/xep0054.erl:3126-3162 \u2014 all 29 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/xep0054.erl"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02e103edbf0ee5fe828743d8af41f42fad54dd6d4e80c269d7a863203a74ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 3): src/pubsub_meta_data.erl:652-686 | src/pubsub_node_config.erl:1245-1281 | src/pubsub_publish_options.erl:1247-1283 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e69ebde57ab5d2aaab719375932a564a2eef4078c96639ce22e452ba95271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 3): src/pubsub_meta_data.erl:618-652 | src/pubsub_node_config.erl:430-463 | src/pubsub_publish_options.erl:432-465 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d489373d57b17320a53b8c3b0c0a6da0ee6ebaa639691ac7e324e44c178a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/pubsub_node_config.erl:1582-1616 | src/pubsub_publish_options.erl:1584-1618 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5534c521820a1305ab8ae8b5c9401fd92d7f4e1418b614705079d3f8954a9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): src/pubsub_meta_data.erl:374-404 | src/pubsub_node_config.erl:770-801 | src/pubsub_publish_options.erl:772-803 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79d67a545f0a0e38683139c40350ca285fbd4d0c5bcf64d8561d1b925a5329c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): src/pubsub_meta_data.erl:405-436 | src/pubsub_node_config.erl:864-894 | src/pubsub_publish_options.erl:866-896 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7142dcfdd197e65e2d1734ff480f953a9d1d4eae1faff5a21d0759bbecf794ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): src/pubsub_meta_data.erl:587-617 | src/pubsub_node_config.erl:895-926 | src/pubsub_publish_options.erl:897-928 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"037cd9b0a930ee153dfa3576def03b3f687fe2cb7b2908cc99697b5bffd3efaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): src/pubsub_get_pending.erl:213-242 | src/pubsub_subscribe_authorization.erl:260-290 \u2014 before extracting anything, compare \u0060src/pubsub_get_pending.erl\u0060 and \u0060src/pubsub_subscribe_authorization.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 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/pubsub_get_pending.erl"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"80124e3ed05886433e5963997239d1a4fb7834bc782f15beba5a02d0f5f2e784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/xep0054.erl:558-588 | src/xep0054.erl:744-774 \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/xep0054.erl"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2901143f5fbf37f65614cee60726c585bcd70ed80af703d570313e950b765b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): src/xep0054.erl:3178-3208 | src/xep0077.erl:1775-1804 \u2014 before extracting anything, compare \u0060src/xep0054.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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/xep0054.erl"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddd0a631c53bf4fbd2376a6f15d393ceb56bdb4f07396c5ff533af5d98c13a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): src/xep0054.erl:3251-3281 | src/xep0077.erl:1832-1861 \u2014 before extracting anything, compare \u0060src/xep0054.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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/xep0054.erl"},"region":{"startLine":3251}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f85358f4e8f29758df88e8e7b3a5556d0c25cd98771e732683ed61a3d348f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 20): src/xep0077.erl:458-487 | src/xep0077.erl:522-551 | src/xep0077.erl:586-615 | src/xep0077.erl:650-679 | src/xep0077.erl:714-743 | src/xep0077.erl:778-807 | src/xep0077.erl:842-871 | src/xep0077.erl:906-935 | src/xep0077.erl:970-999 | src/xep0077.erl:1034-1063 | src/xep0077.erl:1098-1127 | src/xep0077.erl:1162-1191 | src/xep0077.erl:1226-1255 | src/xep0077.erl:1290-1319 | src/xep0077.erl:1354-1383 | src/xep0077.erl:1418-1447 | src/xep0077.erl:1482-1511 | src/xep0077.erl:1546-1575 | src/xep0077.erl:1610-1639 | src/xep0077.erl:1674-1703 \u2014 all 20 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/xep0077.erl"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cc32381d8974a293e65b0fe303900cfa454ce76e9ab1aaefdf58f84bc907e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/pubsub_node_config.erl:2125-2154 | src/pubsub_publish_options.erl:2127-2156 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fe83f4698723111992e90e19068e731f377f7a0de0ed0c0d1be3fdb3b0a4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/xep0054.erl:528-557 | src/xep0054.erl:3323-3352 \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/xep0054.erl"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf3024c54771a9e4da85c6aee33af98b6371a9fca4c31022a3a18fdc81dcc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 36): src/xep0054.erl:856-884 | src/xep0054.erl:938-966 | src/xep0054.erl:1020-1048 | src/xep0054.erl:1102-1130 | src/xep0054.erl:1184-1212 | src/xep0054.erl:1265-1293 | src/xep0054.erl:1346-1374 | src/xep0054.erl:1427-1455 | src/xep0054.erl:1508-1536 | src/xep0054.erl:1589-1617 | src/xep0054.erl:1670-1698 | src/xep0054.erl:1751-1779 | src/xep0054.erl:1832-1860 | src/xep0054.erl:1913-1941 | src/xep0054.erl:1994-2022 | src/xep0054.erl:2075-2103 | src/xep0054.erl:2156-2184 | src/xep0054.erl:2237-2265 | src/xep0054.erl:2318-2346 | src/xep0054.erl:2399-2427 | src/xep0054.erl:2480-2508 | src/xep0054.erl:2561-2589 | src/xep0054.erl:2642-2670 | src/xep0054.erl:2723-2751 | src/xep0054.erl:2804-2832 | src/xep0054.erl:2885-2913 | src/xep0054.erl:2930-2958 | src/xep0054.erl:2966-2994 | src/xep0054.erl:3011-3039 | src/xep0054.erl:3047-3075 | src/xep0054.erl:3092-3120 | src/xep0054.erl:3128-3156 | src/xep0054.erl:3170-3198 | src/xep0054.erl:3209-3237 | src/xep0054.erl:3243-3271 | src/xep0054.erl:3287-3315 \u2014 all 36 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/xep0054.erl"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ab364406a695a679bda050fee9e638b1be3e505fc148fbb1c1c553f16eb97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 21): src/xep0077.erl:459-487 | src/xep0077.erl:523-551 | src/xep0077.erl:587-615 | src/xep0077.erl:651-679 | src/xep0077.erl:715-743 | src/xep0077.erl:779-807 | src/xep0077.erl:843-871 | src/xep0077.erl:907-935 | src/xep0077.erl:971-999 | src/xep0077.erl:1035-1063 | src/xep0077.erl:1099-1127 | src/xep0077.erl:1163-1191 | src/xep0077.erl:1227-1255 | src/xep0077.erl:1291-1319 | src/xep0077.erl:1355-1383 | src/xep0077.erl:1419-1447 | src/xep0077.erl:1483-1511 | src/xep0077.erl:1547-1575 | src/xep0077.erl:1611-1639 | src/xep0077.erl:1675-1703 | src/xep0077.erl:1739-1767 \u2014 all 21 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/xep0077.erl"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"331c2e59f73874f042a386172c6865a57efa4445145e33b056068b54b642d2a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 7): src/xep0054.erl:2602-2630 | src/xep0054.erl:2683-2711 | src/xep0054.erl:2764-2792 | src/xep0054.erl:2845-2873 | src/xep0054.erl:2926-2954 | src/xep0054.erl:3007-3035 | src/xep0054.erl:3088-3116 \u2014 all 7 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/xep0054.erl"},"region":{"startLine":2602}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aa1a933c99e0ab52bb60f8abd436d6e6a937d89729a1dae99f10be1151c5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): src/xep0054.erl:385-413 | src/xep0054.erl:462-490 | src/xep0054.erl:495-523 | src/xmpp_codec.erl:1963-1991 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"55654625c1d666ec0475dd4509b6c56576986469cbcc5f640fd2de59a9af8b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/pubsub_node_config.erl:1797-1825 | src/pubsub_publish_options.erl:1799-1827 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"84faf36ccdbb69128a160cb29d8fb6c2f98f40a19bccc400585119d043bb3846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/xep0054.erl:307-335 | src/xep0054.erl:682-710 \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/xep0054.erl"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c66d6e4406c89085b50c197ca869051bf21226cd550152f3f0c291a145202e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/xep0054.erl:906-934 | src/xep0054.erl:989-1017 \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/xep0054.erl"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e171fd8803eb6a7ed59994e8fe1b2b5a3e42c3121f66dbff4c06767ddec544d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 9): src/xep0060.erl:2010-2037 | src/xep0060.erl:2063-2090 | src/xep0060.erl:2116-2143 | src/xep0060.erl:2169-2196 | src/xep0060.erl:2222-2249 | src/xep0060.erl:2297-2324 | src/xep0060.erl:2350-2377 | src/xep0060.erl:2425-2452 | src/xep0060.erl:2500-2527 \u2014 all 9 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/xep0060.erl"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0bf743a3089eb856a657c63b0aadec93280e9d713445aaeabb364589e65f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 8): src/xep0054.erl:2521-2548 | src/xep0054.erl:2602-2629 | src/xep0054.erl:2683-2710 | src/xep0054.erl:2764-2791 | src/xep0054.erl:2845-2872 | src/xep0054.erl:2926-2953 | src/xep0054.erl:3007-3034 | src/xep0054.erl:3088-3115 \u2014 all 8 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/xep0054.erl"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ef47f10bad001ffbedcb0815ccf03a49113368742b033f6814b7a6262b930a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5): src/xep0054.erl:4819-4846 | src/xep0054.erl:4866-4893 | src/xep0054.erl:4913-4940 | src/xep0054.erl:4960-4987 | src/xep0054.erl:5007-5034 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":4819}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a10f1e001cafa255a76e8f815a1a29b3a5204cd8247cc59fe98b16dea36111a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5): src/xep0054.erl:6089-6116 | src/xep0054.erl:6136-6163 | src/xep0054.erl:6183-6210 | src/xep0054.erl:6230-6257 | src/xep0054.erl:6277-6304 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6089}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e7ace471980e8f813efa118fd37a6a1524484abf49e458fbc1ca5ef211ad94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): src/pubsub_meta_data.erl:281-308 | src/pubsub_node_config.erl:630-657 | src/pubsub_publish_options.erl:632-659 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7552da50340c09aa6bf9144aace90c4d0d8118d0f24aa314c9e62305f1740e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): src/xep0054.erl:906-933 | src/xep0054.erl:989-1016 | src/xep0054.erl:1072-1099 \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/xep0054.erl"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"553f9bad3e8fe9b568872af8555718caeca602253de6755616d4eaa09cad7a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/muc_roomconfig.erl:428-455 | src/muc_roominfo.erl:298-325 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"049cdd55c809b895a21546ad9408775d1a0097f96bd9758eb8421b191427a51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 10): src/xep0060.erl:2011-2037 | src/xep0060.erl:2064-2090 | src/xep0060.erl:2117-2143 | src/xep0060.erl:2170-2196 | src/xep0060.erl:2223-2249 | src/xep0060.erl:2298-2324 | src/xep0060.erl:2351-2377 | src/xep0060.erl:2426-2452 | src/xep0060.erl:2501-2527 | src/xep0060.erl:2555-2581 \u2014 all 10 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/xep0060.erl"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c46d33d32a992373f60b57a4b27559d13df87b1ee338aca9e3c79883a02d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 9): src/xep0054.erl:2440-2466 | src/xep0054.erl:2521-2547 | src/xep0054.erl:2602-2628 | src/xep0054.erl:2683-2709 | src/xep0054.erl:2764-2790 | src/xep0054.erl:2845-2871 | src/xep0054.erl:2926-2952 | src/xep0054.erl:3007-3033 | src/xep0054.erl:3088-3114 \u2014 all 9 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/xep0054.erl"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"972b282e41b8b842dedc5c17cb7ebd459a23ec93d80f455aadb299fbad6ce2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6): src/xep0054.erl:4820-4846 | src/xep0054.erl:4867-4893 | src/xep0054.erl:4914-4940 | src/xep0054.erl:4961-4987 | src/xep0054.erl:5008-5034 | src/xep0054.erl:5055-5081 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":4820}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d26b561c0606c9ce0f328d09d9c3b1be9b93cb3413914a63f483ade59d5812d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6): src/xep0054.erl:6090-6116 | src/xep0054.erl:6137-6163 | src/xep0054.erl:6184-6210 | src/xep0054.erl:6231-6257 | src/xep0054.erl:6278-6304 | src/xep0054.erl:6325-6351 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":6090}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ab3fe439db3f9dc1064e0afbe92a9971f748c61ca8b9b7a6d385b3acc15738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): src/xep0054.erl:906-932 | src/xep0054.erl:989-1015 | src/xep0054.erl:1072-1098 | src/xep0054.erl:1155-1181 \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/xep0054.erl"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"406c17fe7d7ba6da3a586c6b9ad1c81e96b4f91b3ff6f2641546b61e43aef8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): src/pubsub_meta_data.erl:928-953 | src/pubsub_node_config.erl:2050-2076 | src/pubsub_publish_options.erl:2052-2078 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea94480b41fc3520ac6fe95a92b21a4550976324d34eb3259d02544707a52180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/muc_roomconfig.erl:1673-1699 | src/muc_roominfo.erl:989-1015 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a341c1ad7e746d1c41f58b71956e9d5ebba36c7380b77c9609168ccbdadea13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): src/xmpp_stream_in.erl:423-449 | src/xmpp_stream_out.erl:426-451 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e378ebd1f22fc921091577467786d5071b2909b2e9474086caf3ff19899190e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 12): src/xep0060.erl:2013-2038 | src/xep0060.erl:2066-2091 | src/xep0060.erl:2119-2144 | src/xep0060.erl:2172-2197 | src/xep0060.erl:2225-2250 | src/xep0060.erl:2300-2325 | src/xep0060.erl:2353-2378 | src/xep0060.erl:2428-2453 | src/xep0060.erl:2503-2528 | src/xep0060.erl:2557-2582 | src/xep0060.erl:2632-2657 | src/xep0060.erl:2729-2754 \u2014 all 12 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/xep0060.erl"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0953f163749d525e81f15583e93fab77bcac0771e77375a57b9e57347ead491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 10): src/xep0054.erl:2359-2384 | src/xep0054.erl:2440-2465 | src/xep0054.erl:2521-2546 | src/xep0054.erl:2602-2627 | src/xep0054.erl:2683-2708 | src/xep0054.erl:2764-2789 | src/xep0054.erl:2845-2870 | src/xep0054.erl:2926-2951 | src/xep0054.erl:3007-3032 | src/xep0054.erl:3088-3113 \u2014 all 10 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/xep0054.erl"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c23e6a5bd47369bd612e0403105af2bba3916c88811d7cbd6e7a2c382258852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 8): src/xep0054.erl:4822-4847 | src/xep0054.erl:4869-4894 | src/xep0054.erl:4916-4941 | src/xep0054.erl:4963-4988 | src/xep0054.erl:5010-5035 | src/xep0054.erl:5057-5082 | src/xep0054.erl:5104-5129 | src/xep0054.erl:5151-5176 \u2014 all 8 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/xep0054.erl"},"region":{"startLine":4822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9386d250e521eaac16d1ef4bd19157cf9f0924dc729f3b995a9b860dfb6476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 8): src/xep0054.erl:6092-6117 | src/xep0054.erl:6139-6164 | src/xep0054.erl:6186-6211 | src/xep0054.erl:6233-6258 | src/xep0054.erl:6280-6305 | src/xep0054.erl:6327-6352 | src/xep0054.erl:6374-6399 | src/xep0054.erl:6421-6446 \u2014 all 8 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/xep0054.erl"},"region":{"startLine":6092}}}],"partialFingerprints":{"codehealthFindingId/v1":"395b9b23da0ff83622b1d1d0d5012fad02cbba0699f7320fe8690194d80d88c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/pubsub_node_config.erl:1886-1911 | src/pubsub_publish_options.erl:1888-1913 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cb74435f85f7b710e91b6fc5dda4dfaa86ca09b1e73ae40897c644fa75232e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/xep0077.erl:1645-1670 | src/xep0077.erl:1709-1734 \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/xep0077.erl"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d095083f8e20f542383ad69f1d335eed5c5984233f1d783f0750bb75af26f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 13): src/xep0060.erl:2014-2038 | src/xep0060.erl:2067-2091 | src/xep0060.erl:2120-2144 | src/xep0060.erl:2173-2197 | src/xep0060.erl:2226-2250 | src/xep0060.erl:2301-2325 | src/xep0060.erl:2354-2378 | src/xep0060.erl:2429-2453 | src/xep0060.erl:2504-2528 | src/xep0060.erl:2558-2582 | src/xep0060.erl:2633-2657 | src/xep0060.erl:2730-2754 | src/xep0060.erl:2827-2851 \u2014 all 13 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/xep0060.erl"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"1058da33171a58d337ed7e2acc9e04fa898974149302925ef596994b29e2dd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 12): src/xep0054.erl:2196-2220 | src/xep0054.erl:2277-2301 | src/xep0054.erl:2358-2382 | src/xep0054.erl:2439-2463 | src/xep0054.erl:2520-2544 | src/xep0054.erl:2601-2625 | src/xep0054.erl:2682-2706 | src/xep0054.erl:2763-2787 | src/xep0054.erl:2844-2868 | src/xep0054.erl:2925-2949 | src/xep0054.erl:3006-3030 | src/xep0054.erl:3087-3111 \u2014 all 12 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/xep0054.erl"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"843130bd53e29bdf5c3f3b8b9efb646806ed49bc17473ac0877978c18b927ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 9): src/xep0054.erl:4823-4847 | src/xep0054.erl:4870-4894 | src/xep0054.erl:4917-4941 | src/xep0054.erl:4964-4988 | src/xep0054.erl:5011-5035 | src/xep0054.erl:5058-5082 | src/xep0054.erl:5105-5129 | src/xep0054.erl:5152-5176 | src/xep0054.erl:5199-5223 \u2014 all 9 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/xep0054.erl"},"region":{"startLine":4823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ebbd06a97884bbb62ba7f9ac0550f0936ec98f89bd8997743b8d4785b1211a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 9): src/xep0054.erl:6093-6117 | src/xep0054.erl:6140-6164 | src/xep0054.erl:6187-6211 | src/xep0054.erl:6234-6258 | src/xep0054.erl:6281-6305 | src/xep0054.erl:6328-6352 | src/xep0054.erl:6375-6399 | src/xep0054.erl:6422-6446 | src/xep0054.erl:6469-6493 \u2014 all 9 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/xep0054.erl"},"region":{"startLine":6093}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cc3878b7d587eab6dc6771707ff1e30fda8383bf2e2b5e5f777529a4cdf7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): src/xep0077.erl:1516-1540 | src/xep0077.erl:1580-1604 | src/xep0077.erl:1644-1668 | src/xep0077.erl:1708-1732 \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/xep0077.erl"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"088109ee3c6a82d91527bd033a322729b645bd8ed27c42a71d0effa93afdb10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/pubsub_node_config.erl:1918-1942 | src/pubsub_publish_options.erl:1920-1944 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"705cd9780854bdc036d58e6f4cd7c95f6568fc387739d98c88147572f32c5997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 14): src/xep0060.erl:2015-2038 | src/xep0060.erl:2068-2091 | src/xep0060.erl:2121-2144 | src/xep0060.erl:2174-2197 | src/xep0060.erl:2227-2250 | src/xep0060.erl:2302-2325 | src/xep0060.erl:2355-2378 | src/xep0060.erl:2430-2453 | src/xep0060.erl:2505-2528 | src/xep0060.erl:2559-2582 | src/xep0060.erl:2634-2657 | src/xep0060.erl:2731-2754 | src/xep0060.erl:2828-2851 | src/xep0060.erl:2925-2948 \u2014 all 14 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/xep0060.erl"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef87fe7ea0a1909ed0ffbec45e29a724eff330f83dbf6581acf84f1bd6c267e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 13): src/xep0054.erl:2115-2138 | src/xep0054.erl:2196-2219 | src/xep0054.erl:2277-2300 | src/xep0054.erl:2358-2381 | src/xep0054.erl:2439-2462 | src/xep0054.erl:2520-2543 | src/xep0054.erl:2601-2624 | src/xep0054.erl:2682-2705 | src/xep0054.erl:2763-2786 | src/xep0054.erl:2844-2867 | src/xep0054.erl:2925-2948 | src/xep0054.erl:3006-3029 | src/xep0054.erl:3087-3110 \u2014 all 13 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/xep0054.erl"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b90ba2b74d12939775e3051b52cece7bc7ace3f9e97e2868aee57a12c43617b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 10): src/xep0054.erl:4824-4847 | src/xep0054.erl:4871-4894 | src/xep0054.erl:4918-4941 | src/xep0054.erl:4965-4988 | src/xep0054.erl:5012-5035 | src/xep0054.erl:5059-5082 | src/xep0054.erl:5106-5129 | src/xep0054.erl:5153-5176 | src/xep0054.erl:5200-5223 | src/xep0054.erl:5247-5270 \u2014 all 10 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/xep0054.erl"},"region":{"startLine":4824}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1cf3d6379cf483b7871d10a5a7af0e7a77be8fdb3509eaf0e014262785765a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 10): src/xep0054.erl:6094-6117 | src/xep0054.erl:6141-6164 | src/xep0054.erl:6188-6211 | src/xep0054.erl:6235-6258 | src/xep0054.erl:6282-6305 | src/xep0054.erl:6329-6352 | src/xep0054.erl:6376-6399 | src/xep0054.erl:6423-6446 | src/xep0054.erl:6470-6493 | src/xep0054.erl:6517-6540 \u2014 all 10 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/xep0054.erl"},"region":{"startLine":6094}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ef7d63735c4e5745c23e2827b04896dcc2d0bd74f029b2400b3424c3316c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5): src/xep0077.erl:1452-1475 | src/xep0077.erl:1516-1539 | src/xep0077.erl:1580-1603 | src/xep0077.erl:1644-1667 | src/xep0077.erl:1708-1731 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0077.erl"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"150fa8a4a8d2e6bd28bd462f5d064e9bef50c5ba6ff1a8ea5e984cd825d29964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 14): src/xep0054.erl:2034-2056 | src/xep0054.erl:2115-2137 | src/xep0054.erl:2196-2218 | src/xep0054.erl:2277-2299 | src/xep0054.erl:2358-2380 | src/xep0054.erl:2439-2461 | src/xep0054.erl:2520-2542 | src/xep0054.erl:2601-2623 | src/xep0054.erl:2682-2704 | src/xep0054.erl:2763-2785 | src/xep0054.erl:2844-2866 | src/xep0054.erl:2925-2947 | src/xep0054.erl:3006-3028 | src/xep0054.erl:3087-3109 \u2014 all 14 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/xep0054.erl"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"36153081d8cbc58f7785cf66fece8fd6edcc72c06b3166eeb79b6c9a58aaae80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 6): src/xep0077.erl:1388-1410 | src/xep0077.erl:1452-1474 | src/xep0077.erl:1516-1538 | src/xep0077.erl:1580-1602 | src/xep0077.erl:1644-1666 | src/xep0077.erl:1708-1730 \u2014 all 6 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/xep0077.erl"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4091602a7a276fa7242cb81e57485b637fdd3526574b592a98cdb613036b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 16): src/xep0054.erl:1871-1892 | src/xep0054.erl:1952-1973 | src/xep0054.erl:2033-2054 | src/xep0054.erl:2114-2135 | src/xep0054.erl:2195-2216 | src/xep0054.erl:2276-2297 | src/xep0054.erl:2357-2378 | src/xep0054.erl:2438-2459 | src/xep0054.erl:2519-2540 | src/xep0054.erl:2600-2621 | src/xep0054.erl:2681-2702 | src/xep0054.erl:2762-2783 | src/xep0054.erl:2843-2864 | src/xep0054.erl:2924-2945 | src/xep0054.erl:3005-3026 | src/xep0054.erl:3086-3107 \u2014 all 16 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/xep0054.erl"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3b5ac8236f4c9f3f28603981af217c1324bea15beeb807892dbb9aa4c88643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 7): src/xep0077.erl:1324-1345 | src/xep0077.erl:1388-1409 | src/xep0077.erl:1452-1473 | src/xep0077.erl:1516-1537 | src/xep0077.erl:1580-1601 | src/xep0077.erl:1644-1665 | src/xep0077.erl:1708-1729 \u2014 all 7 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/xep0077.erl"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8501bdb289936bdfbf753860d403725d4970d03dd0f1a9c288df6a2c423de4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/xep0060.erl:2856-2877 | src/xep0060.erl:3006-3027 \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/xep0060.erl"},"region":{"startLine":2856}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bd2ffebf87d2ced2f453184c921eb7378d0895fe351d7ce75d574153f130c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 17): src/xep0054.erl:1790-1810 | src/xep0054.erl:1871-1891 | src/xep0054.erl:1952-1972 | src/xep0054.erl:2033-2053 | src/xep0054.erl:2114-2134 | src/xep0054.erl:2195-2215 | src/xep0054.erl:2276-2296 | src/xep0054.erl:2357-2377 | src/xep0054.erl:2438-2458 | src/xep0054.erl:2519-2539 | src/xep0054.erl:2600-2620 | src/xep0054.erl:2681-2701 | src/xep0054.erl:2762-2782 | src/xep0054.erl:2843-2863 | src/xep0054.erl:2924-2944 | src/xep0054.erl:3005-3025 | src/xep0054.erl:3086-3106 \u2014 all 17 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/xep0054.erl"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5515cd5f14060a08aa47216e57190407d6a3170cbd96924bade9d2856367e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 8): src/xep0077.erl:1260-1280 | src/xep0077.erl:1324-1344 | src/xep0077.erl:1388-1408 | src/xep0077.erl:1452-1472 | src/xep0077.erl:1516-1536 | src/xep0077.erl:1580-1600 | src/xep0077.erl:1644-1664 | src/xep0077.erl:1708-1728 \u2014 all 8 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/xep0077.erl"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cff12e041a85d062b809389631c79e0d34f6eaa5c9243a0f03ec31861d956b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/xep0060.erl:2759-2779 | src/xep0060.erl:2856-2876 | src/xep0060.erl:3006-3026 \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/xep0060.erl"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e28aa3cd4f0d6b824e562dad91c7c3b2004f9c796fcb9413bbaff6640e0db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/xep0054.erl:5367-5387 | src/xep0054.erl:5414-5434 \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/xep0054.erl"},"region":{"startLine":5367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7faede4a56f43e487bd013e386e3799ac380ff1138b7dffa9371dba7d1f895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/xep0054.erl:6637-6657 | src/xep0054.erl:6684-6704 \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/xep0054.erl"},"region":{"startLine":6637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9bb7b6a080b5b885ff1d27655b756997e24c731602b8ed64fe33328fc14cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 18): src/xep0054.erl:1709-1728 | src/xep0054.erl:1790-1809 | src/xep0054.erl:1871-1890 | src/xep0054.erl:1952-1971 | src/xep0054.erl:2033-2052 | src/xep0054.erl:2114-2133 | src/xep0054.erl:2195-2214 | src/xep0054.erl:2276-2295 | src/xep0054.erl:2357-2376 | src/xep0054.erl:2438-2457 | src/xep0054.erl:2519-2538 | src/xep0054.erl:2600-2619 | src/xep0054.erl:2681-2700 | src/xep0054.erl:2762-2781 | src/xep0054.erl:2843-2862 | src/xep0054.erl:2924-2943 | src/xep0054.erl:3005-3024 | src/xep0054.erl:3086-3105 \u2014 all 18 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/xep0054.erl"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"227ea12de474d95c7cfb392066a8846e109aafa30973b334f35955bf075cd717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 9): src/xep0077.erl:1196-1215 | src/xep0077.erl:1260-1279 | src/xep0077.erl:1324-1343 | src/xep0077.erl:1388-1407 | src/xep0077.erl:1452-1471 | src/xep0077.erl:1516-1535 | src/xep0077.erl:1580-1599 | src/xep0077.erl:1644-1663 | src/xep0077.erl:1708-1727 \u2014 all 9 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/xep0077.erl"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"924e771efb96346f2f9ea37b92152c60b605cbd0a2456d0396bb1f42a1b494b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): src/xep0060.erl:2586-2605 | src/xep0060.erl:2661-2680 | src/xep0060.erl:2758-2777 | src/xep0060.erl:2855-2874 | src/xep0060.erl:3005-3024 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f6d33326976ca1c92c2205f48a6394bb88ef6a379ed145ee03afebab878e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/xep0054.erl:5320-5339 | src/xep0054.erl:5367-5386 | src/xep0054.erl:5414-5433 \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/xep0054.erl"},"region":{"startLine":5320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c662913924de1cf93a5314b0784373ff578f068027958a370af338813bf90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/xep0054.erl:6590-6609 | src/xep0054.erl:6637-6656 | src/xep0054.erl:6684-6703 \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/xep0054.erl"},"region":{"startLine":6590}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137976891a215ba292f94d94ba69516fdd18be73573c1f671b65078271dbe35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 19): src/xep0054.erl:1628-1646 | src/xep0054.erl:1709-1727 | src/xep0054.erl:1790-1808 | src/xep0054.erl:1871-1889 | src/xep0054.erl:1952-1970 | src/xep0054.erl:2033-2051 | src/xep0054.erl:2114-2132 | src/xep0054.erl:2195-2213 | src/xep0054.erl:2276-2294 | src/xep0054.erl:2357-2375 | src/xep0054.erl:2438-2456 | src/xep0054.erl:2519-2537 | src/xep0054.erl:2600-2618 | src/xep0054.erl:2681-2699 | src/xep0054.erl:2762-2780 | src/xep0054.erl:2843-2861 | src/xep0054.erl:2924-2942 | src/xep0054.erl:3005-3023 | src/xep0054.erl:3086-3104 \u2014 all 19 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/xep0054.erl"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d405fead885b6dd8cd7ae0e79f5425aa2efe561184b127fc77f4af50861f535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 15): src/captcha_form.erl:155-173 | src/flex_offline.erl:140-158 | src/http_upload.erl:141-159 | src/mam_query.erl:140-158 | src/muc_register.erl:146-164 | src/muc_request.erl:143-161 | src/muc_roomconfig.erl:174-192 | src/muc_roominfo.erl:157-175 | src/pubsub_get_pending.erl:140-158 | src/pubsub_meta_data.erl:152-170 | src/pubsub_node_config.erl:172-190 | src/pubsub_publish_options.erl:172-190 | src/pubsub_subscribe_authorization.erl:143-161 | src/pubsub_subscribe_options.erl:147-165 | src/push_summary.erl:143-161 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b70ecc54c420a63165280c250e52bf22b3b3f8dca9e28d7efd1f96aac80c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10): src/xep0077.erl:1132-1150 | src/xep0077.erl:1196-1214 | src/xep0077.erl:1260-1278 | src/xep0077.erl:1324-1342 | src/xep0077.erl:1388-1406 | src/xep0077.erl:1452-1470 | src/xep0077.erl:1516-1534 | src/xep0077.erl:1580-1598 | src/xep0077.erl:1644-1662 | src/xep0077.erl:1708-1726 \u2014 all 10 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/xep0077.erl"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"053bc8c0ade60ff2c9f02d3d7338e5df79d7268e85efec774868b2c9f836d76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): src/xep0060.erl:2533-2551 | src/xep0060.erl:2586-2604 | src/xep0060.erl:2661-2679 | src/xep0060.erl:2758-2776 | src/xep0060.erl:2855-2873 | src/xep0060.erl:3005-3023 \u2014 all 6 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/xep0060.erl"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2566267e0e59320353aa1295d5df73e939efec20fb539852830356ff76341d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): src/xep0054.erl:5273-5291 | src/xep0054.erl:5320-5338 | src/xep0054.erl:5367-5385 | src/xep0054.erl:5414-5432 \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/xep0054.erl"},"region":{"startLine":5273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb2c659c4d61c9c6e5e16ee2f1e9a49ef6585fbe2ceb1e0a1efa0e6acfde55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): src/xep0054.erl:6543-6561 | src/xep0054.erl:6590-6608 | src/xep0054.erl:6637-6655 | src/xep0054.erl:6684-6702 \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/xep0054.erl"},"region":{"startLine":6543}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a39c52e61386beeba401b7494c75e0f5ab589404aa1b45c4232861045c08007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/rfc6120.erl:5737-5755 | src/rfc6120.erl:6356-6374 \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/rfc6120.erl"},"region":{"startLine":5737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5e8d98c34b0266fb4a11b31ba9fc1cc02e99a9ba8776416673ec11441c857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 20): src/xep0054.erl:1547-1564 | src/xep0054.erl:1628-1645 | src/xep0054.erl:1709-1726 | src/xep0054.erl:1790-1807 | src/xep0054.erl:1871-1888 | src/xep0054.erl:1952-1969 | src/xep0054.erl:2033-2050 | src/xep0054.erl:2114-2131 | src/xep0054.erl:2195-2212 | src/xep0054.erl:2276-2293 | src/xep0054.erl:2357-2374 | src/xep0054.erl:2438-2455 | src/xep0054.erl:2519-2536 | src/xep0054.erl:2600-2617 | src/xep0054.erl:2681-2698 | src/xep0054.erl:2762-2779 | src/xep0054.erl:2843-2860 | src/xep0054.erl:2924-2941 | src/xep0054.erl:3005-3022 | src/xep0054.erl:3086-3103 \u2014 all 20 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/xep0054.erl"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa81afe25ac949f1df43fb853e284071e37da8f48896c6493f33a953417c9dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): src/xep0077.erl:1068-1085 | src/xep0077.erl:1132-1149 | src/xep0077.erl:1196-1213 | src/xep0077.erl:1260-1277 | src/xep0077.erl:1324-1341 | src/xep0077.erl:1388-1405 | src/xep0077.erl:1452-1469 | src/xep0077.erl:1516-1533 | src/xep0077.erl:1580-1597 | src/xep0077.erl:1644-1661 | src/xep0077.erl:1708-1725 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0077.erl"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec9ed9c0b6cc91f104e784f76a8ed183b23f831468df4f708176cc4935b00bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 7): src/xep0060.erl:2457-2474 | src/xep0060.erl:2533-2550 | src/xep0060.erl:2586-2603 | src/xep0060.erl:2661-2678 | src/xep0060.erl:2758-2775 | src/xep0060.erl:2855-2872 | src/xep0060.erl:3005-3022 \u2014 all 7 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/xep0060.erl"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ad4c00c724d2aa09b6b2c7829ed6f5564268e8af67bd4ba97728401fc42a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): src/xep0054.erl:5226-5243 | src/xep0054.erl:5273-5290 | src/xep0054.erl:5320-5337 | src/xep0054.erl:5367-5384 | src/xep0054.erl:5414-5431 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":5226}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a1739ff4fdf605cd3d5fc838f2c990c4f383b32bedd8e2f9e79375636a45fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): src/xep0054.erl:6496-6513 | src/xep0054.erl:6543-6560 | src/xep0054.erl:6590-6607 | src/xep0054.erl:6637-6654 | src/xep0054.erl:6684-6701 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6496}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9f63251b1b432254ee48315c4a72bc4a541de0859a8718fbfeed523b2d58a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/xep0060.erl:1944-1961 | src/xep0077.erl:399-415 \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/xep0060.erl"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5ebecce684aed16d9ae8c40ee156b11a178ce6ac8d6cb656826f3e13b58f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 21): src/xep0054.erl:1466-1482 | src/xep0054.erl:1547-1563 | src/xep0054.erl:1628-1644 | src/xep0054.erl:1709-1725 | src/xep0054.erl:1790-1806 | src/xep0054.erl:1871-1887 | src/xep0054.erl:1952-1968 | src/xep0054.erl:2033-2049 | src/xep0054.erl:2114-2130 | src/xep0054.erl:2195-2211 | src/xep0054.erl:2276-2292 | src/xep0054.erl:2357-2373 | src/xep0054.erl:2438-2454 | src/xep0054.erl:2519-2535 | src/xep0054.erl:2600-2616 | src/xep0054.erl:2681-2697 | src/xep0054.erl:2762-2778 | src/xep0054.erl:2843-2859 | src/xep0054.erl:2924-2940 | src/xep0054.erl:3005-3021 | src/xep0054.erl:3086-3102 \u2014 all 21 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/xep0054.erl"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb1755318e8d8754241205fee69d1fee8e2224e30f83d520c22e4beabf2b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 13): src/xep0077.erl:939-955 | src/xep0077.erl:1003-1019 | src/xep0077.erl:1067-1083 | src/xep0077.erl:1131-1147 | src/xep0077.erl:1195-1211 | src/xep0077.erl:1259-1275 | src/xep0077.erl:1323-1339 | src/xep0077.erl:1387-1403 | src/xep0077.erl:1451-1467 | src/xep0077.erl:1515-1531 | src/xep0077.erl:1579-1595 | src/xep0077.erl:1643-1659 | src/xep0077.erl:1707-1723 \u2014 all 13 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/xep0077.erl"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98199600f3f33bc83c6daeee24a086dbadc40e59ed304ed4237b2dba73fa415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): src/xep0060.erl:2382-2398 | src/xep0060.erl:2457-2473 | src/xep0060.erl:2533-2549 | src/xep0060.erl:2586-2602 | src/xep0060.erl:2661-2677 | src/xep0060.erl:2758-2774 | src/xep0060.erl:2855-2871 | src/xep0060.erl:3005-3021 \u2014 all 8 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/xep0060.erl"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3e57dd1174a2389a7baa43fa4b217416cf939964b2c4fd53e8a51396a5323d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/xep0054.erl:5179-5195 | src/xep0054.erl:5226-5242 | src/xep0054.erl:5273-5289 | src/xep0054.erl:5320-5336 | src/xep0054.erl:5367-5383 | src/xep0054.erl:5414-5430 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":5179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ab00264fddeb24a4d51fc66151aff03ae2112e47b9fd1723e5e95185ae8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/xep0054.erl:6449-6465 | src/xep0054.erl:6496-6512 | src/xep0054.erl:6543-6559 | src/xep0054.erl:6590-6606 | src/xep0054.erl:6637-6653 | src/xep0054.erl:6684-6700 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":6449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8143b6ec5741fa7c93d0416f78e187d2c75b8b4cdce7a655ffa5311e7880b3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/pubsub_node_config.erl:1710-1726 | src/pubsub_publish_options.erl:1712-1728 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c546e2e71357c427d26ca6b50716c07fdf7986ecfec08becc022bf96c36f2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/pubsub_node_config.erl:2100-2116 | src/pubsub_publish_options.erl:2102-2118 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7cc60339bf3fdf845a67aa2c54fb0259efff8ad54bf11627449a392a2f6935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/xmpp_stream_in.erl:1673-1689 | src/xmpp_stream_out.erl:947-963 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a9a955d2edebb6b83fe65ce4f614bb17f18076ab720706074ee188b506ddbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 22): src/xep0054.erl:1385-1400 | src/xep0054.erl:1466-1481 | src/xep0054.erl:1547-1562 | src/xep0054.erl:1628-1643 | src/xep0054.erl:1709-1724 | src/xep0054.erl:1790-1805 | src/xep0054.erl:1871-1886 | src/xep0054.erl:1952-1967 | src/xep0054.erl:2033-2048 | src/xep0054.erl:2114-2129 | src/xep0054.erl:2195-2210 | src/xep0054.erl:2276-2291 | src/xep0054.erl:2357-2372 | src/xep0054.erl:2438-2453 | src/xep0054.erl:2519-2534 | src/xep0054.erl:2600-2615 | src/xep0054.erl:2681-2696 | src/xep0054.erl:2762-2777 | src/xep0054.erl:2843-2858 | src/xep0054.erl:2924-2939 | src/xep0054.erl:3005-3020 | src/xep0054.erl:3086-3101 \u2014 all 22 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/xep0054.erl"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"490839902047a11f81c821636fe39374974959e7f6a7bbb9c37f097e5715ec45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 14): src/xep0077.erl:875-890 | src/xep0077.erl:939-954 | src/xep0077.erl:1003-1018 | src/xep0077.erl:1067-1082 | src/xep0077.erl:1131-1146 | src/xep0077.erl:1195-1210 | src/xep0077.erl:1259-1274 | src/xep0077.erl:1323-1338 | src/xep0077.erl:1387-1402 | src/xep0077.erl:1451-1466 | src/xep0077.erl:1515-1530 | src/xep0077.erl:1579-1594 | src/xep0077.erl:1643-1658 | src/xep0077.erl:1707-1722 \u2014 all 14 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/xep0077.erl"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ea736b6231c13f3288cbeab162325b1cda9013061ae837b46a78ae6feefdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 10): src/xep0060.erl:2253-2268 | src/xep0060.erl:2328-2343 | src/xep0060.erl:2381-2396 | src/xep0060.erl:2456-2471 | src/xep0060.erl:2532-2547 | src/xep0060.erl:2585-2600 | src/xep0060.erl:2660-2675 | src/xep0060.erl:2757-2772 | src/xep0060.erl:2854-2869 | src/xep0060.erl:3004-3019 \u2014 all 10 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/xep0060.erl"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bec2369859096ba9033ddc8c93939e5d252ea9bcda93b77f1905514c0db8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): src/xep0054.erl:5132-5147 | src/xep0054.erl:5179-5194 | src/xep0054.erl:5226-5241 | src/xep0054.erl:5273-5288 | src/xep0054.erl:5320-5335 | src/xep0054.erl:5367-5382 | src/xep0054.erl:5414-5429 \u2014 all 7 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/xep0054.erl"},"region":{"startLine":5132}}}],"partialFingerprints":{"codehealthFindingId/v1":"165aa53b59c50666b757302030c7a78d287e61d30ad4d6efefaee959453b6c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): src/xep0054.erl:6402-6417 | src/xep0054.erl:6449-6464 | src/xep0054.erl:6496-6511 | src/xep0054.erl:6543-6558 | src/xep0054.erl:6590-6605 | src/xep0054.erl:6637-6652 | src/xep0054.erl:6684-6699 \u2014 all 7 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/xep0054.erl"},"region":{"startLine":6402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b58a9bdddd60cff64786140dad9949752e2b4ad24535be1058019de5b4666d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/pubsub_meta_data.erl:765-780 | src/pubsub_node_config.erl:1831-1846 | src/pubsub_publish_options.erl:1833-1848 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"add1c523b805660eebbb623f715186a0edabec8a1a30a197fae83a0c7b0523a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0054.erl:4784-4799 | src/xep0054.erl:6054-6069 \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/xep0054.erl"},"region":{"startLine":4784}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea506f29fbc68a2e3c85ca43c6fff25875f2a1520d475c87a674f3d9056ef2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0234.erl:776-791 | src/xep0234.erl:811-826 \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/xep0234.erl"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d119cf2b1ceaea7b4120e45bbd504907a129ad43686ac3ec54549fce4a9b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 24): src/xep0054.erl:1222-1236 | src/xep0054.erl:1303-1317 | src/xep0054.erl:1384-1398 | src/xep0054.erl:1465-1479 | src/xep0054.erl:1546-1560 | src/xep0054.erl:1627-1641 | src/xep0054.erl:1708-1722 | src/xep0054.erl:1789-1803 | src/xep0054.erl:1870-1884 | src/xep0054.erl:1951-1965 | src/xep0054.erl:2032-2046 | src/xep0054.erl:2113-2127 | src/xep0054.erl:2194-2208 | src/xep0054.erl:2275-2289 | src/xep0054.erl:2356-2370 | src/xep0054.erl:2437-2451 | src/xep0054.erl:2518-2532 | src/xep0054.erl:2599-2613 | src/xep0054.erl:2680-2694 | src/xep0054.erl:2761-2775 | src/xep0054.erl:2842-2856 | src/xep0054.erl:2923-2937 | src/xep0054.erl:3004-3018 | src/xep0054.erl:3085-3099 \u2014 all 24 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/xep0054.erl"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"65afc981be32f37f36d7d93cf1c57f80620f57026f28befa80b8bf187c26e541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 15): src/xep0077.erl:811-825 | src/xep0077.erl:875-889 | src/xep0077.erl:939-953 | src/xep0077.erl:1003-1017 | src/xep0077.erl:1067-1081 | src/xep0077.erl:1131-1145 | src/xep0077.erl:1195-1209 | src/xep0077.erl:1259-1273 | src/xep0077.erl:1323-1337 | src/xep0077.erl:1387-1401 | src/xep0077.erl:1451-1465 | src/xep0077.erl:1515-1529 | src/xep0077.erl:1579-1593 | src/xep0077.erl:1643-1657 | src/xep0077.erl:1707-1721 \u2014 all 15 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/xep0077.erl"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a53daee301c7af03d9eb0851ee4460b0a80139b65ded18b75b46fd40253604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 11): src/xep0060.erl:2200-2214 | src/xep0060.erl:2253-2267 | src/xep0060.erl:2328-2342 | src/xep0060.erl:2381-2395 | src/xep0060.erl:2456-2470 | src/xep0060.erl:2532-2546 | src/xep0060.erl:2585-2599 | src/xep0060.erl:2660-2674 | src/xep0060.erl:2757-2771 | src/xep0060.erl:2854-2868 | src/xep0060.erl:3004-3018 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e8004461b43cff4302a85d6914ebb66092407ef97ba4987baa391ff5b83889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 9): src/xep0215.erl:328-342 | src/xep0215.erl:344-358 | src/xep0215.erl:360-374 | src/xep0215.erl:376-390 | src/xep0215.erl:392-406 | src/xep0215.erl:408-422 | src/xep0215.erl:424-438 | src/xep0215.erl:440-454 | src/xep0215.erl:456-470 \u2014 all 9 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/xep0215.erl"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be6566a963a0a8645413f2d560579ab5a010cbad07791b09a66f7c861ec32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): src/xep0054.erl:5085-5099 | src/xep0054.erl:5132-5146 | src/xep0054.erl:5179-5193 | src/xep0054.erl:5226-5240 | src/xep0054.erl:5273-5287 | src/xep0054.erl:5320-5334 | src/xep0054.erl:5367-5381 | src/xep0054.erl:5414-5428 \u2014 all 8 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/xep0054.erl"},"region":{"startLine":5085}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59c2ef26fd7e8dc960dded1c89fa4baa67b71d13a61d2f75015f12fefa31031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): src/xep0054.erl:6355-6369 | src/xep0054.erl:6402-6416 | src/xep0054.erl:6449-6463 | src/xep0054.erl:6496-6510 | src/xep0054.erl:6543-6557 | src/xep0054.erl:6590-6604 | src/xep0054.erl:6637-6651 | src/xep0054.erl:6684-6698 \u2014 all 8 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/xep0054.erl"},"region":{"startLine":6355}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb074fb812a1137f564f66885c1eabbaa26daece4d8c9d6e6e9c9053e38e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201315 lines \u00D7 3): src/rfc6120.erl:5740-5754 | src/rfc6120.erl:6359-6373 | src/rfc6120.erl:6807-6813 \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/rfc6120.erl"},"region":{"startLine":5740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a829850e209f27f21d72a80c77b5188ca2b6f11b1b9527d274601bae3f54fe96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/xep0234.erl:741-755 | src/xep0234.erl:776-790 | src/xep0234.erl:811-825 \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/xep0234.erl"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"841b01f87620f5a947463cbe4d283001a71d3f52e90640fc90a585e288d0cef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/pubsub_node_config.erl:1559-1573 | src/pubsub_publish_options.erl:1561-1575 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0967d625510b0faaf0451015a26a290d28e1abee14676ea11500d4a5b230897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/pubsub_node_config.erl:1622-1636 | src/pubsub_publish_options.erl:1624-1638 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ce8eeb3fa7bdd9104b2c56c85490a784c0c84c2ed0db15db165a4b84bc8810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/pubsub_node_config.erl:1658-1672 | src/pubsub_publish_options.erl:1660-1674 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a51f6e05f3bcdc0e21b579def9638d032164dcb22b8c4c5af206da0cb5588cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0054.erl:5843-5857 | src/xep0054.erl:5877-5891 \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/xep0054.erl"},"region":{"startLine":5843}}}],"partialFingerprints":{"codehealthFindingId/v1":"521a22f83b2f80d9253002adc3386ebaa2f2d8c02f2d7c33785a11c416b654b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xmpp_stream_in.erl:1692-1706 | src/xmpp_stream_out.erl:966-980 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dfaef5dd3a9b453961568217ad1a1648993886dec0d18c39439bb0867cf7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 25): src/xep0054.erl:1140-1153 | src/xep0054.erl:1222-1235 | src/xep0054.erl:1303-1316 | src/xep0054.erl:1384-1397 | src/xep0054.erl:1465-1478 | src/xep0054.erl:1546-1559 | src/xep0054.erl:1627-1640 | src/xep0054.erl:1708-1721 | src/xep0054.erl:1789-1802 | src/xep0054.erl:1870-1883 | src/xep0054.erl:1951-1964 | src/xep0054.erl:2032-2045 | src/xep0054.erl:2113-2126 | src/xep0054.erl:2194-2207 | src/xep0054.erl:2275-2288 | src/xep0054.erl:2356-2369 | src/xep0054.erl:2437-2450 | src/xep0054.erl:2518-2531 | src/xep0054.erl:2599-2612 | src/xep0054.erl:2680-2693 | src/xep0054.erl:2761-2774 | src/xep0054.erl:2842-2855 | src/xep0054.erl:2923-2936 | src/xep0054.erl:3004-3017 | src/xep0054.erl:3085-3098 \u2014 all 25 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/xep0054.erl"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4618c6411772ad57b5715c996bdc193d59fde2678741e33b9fe5c0ce130fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 16): src/xep0077.erl:747-760 | src/xep0077.erl:811-824 | src/xep0077.erl:875-888 | src/xep0077.erl:939-952 | src/xep0077.erl:1003-1016 | src/xep0077.erl:1067-1080 | src/xep0077.erl:1131-1144 | src/xep0077.erl:1195-1208 | src/xep0077.erl:1259-1272 | src/xep0077.erl:1323-1336 | src/xep0077.erl:1387-1400 | src/xep0077.erl:1451-1464 | src/xep0077.erl:1515-1528 | src/xep0077.erl:1579-1592 | src/xep0077.erl:1643-1656 | src/xep0077.erl:1707-1720 \u2014 all 16 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/xep0077.erl"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"a716f4bee615da08163567bdaccab525e77f62ce3ab0fde790a97267788d8433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 12): src/xep0060.erl:2147-2160 | src/xep0060.erl:2200-2213 | src/xep0060.erl:2253-2266 | src/xep0060.erl:2328-2341 | src/xep0060.erl:2381-2394 | src/xep0060.erl:2456-2469 | src/xep0060.erl:2532-2545 | src/xep0060.erl:2585-2598 | src/xep0060.erl:2660-2673 | src/xep0060.erl:2757-2770 | src/xep0060.erl:2854-2867 | src/xep0060.erl:3004-3017 \u2014 all 12 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/xep0060.erl"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a20a0bab3905b425b5b20014c1745e181ce9b51caee269b0e64e906e6fa1622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): src/xep0054.erl:4990-5003 | src/xep0054.erl:5037-5050 | src/xep0054.erl:5084-5097 | src/xep0054.erl:5131-5144 | src/xep0054.erl:5178-5191 | src/xep0054.erl:5225-5238 | src/xep0054.erl:5272-5285 | src/xep0054.erl:5319-5332 | src/xep0054.erl:5366-5379 | src/xep0054.erl:5413-5426 \u2014 all 10 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/xep0054.erl"},"region":{"startLine":4990}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a0d4d3c780be502abd9ddd6e61592e65438e8ac86963c3603bdc8f49ebafe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): src/xep0054.erl:6260-6273 | src/xep0054.erl:6307-6320 | src/xep0054.erl:6354-6367 | src/xep0054.erl:6401-6414 | src/xep0054.erl:6448-6461 | src/xep0054.erl:6495-6508 | src/xep0054.erl:6542-6555 | src/xep0054.erl:6589-6602 | src/xep0054.erl:6636-6649 | src/xep0054.erl:6683-6696 \u2014 all 10 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/xep0054.erl"},"region":{"startLine":6260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8d8999f06d02425017997504b6daee6a73feb6fa082d1a321b5297ba854fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): src/xep0215.erl:328-342 | src/xep0215.erl:344-358 | src/xep0215.erl:360-374 | src/xep0215.erl:376-390 | src/xep0215.erl:392-406 | src/xep0215.erl:408-422 | src/xep0215.erl:424-438 | src/xep0215.erl:440-454 | src/xep0215.erl:456-470 | src/xep0215.erl:472-485 \u2014 all 10 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/xep0215.erl"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6f831068c885db3fda516dfd2ffec0c1bfab36ca218fff0b4b55dfa90358f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/xep0234.erl:706-719 | src/xep0234.erl:741-754 | src/xep0234.erl:776-789 | src/xep0234.erl:811-824 \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/xep0234.erl"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90e049a5051649199e8ba9cce99d44277aa960b2a470fe540e88ebea39e1cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/rfc6120.erl:4794-4807 | src/rfc6120.erl:5742-5755 | src/rfc6120.erl:6361-6374 \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/rfc6120.erl"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd10ce0156ab570cb2f22b14143c83aa8c853c43dc73eeb7f7c1736665d4d717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/xep0054.erl:5809-5822 | src/xep0054.erl:5843-5856 | src/xep0054.erl:5877-5890 \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/xep0054.erl"},"region":{"startLine":5809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4419b7b0304106f5f0437fe6cb079492de355f8e4baf29ff01021d6b64b128a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/pubsub_node_config.erl:1778-1791 | src/pubsub_publish_options.erl:1780-1793 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d596d8f4ee73a17223fb52120e079450681217d49528b14a3d72860597ef0791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/pubsub_node_config.erl:2031-2044 | src/pubsub_publish_options.erl:2033-2046 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c7a016515faf6be534f9ae8050710a0be89da24ce2aedf20abb00f50c58142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0059.erl:280-293 | src/xep0059.erl:312-325 \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/xep0059.erl"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e3b1411fbb41d57c15f5ad4ee3d4a7223e916a34c7131bedd67a2f7e30d3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xmpp_stream_in.erl:401-414 | src/xmpp_stream_out.erl:413-426 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4f2e8bba99959e00cbd0f70787360b5a09c05f8475fc8e136c8d4fa6c1cc4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 26): src/xep0054.erl:1058-1070 | src/xep0054.erl:1140-1152 | src/xep0054.erl:1222-1234 | src/xep0054.erl:1303-1315 | src/xep0054.erl:1384-1396 | src/xep0054.erl:1465-1477 | src/xep0054.erl:1546-1558 | src/xep0054.erl:1627-1639 | src/xep0054.erl:1708-1720 | src/xep0054.erl:1789-1801 | src/xep0054.erl:1870-1882 | src/xep0054.erl:1951-1963 | src/xep0054.erl:2032-2044 | src/xep0054.erl:2113-2125 | src/xep0054.erl:2194-2206 | src/xep0054.erl:2275-2287 | src/xep0054.erl:2356-2368 | src/xep0054.erl:2437-2449 | src/xep0054.erl:2518-2530 | src/xep0054.erl:2599-2611 | src/xep0054.erl:2680-2692 | src/xep0054.erl:2761-2773 | src/xep0054.erl:2842-2854 | src/xep0054.erl:2923-2935 | src/xep0054.erl:3004-3016 | src/xep0054.erl:3085-3097 \u2014 all 26 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/xep0054.erl"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"232069acce898ec8a56ae4e348043ec81d57554376da4f3bf55c1b58dd103dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 17): src/xep0077.erl:683-695 | src/xep0077.erl:747-759 | src/xep0077.erl:811-823 | src/xep0077.erl:875-887 | src/xep0077.erl:939-951 | src/xep0077.erl:1003-1015 | src/xep0077.erl:1067-1079 | src/xep0077.erl:1131-1143 | src/xep0077.erl:1195-1207 | src/xep0077.erl:1259-1271 | src/xep0077.erl:1323-1335 | src/xep0077.erl:1387-1399 | src/xep0077.erl:1451-1463 | src/xep0077.erl:1515-1527 | src/xep0077.erl:1579-1591 | src/xep0077.erl:1643-1655 | src/xep0077.erl:1707-1719 \u2014 all 17 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/xep0077.erl"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d9ea861bbeab04df0826f3da586ace430bda4775109b1b9b3ff0a9530c0dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 15): src/captcha_form.erl:183-195 | src/flex_offline.erl:171-183 | src/http_upload.erl:174-186 | src/mam_query.erl:168-180 | src/muc_register.erl:181-193 | src/muc_request.erl:175-187 | src/muc_roomconfig.erl:205-217 | src/muc_roominfo.erl:188-200 | src/pubsub_get_pending.erl:173-185 | src/pubsub_meta_data.erl:183-195 | src/pubsub_node_config.erl:203-215 | src/pubsub_publish_options.erl:204-216 | src/pubsub_subscribe_authorization.erl:183-195 | src/pubsub_subscribe_options.erl:179-191 | src/push_summary.erl:171-183 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6438b4dbc25d2ace0c738eab58b75d2e2eaf01a9eb91a4a37ed0c16a82091b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 15): src/xep0060.erl:1965-1976 | src/xep0060.erl:2040-2051 | src/xep0060.erl:2093-2104 | src/xep0060.erl:2146-2157 | src/xep0060.erl:2199-2210 | src/xep0060.erl:2252-2263 | src/xep0060.erl:2327-2338 | src/xep0060.erl:2380-2391 | src/xep0060.erl:2455-2466 | src/xep0060.erl:2530-2542 | src/xep0060.erl:2584-2595 | src/xep0060.erl:2659-2670 | src/xep0060.erl:2756-2767 | src/xep0060.erl:2853-2864 | src/xep0060.erl:3003-3014 \u2014 all 15 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/xep0060.erl"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c6b50e8617f2d13f945e69675e1a8dfb3ad8fc05dec0d88d6f1d7692e1beba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): src/xep0054.erl:4943-4955 | src/xep0054.erl:4990-5002 | src/xep0054.erl:5037-5049 | src/xep0054.erl:5084-5096 | src/xep0054.erl:5131-5143 | src/xep0054.erl:5178-5190 | src/xep0054.erl:5225-5237 | src/xep0054.erl:5272-5284 | src/xep0054.erl:5319-5331 | src/xep0054.erl:5366-5378 | src/xep0054.erl:5413-5425 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":4943}}}],"partialFingerprints":{"codehealthFindingId/v1":"3288115285ee75a2d47f73a5664ddf37613da5e9882a2ded525bf25d27550f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): src/xep0054.erl:6213-6225 | src/xep0054.erl:6260-6272 | src/xep0054.erl:6307-6319 | src/xep0054.erl:6354-6366 | src/xep0054.erl:6401-6413 | src/xep0054.erl:6448-6460 | src/xep0054.erl:6495-6507 | src/xep0054.erl:6542-6554 | src/xep0054.erl:6589-6601 | src/xep0054.erl:6636-6648 | src/xep0054.erl:6683-6695 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6213}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c26620728a1f68a04d946fb9b86b3ebb6f20d98706783171c4502d3a0bcf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/xep0054.erl:5775-5787 | src/xep0054.erl:5809-5821 | src/xep0054.erl:5843-5855 | src/xep0054.erl:5877-5889 \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/xep0054.erl"},"region":{"startLine":5775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a395ee081fdf12d0c93abb51e1fe608e59ee9cb2fef4395c4bf90ff78f3b04c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/xep0059.erl:248-260 | src/xep0059.erl:280-292 | src/xep0059.erl:312-324 \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/xep0059.erl"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0c419ba0ac0a5258510b4751d47b826b27a2d408bc0066759cca53608a9247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:1641-1653 | src/pubsub_publish_options.erl:1643-1655 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f5ce1af5f258d885ff357ff515dca37251c8c0f39769ed2f7f9cd339d2c92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:1677-1689 | src/pubsub_publish_options.erl:1679-1691 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97bdb572618abd4d756bc6f2555de475455c5b35b47955ac1cac7217696facc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:1947-1959 | src/pubsub_publish_options.erl:1949-1961 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"4866fe1f4d279cb6cae45f45ca2e65bd5bb8ddadfffc57fa61d3815ee2dbf296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:1964-1976 | src/pubsub_publish_options.erl:1966-1978 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efca7b62212fb7043682bdfd243576ae647dc5a35a7750d18f5867b4ff99eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:1981-1993 | src/pubsub_publish_options.erl:1983-1995 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff2d3f975c6fbe69409b388f59fb98b57d1475313e582bcad41b65a01d02a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:1998-2010 | src/pubsub_publish_options.erl:2000-2012 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f84460d2a528ab800732140ddd40f721a5162c76a4f6b6fb7074ba1113fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:2082-2094 | src/pubsub_publish_options.erl:2084-2096 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa525617159c1dfdf7e7b6375cecf1ae7d311a6d1761ef9a248a9aa740701c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/pubsub_node_config.erl:2159-2171 | src/pubsub_publish_options.erl:2161-2173 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1753bda19bba41b22a0c685ce69f042935254619932f6ab5f55b61c2dd4fc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0055.erl:229-241 | src/xep0055.erl:261-273 \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/xep0055.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4fdd8c67bdb7dbd36bd87607d25b2b5357fe7d76312bdc134d7b5b002c19c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xmpp_stream_in.erl:345-357 | src/xmpp_stream_out.erl:382-394 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd9651a62c1ecad2a61a313daf414762a17278aa9f550ef50a4c83096eb9ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 27): src/xep0054.erl:976-987 | src/xep0054.erl:1058-1069 | src/xep0054.erl:1140-1151 | src/xep0054.erl:1222-1233 | src/xep0054.erl:1303-1314 | src/xep0054.erl:1384-1395 | src/xep0054.erl:1465-1476 | src/xep0054.erl:1546-1557 | src/xep0054.erl:1627-1638 | src/xep0054.erl:1708-1719 | src/xep0054.erl:1789-1800 | src/xep0054.erl:1870-1881 | src/xep0054.erl:1951-1962 | src/xep0054.erl:2032-2043 | src/xep0054.erl:2113-2124 | src/xep0054.erl:2194-2205 | src/xep0054.erl:2275-2286 | src/xep0054.erl:2356-2367 | src/xep0054.erl:2437-2448 | src/xep0054.erl:2518-2529 | src/xep0054.erl:2599-2610 | src/xep0054.erl:2680-2691 | src/xep0054.erl:2761-2772 | src/xep0054.erl:2842-2853 | src/xep0054.erl:2923-2934 | src/xep0054.erl:3004-3015 | src/xep0054.erl:3085-3096 \u2014 all 27 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/xep0054.erl"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa1c9f6970f9f998c34cd9c9dad4075cf6723ef0a2fa336b3a2a1f795c40513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 20): src/xep0077.erl:490-500 | src/xep0077.erl:553-564 | src/xep0077.erl:618-628 | src/xep0077.erl:682-692 | src/xep0077.erl:745-756 | src/xep0077.erl:810-820 | src/xep0077.erl:873-884 | src/xep0077.erl:937-948 | src/xep0077.erl:1001-1012 | src/xep0077.erl:1065-1076 | src/xep0077.erl:1129-1140 | src/xep0077.erl:1193-1204 | src/xep0077.erl:1257-1268 | src/xep0077.erl:1321-1332 | src/xep0077.erl:1385-1396 | src/xep0077.erl:1449-1460 | src/xep0077.erl:1513-1524 | src/xep0077.erl:1577-1588 | src/xep0077.erl:1641-1652 | src/xep0077.erl:1705-1716 \u2014 all 20 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/xep0077.erl"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ef7ce444bf70720f5a218dafc213de04b7c25266b4535c4c18dc1393f8c8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): src/xep0054.erl:4896-4907 | src/xep0054.erl:4943-4954 | src/xep0054.erl:4990-5001 | src/xep0054.erl:5037-5048 | src/xep0054.erl:5084-5095 | src/xep0054.erl:5131-5142 | src/xep0054.erl:5178-5189 | src/xep0054.erl:5225-5236 | src/xep0054.erl:5272-5283 | src/xep0054.erl:5319-5330 | src/xep0054.erl:5366-5377 | src/xep0054.erl:5413-5424 \u2014 all 12 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/xep0054.erl"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"31eb92da6d6c496813fef3c4df533dfadafea4a4550fe177cad9384f52c864f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): src/xep0054.erl:6166-6177 | src/xep0054.erl:6213-6224 | src/xep0054.erl:6260-6271 | src/xep0054.erl:6307-6318 | src/xep0054.erl:6354-6365 | src/xep0054.erl:6401-6412 | src/xep0054.erl:6448-6459 | src/xep0054.erl:6495-6506 | src/xep0054.erl:6542-6553 | src/xep0054.erl:6589-6600 | src/xep0054.erl:6636-6647 | src/xep0054.erl:6683-6694 \u2014 all 12 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/xep0054.erl"},"region":{"startLine":6166}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e73c1042f7203485ef26828ae64b3408066f0ec5793c245d14c305e268d560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): src/xep0054.erl:5741-5752 | src/xep0054.erl:5775-5786 | src/xep0054.erl:5809-5820 | src/xep0054.erl:5843-5854 | src/xep0054.erl:5877-5888 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":5741}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d513d89354601c65bf0143b3520b6357e0ecdf75ba1600dc03b59fe75a552d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/pubsub_meta_data.erl:701-712 | src/pubsub_node_config.erl:1694-1705 | src/pubsub_publish_options.erl:1696-1707 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"220d6331b5354b44d6372eeeee52506f31a18f8dcf8727bba2bc1bb9da7757f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/pubsub_node_config.erl:1747-1758 | src/pubsub_publish_options.erl:1749-1760 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b0f3a25354cb13977efb53e41d6dc0e85539d11e498dcd6e3b4121ec3c2992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/pubsub_node_config.erl:2208-2219 | src/pubsub_publish_options.erl:2210-2221 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d923b7940725653bbeb7201ad42492d6b887316b5c773775dab5db84d256eeb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/xmpp_stream_in.erl:1719-1730 | src/xmpp_stream_out.erl:985-996 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bb54a4ed2206c1fc6c51d84efdfa5e17faddd588e940bfaf36610d8dd567d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 29): src/xep0054.erl:814-824 | src/xep0054.erl:893-903 | src/xep0054.erl:975-985 | src/xep0054.erl:1057-1067 | src/xep0054.erl:1139-1149 | src/xep0054.erl:1221-1231 | src/xep0054.erl:1302-1312 | src/xep0054.erl:1383-1393 | src/xep0054.erl:1464-1474 | src/xep0054.erl:1545-1555 | src/xep0054.erl:1626-1636 | src/xep0054.erl:1707-1717 | src/xep0054.erl:1788-1798 | src/xep0054.erl:1869-1879 | src/xep0054.erl:1950-1960 | src/xep0054.erl:2031-2041 | src/xep0054.erl:2112-2122 | src/xep0054.erl:2193-2203 | src/xep0054.erl:2274-2284 | src/xep0054.erl:2355-2365 | src/xep0054.erl:2436-2446 | src/xep0054.erl:2517-2527 | src/xep0054.erl:2598-2608 | src/xep0054.erl:2679-2689 | src/xep0054.erl:2760-2770 | src/xep0054.erl:2841-2851 | src/xep0054.erl:2922-2932 | src/xep0054.erl:3003-3013 | src/xep0054.erl:3084-3094 \u2014 all 29 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/xep0054.erl"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df612fa7a54ec2bc128de8ae8385117d7e5224aa9b20016c73eabcf03a28d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): src/xep0054.erl:4849-4859 | src/xep0054.erl:4896-4906 | src/xep0054.erl:4943-4953 | src/xep0054.erl:4990-5000 | src/xep0054.erl:5037-5047 | src/xep0054.erl:5084-5094 | src/xep0054.erl:5131-5141 | src/xep0054.erl:5178-5188 | src/xep0054.erl:5225-5235 | src/xep0054.erl:5272-5282 | src/xep0054.erl:5319-5329 | src/xep0054.erl:5366-5376 | src/xep0054.erl:5413-5423 \u2014 all 13 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/xep0054.erl"},"region":{"startLine":4849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d4aa577bdedc2cd37ff8db148e814222122d362da406008509820cc2955064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): src/xep0054.erl:6119-6129 | src/xep0054.erl:6166-6176 | src/xep0054.erl:6213-6223 | src/xep0054.erl:6260-6270 | src/xep0054.erl:6307-6317 | src/xep0054.erl:6354-6364 | src/xep0054.erl:6401-6411 | src/xep0054.erl:6448-6458 | src/xep0054.erl:6495-6505 | src/xep0054.erl:6542-6552 | src/xep0054.erl:6589-6599 | src/xep0054.erl:6636-6646 | src/xep0054.erl:6683-6693 \u2014 all 13 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/xep0054.erl"},"region":{"startLine":6119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2b17acad0ee85ab3ebe42877de6ac1e9393a678b635fd422aca4e71aeb90ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/pubsub_meta_data.erl:749-759 | src/pubsub_node_config.erl:1763-1773 | src/pubsub_publish_options.erl:1765-1775 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f47e0fe5df0e0c54181a62fb98206007f396079c3a3a9cccb06c5a3b99a7526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/pubsub_meta_data.erl:850-860 | src/pubsub_node_config.erl:2206-2216 | src/pubsub_publish_options.erl:2208-2218 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e4535e313d7bf93e252d935ae86ccddb17e9e13a7faaab27f8ebd09027dd1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/pubsub_meta_data.erl:866-876 | src/pubsub_node_config.erl:1851-1861 | src/pubsub_publish_options.erl:1853-1863 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec82c2248a0a965e0efbad639871cab9b4d455b0344928cdc51a236c353e54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_roomconfig.erl:229-239 | src/muc_roominfo.erl:221-231 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0515f57c07b00586be451184767b359cd54619507f0cddb570f61d62ce8b6957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): src/muc_roomconfig.erl:1736-1746 | src/muc_roomconfig.erl:2240-2248 \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/muc_roomconfig.erl"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb237fa8969615c5810c27b2e9fa693a848904ef908f4ebe696c406c536fff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/muc_roomconfig.erl:1889-1898 | src/muc_roominfo.erl:955-965 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"4850be2eb1dcbc29bf19737be943390d8fd03d79ee5ac78caef40f92fea41ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_roomconfig.erl:1904-1914 | src/muc_roominfo.erl:1198-1208 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"df32b180974661bc412837e5f78273de0a56b1ed1b94f8428ce68e1945e87234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/pubsub_node_config.erl:1732-1742 | src/pubsub_publish_options.erl:1734-1744 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ec2a81111de746520d444b7175051a5f201c1c64ca3d94096dbfa87266bcfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/pubsub_node_config.erl:1870-1880 | src/pubsub_publish_options.erl:1872-1882 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1fdf03b9ab2776840136d256aa5d627b3c381f9d49f17e2cabd7c697eab0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/pubsub_node_config.erl:2015-2025 | src/pubsub_publish_options.erl:2017-2027 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90065dd8893b4427ed2e1ddd927faf7185b7732d090eaa7fd01b97e1229614b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/pubsub_node_config.erl:2176-2186 | src/pubsub_publish_options.erl:2178-2188 \u2014 before extracting anything, compare \u0060src/pubsub_node_config.erl\u0060 and \u0060src/pubsub_publish_options.erl\u0060 as WHOLE FILES: this scan already matched 67 separate duplicated blocks between them, totalling at least 2135 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/pubsub_node_config.erl"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1060be3f06d316ada8c2ecdcbb0110165fb0ec1977ef93fdb2800b771d4cd5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/xmpp_stream_in.erl:1812-1822 | src/xmpp_stream_out.erl:1525-1535 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fed9b137d748f57d46ab874bbb19b778b538fbb011072d1240d641c386d645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15): src/captcha_form.erl:753-762 | src/flex_offline.erl:236-245 | src/http_upload.erl:237-246 | src/mam_query.erl:325-334 | src/muc_register.erl:440-449 | src/muc_request.erl:345-354 | src/muc_roomconfig.erl:1641-1650 | src/muc_roominfo.erl:923-932 | src/pubsub_get_pending.erl:243-252 | src/pubsub_meta_data.erl:687-696 | src/pubsub_node_config.erl:1499-1508 | src/pubsub_publish_options.erl:1501-1510 | src/pubsub_subscribe_authorization.erl:355-364 | src/pubsub_subscribe_options.erl:521-530 | src/push_summary.erl:352-361 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de36381df54720185c6ebb5b080ec4163a74701c5d578b85bf4346dc2194860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): src/xep0054.erl:4802-4811 | src/xep0054.erl:4849-4858 | src/xep0054.erl:4896-4905 | src/xep0054.erl:4943-4952 | src/xep0054.erl:4990-4999 | src/xep0054.erl:5037-5046 | src/xep0054.erl:5084-5093 | src/xep0054.erl:5131-5140 | src/xep0054.erl:5178-5187 | src/xep0054.erl:5225-5234 | src/xep0054.erl:5272-5281 | src/xep0054.erl:5319-5328 | src/xep0054.erl:5366-5375 | src/xep0054.erl:5413-5422 \u2014 all 14 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/xep0054.erl"},"region":{"startLine":4802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c831750c20da9ffc56971f38a6ac79b7acc08c14bd6f62ad630fddbff017d1ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): src/xep0054.erl:6072-6081 | src/xep0054.erl:6119-6128 | src/xep0054.erl:6166-6175 | src/xep0054.erl:6213-6222 | src/xep0054.erl:6260-6269 | src/xep0054.erl:6307-6316 | src/xep0054.erl:6354-6363 | src/xep0054.erl:6401-6410 | src/xep0054.erl:6448-6457 | src/xep0054.erl:6495-6504 | src/xep0054.erl:6542-6551 | src/xep0054.erl:6589-6598 | src/xep0054.erl:6636-6645 | src/xep0054.erl:6683-6692 \u2014 all 14 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/xep0054.erl"},"region":{"startLine":6072}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9fae6a59b063e0ab61616e9e95c1b932275ed4068e965e3e801e1d8e39c83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/muc_roomconfig.erl:1936-1945 | src/pubsub_node_config.erl:2101-2110 | src/pubsub_publish_options.erl:2103-2112 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 151 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/muc_roomconfig.erl"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e7f4f330dcc65ca155bcd88dd83602546875dd804dcd1aaacedff680e6253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/pubsub_meta_data.erl:219-228 | src/pubsub_node_config.erl:302-311 | src/pubsub_publish_options.erl:303-312 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"105c9a873df63cf77884ca3b37dd22efd2c3941d91defc9aee5577388e96e17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/pubsub_meta_data.erl:262-271 | src/pubsub_node_config.erl:368-378 | src/pubsub_publish_options.erl:369-379 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"159f03abab57f6fdd9da7731d091651a750820ecb0f7f2193ca16660ab4a2630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): src/pubsub_meta_data.erl:836-844 | src/pubsub_node_config.erl:2191-2200 | src/pubsub_publish_options.erl:2193-2202 \u2014 before extracting anything, compare \u0060src/pubsub_meta_data.erl\u0060 and \u0060src/pubsub_node_config.erl\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 567 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/pubsub_meta_data.erl"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"275a3980f486ae13cfaddf15778a9b39e0e9fd5b0799dfc47859124e11add1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/muc_roomconfig.erl:2189-2197 | src/muc_roominfo.erl:1103-1112 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":2189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0021c6366f398779af2a5c91740ff18821a2691329d6ecd41fdab4e42b41a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/pubsub_get_pending.erl:258-266 | src/pubsub_meta_data.erl:766-774 | src/pubsub_node_config.erl:1832-1840 | src/pubsub_publish_options.erl:1834-1842 \u2014 before extracting anything, compare \u0060src/pubsub_get_pending.erl\u0060 and \u0060src/pubsub_meta_data.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 82 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/pubsub_get_pending.erl"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb00e5f9f56ce80691ab6df4fd9229a1b418f61fd4dbb6c1ebe8207f85e4909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/xmpp_stream_in.erl:182-190 | src/xmpp_stream_out.erl:201-209 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"798137721eb531b4c113bfe1a861c6f3150862b9938c9c11b959ff6a2e4e7366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/xmpp_stream_in.erl:1002-1009 | src/xmpp_stream_in.erl:1129-1137 \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/xmpp_stream_in.erl"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"8321d9778977120c7d976b490bb545e1ab3b68e140ea2e30927e5bea8e344ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 16): src/xep0060.erl:1965-1972 | src/xep0060.erl:2040-2047 | src/xep0060.erl:2093-2100 | src/xep0060.erl:2146-2153 | src/xep0060.erl:2199-2206 | src/xep0060.erl:2252-2259 | src/xep0060.erl:2327-2334 | src/xep0060.erl:2380-2387 | src/xep0060.erl:2455-2462 | src/xep0060.erl:2530-2538 | src/xep0060.erl:2584-2591 | src/xep0060.erl:2659-2666 | src/xep0060.erl:2756-2763 | src/xep0060.erl:2853-2860 | src/xep0060.erl:2950-2957 | src/xep0060.erl:3003-3010 \u2014 all 16 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/xep0060.erl"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cac3436b6a09db16ada56361daff52a87c47b775c7e5689f0938f59dba48a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/xep0054.erl:4801-4808 | src/xep0054.erl:6071-6078 \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/xep0054.erl"},"region":{"startLine":4801}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc6f40c39f0fa19e64c92a5bc7942e244f0a2532003c848c49f9ebde20ec7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/xep0054.erl:4848-4855 | src/xep0054.erl:6118-6125 \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/xep0054.erl"},"region":{"startLine":4848}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a240b657150341766c69309a20d324de8f06809530dafd8ad0cbde62181cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/xep0054.erl:5365-5372 | src/xep0054.erl:6353-6360 \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/xep0054.erl"},"region":{"startLine":5365}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ab04605d5f6cd5077cd03ad06e93bed59561019867ff140961104d7a2cc6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/xmpp_stream_in.erl:459-466 | src/xmpp_stream_out.erl:466-473 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde6724aa97a57bfe89280aa3c6231cbd4fd65362985a068f515709a4a77e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/xmpp_stream_in.erl:989-996 | src/xmpp_stream_in.erl:1114-1121 \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/xmpp_stream_in.erl"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffd9bdb591d3c0cbdb164df233c09eba5b46ef816f1df652af5cb0c6658d08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/xmpp_stream_in.erl:1072-1079 | src/xmpp_stream_in.erl:1318-1325 \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/xmpp_stream_in.erl"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"056f071b467d6306d0c9526673b9cb50d3126d407178486d0bcb3a2e8417e235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 50): src/xep0054.erl:814-820 | src/xep0054.erl:893-899 | src/xep0054.erl:975-981 | src/xep0054.erl:1057-1063 | src/xep0054.erl:1139-1145 | src/xep0054.erl:1221-1227 | src/xep0054.erl:1302-1308 | src/xep0054.erl:1383-1389 | src/xep0054.erl:1464-1470 | src/xep0054.erl:1545-1551 | src/xep0054.erl:1626-1632 | src/xep0054.erl:1707-1713 | src/xep0054.erl:1788-1794 | src/xep0054.erl:1869-1875 | src/xep0054.erl:1950-1956 | src/xep0054.erl:2031-2037 | src/xep0054.erl:2112-2118 | src/xep0054.erl:2193-2199 | src/xep0054.erl:2274-2280 | src/xep0054.erl:2355-2361 | src/xep0054.erl:2436-2442 | src/xep0054.erl:2517-2523 | src/xep0054.erl:2598-2604 | src/xep0054.erl:2679-2685 | src/xep0054.erl:2760-2766 | src/xep0054.erl:2841-2847 | src/xep0054.erl:2922-2928 | src/xep0054.erl:3003-3009 | src/xep0054.erl:3084-3090 | src/xep0077.erl:425-431 | src/xep0077.erl:489-495 | src/xep0077.erl:553-559 | src/xep0077.erl:617-623 | src/xep0077.erl:681-687 | src/xep0077.erl:745-751 | src/xep0077.erl:809-815 | src/xep0077.erl:873-879 | src/xep0077.erl:937-943 | src/xep0077.erl:1001-1007 | src/xep0077.erl:1065-1071 | src/xep0077.erl:1129-1135 | src/xep0077.erl:1193-1199 | src/xep0077.erl:1257-1263 | src/xep0077.erl:1321-1327 | src/xep0077.erl:1385-1391 | src/xep0077.erl:1449-1455 | src/xep0077.erl:1513-1519 | src/xep0077.erl:1577-1583 | src/xep0077.erl:1641-1647 | src/xep0077.erl:1705-1711 \u2014 before extracting anything, compare \u0060src/xep0054.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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/xep0054.erl"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d97899bd74b4191e033e97e63a44c08c7d28e944607c9ce26e94fd941a0020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xmpp_stream_in.erl:368-374 | src/xmpp_stream_out.erl:397-403 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3215caa5915c9c4627c62d297a27b60a92347e2a45861e5fbf5e49c0ee316e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xmpp_stream_in.erl:566-572 | src/xmpp_stream_out.erl:520-526 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"770e9be613ad8ab9a73c250dc39942a6fc2d6aebd5aab8ca7e36d27da2c327d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xmpp_stream_in.erl:204-209 | src/xmpp_stream_out.erl:219-224 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a880d1b1fa25e8a4a0a650d0521917fc46eaaa83341be2267e97ec4354029be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xmpp_stream_in.erl:608-613 | src/xmpp_stream_out.erl:542-547 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"61333c5c73ca3ead89102dd86bd0fe02de1bda0fdc6b0b7e7f3b98adef62170b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 16): src/captcha_form.erl:137-142 | src/flex_offline.erl:122-127 | src/http_upload.erl:123-128 | src/mam_query.erl:122-127 | src/muc_register.erl:128-133 | src/muc_request.erl:125-130 | src/muc_roomconfig.erl:156-161 | src/muc_roominfo.erl:139-144 | src/pubsub_get_pending.erl:122-127 | src/pubsub_meta_data.erl:134-139 | src/pubsub_node_config.erl:154-159 | src/pubsub_publish_options.erl:154-159 | src/pubsub_subscribe_authorization.erl:125-130 | src/pubsub_subscribe_options.erl:129-134 | src/push_summary.erl:125-130 | src/xdata_codec.erl:183-187 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6421c167f6c0fd80b83dbcf82e33284d8c09c996c4e8630a21b91e408424c01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/xdata_codec.erl:557-561 | src/xdata_codec.erl:584-588 | src/xdata_codec.erl:619-623 \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/xdata_codec.erl"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e1c6d022178b8fb008d27b6b736ffc263a709b7f18a18774030c0503a9d77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 7): src/rfc6120.erl:2777-2814 | src/xep0033.erl:159-192 | src/xep0166.erl:637-674 | src/xep0313.erl:790-823 | src/xep0386.erl:203-240 | src/xep0388.erl:457-494 | src/xep0424.erl:123-161 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0166.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6815d721a60d695bace80aa83cf3eaf14d4cea8a04c9586d7f4fde7103d7958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/xep0047.erl:206-242 | src/xep0261.erl:64-101 \u2014 before extracting anything, compare \u0060src/xep0047.erl\u0060 and \u0060src/xep0261.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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/xep0047.erl"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"156499c259360749e6d73d23c26648fd3df8dbfbe556c3e181031dc68cf5756e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 41): src/captcha_form.erl:89-93 | src/flex_offline.erl:74-78 | src/http_upload.erl:75-79 | src/mam_query.erl:74-78 | src/muc_register.erl:80-84 | src/muc_request.erl:77-81 | src/muc_roomconfig.erl:108-112 | src/muc_roominfo.erl:91-95 | src/pubsub_get_pending.erl:74-78 | src/pubsub_meta_data.erl:86-90 | src/pubsub_node_config.erl:106-110 | src/pubsub_publish_options.erl:106-110 | src/pubsub_subscribe_authorization.erl:77-81 | src/pubsub_subscribe_options.erl:81-85 | src/push_summary.erl:77-81 | src/rfc6120.erl:1048-1052 | src/xdata_codec.erl:126-132 | src/xep0012.erl:30-34 | src/xep0016.erl:105-109 | src/xep0023.erl:29-33 | src/xep0039.erl:60-64 | src/xep0045.erl:277-281 | src/xep0047.erl:65-69 | src/xep0059.erl:85-89 | src/xep0060.erl:922-926 | src/xep0065.erl:76-80 | src/xep0084.erl:105-109 | src/xep0198.erl:135-139 | src/xep0215.erl:91-95 | src/xep0221.erl:44-48 | src/xep0231.erl:29-33 | src/xep0234.erl:194-198 | src/xep0260.erl:111-115 | src/xep0261.erl:44-48 | src/xep0264.erl:32-36 | src/xep0279.erl:44-48 | src/xep0363.erl:266-270 | src/xep0430.erl:52-56 | src/xep0480.erl:62-66 | src/xep0484.erl:66-70 | src/xep0513.erl:56-60 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e761bc5ed7d35863cba706694f69327e8fdc16aeb63039ac490d66aaf46c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 36): src/captcha_form.erl:97-101 | src/flex_offline.erl:82-86 | src/http_upload.erl:83-87 | src/mam_query.erl:82-86 | src/muc_register.erl:88-92 | src/muc_request.erl:85-89 | src/muc_roomconfig.erl:116-120 | src/muc_roominfo.erl:99-103 | src/pubsub_get_pending.erl:82-86 | src/pubsub_meta_data.erl:94-98 | src/pubsub_node_config.erl:114-118 | src/pubsub_publish_options.erl:114-118 | src/pubsub_subscribe_authorization.erl:85-89 | src/pubsub_subscribe_options.erl:89-93 | src/push_summary.erl:85-89 | src/rfc6120.erl:1029-1033 | src/rfc6121.erl:88-92 | src/xdata_codec.erl:137-142 | src/xep0004.erl:122-126 | src/xep0013.erl:60-64 | src/xep0016.erl:99-103 | src/xep0033.erl:81-85 | src/xep0045.erl:271-275 | src/xep0047.erl:59-63 | src/xep0050.erl:96-100 | src/xep0060.erl:916-920 | src/xep0065.erl:70-74 | src/xep0166.erl:314-318 | src/xep0215.erl:83-87 | src/xep0220.erl:88-92 | src/xep0234.erl:188-192 | src/xep0260.erl:105-109 | src/xep0261.erl:38-42 | src/xep0313.erl:209-213 | src/xep0356.erl:82-86 | src/xep0485.erl:81-85 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3456f8ced2e6e2c28c0033c6faacf6e5d5235f265aefaf84b0f93045278966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xmpp_sasl_fast.erl:124-129 | src/xmpp_sasl_plain.erl:85-90 \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/xmpp_sasl_fast.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"81647dea6a50816d14c91c5350f0cad63c5cf313558a7f211c35496e1398c577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xmpp_stream_in.erl:229-234 | src/xmpp_stream_out.erl:228-233 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41f6b3303a154b45348258a0285c1062f83a6dc7655520625e820b4927f5a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/xmpp_stream_in.erl:256-260 | src/xmpp_stream_out.erl:257-261 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d825fe0ed4f4f03b311b570d39cfc02265dd456e53ad8c93f2ad0ef0c7ef59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xmpp_stream_in.erl:263-268 | src/xmpp_stream_out.erl:264-269 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"54813fcc438320f46c48f58ee66f5b624b2b2c3877d3847ffdd7cd9c92c552c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xmpp_stream_in.erl:1753-1759 | src/xmpp_stream_out.erl:1032-1038 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb52ecd4432efab56b60b0103fa1c0ecf371147dff74c60902bf23ebbe98617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/xmpp_stream_in.erl:1800-1804 | src/xmpp_stream_out.erl:1513-1517 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e40a24bbcffd9513c4cd90a58faedd9da8e09419dcee17e96b80617853c840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/xmpp_stream_in.erl:1806-1810 | src/xmpp_stream_out.erl:1519-1523 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb374a86c50ac2efbc5f29f4dc5c52b908783ab6d7dfe3773fa92cfac716d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/rfc6120.erl:2686-2695 | src/rfc6120.erl:3651-3660 | src/rfc6120.erl:4952-4961 | src/xep0166.erl:1432-1441 | src/xep0377.erl:131-140 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0166.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3ea26ec6024f446567a4a92633f4a2b0e0676f4a43a6099a8a59c07e391008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/rfc6120.erl:2739-2753 | src/rfc6120.erl:3704-3718 | src/rfc6120.erl:4995-5008 | src/xep0166.erl:1485-1499 | src/xep0377.erl:174-187 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0166.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rfc6120.erl"},"region":{"startLine":2739}}}],"partialFingerprints":{"codehealthFindingId/v1":"449c227c58f530b3d92c2cdf90cbb73160597232c4a64ae95c62e54225130052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/rfc6120.erl:2984-2990 | src/xep0388.erl:2189-2195 | src/xep0484.erl:198-204 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0388.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 78 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/rfc6120.erl"},"region":{"startLine":2984}}}],"partialFingerprints":{"codehealthFindingId/v1":"2495366d277cfd32bc0688d88a1132d7ad20633888420c8846d1621cbdc6632d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/rfc6120.erl:3778-3784 | src/xep0388.erl:1576-1582 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0388.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 78 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/rfc6120.erl"},"region":{"startLine":3778}}}],"partialFingerprints":{"codehealthFindingId/v1":"477923512b0e43015a6524f23ea0c52fb2369fea387cb2ec14ccb774bb010302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/rfc6120.erl:3813-3821 | src/xep0388.erl:1611-1619 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0388.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 78 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/rfc6120.erl"},"region":{"startLine":3813}}}],"partialFingerprints":{"codehealthFindingId/v1":"1504e6656b1f95eb538d9fc86e187510124aca6e2451598a047c7c39d10e92ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/rfc6120.erl:3827-3833 | src/xep0388.erl:1625-1631 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0388.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 78 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/rfc6120.erl"},"region":{"startLine":3827}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f76dbcbbc7f4329f5356b3530b86d3e1f91bfe5677661ef181b077ba6880e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/rfc6120.erl:3862-3870 | src/xep0388.erl:1660-1668 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0388.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 78 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/rfc6120.erl"},"region":{"startLine":3862}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb48850b27ae193a7a017b9ce1ab5e148a78863ec9f7613fdbf31f3e900d2e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/rfc6120.erl:4039-4045 | src/xep0078.erl:270-276 \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/rfc6120.erl"},"region":{"startLine":4039}}}],"partialFingerprints":{"codehealthFindingId/v1":"408df308d43c89628b59c67a7377c0849506247a37f73906cd4c0e957d68df08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/rfc6120.erl:4087-4093 | src/xep0313.erl:729-735 | src/xep0369.erl:1189-1195 \u2014 before extracting anything, compare \u0060src/rfc6120.erl\u0060 and \u0060src/xep0313.erl\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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/rfc6120.erl"},"region":{"startLine":4087}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e04ae15dc890b505afa6bd46b7665bea909f2b23600feb95191cfd5f2806e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/xep0004.erl:549-555 | src/xep0055.erl:770-776 | src/xep0077.erl:2787-2793 \u2014 before extracting anything, compare \u0060src/xep0055.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0004.erl"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c30acb32299ff71dfcd324af531c6a41a3a95b84b470e4359950b1425015a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0004.erl:1072-1078 | src/xep0066.erl:191-197 \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/xep0004.erl"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"563b5eab3436d13e6eae340b4c8cad9602b8f9011f19f371320d2df339c71c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0033.erl:53-67 | src/xep0084.erl:75-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0033.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0f287d425ca25c6dba4a6dde698d23dbc2005227d66fc900287355b621a09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0039.erl:68-74 | src/xep0355.erl:69-78 \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/xep0039.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"986a0438a1b6ca1c799f20b20dbde2565fdbb305e9d9606fb4c91d7dd7be2550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0045.erl:432-438 | src/xep0049.erl:34-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0045.erl"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f66c3acd042f2bf50e45168b9baabbf86f59c19433efb3529fc2d52f35e304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/xep0045.erl:1338-1344 | src/xep0048.erl:460-466 | src/xep0077.erl:2660-2666 | src/xep0078.erl:356-362 | src/xep0402.erl:325-331 \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/xep0045.erl"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9ccf412b0eff5815ea2f7936beb964971e07500b6e905d327d38e3dbaa296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/xep0045.erl:2680-2686 | src/xep0425.erl:123-130 | src/xep0425.erl:173-179 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0045.erl"},"region":{"startLine":2680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26b68c13f2c1430bdc484e096516683d9deb2704d07f52f86e2a125a3901dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/xep0047.erl:182-190 | src/xep0231.erl:145-153 \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/xep0047.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfeaf886f82552327c6216a60b4d2465d907615a63bbbdc5afe3cdb36cda963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0048.erl:439-453 | src/xep0402.erl:266-280 \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/xep0048.erl"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4bda12323fc7d755d291ed0df3f408106363da5570cd6af83eb6196acc9dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/xep0048.erl:503-509 | src/xep0055.erl:655-661 | src/xep0077.erl:2703-2709 | src/xep0369.erl:1235-1241 | src/xep0402.erl:371-377 \u2014 before extracting anything, compare \u0060src/xep0055.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0048.erl"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eb3885bb6ae7a27c00370ad49168203e19be963abd0865ced0e00edfbcf157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0055.erl:614-620 | src/xep0077.erl:2496-2502 \u2014 before extracting anything, compare \u0060src/xep0055.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0055.erl"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"d027f096597856057063590947ed21a68acb57592e3cfcc97f062c83a8d22488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/xep0055.erl:692-698 | src/xep0059.erl:623-629 | src/xep0077.erl:2537-2543 \u2014 before extracting anything, compare \u0060src/xep0055.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0055.erl"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b7b4e52883ec8bb1e97ba842c45be1512299f0c83fcc5f844e70c2c231fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0055.erl:729-735 | src/xep0077.erl:2578-2584 \u2014 before extracting anything, compare \u0060src/xep0055.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0055.erl"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc5871a97225f2bf3309156a6966d2eab756b3a0a316c351ca6df43000578d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0066.erl:228-234 | src/xep0077.erl:2250-2256 \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/xep0066.erl"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c189d4c7c32507a9177154b926361ba0481306271db1c628821d9f850fff5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0077.erl:2127-2133 | src/xep0388.erl:785-791 \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/xep0077.erl"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5f1b6abc39ab07c9b505491d8f7c22761fa08908705c6b52432112b1c87b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0077.erl:2209-2215 | src/xep0234.erl:1299-1305 \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/xep0077.erl"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ec7dbe26641e9f3b40fe640aba2026c37ce86ae121473fb6f07f2731abe018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/xep0077.erl:2619-2625 | src/xep0092.erl:245-251 | src/xep0234.erl:1139-1145 \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/xep0077.erl"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f67f18386d087118cc6cf1845b6b8c13f4ea9fd9275867be860b15f312bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0077.erl:2744-2750 | src/xep0078.erl:399-405 \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/xep0077.erl"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f38e996693744ab9d4f9a1c2445c7a236a6203c0b19f04b3ade1ed052b273be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xep0184.erl:46-51 | src/xep0333.erl:154-159 \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/xep0184.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91e26baca6df97751b370970b492a2d0d425b76d71daee37d916fdd2bf2ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0234.erl:1090-1096 | src/xep0363.erl:1420-1426 \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/xep0234.erl"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"620dd22b52eff8dafcc567dfb16de3d72483bdf64b50e3f722a90585d7384b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/xep0260.erl:422-431 | src/xep0261.erl:120-129 \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/xep0260.erl"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ba1b6a424ae6b701b8e645de1e23b8255fc938fb42bd97e91166bfb65952b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/xep0386.erl:195-201 | src/xep0388.erl:2131-2137 \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/xep0386.erl"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a695077602594e847c2eb763fdcdbd81438caf054e2499c1e5ad80b5c25c1b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/xmpp_lang.erl:50-58 | src/xmpp_uri.erl:50-58 \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/xmpp_lang.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e58347b5ded52cafbac0d2adfffbbdef0a7ebfe05964589d38737fca1e98395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/xep0054.erl:3331-3355 | src/xep0077.erl:1894-1918 \u2014 before extracting anything, compare \u0060src/xep0054.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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/xep0054.erl"},"region":{"startLine":3331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5f2b2aa61ec44076d484ade1484659429e47df75181ec95c0fd968378da55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 11): src/xep0054.erl:4825-4847 | src/xep0054.erl:4872-4894 | src/xep0054.erl:4919-4941 | src/xep0054.erl:4966-4988 | src/xep0054.erl:5013-5035 | src/xep0054.erl:5060-5082 | src/xep0054.erl:5107-5129 | src/xep0054.erl:5154-5176 | src/xep0054.erl:5201-5223 | src/xep0054.erl:5248-5270 | src/xep0054.erl:5295-5317 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":4825}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fa1794c613bade73ab02b2e5132e72f7c89f79002077be5a41fc86b80a13e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 15): src/xep0060.erl:2016-2038 | src/xep0060.erl:2069-2091 | src/xep0060.erl:2122-2144 | src/xep0060.erl:2175-2197 | src/xep0060.erl:2228-2250 | src/xep0060.erl:2303-2325 | src/xep0060.erl:2356-2378 | src/xep0060.erl:2431-2453 | src/xep0060.erl:2506-2528 | src/xep0060.erl:2560-2582 | src/xep0060.erl:2635-2657 | src/xep0060.erl:2732-2754 | src/xep0060.erl:2829-2851 | src/xep0060.erl:2926-2948 | src/xep0060.erl:2979-3001 \u2014 all 15 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/xep0060.erl"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5225888801de67582bebb25baa856224fd1cb4b7c706cd822ac95fd07a5f3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 11): src/xep0054.erl:6095-6117 | src/xep0054.erl:6142-6164 | src/xep0054.erl:6189-6211 | src/xep0054.erl:6236-6258 | src/xep0054.erl:6283-6305 | src/xep0054.erl:6330-6352 | src/xep0054.erl:6377-6399 | src/xep0054.erl:6424-6446 | src/xep0054.erl:6471-6493 | src/xep0054.erl:6518-6540 | src/xep0054.erl:6565-6587 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6095}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefefedc670aed561d0f73220e15f61072c87c073b1671d4093624c00825f088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 12): src/xep0054.erl:6096-6117 | src/xep0054.erl:6143-6164 | src/xep0054.erl:6190-6211 | src/xep0054.erl:6237-6258 | src/xep0054.erl:6284-6305 | src/xep0054.erl:6331-6352 | src/xep0054.erl:6378-6399 | src/xep0054.erl:6425-6446 | src/xep0054.erl:6472-6493 | src/xep0054.erl:6519-6540 | src/xep0054.erl:6566-6587 | src/xep0054.erl:6613-6634 \u2014 all 12 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/xep0054.erl"},"region":{"startLine":6096}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb186552086dd46f89913b916b32e9ed602cb8cc33195b772f11bd4c6e2d30a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 12): src/xep0054.erl:4826-4847 | src/xep0054.erl:4873-4894 | src/xep0054.erl:4920-4941 | src/xep0054.erl:4967-4988 | src/xep0054.erl:5014-5035 | src/xep0054.erl:5061-5082 | src/xep0054.erl:5108-5129 | src/xep0054.erl:5155-5176 | src/xep0054.erl:5202-5223 | src/xep0054.erl:5249-5270 | src/xep0054.erl:5296-5317 | src/xep0054.erl:5343-5364 \u2014 all 12 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/xep0054.erl"},"region":{"startLine":4826}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f51d847dc625ba0897e414312e1798166a386ad5c6c4a9acaae889cd63dfe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/xep0054.erl:680-701 | src/xep0077.erl:325-346 \u2014 before extracting anything, compare \u0060src/xep0054.erl\u0060 and \u0060src/xep0077.erl\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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/xep0054.erl"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf55c288d64eb6a39770110fdad7ab49efff1767451ab05ff69fdbb8a54af33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 13): src/xep0054.erl:6097-6117 | src/xep0054.erl:6144-6164 | src/xep0054.erl:6191-6211 | src/xep0054.erl:6238-6258 | src/xep0054.erl:6285-6305 | src/xep0054.erl:6332-6352 | src/xep0054.erl:6379-6399 | src/xep0054.erl:6426-6446 | src/xep0054.erl:6473-6493 | src/xep0054.erl:6520-6540 | src/xep0054.erl:6567-6587 | src/xep0054.erl:6614-6634 | src/xep0054.erl:6661-6681 \u2014 all 13 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/xep0054.erl"},"region":{"startLine":6097}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc7c41854b4b6d6d0b1265137ccbca34921b2aa0d9f3078eb2c48bb4910877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 13): src/xep0054.erl:4827-4847 | src/xep0054.erl:4874-4894 | src/xep0054.erl:4921-4941 | src/xep0054.erl:4968-4988 | src/xep0054.erl:5015-5035 | src/xep0054.erl:5062-5082 | src/xep0054.erl:5109-5129 | src/xep0054.erl:5156-5176 | src/xep0054.erl:5203-5223 | src/xep0054.erl:5250-5270 | src/xep0054.erl:5297-5317 | src/xep0054.erl:5344-5364 | src/xep0054.erl:5391-5411 \u2014 all 13 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/xep0054.erl"},"region":{"startLine":4827}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a64a8e295d64df37db04682fe0038f597da58216043580dc535befde8c241e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/xep0234.erl:578-597 | src/xep0234.erl:614-633 \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/xep0234.erl"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7088d867f1ec314a1cdb553a28c77137f98bc03f25e0a2cfb0d1ac6dbb35124a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/xep0054.erl:5652-5671 | src/xep0054.erl:5686-5705 \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/xep0054.erl"},"region":{"startLine":5652}}}],"partialFingerprints":{"codehealthFindingId/v1":"1061b1a9d78ee4e4fa4abb2af84fe976b9d6daa64515aa597b84558afa46e5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/xep0234.erl:579-597 | src/xep0234.erl:615-633 | src/xep0234.erl:651-669 \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/xep0234.erl"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dba113c68e973b2e48fdee4763b592544532636c405204faa74a8eda43620e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/xep0054.erl:5653-5671 | src/xep0054.erl:5687-5705 | src/xep0054.erl:5721-5739 \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/xep0054.erl"},"region":{"startLine":5653}}}],"partialFingerprints":{"codehealthFindingId/v1":"4318cd3d33b231f03f40b9d307f2f22581b5af5f425ef79e52c6d39c315b705f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/xep0054.erl:5654-5671 | src/xep0054.erl:5688-5705 | src/xep0054.erl:5722-5739 | src/xep0054.erl:5756-5773 \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/xep0054.erl"},"region":{"startLine":5654}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b62a16649bb3210fb94b3cbe2761dba02f6331431bfdbf4a8488b989e21798e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): src/xep0234.erl:581-597 | src/xep0234.erl:617-633 | src/xep0234.erl:653-670 | src/xep0234.erl:688-705 | src/xep0234.erl:723-739 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0234.erl"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec653662ece143f3faabc946eddae28c9fbf93a0268b99138d9174fe2368f31f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/xep0055.erl:115-132 | src/xep0055.erl:147-164 | src/xep0055.erl:179-196 \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/xep0055.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1511469017db77841571ad85f85284f45ff11dbd63f36bf1ff8eafe5d5749ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/xep0313.erl:1008-1024 | src/xep0313.erl:1040-1056 | src/xep0313.erl:1072-1089 \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/xep0313.erl"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"86294940e25d221daeb76e74ddebd2b0d9b9fda2ae1da46089a134d3501d0c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/xep0059.erl:133-150 | src/xep0059.erl:165-182 \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/xep0059.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6305a503dc4ae7c83ef6413448e1f779e8be17e8d384bae2a90b7ebb0af9b6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): src/xep0054.erl:5655-5671 | src/xep0054.erl:5689-5705 | src/xep0054.erl:5723-5739 | src/xep0054.erl:5757-5773 | src/xep0054.erl:5791-5807 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":5655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c640c14547b637b402e097277dee0ecc538b5827fe0ac74d499ccb5b3007f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/xep0234.erl:582-598 | src/xep0234.erl:618-634 | src/xep0234.erl:654-670 | src/xep0234.erl:689-705 | src/xep0234.erl:724-740 | src/xep0234.erl:759-775 \u2014 all 6 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/xep0234.erl"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f3b34a882c106ee24023605b8e7dfbbe3eae1c50f615481c2fbe004cbcf60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): src/xep0054.erl:5656-5672 | src/xep0054.erl:5690-5706 | src/xep0054.erl:5724-5740 | src/xep0054.erl:5758-5774 | src/xep0054.erl:5792-5808 | src/xep0054.erl:5826-5842 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":5656}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d438fe7b2e722df4b7b01fb70990ca5fed390fe74c5f38933661870a400168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/xep0313.erl:1009-1025 | src/xep0313.erl:1041-1057 | src/xep0313.erl:1073-1089 | src/xep0313.erl:1105-1121 \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/xep0313.erl"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92d2cfd26f6ead35b5c2d34c6bee35d344122b4611a038a95c5335bca7fbbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/xep0060.erl:4574-4590 | src/xep0060.erl:4629-4645 \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/xep0060.erl"},"region":{"startLine":4574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0479186074a92a66dede9808311fccd46ff2e2e8231d8411a5af4501d3323c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/xep0084.erl:426-442 | src/xep0084.erl:448-464 | src/xep0084.erl:470-486 \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/xep0084.erl"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b1b68542f5508bc3cf184bf0d5adca34ba96b54193cb6e740d9d8b223c6155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/xep0060.erl:1547-1563 | src/xep0060.erl:1590-1606 \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/xep0060.erl"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd989f56429a6574bfda17164eb42b9703a2ba518f256ab12b59a2ebd086eaf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/xep0054.erl:4493-4509 | src/xep0054.erl:4523-4539 \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/xep0054.erl"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"961420b46ee6c1a857afed7bfcfef5a1558d7038cd0ae25b7becb9d78d8cfb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/xep0059.erl:135-151 | src/xep0059.erl:167-183 | src/xep0059.erl:199-215 | src/xep0059.erl:231-247 \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/xep0059.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a189b8946f3fbce9967002aaf661e07554779a417e12074b887f642e22945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/xep0045.erl:1429-1445 | src/xep0045.erl:1472-1488 \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/xep0045.erl"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b079e58867fab70a581b522750fbb5ca1c1f050dfd7cbfef268c72a94876582e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/xep0055.erl:116-132 | src/xep0055.erl:148-164 | src/xep0055.erl:180-196 | src/xep0055.erl:212-228 \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/xep0055.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6fb881af950d132460c4ed4b43e8858e9868f646677124ee11d3a8bb2f6a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/xep0060.erl:5657-5673 | src/xep0060.erl:5679-5695 | src/xep0060.erl:5701-5717 \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/xep0060.erl"},"region":{"startLine":5657}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b38c3d97e2c28550aa0b1578664609376ac5d73be7eefa836c3181a31e6997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/xep0260.erl:571-587 | src/xep0260.erl:593-609 | src/xep0260.erl:615-631 \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/xep0260.erl"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"207372e2732bbf9451db39057d21ea5f79b86c334b7648279ddadd1e2b5f4a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/xep0054.erl:4494-4509 | src/xep0054.erl:4524-4539 | src/xep0054.erl:4554-4569 \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/xep0054.erl"},"region":{"startLine":4494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19b3216f79ca23e166393ea02fad7330db33ec07d693e41b3f246c8754da195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0249.erl:58-73 | src/xep0249.erl:78-93 \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/xep0249.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d6d49eb442e9b84dd986e6c041465bac8caf57b5733446eb82f65efbb2e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0198.erl:1125-1140 | src/xep0198.erl:1145-1160 \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/xep0198.erl"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c3201517a1e9db0e7716ff13ee95691076f91735641c0b8e5e23e1e322f751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0084.erl:244-259 | src/xep0084.erl:264-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0084.erl"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fec1d4a69348047ebd31204b727b820ce6c4e02910338dc63b475009a900d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/rfc6120.erl:5672-5687 | src/rfc6120.erl:5692-5707 \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/rfc6120.erl"},"region":{"startLine":5672}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc77a0692de5dda36713bbf1a9c425c85d645abdb9f130c52bfa94adb54668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 26): src/rfc6120.erl:1419-1432 | src/rfc6120.erl:1441-1455 | src/rfc6120.erl:1464-1477 | src/rfc6120.erl:1486-1500 | src/rfc6120.erl:1509-1522 | src/rfc6120.erl:1531-1544 | src/rfc6120.erl:1553-1567 | src/rfc6120.erl:1576-1590 | src/rfc6120.erl:1599-1612 | src/rfc6120.erl:1621-1634 | src/rfc6120.erl:1643-1657 | src/rfc6120.erl:1666-1679 | src/rfc6120.erl:1688-1701 | src/rfc6120.erl:1710-1724 | src/rfc6120.erl:1733-1747 | src/rfc6120.erl:1756-1771 | src/rfc6120.erl:1780-1793 | src/rfc6120.erl:1802-1816 | src/rfc6120.erl:1825-1838 | src/rfc6120.erl:1847-1860 | src/rfc6120.erl:1869-1883 | src/rfc6120.erl:1892-1906 | src/rfc6120.erl:1915-1929 | src/rfc6120.erl:1938-1952 | src/rfc6120.erl:1961-1975 | src/rfc6120.erl:1984-1998 \u2014 all 26 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/rfc6120.erl"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6830e51f34446148aa53ea8da86c8e29868cee115ad989594221f969bfd5b9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0424.erl:346-361 | src/xep0424.erl:364-378 \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/xep0424.erl"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d0e95fbbe951ac5d5ff36abc4149f3e31cc5da5689d735043b854daef2290f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/rfc6121.erl:339-354 | src/rfc6121.erl:359-374 \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/rfc6121.erl"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d77b02593727d51d1423eb5ef76a03b8e664ec35c9f96a7fb577fe742348ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): src/xep0313.erl:1010-1025 | src/xep0313.erl:1042-1057 | src/xep0313.erl:1074-1089 | src/xep0313.erl:1106-1121 | src/xep0313.erl:1138-1153 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0313.erl"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"862344e367036a25df908d0ee5c10c0b91e815c7520e4790268bcb14a84df90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0045.erl:729-744 | src/xep0045.erl:747-761 \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/xep0045.erl"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70401ca4f53af0e5727e9f6d055166f38ab7e5baf561e3ed1459086a8201ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0115.erl:51-66 | src/xep0115.erl:69-84 \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/xep0115.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2b618a003bbd770c1db2289b74341652a5f31d5192828c9a899853d81a3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0050.erl:220-235 | src/xep0050.erl:240-255 \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/xep0050.erl"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"586d8781e57ea8321d151abb93c62a6d5aa533c20d0eb37a611d54c8facbcb36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0033.erl:199-214 | src/xep0033.erl:219-234 \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/xep0033.erl"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"920734f450a76b02c072fef8cca9c1be0ed684418f654d10b6a8f8356f026b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/xep0513.erl:225-240 | src/xep0513.erl:249-264 | src/xep0513.erl:273-288 \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/xep0513.erl"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fd6f15dd8e3034a2d0c7f5b20ace9a0fedc753e18f17f3715a4b3cc291be39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/rfc6120.erl:6292-6307 | src/rfc6120.erl:6312-6327 \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/rfc6120.erl"},"region":{"startLine":6292}}}],"partialFingerprints":{"codehealthFindingId/v1":"daff9153879abe59ea4bfd1c9404e69bd1200fc55f9b8adaedaee3d3cd502245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0060.erl:5166-5181 | src/xep0060.erl:5184-5198 \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/xep0060.erl"},"region":{"startLine":5166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17fe06841be44f243c98860b9dfbd47f00febe8d17292019a76c6a401b64735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): src/xep0059.erl:136-151 | src/xep0059.erl:168-183 | src/xep0059.erl:200-215 | src/xep0059.erl:232-247 | src/xep0059.erl:264-279 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0059.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39e7e53ba94ea13d4836751a33bdf092295066a1441f05068a684c122ae4770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0264.erl:54-69 | src/xep0264.erl:72-86 \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/xep0264.erl"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29749830a4c42622e5d67eda7e38c8c9d1b0c3c1c364a057246dc1ea5be94cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0045.erl:1859-1873 | src/xep0045.erl:1876-1891 \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/xep0045.erl"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"3188689bedeae33b0fbf9704579224ca7afb966fc85f5461e4c3a9133c58ad05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0313.erl:262-277 | src/xep0313.erl:280-294 \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/xep0313.erl"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a20765ef72256857eb88c9b44a4bc87737dd717d45ea766d8dd0d834b5a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0045.erl:1027-1042 | src/xep0045.erl:1045-1059 \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/xep0045.erl"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d40798d7f166a702b85d3eeedbe135c5e52b75628f8d0040050151cbdad5f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/rfc6120.erl:6743-6758 | src/rfc6120.erl:6763-6777 \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/rfc6120.erl"},"region":{"startLine":6743}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0899326ecbfdb2512626422b32b8cae967d41a79938c0dea1d84f12c3cf0e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/xep0060.erl:1548-1563 | src/xep0060.erl:1591-1606 | src/xep0060.erl:1634-1649 \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/xep0060.erl"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de7b9df997b8b635f2489a0675df7e0147875d4098990f36c9f42badcb9be16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0016.erl:559-574 | src/xep0016.erl:577-592 \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/xep0016.erl"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a826d5e059a5f9b95e6d13b3cf7d484da11dd67f886a90148492370677a000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0166.erl:679-694 | src/xep0166.erl:697-711 \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/xep0166.erl"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"6392e5daec18744aea353c26ef8eab4113f7e09d5fb6bfc1ed5f521d7c0dc141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/xep0060.erl:4575-4590 | src/xep0060.erl:4630-4645 | src/xep0060.erl:4684-4699 \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/xep0060.erl"},"region":{"startLine":4575}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eba327c4fff67f199f9248b43d3dfab453bebc022674151c3dca7fa14b764f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0030.erl:513-528 | src/xep0030.erl:531-546 \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/xep0030.erl"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"45522abffb8615f7b102fa6f83539514e11d942990f9a979c71b0194574f3009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): src/xep0234.erl:583-598 | src/xep0234.erl:619-634 | src/xep0234.erl:655-670 | src/xep0234.erl:690-705 | src/xep0234.erl:725-740 | src/xep0234.erl:760-775 | src/xep0234.erl:795-810 \u2014 all 7 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/xep0234.erl"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8eaac5653218f175a67b74557d167ac1ab05fe58cfb31e256f97b579221c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/xep0045.erl:1430-1445 | src/xep0045.erl:1473-1488 | src/xep0045.erl:1528-1543 \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/xep0045.erl"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0799be4399ad73fa4c9b46357418d382e62b362a7de7f729ef15b6982dbe1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): src/xep0054.erl:5657-5672 | src/xep0054.erl:5691-5706 | src/xep0054.erl:5725-5740 | src/xep0054.erl:5759-5774 | src/xep0054.erl:5793-5808 | src/xep0054.erl:5827-5842 | src/xep0054.erl:5861-5876 \u2014 all 7 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/xep0054.erl"},"region":{"startLine":5657}}}],"partialFingerprints":{"codehealthFindingId/v1":"36927064264ce5c3f4540d08d63ea12d53b85836fb2fee3b8a4563936a9a4d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0363.erl:840-855 | src/xep0363.erl:858-872 \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/xep0363.erl"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcbb46119478cdb099772c700cf5274f1f2102240f3d32515e3c6ddbe1b636e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/xep0060.erl:5001-5016 | src/xep0060.erl:5019-5034 \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/xep0060.erl"},"region":{"startLine":5001}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaa962c342b5871b8062c706438d5c8a27a72ad6cb8748755e57a5f0ad7192c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0045.erl:2732-2746 | src/xep0045.erl:2749-2764 \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/xep0045.erl"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f8fd20340301da8970b3f32aa617a27f771aa4f1b48d50b546eb5d9b3c3469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): src/xep0055.erl:117-132 | src/xep0055.erl:149-164 | src/xep0055.erl:181-196 | src/xep0055.erl:213-228 | src/xep0055.erl:245-260 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0055.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29595b9f80e5e94faf045fb22da3681091d2de69e669dab06062e696da02bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0166.erl:446-461 | src/xep0166.erl:464-478 \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/xep0166.erl"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c197e91fb8eea94ce22f83f59b405fcca3cdca548f8ec6dcdac7eaaebba4f6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0022.erl:82-96 | src/xep0022.erl:110-124 \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/xep0022.erl"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"38536214a9a4d0c3855b4ca8c636e6e07d675f38b6b798ce547d30c407886fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0004.erl:175-189 | src/xep0004.erl:203-217 \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/xep0004.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4e9953ffa387cc4eacdbb39a33a5b7db59420a13f9fcc01376b27f3120f462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 22): src/xep0198.erl:178-191 | src/xep0198.erl:200-213 | src/xep0198.erl:222-236 | src/xep0198.erl:245-258 | src/xep0198.erl:267-280 | src/xep0198.erl:289-303 | src/xep0198.erl:312-325 | src/xep0198.erl:334-347 | src/xep0198.erl:356-369 | src/xep0198.erl:378-391 | src/xep0198.erl:400-413 | src/xep0198.erl:422-436 | src/xep0198.erl:445-459 | src/xep0198.erl:468-481 | src/xep0198.erl:490-504 | src/xep0198.erl:513-527 | src/xep0198.erl:536-550 | src/xep0198.erl:559-573 | src/xep0198.erl:582-596 | src/xep0198.erl:605-619 | src/xep0198.erl:628-642 | src/xep0198.erl:651-665 \u2014 all 22 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/xep0198.erl"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbd0bee6c91a4cc713a5c08f2337cffd9e52279c122f1018024ff1bb88e12eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/xep0054.erl:4495-4509 | src/xep0054.erl:4525-4539 | src/xep0054.erl:4555-4569 | src/xep0054.erl:4585-4599 \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/xep0054.erl"},"region":{"startLine":4495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d979102b1b5d32e3081c1efae8d1e273b8697ac264be2344b04c49fc84dccbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 16): src/xep0166.erl:868-879 | src/xep0166.erl:892-903 | src/xep0166.erl:916-929 | src/xep0166.erl:941-952 | src/xep0166.erl:965-976 | src/xep0166.erl:989-1002 | src/xep0166.erl:1014-1027 | src/xep0166.erl:1039-1051 | src/xep0166.erl:1063-1074 | src/xep0166.erl:1087-1101 | src/xep0166.erl:1113-1125 | src/xep0166.erl:1137-1150 | src/xep0166.erl:1162-1173 | src/xep0166.erl:1186-1197 | src/xep0166.erl:1210-1224 | src/xep0166.erl:1236-1249 \u2014 all 16 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/xep0166.erl"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e785b76c01c8a0cd35a58ad439909f15fb467735516e84798312e2f04ca0d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/rfc6120.erl:1132-1146 | src/rfc6120.erl:1158-1172 | src/rfc6120.erl:1184-1198 | src/rfc6120.erl:1210-1224 \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/rfc6120.erl"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cbe8fd27c6e63f89ef2b34f312fa7d0a3974b86740386f1c2a25ebdbf61ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0220.erl:226-240 | src/xep0220.erl:242-255 \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/xep0220.erl"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"98833b33cba481224bfca81e847bf5abf1e5dbafe6f4db9c273827fb075ea06e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): src/xep0313.erl:1011-1025 | src/xep0313.erl:1043-1057 | src/xep0313.erl:1075-1089 | src/xep0313.erl:1107-1121 | src/xep0313.erl:1139-1153 | src/xep0313.erl:1171-1185 \u2014 all 6 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/xep0313.erl"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb0496aa14e67d8d56d5523d2785143cc9990771e064d75acd8443d4d2cffde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/xep0060.erl:4576-4590 | src/xep0060.erl:4631-4645 | src/xep0060.erl:4685-4699 | src/xep0060.erl:4739-4753 \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/xep0060.erl"},"region":{"startLine":4576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eef597cb38af26390452f4e93cbce3ca913c571c07b6b93cf42af5e9fa5b27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0138.erl:356-370 | src/xep0138.erl:377-391 \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/xep0138.erl"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee667b9982d9e82654496d2363bafec50e738e51cb0ceeb78c009fe3e5c591f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0004.erl:641-655 | src/xep0004.erl:669-683 \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/xep0004.erl"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9d1c7bb5cd1b262ecc2a8427fdfe35262e1d4cfb85c0197d8de1f2c42ebfae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): src/xep0059.erl:137-151 | src/xep0059.erl:169-183 | src/xep0059.erl:201-215 | src/xep0059.erl:233-247 | src/xep0059.erl:265-279 | src/xep0059.erl:297-311 \u2014 all 6 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/xep0059.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945fc8c06187ddbe6a1f1b913b5b9508ed031fc9905ea96238468e98cf96e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/xep0060.erl:1549-1563 | src/xep0060.erl:1592-1606 | src/xep0060.erl:1635-1649 | src/xep0060.erl:1690-1704 \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/xep0060.erl"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"601c5b76d65bdb2a1f659a149636e18932d3c4fbf4cd2a20e199827872b56d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0054.erl:6910-6924 | src/xep0054.erl:6938-6952 \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/xep0054.erl"},"region":{"startLine":6910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fb74de5a5a6eb1b3d05c044c14d7062ff1c7c6b365535561be94ac0ec3cd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): src/xep0055.erl:118-132 | src/xep0055.erl:150-164 | src/xep0055.erl:182-196 | src/xep0055.erl:214-228 | src/xep0055.erl:246-260 | src/xep0055.erl:279-293 \u2014 all 6 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/xep0055.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1108e6dc1b3e57fbcfe0100fcc8f508b5a6055a0fa20248ed2d4426c9a92281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/xep0260.erl:180-194 | src/xep0260.erl:207-221 \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/xep0260.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"835d8722bcd73d748d60ad49bb4c04be2aac305aff418de6d599c8d5264df95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/xep0045.erl:1431-1445 | src/xep0045.erl:1474-1488 | src/xep0045.erl:1529-1543 | src/xep0045.erl:1561-1575 \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/xep0045.erl"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2851f5190e7b0aa977bc0cb5cfd835747af6d91d832a478a05ffd7ed47443088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 12): src/rfc6120.erl:3053-3066 | src/rfc6120.erl:3075-3089 | src/rfc6120.erl:3098-3112 | src/rfc6120.erl:3121-3135 | src/rfc6120.erl:3144-3158 | src/rfc6120.erl:3167-3181 | src/rfc6120.erl:3190-3204 | src/rfc6120.erl:3213-3227 | src/rfc6120.erl:3236-3250 | src/rfc6120.erl:3259-3272 | src/rfc6120.erl:3281-3294 | src/rfc6120.erl:3303-3317 \u2014 all 12 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/rfc6120.erl"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"561dc1dd72151e0811c222ac2612a483eeead0e4600268eab962eabd9c1a26bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 17): src/xep0166.erl:853-865 | src/xep0166.erl:878-889 | src/xep0166.erl:902-913 | src/xep0166.erl:926-938 | src/xep0166.erl:951-962 | src/xep0166.erl:975-986 | src/xep0166.erl:999-1011 | src/xep0166.erl:1024-1036 | src/xep0166.erl:1049-1060 | src/xep0166.erl:1073-1084 | src/xep0166.erl:1097-1110 | src/xep0166.erl:1123-1134 | src/xep0166.erl:1147-1159 | src/xep0166.erl:1172-1183 | src/xep0166.erl:1196-1207 | src/xep0166.erl:1220-1233 | src/xep0166.erl:1246-1258 \u2014 all 17 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/xep0166.erl"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf355fdf3648a498f7ddcc785cac18e205c057c425b4a0863216dae7ad42a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0065.erl:131-144 | src/xep0065.erl:156-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/xep0065.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e67da42d3353531835fc909942bc8f5860793ae899d97c9f89e8974ba8293a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/xep0022.erl:83-96 | src/xep0022.erl:111-124 | src/xep0022.erl:139-152 \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/xep0022.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd09f3a8b861db255049de5de9ae8bab35ef3a2f5d108601fa52ff9fda3097a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0050.erl:535-547 | src/xep0050.erl:559-572 \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/xep0050.erl"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99f33f68f3bf8435df1c0c11160d0c8c45f27385c0c873d327992fc2cc966c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0016.erl:458-471 | src/xep0016.erl:484-497 \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/xep0016.erl"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67c7b29fd304fea6cd1a199790ea04473f92955af60d7f0fb29c3c787929141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0402.erl:112-125 | src/xep0402.erl:137-150 \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/xep0402.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"157756f5aeafcfe4d8dc77ee8ab3a541d13eeb2453ef9dcf194ffd5fb0fc4a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/xep0004.erl:642-655 | src/xep0004.erl:670-683 | src/xep0004.erl:699-712 \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/xep0004.erl"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a33ce09bf9a79ae3b245b888a4ff3b987e3bc785f92b6cfef678bf8b12e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/xep0060.erl:4577-4590 | src/xep0060.erl:4632-4645 | src/xep0060.erl:4686-4699 | src/xep0060.erl:4740-4753 | src/xep0060.erl:4782-4795 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":4577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35171ab88b18589bfeb35061619dfa62a6bb2d18ecd5872da2ec3c5c3ab9830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/xep0363.erl:767-780 | src/xep0363.erl:787-800 | src/xep0363.erl:807-820 \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/xep0363.erl"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"5181eea2168d6a8090b5a145c644f8fdc9639e26b44f211838804bf283efc530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/xep0004.erl:176-189 | src/xep0004.erl:204-217 | src/xep0004.erl:232-245 \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/xep0004.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8895d8d0886c3dd65df88b04be122ebf07256499688fa68ae168ea419c0984d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 22): src/rfc6120.erl:4187-4199 | src/rfc6120.erl:4211-4224 | src/rfc6120.erl:4236-4248 | src/rfc6120.erl:4260-4272 | src/rfc6120.erl:4284-4297 | src/rfc6120.erl:4309-4321 | src/rfc6120.erl:4333-4345 | src/rfc6120.erl:4357-4369 | src/rfc6120.erl:4381-4393 | src/rfc6120.erl:4405-4417 | src/rfc6120.erl:4429-4442 | src/rfc6120.erl:4454-4467 | src/rfc6120.erl:4479-4492 | src/rfc6120.erl:4504-4516 | src/rfc6120.erl:4528-4541 | src/rfc6120.erl:4553-4566 | src/rfc6120.erl:4578-4591 | src/rfc6120.erl:4603-4616 | src/rfc6120.erl:4628-4641 | src/rfc6120.erl:4653-4666 | src/rfc6120.erl:4678-4691 | src/rfc6120.erl:4703-4716 \u2014 all 22 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/rfc6120.erl"},"region":{"startLine":4187}}}],"partialFingerprints":{"codehealthFindingId/v1":"79eb11a248aebdd463293c51df275559fe67857a49a3c319dff153ff6d16dca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): src/xep0045.erl:1433-1446 | src/xep0045.erl:1476-1489 | src/xep0045.erl:1531-1544 | src/xep0045.erl:1563-1575 | src/xep0045.erl:1594-1607 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0045.erl"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7eba72a19a2d804dd066eb495ea45e05bb03ceba46aab156cecad885374811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): src/xep0388.erl:873-886 | src/xep0388.erl:898-911 | src/xep0388.erl:923-936 | src/xep0388.erl:948-961 | src/xep0388.erl:973-986 | src/xep0388.erl:998-1011 | src/xep0388.erl:1023-1036 | src/xep0388.erl:1048-1061 | src/xep0388.erl:1073-1086 | src/xep0388.erl:1098-1110 | src/xep0388.erl:1122-1135 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0388.erl"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8363b41a318486727f13ff4465567c46f4a7ff818cdb9e528e3081bbf2134ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0055.erl:261-274 | src/xep0055.erl:294-307 \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/xep0055.erl"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdeae4211c67f28c6d3939128471295505c0eb0130dbbb802f7d1e59b12e3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/xep0054.erl:6912-6925 | src/xep0054.erl:6940-6953 | src/xep0054.erl:6968-6981 | src/xep0054.erl:6996-7009 \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/xep0054.erl"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8947fa4698f3c1e035920e6d23298e39b801a2c126af9a7d651f9fcb65eb6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/xep0260.erl:181-194 | src/xep0260.erl:208-221 | src/xep0260.erl:235-248 \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/xep0260.erl"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d6502b61e6a8162d5e0e35cd926c301d2987dd2b6dba5aa4061957183db42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/xep0060.erl:1550-1563 | src/xep0060.erl:1593-1606 | src/xep0060.erl:1636-1649 | src/xep0060.erl:1691-1704 | src/xep0060.erl:1746-1759 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0060.erl"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b76bf6ff5c2d6d6bd7aa338bd22662b5425ab963ecea6ddf42494e60394c417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/xep0054.erl:4496-4509 | src/xep0054.erl:4526-4539 | src/xep0054.erl:4556-4569 | src/xep0054.erl:4586-4599 | src/xep0054.erl:4616-4629 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":4496}}}],"partialFingerprints":{"codehealthFindingId/v1":"503df2b5b814d4efc715ef319b4c3e1866dbad9e98e870bf165c030e11aca67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/xep0260.erl:184-197 | src/xep0260.erl:211-224 | src/xep0260.erl:238-251 | src/xep0260.erl:265-278 \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/xep0260.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf440c673e1b6a746287d990b8a0a5822b50bed49e0905975bb4c793a01d0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0078.erl:116-129 | src/xep0078.erl:142-155 \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/xep0078.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf55918b4b5aed41d39967702d60dde9e8883bd08935a592870a8c3f071d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0313.erl:1154-1167 | src/xep0313.erl:1186-1199 \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/xep0313.erl"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52de918ddcbd3509d5f8a4eb2b1138d43fc7847565d9127d4c472a21e58a5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0055.erl:442-455 | src/xep0055.erl:468-481 \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/xep0055.erl"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb1d35269e69e7412730076b11619c17c56083c7f8d07bcbd5cf2bc06e8eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/xep0004.erl:177-190 | src/xep0004.erl:205-218 | src/xep0004.erl:233-246 | src/xep0004.erl:262-275 \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/xep0004.erl"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de92842a3463d3eff71b66bef6c89b7ddced269ec5174a20fc647bbf81d382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0045.erl:1576-1588 | src/xep0045.erl:1607-1620 \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/xep0045.erl"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f87b148d5fce3eaec8de4592f652f6b9bbb6c673ae29b146b7c9088c5685f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/xep0022.erl:84-97 | src/xep0022.erl:112-125 | src/xep0022.erl:140-153 | src/xep0022.erl:168-181 \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/xep0022.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9908eb7403947e555db77d208af35e1d82cd3d7aa9315b53cc7646214715aa97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/xep0060.erl:1705-1718 | src/xep0060.erl:1760-1773 \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/xep0060.erl"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea7adb6571cd48e0c855d854e03b612fd7f3fbd6a92c98e87c45e95fc893daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0369.erl:240-252 | src/xep0369.erl:282-294 \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/xep0369.erl"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc5e55a824a5113b6cf3347630fd860438da117c05fa332361e06c06eed5299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0417.erl:427-439 | src/xep0417.erl:451-463 \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/xep0417.erl"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaa9182cf28c89ffac24782fbfaa9cda5df952b350953753a586999b8fcac5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0013.erl:99-111 | src/xep0013.erl:123-135 \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/xep0013.erl"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7dba719815751c7606d466eda7ccd9e488e7d70a4ea43eb5837d95781e544d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0092.erl:75-87 | src/xep0092.erl:99-111 \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/xep0092.erl"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5291dd77a8c9c5a65a1ab98235da8edad683a801c2ecc9012e73aebc64e2551d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0045.erl:1774-1786 | src/xep0045.erl:1798-1810 \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/xep0045.erl"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d2ef7e56c2daefe028ee970ffefdaf0cc21b4eb2a00b1c5e495b59e69525de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/rfc6120.erl:6133-6145 | src/rfc6120.erl:6179-6191 \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/rfc6120.erl"},"region":{"startLine":6133}}}],"partialFingerprints":{"codehealthFindingId/v1":"da08eed51d44db2b2bb974d9c1ce16c97c426a951dc0cc8d02e50e7999444a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0054.erl:3873-3885 | src/xep0054.erl:3897-3909 \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/xep0054.erl"},"region":{"startLine":3873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0678be16ab35a6e46c875ab99a4b9f4e56b45c7347817ba6d0731c3be3b51334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/xep0016.erl:459-471 | src/xep0016.erl:485-497 | src/xep0016.erl:511-523 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0016.erl"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2911957be2f6da27ba0ab0dadb0a8168b9540e5db1723dc4689220308fcc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0045.erl:1236-1248 | src/xep0045.erl:1260-1272 \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/xep0045.erl"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ac3dbabbf3e702cf2297c7ec2b7afa447b969f8b60ed5cd662101b80f928e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0045.erl:644-656 | src/xep0045.erl:668-680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0045.erl"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ee986c218ce1d16de0388d92651a7930cee153592dd8789751f87efd6ea54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 23): src/rfc6120.erl:4168-4179 | src/rfc6120.erl:4192-4203 | src/rfc6120.erl:4216-4228 | src/rfc6120.erl:4241-4252 | src/rfc6120.erl:4265-4276 | src/rfc6120.erl:4289-4301 | src/rfc6120.erl:4314-4325 | src/rfc6120.erl:4338-4349 | src/rfc6120.erl:4362-4373 | src/rfc6120.erl:4386-4397 | src/rfc6120.erl:4410-4421 | src/rfc6120.erl:4434-4446 | src/rfc6120.erl:4459-4471 | src/rfc6120.erl:4484-4496 | src/rfc6120.erl:4509-4520 | src/rfc6120.erl:4533-4545 | src/rfc6120.erl:4558-4570 | src/rfc6120.erl:4583-4595 | src/rfc6120.erl:4608-4620 | src/rfc6120.erl:4633-4645 | src/rfc6120.erl:4658-4670 | src/rfc6120.erl:4683-4695 | src/rfc6120.erl:4708-4720 \u2014 all 23 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/rfc6120.erl"},"region":{"startLine":4168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8693bcd6265a3d818e170e3fe992e3231fbc2ea724554f3838fce08fc567023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/rfc6120.erl:5515-5527 | src/rfc6120.erl:5564-5576 \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/rfc6120.erl"},"region":{"startLine":5515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84b1ee3b3f49c1060d1b2e525857fa85be012fcf2e5b6ce053f6259c1dabcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/xep0055.erl:447-459 | src/xep0055.erl:473-485 | src/xep0055.erl:499-511 \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/xep0055.erl"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"99459f232ee17f1e24b643779e0477f335ed3d081cc72974bca5633e2ea905c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0050.erl:152-164 | src/xep0050.erl:176-188 \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/xep0050.erl"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b326a5258d66c2dfea1b4a716cf98649b77929169cfa631ac7d1aec771b91f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0363.erl:1243-1255 | src/xep0363.erl:1278-1290 \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/xep0363.erl"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a651bbd60406d1e0c9c8aadb57800ab857b152d0d933f4fadd20eb6723f3d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0045.erl:941-953 | src/xep0045.erl:965-977 \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/xep0045.erl"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f11fcc7fb90a84e5be6473ca117f13e9660915d1aaa7c4d85ebfe0e771ba42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0016.erl:148-160 | src/xep0016.erl:172-184 \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/xep0016.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"481668e3fd53bbab075ce4ba9a2a4ebaeaa6c69f084fce92719a763edd7e50b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11): src/muc_roomconfig.erl:790-801 | src/muc_roomconfig.erl:1376-1388 | src/muc_roomconfig.erl:1486-1498 | src/muc_roominfo.erl:454-466 | src/pubsub_meta_data.erl:289-300 | src/pubsub_meta_data.erl:481-492 | src/pubsub_meta_data.erl:508-519 | src/pubsub_node_config.erl:545-557 | src/pubsub_node_config.erl:638-649 | src/pubsub_publish_options.erl:547-559 | src/pubsub_publish_options.erl:640-651 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9f28f664197624704da641448a217b5ca5e9a32d30a2d6ab35010b555a6f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/xep0078.erl:121-133 | src/xep0078.erl:147-159 | src/xep0078.erl:173-185 \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/xep0078.erl"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7b1c1e009c6d148f7501e8609959febfc58506c6b62f200c19b7380451db74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0054.erl:4600-4612 | src/xep0054.erl:4630-4642 \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/xep0054.erl"},"region":{"startLine":4600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f08163193586a1f75a017392599cda5c6c0cfd73b515fb887e5e0f050806a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0054.erl:4236-4248 | src/xep0054.erl:4260-4272 \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/xep0054.erl"},"region":{"startLine":4236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4721152b2c2374982df948816d8c116370c0945d962c4abc61f934a6084fdc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0054.erl:4102-4114 | src/xep0054.erl:4126-4138 \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/xep0054.erl"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb199a2f9b09e24ea790140b4e40bbcea3558323b735f88bef3176dc318e0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): src/xep0388.erl:851-862 | src/xep0388.erl:875-887 | src/xep0388.erl:900-912 | src/xep0388.erl:925-937 | src/xep0388.erl:950-962 | src/xep0388.erl:975-987 | src/xep0388.erl:1000-1012 | src/xep0388.erl:1025-1037 | src/xep0388.erl:1050-1062 | src/xep0388.erl:1075-1087 | src/xep0388.erl:1100-1111 | src/xep0388.erl:1124-1136 \u2014 all 12 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/xep0388.erl"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b881ada72eeeae08f1910dc43c79b59577726e8ae034912ebeb55576fb7fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0388.erl:628-640 | src/xep0388.erl:654-666 \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/xep0388.erl"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f877053db19271b9f150951e596529d55dd174c0e23f5b71c0a673d25a4bff47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/xep0030.erl:332-344 | src/xep0030.erl:357-369 \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/xep0030.erl"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5eac87aa8bd310e68dc62433468af11ac86407b8d8d14ee9c4e4c7319cd0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/xep0060.erl:1650-1662 | src/xep0060.erl:1705-1717 | src/xep0060.erl:1760-1772 \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/xep0060.erl"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b546547e6dfa4134571e0d665ad8db5b5ca783b4ac1ca8d2e5b3629aea30d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/xep0313.erl:1122-1134 | src/xep0313.erl:1154-1166 | src/xep0313.erl:1186-1198 \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/xep0313.erl"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85bb6118a2da488f2f5c5b825ad18cf1ea0c6a38c5906548c194d5429e43735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): src/xep0234.erl:671-683 | src/xep0234.erl:706-718 | src/xep0234.erl:741-753 | src/xep0234.erl:776-788 | src/xep0234.erl:811-823 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0234.erl"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471a2429758d4295beb44347d6497ecaf54d6b07970464020a518f175d6256d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_roomconfig.erl:811-821 | src/muc_roominfo.erl:368-379 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"778e7849c96358025c53aefe4d2860cf54c6bf1398753386c762893fafea2077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/xep0054.erl:4570-4581 | src/xep0054.erl:4600-4611 | src/xep0054.erl:4630-4641 \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/xep0054.erl"},"region":{"startLine":4570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c0a9d981c1c2ff277fbbcf1d5a5c4b9d781f833dbbcfdf57a3f8321ac75ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/muc_roominfo.erl:479-490 | src/pubsub_meta_data.erl:376-386 | src/pubsub_node_config.erl:773-783 | src/pubsub_publish_options.erl:775-785 \u2014 before extracting anything, compare \u0060src/muc_roominfo.erl\u0060 and \u0060src/pubsub_meta_data.erl\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 143 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/muc_roominfo.erl"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91943119401dc8094e83db558f91259243a4aa155fdf9da5044c78b6180573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): src/xep0260.erl:163-174 | src/xep0260.erl:191-202 | src/xep0260.erl:218-229 | src/xep0260.erl:245-256 | src/xep0260.erl:272-283 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0260.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7506ca6626dc6b6c1d7bcf5cddfd038fba59078f28c6198d98ce34c944d3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/xep0060.erl:1607-1618 | src/xep0060.erl:1650-1661 | src/xep0060.erl:1705-1716 | src/xep0060.erl:1760-1771 \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/xep0060.erl"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5919766f381e3348f6f12dd423b802b765e6f65cad13e2223c190f1b7df34a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/xep0388.erl:611-622 | src/xep0388.erl:638-648 | src/xep0388.erl:664-674 \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/xep0388.erl"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ff9afa3e7806b2bec698944dc9668e5d9a57a343ea1a32f19228bb19c56197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/xep0054.erl:3626-3637 | src/xep0054.erl:3643-3654 \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/xep0054.erl"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3311baeca909bc0d75a2ceaab17ffec0663f97832f1b812412e38d5811975cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 160): src/captcha_form.erl:284-293 | src/captcha_form.erl:314-323 | src/captcha_form.erl:344-353 | src/captcha_form.erl:374-382 | src/captcha_form.erl:403-411 | src/captcha_form.erl:432-441 | src/captcha_form.erl:462-471 | src/captcha_form.erl:492-499 | src/captcha_form.erl:520-529 | src/captcha_form.erl:550-558 | src/captcha_form.erl:579-588 | src/captcha_form.erl:609-618 | src/captcha_form.erl:639-648 | src/captcha_form.erl:669-678 | src/captcha_form.erl:701-712 | src/captcha_form.erl:736-747 | src/flex_offline.erl:221-230 | src/http_upload.erl:223-232 | src/mam_query.erl:223-231 | src/mam_query.erl:252-261 | src/mam_query.erl:282-290 | src/mam_query.erl:311-320 | src/muc_register.erl:250-259 | src/muc_register.erl:281-290 | src/muc_register.erl:328-337 | src/muc_register.erl:359-368 | src/muc_register.erl:392-403 | src/muc_register.erl:425-434 | src/muc_request.erl:240-249 | src/muc_request.erl:270-279 | src/muc_request.erl:300-309 | src/muc_request.erl:330-339 | src/muc_roomconfig.erl:439-449 | src/muc_roomconfig.erl:475-486 | src/muc_roomconfig.erl:512-523 | src/muc_roomconfig.erl:552-563 | src/muc_roomconfig.erl:589-600 | src/muc_roomconfig.erl:626-637 | src/muc_roomconfig.erl:663-674 | src/muc_roomconfig.erl:696-705 | src/muc_roomconfig.erl:732-743 | src/muc_roomconfig.erl:767-776 | src/muc_roomconfig.erl:825-834 | src/muc_roomconfig.erl:861-872 | src/muc_roomconfig.erl:901-912 | src/muc_roomconfig.erl:941-952 | src/muc_roomconfig.erl:995-1005 | src/muc_roomconfig.erl:1029-1040 | src/muc_roomconfig.erl:1066-1077 | src/muc_roomconfig.erl:1106-1117 | src/muc_roomconfig.erl:1146-1157 | src/muc_roomconfig.erl:1181-1190 | src/muc_roomconfig.erl:1217-1228 | src/muc_roomconfig.erl:1257-1268 | src/muc_roomconfig.erl:1317-1328 | src/muc_roomconfig.erl:1352-1361 | src/muc_roomconfig.erl:1418-1429 | src/muc_roomconfig.erl:1457-1468 | src/muc_roomconfig.erl:1528-1539 | src/muc_roomconfig.erl:1565-1576 | src/muc_roomconfig.erl:1598-1606 | src/muc_roomconfig.erl:1627-1636 | src/muc_roominfo.erl:309-319 | src/muc_roominfo.erl:346-357 | src/muc_roominfo.erl:386-397 | src/muc_roominfo.erl:425-436 | src/muc_roominfo.erl:496-507 | src/muc_roominfo.erl:531-540 | src/muc_roominfo.erl:564-575 | src/muc_roominfo.erl:599-608 | src/muc_roominfo.erl:634-645 | src/muc_roominfo.erl:671-682 | src/muc_roominfo.erl:708-719 | src/muc_roominfo.erl:745-756 | src/muc_roominfo.erl:784-795 | src/muc_roominfo.erl:819-829 | src/muc_roominfo.erl:856-867 | src/muc_roominfo.erl:909-918 | src/pubsub_get_pending.erl:229-238 | src/pubsub_meta_data.erl:326-337 | src/pubsub_meta_data.erl:359-368 | src/pubsub_meta_data.erl:390-399 | src/pubsub_meta_data.erl:421-430 | src/pubsub_meta_data.erl:454-465 | src/pubsub_meta_data.erl:543-552 | src/pubsub_meta_data.erl:573-582 | src/pubsub_meta_data.erl:603-612 | src/pubsub_meta_data.erl:636-646 | src/pubsub_meta_data.erl:670-681 | src/pubsub_node_config.erl:448-458 | src/pubsub_node_config.erl:480-489 | src/pubsub_node_config.erl:516-527 | src/pubsub_node_config.erl:599-609 | src/pubsub_node_config.erl:675-686 | src/pubsub_node_config.erl:713-724 | src/pubsub_node_config.erl:752-763 | src/pubsub_node_config.erl:787-796 | src/pubsub_node_config.erl:818-827 | src/pubsub_node_config.erl:849-858 | src/pubsub_node_config.erl:880-889 | src/pubsub_node_config.erl:911-920 | src/pubsub_node_config.erl:946-957 | src/pubsub_node_config.erl:981-990 | src/pubsub_node_config.erl:1016-1027 | src/pubsub_node_config.erl:1053-1064 | src/pubsub_node_config.erl:1088-1099 | src/pubsub_node_config.erl:1123-1134 | src/pubsub_node_config.erl:1156-1165 | src/pubsub_node_config.erl:1189-1200 | src/pubsub_node_config.erl:1227-1238 | src/pubsub_node_config.erl:1264-1275 | src/pubsub_node_config.erl:1299-1310 | src/pubsub_node_config.erl:1358-1369 | src/pubsub_node_config.erl:1393-1402 | src/pubsub_node_config.erl:1424-1433 | src/pubsub_node_config.erl:1455-1464 | src/pubsub_node_config.erl:1485-1494 | src/pubsub_publish_options.erl:450-460 | src/pubsub_publish_options.erl:482-491 | src/pubsub_publish_options.erl:518-529 | src/pubsub_publish_options.erl:601-611 | src/pubsub_publish_options.erl:677-688 | src/pubsub_publish_options.erl:715-726 | src/pubsub_publish_options.erl:754-765 | src/pubsub_publish_options.erl:789-798 | src/pubsub_publish_options.erl:820-829 | src/pubsub_publish_options.erl:851-860 | src/pubsub_publish_options.erl:882-891 | src/pubsub_publish_options.erl:913-922 | src/pubsub_publish_options.erl:948-959 | src/pubsub_publish_options.erl:983-992 | src/pubsub_publish_options.erl:1018-1029 | src/pubsub_publish_options.erl:1055-1066 | src/pubsub_publish_options.erl:1090-1101 | src/pubsub_publish_options.erl:1125-1136 | src/pubsub_publish_options.erl:1158-1167 | src/pubsub_publish_options.erl:1191-1202 | src/pubsub_publish_options.erl:1229-1240 | src/pubsub_publish_options.erl:1266-1277 | src/pubsub_publish_options.erl:1301-1312 | src/pubsub_publish_options.erl:1360-1371 | src/pubsub_publish_options.erl:1395-1404 | src/pubsub_publish_options.erl:1426-1435 | src/pubsub_publish_options.erl:1457-1466 | src/pubsub_publish_options.erl:1487-1496 | src/pubsub_subscribe_authorization.erl:246-255 | src/pubsub_subscribe_authorization.erl:276-285 | src/pubsub_subscribe_authorization.erl:308-319 | src/pubsub_subscribe_authorization.erl:341-350 | src/pubsub_subscribe_options.erl:280-289 | src/pubsub_subscribe_options.erl:311-320 | src/pubsub_subscribe_options.erl:345-356 | src/pubsub_subscribe_options.erl:380-389 | src/pubsub_subscribe_options.erl:410-420 | src/pubsub_subscribe_options.erl:463-474 | src/pubsub_subscribe_options.erl:502-513 | src/push_summary.erl:235-244 | src/push_summary.erl:270-281 | src/push_summary.erl:305-315 | src/push_summary.erl:337-346 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/flex_offline.erl\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 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/captcha_form.erl"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"738bdcd87f379de3a7470d3b6912ffd8643438f3ad5e0731a7d738e7886947c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/xep0059.erl:216-227 | src/xep0059.erl:248-259 | src/xep0059.erl:280-291 | src/xep0059.erl:312-323 \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/xep0059.erl"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6666dc505bccc8e3b577bce25de1b1832fc6a26f58203eab55ddf17d704faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_register.erl:235-245 | src/pubsub_subscribe_authorization.erl:231-241 \u2014 before extracting anything, compare \u0060src/muc_register.erl\u0060 and \u0060src/pubsub_subscribe_authorization.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 103 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/muc_register.erl"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ebbe42a214f6b988ed9bc29c5f46d5866bbed9572996f68395590dad4f3df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_roomconfig.erl:1013-1023 | src/muc_roominfo.erl:804-814 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"239d2ee5ca51ca8559cb687ce2bb5e38dcf0da1bf8b3fb9db599a5e2bf304792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_register.erl:377-387 | src/muc_request.erl:286-296 \u2014 before extracting anything, compare \u0060src/muc_register.erl\u0060 and \u0060src/muc_request.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 103 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/muc_register.erl"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d2cab4972ca70bf2fce40125c9bdada5235888cefe84257bb10d0177117b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/rfc6120.erl:5479-5489 | src/rfc6120.erl:5525-5535 | src/rfc6120.erl:5574-5584 \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/rfc6120.erl"},"region":{"startLine":5479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89238bf8e7d977f90a0cf57359f8cfb5660fea3c39950dffd8c111ad915bd28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/xep0016.erl:443-453 | src/xep0016.erl:469-479 | src/xep0016.erl:495-505 | src/xep0016.erl:521-531 \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/xep0016.erl"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d2431a07049719c58224740b071d6fb75bcd5ccc8dadeb75157f4748a1689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/xep0054.erl:4540-4550 | src/xep0054.erl:4570-4580 | src/xep0054.erl:4600-4610 | src/xep0054.erl:4630-4640 \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/xep0054.erl"},"region":{"startLine":4540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7908f32e4608853ab02a96e847b78641c35689084d5e1f2b8720ccb3d5b22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/xep0055.erl:427-437 | src/xep0055.erl:453-463 | src/xep0055.erl:479-489 | src/xep0055.erl:505-515 \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/xep0055.erl"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcd91541758141e94ce8af89ec5f312bd7d6138134a8bbfb5a389ddccfc9bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): src/xep0054.erl:5707-5717 | src/xep0054.erl:5741-5751 | src/xep0054.erl:5775-5785 | src/xep0054.erl:5809-5819 | src/xep0054.erl:5843-5853 | src/xep0054.erl:5877-5887 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":5707}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d4ce20269f9d4a896b33ff05f92b80117452e142dbfb61331a079ed18df4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/xep0078.erl:101-111 | src/xep0078.erl:127-137 | src/xep0078.erl:153-163 | src/xep0078.erl:179-189 \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/xep0078.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b8e08a920d2c662a6bdc29b3e900e91cafd5181ac0ead3dd8a36cf90831f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/muc_roomconfig.erl:980-990 | src/muc_roominfo.erl:516-526 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c2f530429580a6d3c76503d937d6cc58b66757e4d9b47d255d370d22c44a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/xep0059.erl:184-194 | src/xep0059.erl:216-226 | src/xep0059.erl:248-258 | src/xep0059.erl:280-290 | src/xep0059.erl:312-322 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0059.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3475faf94b7227b644ffe9bfa1893a37fc422138e2ccedeb4c135a6a014218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/rfc6120.erl:6095-6105 | src/rfc6120.erl:6144-6154 | src/rfc6120.erl:6190-6200 \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/rfc6120.erl"},"region":{"startLine":6095}}}],"partialFingerprints":{"codehealthFindingId/v1":"53074fd1db7d887bb354c206c0a4398edcbb0fa2157524d10c88662bb6240966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/xep0054.erl:4479-4488 | src/xep0054.erl:4509-4518 | src/xep0054.erl:4539-4548 | src/xep0054.erl:4569-4578 | src/xep0054.erl:4599-4608 | src/xep0054.erl:4629-4638 \u2014 all 6 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/xep0054.erl"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"11405f2cd72a167a116e807931d55a4369cb9a8977ef25efeb44b56dc1fc5caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 51): src/muc_register.erl:456-464 | src/muc_request.erl:412-419 | src/muc_roomconfig.erl:1708-1716 | src/muc_roomconfig.erl:1759-1767 | src/muc_roomconfig.erl:1778-1786 | src/muc_roomconfig.erl:1794-1802 | src/muc_roomconfig.erl:1810-1816 | src/muc_roomconfig.erl:1844-1851 | src/muc_roomconfig.erl:1875-1883 | src/muc_roomconfig.erl:1891-1898 | src/muc_roomconfig.erl:1906-1914 | src/muc_roomconfig.erl:1922-1928 | src/muc_roomconfig.erl:2026-2032 | src/muc_roomconfig.erl:2040-2046 | src/muc_roomconfig.erl:2054-2061 | src/muc_roomconfig.erl:2070-2078 | src/muc_roomconfig.erl:2086-2092 | src/muc_roomconfig.erl:2132-2139 | src/muc_roomconfig.erl:2147-2154 | src/muc_roomconfig.erl:2260-2267 | src/muc_roomconfig.erl:2275-2281 | src/muc_roominfo.erl:957-965 | src/muc_roominfo.erl:973-982 | src/muc_roominfo.erl:1149-1157 | src/muc_roominfo.erl:1200-1208 | src/pubsub_node_config.erl:1734-1741 | src/pubsub_node_config.erl:1749-1757 | src/pubsub_node_config.erl:1949-1957 | src/pubsub_node_config.erl:1966-1974 | src/pubsub_node_config.erl:1983-1991 | src/pubsub_node_config.erl:2000-2008 | src/pubsub_node_config.erl:2017-2024 | src/pubsub_node_config.erl:2034-2042 | src/pubsub_node_config.erl:2084-2092 | src/pubsub_node_config.erl:2161-2169 | src/pubsub_node_config.erl:2178-2185 | src/pubsub_publish_options.erl:1736-1743 | src/pubsub_publish_options.erl:1751-1759 | src/pubsub_publish_options.erl:1951-1959 | src/pubsub_publish_options.erl:1968-1976 | src/pubsub_publish_options.erl:1985-1993 | src/pubsub_publish_options.erl:2002-2010 | src/pubsub_publish_options.erl:2019-2026 | src/pubsub_publish_options.erl:2036-2044 | src/pubsub_publish_options.erl:2086-2094 | src/pubsub_publish_options.erl:2163-2171 | src/pubsub_publish_options.erl:2180-2187 | src/pubsub_subscribe_authorization.erl:371-379 | src/pubsub_subscribe_options.erl:537-545 | src/pubsub_subscribe_options.erl:554-562 | src/pubsub_subscribe_options.erl:606-614 \u2014 before extracting anything, compare \u0060src/muc_register.erl\u0060 and \u0060src/muc_request.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 103 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/muc_register.erl"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a88106175e0c63a2beabf32469d6613f6af836a202c4b1cac626644660ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/xep0004.erl:626-635 | src/xep0004.erl:654-663 | src/xep0004.erl:682-691 | src/xep0004.erl:711-720 \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/xep0004.erl"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7158bec985f7a8094eeb4037938623c323b907ebf0f3304927d1b6c2f08dbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): src/mam_query.erl:354-361 | src/mam_query.erl:368-375 | src/muc_roomconfig.erl:1958-1967 | src/muc_roomconfig.erl:1974-1983 | src/muc_roominfo.erl:1052-1061 | src/muc_roominfo.erl:1182-1191 \u2014 before extracting anything, compare \u0060src/mam_query.erl\u0060 and \u0060src/muc_roomconfig.erl\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 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/mam_query.erl"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b416210e0d9bcd8c75c439bdcb92e7e0bad0e5b3ac7ab9aea4137f6602b1e141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/xep0022.erl:67-76 | src/xep0022.erl:95-104 | src/xep0022.erl:123-132 | src/xep0022.erl:151-160 | src/xep0022.erl:179-188 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0022.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ec21e8109ffb7143d3ceb67d78e9cf0cf6fd952e80f327dc34b9ed706fc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/xep0004.erl:159-168 | src/xep0004.erl:188-197 | src/xep0004.erl:216-225 | src/xep0004.erl:244-253 | src/xep0004.erl:273-282 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0004.erl"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"784274726d9eeb975c378f8955582a365f6172f04c023c53ae364286b6a28431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): src/xep0054.erl:5673-5682 | src/xep0054.erl:5707-5716 | src/xep0054.erl:5741-5750 | src/xep0054.erl:5775-5784 | src/xep0054.erl:5809-5818 | src/xep0054.erl:5843-5852 | src/xep0054.erl:5877-5886 \u2014 all 7 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/xep0054.erl"},"region":{"startLine":5673}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4d252635d62a99abb1bf378374dadad5cf4d6335b3b1a23f6fff31aaa3a182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): src/muc_register.erl:486-493 | src/muc_roominfo.erl:1215-1224 | src/pubsub_node_config.erl:1642-1651 | src/pubsub_node_config.erl:1678-1687 | src/pubsub_publish_options.erl:1644-1653 | src/pubsub_publish_options.erl:1680-1689 \u2014 before extracting anything, compare \u0060src/muc_register.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 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/muc_register.erl"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e646632a284a8bc0916df6c076aa3e697c8eb25102bdcc8de5221434252b4aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/xep0363.erl:555-564 | src/xep0417.erl:294-303 \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/xep0363.erl"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b7d721546f785c5f19fcf07079bc632392a4bf31bb15a4d79e785c8508601a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/xep0059.erl:152-161 | src/xep0059.erl:184-193 | src/xep0059.erl:216-225 | src/xep0059.erl:248-257 | src/xep0059.erl:280-289 | src/xep0059.erl:312-321 \u2014 all 6 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/xep0059.erl"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b55649fd13c7002b00d30a698df68a4cbcc6273bca8371b750499ab826c44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): src/xep0059.erl:119-128 | src/xep0059.erl:151-160 | src/xep0059.erl:183-192 | src/xep0059.erl:215-224 | src/xep0059.erl:247-256 | src/xep0059.erl:279-288 | src/xep0059.erl:311-320 \u2014 all 7 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/xep0059.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb1c4fe61b2157358345e1cd9cf06a8c683cdaa6c118d78142b1a75f462f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/xep0054.erl:6895-6904 | src/xep0054.erl:6923-6932 | src/xep0054.erl:6951-6960 | src/xep0054.erl:6979-6988 | src/xep0054.erl:7007-7016 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xep0054.erl"},"region":{"startLine":6895}}}],"partialFingerprints":{"codehealthFindingId/v1":"12770ddd90724b19c58091f4193a58586714a917454bed4e61c6b8d8afdfc9c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): src/flex_offline.erl:252-260 | src/http_upload.erl:253-260 | src/muc_roomconfig.erl:1825-1834 | src/muc_roominfo.erl:939-947 | src/muc_roominfo.erl:1119-1126 | src/pubsub_meta_data.erl:787-795 | src/pubsub_node_config.erl:1871-1879 | src/pubsub_publish_options.erl:1873-1881 | src/push_summary.erl:368-376 | src/push_summary.erl:387-396 \u2014 before extracting anything, compare \u0060src/flex_offline.erl\u0060 and \u0060src/http_upload.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 83 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/flex_offline.erl"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d47abc438a5d9f7c28e7a77b890cd69c31eec692ca90b076601c4cd3bd6fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/mam_query.erl:340-347 | src/muc_request.erl:383-390 | src/pubsub_meta_data.erl:735-743 | src/pubsub_subscribe_authorization.erl:401-408 | src/push_summary.erl:406-414 \u2014 before extracting anything, compare \u0060src/mam_query.erl\u0060 and \u0060src/muc_request.erl\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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/mam_query.erl"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea28c22ac277d62d526e8f78e676cbdca6326d01599a0ee36db4d5f675eae4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): src/muc_roomconfig.erl:1860-1867 | src/muc_roomconfig.erl:2163-2169 | src/muc_roomconfig.erl:2206-2212 | src/muc_roominfo.erl:1023-1030 | src/pubsub_meta_data.erl:704-711 | src/pubsub_meta_data.erl:805-812 | src/pubsub_meta_data.erl:822-829 | src/pubsub_node_config.erl:1626-1634 | src/pubsub_node_config.erl:1697-1704 | src/pubsub_publish_options.erl:1628-1636 | src/pubsub_publish_options.erl:1699-1706 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/muc_roominfo.erl\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 448 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/muc_roomconfig.erl"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e2dc2b85e94ebebadb5d3983ee3fcbace066afcbbc5eaf55fc0c630922136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 46): src/captcha_form.erl:784-791 | src/captcha_form.erl:830-836 | src/captcha_form.erl:844-852 | src/captcha_form.erl:860-867 | src/captcha_form.erl:875-881 | src/captcha_form.erl:889-897 | src/captcha_form.erl:919-926 | src/captcha_form.erl:934-941 | src/captcha_form.erl:949-956 | src/captcha_form.erl:964-971 | src/captcha_form.erl:994-1000 | src/mam_query.erl:383-390 | src/muc_register.erl:473-479 | src/muc_register.erl:501-507 | src/muc_register.erl:515-521 | src/muc_register.erl:529-535 | src/muc_register.erl:543-549 | src/muc_request.erl:398-404 | src/muc_roomconfig.erl:1657-1665 | src/muc_roomconfig.erl:2177-2183 | src/muc_roomconfig.erl:2191-2197 | src/muc_roominfo.erl:1039-1045 | src/muc_roominfo.erl:1069-1077 | src/muc_roominfo.erl:1089-1097 | src/muc_roominfo.erl:1105-1112 | src/muc_roominfo.erl:1134-1141 | src/muc_roominfo.erl:1166-1174 | src/muc_roominfo.erl:1233-1241 | src/pubsub_meta_data.erl:751-758 | src/pubsub_meta_data.erl:838-844 | src/pubsub_meta_data.erl:852-860 | src/pubsub_node_config.erl:1561-1569 | src/pubsub_node_config.erl:1712-1720 | src/pubsub_node_config.erl:1765-1772 | src/pubsub_node_config.erl:2193-2200 | src/pubsub_node_config.erl:2208-2216 | src/pubsub_publish_options.erl:1563-1571 | src/pubsub_publish_options.erl:1714-1722 | src/pubsub_publish_options.erl:1767-1774 | src/pubsub_publish_options.erl:2195-2202 | src/pubsub_publish_options.erl:2210-2218 | src/pubsub_subscribe_authorization.erl:388-394 | src/pubsub_subscribe_authorization.erl:416-424 | src/pubsub_subscribe_options.erl:572-580 | src/pubsub_subscribe_options.erl:589-597 | src/push_summary.erl:423-431 \u2014 before extracting anything, compare \u0060src/captcha_form.erl\u0060 and \u0060src/mam_query.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 82 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/captcha_form.erl"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce8bda78e941c6a2dbb320725e39cb31d9865a2038ac6c47511232a4a702f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 21): src/muc_request.erl:371-376 | src/muc_roomconfig.erl:1691-1698 | src/muc_roomconfig.erl:1743-1751 | src/muc_roomconfig.erl:2246-2252 | src/muc_roominfo.erl:1007-1014 | src/pubsub_meta_data.erl:916-921 | src/pubsub_meta_data.erl:948-953 | src/pubsub_node_config.erl:1547-1553 | src/pubsub_node_config.erl:1606-1614 | src/pubsub_node_config.erl:1816-1823 | src/pubsub_node_config.erl:1902-1909 | src/pubsub_node_config.erl:1935-1941 | src/pubsub_node_config.erl:2070-2076 | src/pubsub_node_config.erl:2145-2153 | src/pubsub_publish_options.erl:1549-1555 | src/pubsub_publish_options.erl:1608-1616 | src/pubsub_publish_options.erl:1818-1825 | src/pubsub_publish_options.erl:1904-1911 | src/pubsub_publish_options.erl:1937-1943 | src/pubsub_publish_options.erl:2072-2078 | src/pubsub_publish_options.erl:2147-2155 \u2014 before extracting anything, compare \u0060src/muc_request.erl\u0060 and \u0060src/muc_roomconfig.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 109 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/muc_request.erl"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcfab18d8b17c08cea1bb7ecd134dad39889bcc5c86c0eaa9e825074f1e2bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): src/xep0054.erl:5639-5647 | src/xep0054.erl:5673-5681 | src/xep0054.erl:5707-5715 | src/xep0054.erl:5741-5749 | src/xep0054.erl:5775-5783 | src/xep0054.erl:5809-5817 | src/xep0054.erl:5843-5851 | src/xep0054.erl:5877-5885 \u2014 all 8 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/xep0054.erl"},"region":{"startLine":5639}}}],"partialFingerprints":{"codehealthFindingId/v1":"4478d64a66c9bc6ff7d24297f0c8a1b250f42d0c44a2dde496bb5c83a9f82e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/muc_roomconfig.erl:2116-2124 | src/pubsub_subscribe_options.erl:652-659 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/pubsub_subscribe_options.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 118 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/muc_roomconfig.erl"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acf5cd4be1548c0ac7cadb49efc802dccc41ecfbebb0df9aaf4c9a1890eb562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/muc_roomconfig.erl:2100-2107 | src/pubsub_subscribe_options.erl:624-632 \u2014 before extracting anything, compare \u0060src/muc_roomconfig.erl\u0060 and \u0060src/pubsub_subscribe_options.erl\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 118 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/muc_roomconfig.erl"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9260020cbafc77ff045b477c55b2104238717bb22e8eab39bcee7720b6e5b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 23): src/muc_request.erl:369-375 | src/muc_roomconfig.erl:1689-1695 | src/muc_roomconfig.erl:1741-1748 | src/muc_roomconfig.erl:2244-2250 | src/muc_roominfo.erl:1005-1011 | src/pubsub_meta_data.erl:914-920 | src/pubsub_meta_data.erl:946-952 | src/pubsub_node_config.erl:1545-1551 | src/pubsub_node_config.erl:1604-1611 | src/pubsub_node_config.erl:1814-1820 | src/pubsub_node_config.erl:1900-1906 | src/pubsub_node_config.erl:1933-1939 | src/pubsub_node_config.erl:2068-2074 | src/pubsub_node_config.erl:2143-2150 | src/pubsub_publish_options.erl:1547-1553 | src/pubsub_publish_options.erl:1606-1613 | src/pubsub_publish_options.erl:1816-1822 | src/pubsub_publish_options.erl:1902-1908 | src/pubsub_publish_options.erl:1935-1941 | src/pubsub_publish_options.erl:2070-2076 | src/pubsub_publish_options.erl:2145-2152 | src/pubsub_subscribe_options.erl:683-689 | src/pubsub_subscribe_options.erl:715-721 \u2014 before extracting anything, compare \u0060src/muc_request.erl\u0060 and \u0060src/muc_roomconfig.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 109 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/muc_request.erl"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"57378ea41bf2df462e2654faf232e1a8103c566364ccbd0d430ecfe12d00b309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/captcha_form.erl:798-805 | src/captcha_form.erl:905-911 \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/captcha_form.erl"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"434e93cf11bae1e6c895f36e834d3c381212dddd02e92fea86105a2275d3a88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/xmpp_stream_in.erl:273-278 | src/xmpp_stream_out.erl:281-286 \u2014 before extracting anything, compare \u0060src/xmpp_stream_in.erl\u0060 and \u0060src/xmpp_stream_out.erl\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 192 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/xmpp_stream_in.erl"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f5f023e5caddc84e9f6f249acd780828c3240c79925c02fdc9efed470b376"}},{"ruleId":"D12","level":"warning","message":{"text":"No dependency lockfile committed (rebar.config): rebar.config declares 6 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":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: src/xmpp_stream_in.erl, src/xmpp_socket.erl, src/xmpp_sasl_digest.erl, src/xmpp_sasl.erl. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c737801af169091e6f743ce2e7ec6ac95e7c8ee6e34bba78e3448f7f5e56ecc4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: src/muc_roominfo.erl, src/mam_query.erl, src/xep0184.erl. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d925cdb8366becf6e996ac3d82caab4522cccb849cd927ddc7ed68f14ed7f1ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: return atomic 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/xmpp_stream_pkix.erl"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a248ac9ca1d5cddc9c25c9776a6c2ad236d261197653438bc8ec725cd13a9f81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: make fast_tls return atoms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/xmpp_stream_out.erl"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2222e90dde1a7e9bf15a18f94dd1626a444a30056aed31e55e247321484a87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: make fast_tls return atoms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/xmpp_stream_in.erl"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"df86e7b5d5cc5fbe3be5cfff9c9e2bbf1de74fdfd7982668000e0df2843a6795"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: their code should be improved \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/xmpp_socket.erl"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"796151204ace613abcee4296fdae756612466cf5f9d0adc1a5c71e93b2df7420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: write correct types for these callbacks \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/xmpp_sasl.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"604943b4c59716648636b8b11baf76afcf6a46a2a570cf0687959ecda5fea0f9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (82028 LoC, 6605 public types across 1 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"e9b79a42c1353f66f0a4d39600ecafc51a05b89031e98896312f2acc981a4331"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02d8fbae43495eba6c2d9565865170f9c020839762212823a8689c53ac98263f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8eb7281ce0374ff9721d9a19fe35cceedb80664a0f121580efb4582a7b2b3c63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdca5138dfe6d4d46ffbbf4652773280651a8ac2306101693f36172f996f4307"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"263d8fa1e8fba3fdd735342ee636a7e3641f9a48c6d612f7e4c6c247eeff49a5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279820fa75c04260b6b3a2dd69ce6ba14321af74a95b505d120ed1127ee6ee6e"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 13 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/xep0430.erl, src/xep0033.erl, src/xep0333.erl, src/jid.erl, src/xmpp_util.erl, include/pubsub_node_config.hrl, include/muc_roomconfig.hrl, src/xep0300.erl (and 5 more) (14 orphaned of 117 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 117 of the 149 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: xmpp_sasl_digest.erl \u2194 xmpp_sasl_scram.erl: \u0060src/xmpp_sasl_digest.erl\u0060 and \u0060src/xmpp_sasl_scram.erl\u0060 change together 91% of the time (10 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00608c1920d4\u0060 Improve handling of c=y sasl flag when plus variants are disabled; \u006089d93b1f\u0060 Add guards for undefined ClientIn; \u00608929be60\u0060 Support for get_password returning multiple passwords \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/xmpp_sasl_digest.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d74c2faa3fc0faeaf5c66dd9725ecd99188b0367278fd0652c286075227a2f"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 44 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README claims fast_xml library is used but no such project exists \u2014 searched for: \u0060fast_xml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d67396840cde1a8aa36f238740f25c6976f82eca0d2f2b06e79b8ffd9200f920"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d116e696b89ee5b5606de54018788ae795afe8387ffcf59a3c5f5c024f4aec80"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises a RAG / ML engine, but no ML/RAG code or dependency exists \u2014 searched for: \u0060rag\u0060, \u0060langchain\u0060, \u0060llamaindex\u0060, \u0060pinecone\u0060, \u0060weaviate\u0060, \u0060qdrant\u0060, \u0060embeddings\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"641c12de6a27c56ae4f356e613243d119d1728768480ea36e3ea12271e12b02c"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060jid:string_to_usr/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/jid.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44c9ff9cb65962d44afd8eca03547c1e7f1a1db7f141e101301208a736d4da"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060xmpp_sasl_digest:parse/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/xmpp_sasl_digest.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5cbaee78fef01306ad25de41a65838c7350fc7b2afaddff42e466fead85671"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060xmpp_sasl_fast:parse/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/xmpp_sasl_fast.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2828e7a5dc0268ab3eb8c4d25c9fe2813c04ba95961f1a6ace7d9dfadcda82f9"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060xmpp_sasl_oauth:parse/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/xmpp_sasl_oauth.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46443707bbf730cdef6f17b48e0c5f24bcba0f20a0c59a564b950f2c88571d6"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060xmpp_sasl_plain:parse/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/xmpp_sasl_plain.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f25fe4adb0e12e3e8d6d531b1ae4d61c6880d8672fda28c5ce5911f170f6c4e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":11,"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."]}]}