{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"luerl_lib_string.match_pat (cyclomatic 33): luerl_lib_string.match_pat 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/luerl_lib_string.erl"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"589c793ebe3b8c537c797497bc1b1f86f0273520054eba31bab138cf3db187a3"}},{"ruleId":"D1","level":"warning","message":{"text":"luerl_heap.mark (cyclomatic 28): luerl_heap.mark has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_heap.erl"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad612ed926196700b3a2f86a76027a23e89193ee14f0cbb3fd6d99a492bfb1b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ttdict.erase_aux (cyclomatic 17): ttdict.erase_aux has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a5e34e3b417b084c9b8100f1fd7a7f8d2152e08fc95189520304fb613a0d42"}},{"ruleId":"D1","level":"warning","message":{"text":"ttsets.del_aux (cyclomatic 17): ttsets.del_aux has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttsets.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8271bf840139ea7104c155520276458408fb64a068c55fee4afd3ddf4afe9aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_heap: TooManyFunctions \u2014 58 functions. The bar is 30 functions; this is 28 over it, 1.93\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/luerl_heap.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca534f6d5da08b6a21c4a57f70a8d8ab22fcdd9fe6fc097986ed8ca1a5680db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_lib_table: TooManyFunctions \u2014 53 functions. The bar is 30 functions; this is 23 over it, 1.77\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc00dcaaba7aa950363d9c3f778a27f0b443b8f1300b6b026afcaff012b4781e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/luerl_emul.erl: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 99 functions. The bar is 500 significant lines; this is 326 over it, 1.65\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/luerl_emul.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a388922f4b733c9ab446d23e1b136e893a7f7ad457883397656384349b016a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_comp_cg: TooManyFunctions \u2014 48 functions. The bar is 30 functions; this is 18 over it, 1.60\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/luerl_comp_cg.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5099af2226ae6941d30e7707b27a2904603a8188dd7b4143e2e25a3edd2c2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_comp_env: TooManyFunctions \u2014 48 functions. The bar is 30 functions; this is 18 over it, 1.60\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/luerl_comp_env.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9722b90bcc8e9b96b5305242a1f623803494ddf0e0b29ec06d01842e970e3b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Elixir.Luerl: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Elixir.Luerl.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bfbe2b1f5f46cedd38c495d580c8a3fcfb6a99252e6c3f6800c79824f76662"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_lib_string_format: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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/luerl_lib_string_format.erl"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f1f9d78eab474ddec15d61bcc59a8d73abe311a2dbe10027525b50c5c19ae2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_old: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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/luerl_old.erl"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7643d0fca6c9b86c0131d3b59f6968164326044b6fd61dcc8f1e273d7f40f82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/luerl.erl: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 261 over it, 1.52\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f974e8497d2bdb1cf8fd8bb0145c5b81aa6739d77b7d0b4794d13a18aad194"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_comp_normalise: TooManyFunctions \u2014 45 functions. The bar is 30 functions; this is 15 over it, 1.50\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/luerl_comp_normalise.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef22ac867a660cf3c8f580cc68b182a043f913826ca74de6d8030ad3366bf4fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Elixir.Luerl.Old: 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/Elixir.Luerl.Old.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62b92797b18252f18005f088fe9979504e8009f8502d1f80ac3a1881ab7b761"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_lib_basic: 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/luerl_lib_basic.erl"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b130a419a0d435b3350d076dc0478a17adb935d09ad070786a8449e11e6166"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_lib_math: 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/luerl_lib_math.erl"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"05968647a988b17eafdf828c6d56ab80703dfdc8af34fea16e86dc5fe339ec29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ttdict.erl: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 94 over it, 1.19\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/ttdict.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccdb7301ba2aee1f45ecb41c22b1e19a3918c4bf6bbeeed888b21b38b5ffc56"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_lib: 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/luerl_lib.erl"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f831bc960c3e30ca710f0ca83ac7f63f01c47fa59f3c4b68a2d495dd8c4475"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ttsets: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttsets.erl"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b5e5ce2b81bfb160440eeaf2fa5a32b56d5a4ab8c3dfc9a4172473aa40d51a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/luerl_lib_string.erl: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 76 functions. The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0786f96da8a77c80c92253c3424a6978ebb92e03992559ebac354eed41f6fd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_comp_lint: 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/luerl_comp_lint.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf397fd080c72b011d1ee2574b24988a9f233cb841b44bc959624886c165725"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_comp: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp.erl"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8957b2a70d2757273c93a2f9c2701dba896c6db319021af3586ff18ca1a18b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: luerl_comp_vars: 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/luerl_comp_vars.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3d8dd80a7a8a58891310f8b57db31c5e1c7b7089128eb78a60e245fd3a6a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/luerl_heap.erl:724-733 | src/luerl_heap.erl:735-746 | src/luerl_heap.erl:748-758 | src/luerl_heap.erl:760-769 \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/luerl_heap.erl"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b181593db7204b6bb457a4ee2398670ec4ddac5bae6217b05c287e508a57ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/luerl.erl:852-891 | src/luerl_old.erl:352-394 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ac66f61b174607f4a92eb347fc1cbcdad37bd0f6d14c3b9676433cb25a6abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/ttdict.erl:416-452 | src/ttsets.erl:189-225 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c181c5215b14e78fbf3e806ab00271fc3674a56a10a688d16889383b26edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/ttdict.erl:684-710 | src/ttdict.erl:721-747 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"7994cc706814a4e367bbb678bdb3d9f2bef1ce1dd9d01b904db212891a3e3ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): src/ttdict.erl:238-256 | src/ttdict.erl:264-282 | src/ttdict.erl:290-308 | src/ttdict.erl:323-342 | src/ttdict.erl:356-375 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9220b7391b82aae74da398094fc66afc29a8b748ddf5c49596a5c8929b368b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): src/luerl_comp_cg.erl:84-99 | src/luerl_comp_env.erl:152-167 | src/luerl_comp_lint.erl:67-82 | src/luerl_comp_locf.erl:52-67 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58b759b3f0fe49f6710e05becb774d740a43a962ba9c6ad34b9be9fefc455c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): src/luerl_lib_table.erl:455-472 | src/luerl_lib_table.erl:474-495 | src/luerl_lib_table.erl:498-515 | src/luerl_lib_table.erl:517-538 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ffc10bf7311f358f4fe7a6f1a71dda16bfcd6d857cba97831b689dfb91183d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/luerl.erl:926-941 | src/luerl_old.erl:407-425 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcfae0f8d49d39a631a93b7579e0b49efa81b4d1e53fcde197c4d1736cee78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/luerl_heap.erl:207-228 | src/luerl_heap.erl:289-308 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_heap.erl"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb6923f5ae3989dcf1f5908bbe92aed4e300bd0272b62f5826aa6e1ce083a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/luerl_lib_table.erl:540-550 | src/luerl_lib_table.erl:552-561 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"38832ce5354fdd5697c50f8486ec068f08970e255229447fdf08c06b4a5d0a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/luerl_lib_table.erl:144-157 | src/luerl_lib_table.erl:187-203 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d943f3a1861858de9971a6f44733808b6bec6a0990fbdc7610d792f5781085c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/ttdict.erl:83-94 | src/ttdict.erl:129-139 | src/ttdict.erl:146-156 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1383ef7d0303ece9f547f65f848c8914bedce6af3bad8af09b268a2ad3ff5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/ttdict.erl:562-581 | src/ttsets.erl:360-379 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"622879b3b37a210c7c403774506d5581bd02940ef5b60c940e9794abc5104859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/luerl_comp_cg.erl:113-128 | src/luerl_comp_cg.erl:299-311 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"749ab78a9877217feaac224a7eb51b4367e9e06d02e0ce4328148a581bd19191"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/luerl_comp_env.erl:283-296 | src/luerl_comp_env.erl:383-396 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6e1b75f2412ae0fc9b56ddddc3306bd9d0b1fe3b37ef17b35d0cf291d79906"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/luerl_emul.erl:1226-1238 | src/luerl_emul.erl:1240-1252 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"01efb97d722b4695115ec5ab93c4e9b7e637e232527f51ad925a15ccb1ba27f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/luerl_emul.erl:793-804 | src/luerl_emul.erl:812-822 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"c514a78395b54ac513315a157145ea7f6b731e4800e400c5648841686d9ef2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/ttdict.erl:497-502 | src/ttdict.erl:515-520 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa169a74a2d2a885185ec46e912830c40a3d0e8be823bdff1f2a7cfc669c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/luerl_comp_env.erl:400-410 | src/luerl_comp_locf.erl:254-264 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1db58b64b8b334f8032bf83f9ee3e219ccf96fe37b967af74d677bba5cfbfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/luerl_comp_env.erl:341-350 | src/luerl_comp_locf.erl:203-214 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de25a67ff6a0009f6f8cd0a8c7acfed70b27a39ddb88909bc09976881591b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/luerl_comp_env.erl:371-379 | src/luerl_comp_locf.erl:234-242 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"979fa4515b5c8baa9824649bcd333059c16c18b247efeac96376e6f4d1848a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): src/luerl_emul.erl:588-596 | src/luerl_emul.erl:598-606 | src/luerl_emul.erl:611-619 | src/luerl_emul.erl:621-629 | src/luerl_emul.erl:716-732 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"20abd017aea5bc8861c995a544461c092facb6472efbbfae725a1a35f72f7f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_comp_vars.erl:140-147 | src/luerl_comp_vars.erl:156-163 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_vars.erl"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d67bef4fe365c80e196c08d62452e3dd393d5f216428049d06340c07da9dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttdict.erl:472-476 | src/ttdict.erl:478-482 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef88d9807071958e64f991c0b15c84d8c6c5b9d968ddb6a943b092d791fbb71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): src/luerl_lib_table.erl:569-578 | src/luerl_lib_table.erl:580-589 | src/luerl_lib_table.erl:596-605 | src/luerl_lib_table.erl:607-616 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2921e5ec4ba02179ae2a176742da1845bc5bc0d5e34cbdb235236fba0480a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/luerl_comp_vars.erl:94-100 | src/luerl_comp_vars.erl:198-205 | src/luerl_comp_vars.erl:260-266 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_vars.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea48d63f409e8cbb23a4113cb6f3c3996414016a9a7aa13a0a59040f22ca2ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttsets.erl:270-274 | src/ttsets.erl:286-290 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttsets.erl"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c18a45c93a5414047d964459500900e61dcdc570038806fd3ef61418ec59ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/luerl_lib_utf8.erl:60-71 | src/luerl_lib_utf8.erl:88-99 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_utf8.erl"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"746175860af1a47091ff6bea6ec161562077a2fc345443a9daca766c3516a290"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_comp_env.erl:271-274 | src/luerl_comp_locf.erl:161-165 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1b67b748afb02ab249e05e02ef0867049d0bf2c31f0cad224264fd5c21f317"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttdict.erl:534-538 | src/ttsets.erl:345-352 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a38cf7344b52f3cb3b7392ea8a092de316f316aff533caa19f336828853e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttdict.erl:547-551 | src/ttdict.erl:602-612 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e82670f431838c999b491a7b5392042879e0809138577ac004fb2c17a08689"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): src/luerl_comp_vars.erl:87-92 | src/luerl_comp_vars.erl:102-109 | src/luerl_comp_vars.erl:111-117 | src/luerl_comp_vars.erl:170-175 | src/luerl_comp_vars.erl:279-285 | src/luerl_comp_vars.erl:293-299 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_vars.erl"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3a1178879f583194b05c4b50affa68771b832b4060b0e6fb5b38f9ee889337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_lib_string_format.erl:410-417 | src/luerl_lib_string_format.erl:419-426 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string_format.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ef6dd66da7f5ad1894588db38dc55c63267368eee69c02cfe46e91d865a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_lib_bit32.erl:141-148 | src/luerl_lib_bit32.erl:150-157 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_bit32.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"200aa9ae5a59ff73e23044755afe19a6f3906f4d92f2588c223cd944a7887cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/luerl_lib_package.erl:189-199 | src/luerl_lib_package.erl:201-214 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_package.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b4e561c4bb8b937222409668cebaad75e4ae899b1a9e8cf1d5d35e10b6dec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttsets.erl:245-249 | src/ttsets.erl:251-255 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttsets.erl"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3255a6347847885747570f365eb64c38198fccc979936e3c8e69ac4003fe900"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/luerl_comp_env.erl:214-219 | src/luerl_comp_env.erl:223-228 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"46468dc61b3a7fd587a4446ef8f939696215d04a048c506ca4ede7533c8f3c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/luerl_comp_normalise.erl:189-194 | src/luerl_comp_normalise.erl:198-203 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_normalise.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"880e41014b619eefbb7b48e36a0a56e88a542f9e170c5ac35e29b00a70f7a7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/ttdict.erl:390-393 | src/ttdict.erl:395-398 | src/ttdict.erl:400-403 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc7b43f02c9ef479a2d866f88ba23538b347f0cec0dd3da5af3e287ab3fff3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/luerl_lib_basic.erl:119-124 | src/luerl_lib_basic.erl:141-146 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_basic.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf834ae84e8f312ece063703db2bf07453d1a929b8b61f46738afad0b19b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttdict.erl:102-106 | src/ttsets.erl:92-96 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df0b732a9f12ecf8324520242a335b9225ba3a5e0a2fa0e95c7d613b390b62f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/ttdict.erl:649-659 | src/ttdict.erl:666-676 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3845e7ec2752d76c8f3abcbfd01c9d3f76feeee374a0355c15c3cf981a27479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/luerl.erl:176-185 | src/luerl_old.erl:92-100 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"789b317084d03d7a0da57a85ea8af0b07a529003462968e15e06d657e622246a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/luerl_lib_string_format.erl:165-170 | src/luerl_lib_string_format.erl:172-177 | src/luerl_lib_string_format.erl:189-200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string_format.erl"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef3e6c6501c92047a4c519041875dc2dd036521a67c3a96fb0844a442ec4d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_comp.erl:304-311 | src/luerl_comp.erl:313-320 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp.erl"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea90d32ca4291d4475b830bd9b317a9d0ae7aafff097d57728793c93b8ababe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_vars.erl:46-54 | src/luerl_emul.erl:235-239 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_vars.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4a071a6a0c8d2a03be3d68e664ce4f6f00b013c7c2dd1933b3a18d3a8d57af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_lib_math.erl:335-345 | src/luerl_lib_math.erl:347-354 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_math.erl"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"328fc889f870da9324beaf0681d6049d6ea664a76e2aa7cf9e9ce2b7462ccd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/luerl_comp.erl:226-235 | src/luerl_comp.erl:237-243 | src/luerl_comp.erl:245-251 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp.erl"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb9cfef1af0a73ba0f969587072c77014452dc69df7705b08357b40e5e6c258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/luerl_comp_locf.erl:43-48 | src/luerl_comp_locf.erl:77-82 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_locf.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9c127d425b4fe47cb34c1b8e6434889a2a140bf9e7f40822383297340d2523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/luerl_emul.erl:154-162 | src/luerl_emul.erl:164-172 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a4c6d1085b25d93c148467f0d7d4d6af9fefcc69ffce8978d8cd54967d647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_heap.erl:310-317 | src/luerl_heap.erl:319-326 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_heap.erl"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bac032df0992e87a2ebfa980a3286a9a6122cc5f3b6e3c5e40bfe90e2153d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/luerl_lib_basic.erl:353-358 | src/luerl_lib_basic.erl:389-394 | src/luerl_lib_package.erl:216-222 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_basic.erl"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"47643ae242647b29fb351e4c3c1827d09acfd50f2cb8ed7fc7ae58abaf82a742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_cg.erl:405-409 | src/luerl_comp_cg.erl:417-421 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeffbafc8b3d3d97a1624c0593ac62d6a659df7ad4e7fcb0684d4e4e2a11f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 5\u002B corresponding lines): src/luerl_comp_env.erl:182-188 | src/luerl_comp_env.erl:190-194 | src/luerl_comp_env.erl:352-356 | src/luerl_comp_env.erl:365-369 | src/luerl_comp_locf.erl:84-89 | src/luerl_comp_locf.erl:91-95 | src/luerl_comp_locf.erl:216-220 | src/luerl_comp_locf.erl:228-232 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db2feeb89f84de393a5094d5958c0568eedbae89e4fbefbbb002728cd6eca8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 5\u002B corresponding lines): src/luerl_emul.erl:871-878 | src/luerl_emul.erl:891-897 | src/luerl_emul.erl:904-912 | src/luerl_emul.erl:914-922 | src/luerl_emul.erl:928-934 | src/luerl_emul.erl:940-944 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c5aba7fe05bcb366514f61683f8f9bb435b2cfd31caae3524ff83575a767ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_emul.erl:830-833 | src/luerl_emul.erl:841-844 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"5087748352585c7749fc2030dd39ddadd174d2db7d84133b2f9c0c2c86072fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_cg.erl:146-150 | src/luerl_comp_cg.erl:328-332 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fd3dc1bceb60f5c3b449db24a7ffebf000527b1588dd90ef557fba131b384c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_normalise.erl:86-90 | src/luerl_comp_normalise.erl:291-295 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_normalise.erl"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd066566b50c7af57d0916181fac24cfdb2e376f524fc74d3143af760757cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): src/luerl_comp_normalise.erl:113-118 | src/luerl_comp_normalise.erl:258-263 | src/luerl_comp_normalise.erl:268-273 | src/luerl_comp_normalise.erl:340-344 | src/luerl_comp_normalise.erl:352-357 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_normalise.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa44b0c4253523ca83daf5a33a1a9b3fed03d868829aa066ca68bb3838a4ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_normalise.erl:154-158 | src/luerl_comp_normalise.erl:173-177 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_normalise.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b88bf07d46c245ae42be080cbcd892467fb8cb1a755b8977f52867861c0c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/luerl_lib_math.erl:124-130 | src/luerl_lib_math.erl:240-246 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_math.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"973442730a6ffd0889bf40fa262a2e7c998b46fbe01f5587c606283738779093"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_old.erl:180-187 | src/luerl_old.erl:203-211 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_old.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"589d9641d71fca65ea57c5cbc7a8d912233e76a0b623a625d5b795fcbe3a48ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_cg.erl:156-161 | src/luerl_comp_cg.erl:163-167 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8302afebe1b89deb8a6343aa357ed7d0e81b8e639165209a89be7694286239ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_comp_env.erl:171-174 | src/luerl_comp_locf.erl:71-75 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91ca0d0bf6b33dd56f9a21d3282275cfee33d7b35e6a7563df636f4012110e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_emul.erl:1220-1224 | src/luerl_emul.erl:1300-1304 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b7f7c5ff6fd88bc620dee0247b25d568cb8b023c6d4b1ab9e8f741be6219d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_lib_basic.erl:362-369 | src/luerl_lib_basic.erl:371-378 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_basic.erl"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48f4c7896e407c7dc50c488ba0efee89098d2bfd67c7d647159f3596b29598"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/ttdict.erl:118-122 | src/ttsets.erl:81-85 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttdict.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e759e8c17af43d3cd99baeffee9af7060c15ec926471e686f17ebb422ed3381b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): src/ttsets.erl:168-170 | src/ttsets.erl:172-174 | src/ttsets.erl:176-178 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ttsets.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c657f45e0b328684d962e71aa3a9869678bcb870ec41b3d4d06947f2589bc528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl.erl:773-776 | src/luerl_old.erl:295-298 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609bd48011881c66a5f6a06c42668525e79cc83e82d2b0d864c2bf80c15cc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_cg.erl:281-285 | src/luerl_comp_cg.erl:287-291 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3be7535b2cdd4897da55141edfd3020b8c630a9690f3b3ec671e2c184297bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/luerl_emul.erl:695-698 | src/luerl_emul.erl:864-869 | src/luerl_emul.erl:885-889 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf06903836d479aeb4e6f5af52a340999f637f0a460ca9bb671937d323b6ca88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_lib_string.erl:466-469 | src/luerl_lib_string.erl:503-506 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad875aca5de0ad06548d7f5757735bec6dc1fcba7d88f41a9be9a26d47e764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_lib_utf8.erl:73-80 | src/luerl_lib_utf8.erl:101-109 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_utf8.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad542aeb990b268961f2654537aa5f9abc0170274f3c1b6fe3da181c1e3add9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/luerl_comp_locf.erl:129-132 | src/luerl_comp_locf.erl:145-149 | src/luerl_comp_locf.erl:169-173 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_locf.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d5c472bb5175cc9fdf5b3c61cca72cf98a13c2cf7185ef9fb69ddd6a58f4b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_normalise.erl:120-125 | src/luerl_comp_normalise.erl:346-350 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_normalise.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf90a00240f81acc92eb5c9d5a258f7fb56bcc9f9361bca055ff31057aadb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/luerl_heap.erl:384-391 | src/luerl_heap.erl:393-399 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_heap.erl"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4f41d43e43d078a7d27d9ddd68b4c621e6fa1e9f4eded6cd0b27f9f3e6d1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_lib_string_format.erl:179-182 | src/luerl_lib_string_format.erl:184-187 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string_format.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cf41ddfc8eaf67d326737a952622cea371c99087e2fb8f155874954fb3f711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_cg.erl:136-141 | src/luerl_comp_cg.erl:319-323 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"03546aa763c6f67ad5da49a5171d920fc6f2ce8111df45e326e30ab0c16b688b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/luerl_lib_string.erl:70-76 | src/luerl_lib_string.erl:473-480 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efdcbaec01cdd2c73f0aed11289d2ea41e15f78cb99354221b6b251b0d31042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_comp_env.erl:244-247 | src/luerl_comp_env.erl:257-260 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"87050800b3cde8ff9e1ccfa89e8b8db1da5655106d55e083f7268a322745610e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_old.erl:233-238 | src/luerl_old.erl:249-253 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_old.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3cafbcaa862400542b799199b3ef0ed01734c443481f40a08edfb97efd7d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/luerl_old.erl:107-113 | src/luerl.erl:213-219 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_old.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc8afa83777f1333041e125552c86a82926e535b81b9403478e55cb1fca9bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/luerl_comp_cg.erl:45-49 | src/luerl_comp_env.erl:43-47 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6753d177f5792c1b065c6ca0f1c38210b811cedc6026b2d832db3d49641b3718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/luerl_lib_math.erl:191-198 | src/luerl_lib_math.erl:220-227 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_math.erl"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4527080db840401b1eef5fd992d8673d162774796b753828bf8740afde8d6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/luerl_lib_string.erl:125-131 | src/luerl_lib_table.erl:59-65 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd05273a9c4474ae4e50aa0ec0355f47afc2f28cfc430aca681d20d975416a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl_comp_locf.erl:36-39 | src/luerl_comp_vars.erl:35-39 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_locf.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1ef4ed63eb0ddec9055fba976c38c515ad65dd815cc98dbe15d2fa33030433"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/luerl_comp_env.erl:196-198 | src/luerl_comp_locf.erl:97-99 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee29e81886124624d7e347a907d1ff9d3b981df33ab2541251b98f130401cc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/luerl_comp_env.erl:202-204 | src/luerl_comp_locf.erl:103-105 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf4af379bea1557ad748a6ced599eb0aa994f097a33b3ffd8fd0604af442a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/luerl_comp_env.erl:208-210 | src/luerl_comp_locf.erl:109-111 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"204342761c55c8dac7f1bd73522ef9807786f5e7a99d2477f884ef7e36fc1345"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): src/luerl_comp_env.erl:251-253 | src/luerl_comp_locf.erl:137-139 | src/luerl_comp_vars.erl:183-185 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3685e08a4448946b4bf2cb4d5de146c2478ae6bdde55062d407dbc96f691cd40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/luerl_comp_env.erl:327-329 | src/luerl_comp_locf.erl:190-192 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"35187f6ec9697f13ec48064c0d35039e9bbaa14fd19256d258740444aed2f3db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/luerl.erl:543-546 | src/luerl_old.erl:171-175 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1ec378c5688ccd348ab3c358983b2a2497c87ccf6a37fe09c46dcc97cd8418"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/luerl.erl:959-961 | src/luerl_old.erl:443-445 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae96a57715a6a1ac4ac2f68e2f88d6e06ef8fb5d4cc05eb45fed194233947b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/luerl.erl:943-957 | src/luerl_old.erl:427-441 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl.erl:943\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"15eb77b4e71020cadf40c88d99460f37bff8b66b1dd17aeae0882e1bd10f3c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/luerl.erl:240-251 | src/luerl_old.erl:123-134 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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/luerl.erl"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7090c3a631ce14774a5f6f380299fc422cf2e442d13881579bf0d4ecdc31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/luerl.erl:778-805 | src/luerl_old.erl:300-327 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl.erl:778\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3f9aca3dd806ecd083f018b733a7488bd39c92f114fa6ee21fe4331496c3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/luerl_comp_env.erl:284-295 | src/luerl_comp_env.erl:384-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9816ba8f7e0fe3ecad109078a4ace8e0b61e1297b1d9a8faf43acfb62c460e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/luerl.erl:281-291 | src/luerl_old.erl:139-149 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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/luerl.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faf408c04ad565c880ca8cabe6846c607d01d00a2462058b3e6e0e8acc9c822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): src/luerl_heap.erl:726-733 | src/luerl_heap.erl:738-746 | src/luerl_heap.erl:750-758 | src/luerl_heap.erl:762-769 \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/luerl_heap.erl"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"3439ace2e0970b19309936ce52cf4fdd5b2aab905394eee7736883ddfe43a9cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/luerl_comp_lint.erl:71-82 | src/luerl_comp_locf.erl:56-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl_comp_lint.erl:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_lint.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc5dc5f1785da8e2821340ea7893682717062eb0805cbc1e0033c28861446f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/luerl_lib_table.erl:570-576 | src/luerl_lib_table.erl:581-587 \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/luerl_lib_table.erl"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"428ad4cc169976b93a9511462e5feaaecd30ef2cdc982a1d1232309572f158ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/luerl_lib_table.erl:597-603 | src/luerl_lib_table.erl:608-614 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"0323ee465ad1d94c886816721b62dc964186df2ce44aa0fae8385965557d6eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/luerl_comp_cg.erl:88-99 | src/luerl_comp_env.erl:156-167 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl_comp_cg.erl:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_cg.erl"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2d460aa9b5d722aaaf00524445d9c7dd5c73ecec22f29524a6edeabf1d39db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/luerl_emul.erl:796-804 | src/luerl_emul.erl:814-822 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl_emul.erl:796\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95d54330ffd978b0324bf7a792eddbc6ba72849e047a6d3951a5e52a3c9606a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_comp_vars.erl:142-146 | src/luerl_comp_vars.erl:158-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_vars.erl"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"469e8785cfb3c54b114786268ebe52625a4bcdd4a037a49c6b9357fb2b7efaaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_emul.erl:352-356 | src/luerl_emul.erl:364-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/luerl_emul.erl:357\u0060 calls \u0060fwrite\u0060 and \u0060src/luerl_emul.erl:369\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_emul.erl"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ee12adc84f984a117d16c5a16cd829d8daeb959640f1bec79acee0e2aaeeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_heap.erl:236-240 | src/luerl_heap.erl:246-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl_heap.erl:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_heap.erl"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"de79b4be5fab2d44410feaebb662c24342a53a9f34342ffa195477c1d9f43439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_lib_string.erl:158-162 | src/luerl_lib_string.erl:392-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl_lib_string.erl:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b33f8a866ce3eaec7a9aa20e6361132760d30517987537c6f648d64e6aa44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/luerl.erl:807-815 | src/luerl_old.erl:329-337 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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/luerl.erl"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"833c5ce5bacc2305f431c8faa8d1d07f28e2e21d90703b69bcbecd79d8b5579a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_comp.erl:305-309 | src/luerl_comp.erl:314-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl_comp.erl:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp.erl"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85e0ef4e9d356ad2e6be1edc01b7c164cff67fddc641733b88d54ac3cc7cc3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/luerl.erl:852-859 | src/luerl_old.erl:352-359 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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/luerl.erl"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8adf425b9cd4e460961280b21a6013a3889821899ae5542c9703f60b7a59e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/luerl.erl:879-884 | src/luerl_old.erl:382-387 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl.erl:879\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"411be74f094f7434ec7bbf5478a64ffb99b6c67cd83c3732c8166033965e4afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/luerl.erl:926-933 | src/luerl_old.erl:407-414 \u2014 before extracting anything, compare \u0060src/luerl.erl\u0060 and \u0060src/luerl_old.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/luerl.erl:926\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl.erl"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adfdc6ad24249a8c801bee275ae63fa0977f3601e1d0fcf2293ef12a972a7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_comp_env.erl:176-180 | src/luerl_comp_normalise.erl:92-96 \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/luerl_comp_env.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b5162847471a9b26fd2054caee5f7d53e702fab37613d9e55c13203307eddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/luerl_comp_env.erl:335-339 | src/luerl_comp_normalise.erl:308-312 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/luerl_comp_env.erl:333\u0060 calls \u0060prefixexp\u0060 and \u0060src/luerl_comp_normalise.erl:306\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_comp_env.erl"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd2a63e9d2f00b18835569c9fc744d202243d97a0d221173d03d02e2916407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): examples/minibench/minibench.erl:118-121 | examples/minibench/minibench2.erl:155-158 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/minibench/minibench.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f525bb5e7384c6383e4daa5509d5cb2bc82bfd86cd3a808937d33e029254a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): examples/minibench/minibench.erl:108-111 | examples/minibench/minibench2.erl:145-148 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/minibench/minibench.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"64224da2a156da1dced82bc4a6b4b137751154dfc430f658898491607539d14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): examples/minibench/minibench.erl:113-116 | examples/minibench/minibench2.erl:150-153 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/minibench/minibench.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"251ccb947c4243d8cdfb25e1384167bf70ff2d41596763e0cf1ed1a6475f5464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): examples/minibench/minibench.erl:103-106 | examples/minibench/minibench2.erl:140-143 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/minibench/minibench.erl"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab2598617010a2e46f0ab7a9804cb91c7ebf839037a57cedbeca461a2ab6628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/minibench/minibench.erl:51-59 | examples/minibench/minibench2.erl:57-65 \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":"examples/minibench/minibench.erl"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a34be09952ff27efa3c8018616791e416081f450a763d7d4c63ffb1f8256d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/minibench/minibench.erl:35-42 | examples/minibench/minibench.erl:48-55 \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":"examples/minibench/minibench.erl"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ba1bf8471b18e0dab4ad552c34a78dbd9d7ebe8b7adc1c1080b58955d41c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/minibench/minibench2.erl:35-42 | examples/minibench/minibench2.erl:50-57 \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":"examples/minibench/minibench2.erl"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9b257598b9a19923c8afe435620b0d9a7835d4eb3b27d6f302c21cabd185cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples/minibench/minibench2.erl:28-36 | examples/minibench/minibench2.erl:42-51 | examples/minibench/minibench2.erl:68-77 \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":"examples/minibench/minibench2.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38c8c6111389afdd24a07d189ad30b79f3e9fa874efed1abb12332b5c4e26f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/minibench/minibench.erl:38-46 | examples/minibench/minibench.erl:62-70 \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":"examples/minibench/minibench.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc1325ac60f1d508c7233369a44f553275fc18cd245f2f073140cf0d4dd5335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/minibench/minibench.erl:50-57 | examples/minibench/minibench.erl:74-81 \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":"examples/minibench/minibench.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dbd3b353b9f644986507bc6dba6a034a01a7eae4cea79fac16f8d2cccbf036"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: src/luerl_lib_table.erl. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"efada7aa6d76a5feafd8e6b8ddb1bffc520c304c29e78de99f38abb70aae49c7"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060rebar.config\u0060 makes this repository a deployable product (line 10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rebar.config"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b016f0e8c2fc811d40df24f2d57a5b518b61eb8e3fa700b4b7aff08b91675f"}},{"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7070679db20129dbe75f385966a738be46ea377b4b9ec31e1c136200d056cc27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34d991f3a7b8480911904f3a9de2cdf1bb563ab42e29fe2c1ac53ae9a840c3ff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0ef36c1a9ac2995c2b0ede21960d78f63705369d5d9a5caf90c303ea0d4d36d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4b84274ded7e6b21af20f24c3c1abbd7c2623cc940e96b12bd49088aeb7e024"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 36 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 36 of the 39 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/luerl_lib_bit32.erl, src/luerl_util.erl. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_bit32.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c481b73ec96d08cd0e8e8f923053518a686b3c052dfab088396ebcc23bacc88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_util.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809345582bdfd4a96ae527e5f93e80e4818068049c1d9b3f380370d7f77b86d6"}},{"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":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(N \u003E= 0) andalso (array:get(N, Ar) =/= undefined)\u0060 appears character-identically in 2 files \u2014 include/luerl.hrl, src/luerl.hrl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/luerl.hrl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b9420ab3ec1ae0177b38481f458fa55d4fbb6f59d20b692428f4e3667a3f18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060?IS_FUNREF(F) orelse ?IS_ERLFUNC(F) orelse ?IS_ERLMFA(F)\u0060 appears character-identically in 2 files \u2014 include/luerl.hrl, src/luerl.hrl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/luerl.hrl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdac51da02a8104e35a01b51527d33aebcc75263966ea93d4645008e235420d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_utf8.erl"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec60b4f9c0574b412315e635de423cf0553dde0d25d08b98be26dacef36f1740"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_utf8.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d957cd80922b0fb081e495a4dc2c0a0be7d540ee67abcbca8fe5854443e6170"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_emul:pop_vals/2\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/luerl_emul.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"de20a7aee9bc1ac68edf420a176760f06cddffee27d6d5c7d744aaa3dacff98e"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_emul:push_vals/3\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/luerl_emul.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"010a8bb8db5466ae44a124f08e7e82b44dcc256f9e45f4843ea9864748eadc0b"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_gsub/3\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60c9ac18e88cb9c9ab7767e5acb7bb77508bd0880e2b3b15c99a303923190be"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_match_pat/3\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e315fbc294382ec43fb8936300d76f3fa51f0938825a188c4c6e919d85f8ac5c"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_pat/1\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1065ca4f43bde9f9064215971a763521fb94141089432bf04d1e4a6f9f61d8fc"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_byte/3\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfe7079de8b73f0453689a4458a555bd55d0a5e4ebdb228de4178550f2b4b46"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_do_find/4\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2737040c713cad0acb4edd8beea3b8a2da79bf9d03f05d34794e4fe47ede938c"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_sub/2\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa515020f18f54b3a4a78dcb784e4f6f92268c56d8c0bd0d4fb0d978709e6b5"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_string:test_sub/3\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_string.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ba969c50ab85b87c0259dba811579b7925a7400701074857748c3ed7c91729"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_table:test_concat/1\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f53b0892af6334daedcbb91071e0898b419c8b3789727cd4ce2605331a45d4"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_table:test_insert/2\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba862758126e73bc0bd38e73c0a3ff41aa5d67fa3a9a2eae07cf56ca6c3f56af"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_table:test_insert/3\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"575e268dc3c9d60293b49e39e4f141bd05fa83432f7ada7ee221954ed44fddbd"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_table:test_remove/2\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9450bfb661ccd2237c01c0b95e55bf79a2ab58fb899b920f1a14925bbda84ded"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060luerl_lib_table:test_remove/3\u0060 is exported unconditionally, its name carries a test marker, AND the comment directly above the \u0060-export\u0060 on this line says so. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. Nothing tells the next maintainer that its only caller is a test. Wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/luerl_lib_table.erl"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9dbf51fba1a8f4eee82d1c6b12a57464b343214a8616725b837d9bf7e9f917"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":8,"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."]}]}