{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03: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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08: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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"D2","level":"warning","message":{"text":"nif_api_codegen::main (cognitive 17): nif_api_codegen::main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/codegen/src/main.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ad59c2a3e2e9543c97bed39de48fbc1ecccb05109ea7995a3ef5998ddb9176"}},{"ruleId":"D2","level":"warning","message":{"text":"rustler::dynamic::get_type (cognitive 16): rustler::dynamic::get_type has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/dynamic.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2871031baa7fa207307f550fb8c73c694b22acc3a60138fa1c725fa6ca3d7d2"}},{"ruleId":"D2","level":"warning","message":{"text":"rustler_codegen::nif::arity (cognitive 16): rustler_codegen::nif::arity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_codegen/src/nif.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5825b63fd8578797bd7a9cac4cadd6b8b0040fce1dcdeb5a065bd1f9ce1a1280"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 180 stored fields beside 1 method. The bar is 30 stored fields; this is 150 over it, 6.00\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_18/api.4.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62dccdf76413a4aa2c39781e6d13330cc06dffe112a6908c61960e0bd0a5244"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 177 stored fields beside 1 method. The bar is 30 stored fields; this is 147 over it, 5.90\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.4.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"749515abdda7d28ac3db6c6dc6f293c3b0b87c8218c2e82347fa50a628187485"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 176 stored fields beside 1 method. The bar is 30 stored fields; this is 146 over it, 5.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_18/api.8.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c33fb6ede20d8b8fdcfe4833b8e65b47ecd56755819ff794a7aac0580e8d3ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 173 stored fields beside 1 method. The bar is 30 stored fields; this is 143 over it, 5.77\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.4.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92f03f0823041a1b57f3d6fd50cd9fb95151ca77106060b203bdad05d1a4ea2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 173 stored fields beside 1 method. The bar is 30 stored fields; this is 143 over it, 5.77\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.8.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae676877222adc4ba5e5572ef7b169d39fa5052544ff3e1088ed9915c35e61b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 171 stored fields beside 1 method. The bar is 30 stored fields; this is 141 over it, 5.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.4.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb40e9f500dc126dc7c9d30a3722c87884b44ba174704cfeb52e10b29bc3d12"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 169 stored fields beside 1 method. The bar is 30 stored fields; this is 139 over it, 5.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.8.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b71dc4fa0fbca16f7372c72677fb5123aaa2e8c168896be66c188dac7d9a82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 167 stored fields beside 1 method. The bar is 30 stored fields; this is 137 over it, 5.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.8.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a29d21ded45cdc2c1d81f9a9e67e6bf0f09750c4efa1ce925294a962cc8f41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 166 stored fields beside 1 method. The bar is 30 stored fields; this is 136 over it, 5.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.4.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a55818ccd76eaf48fd855790237d7ae7578ae2bcc36b580e0c999f0b4ecbef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DynNifCallbacks: TooManyFields \u2014 162 stored fields beside 1 method. The bar is 30 stored fields; this is 132 over it, 5.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.8.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fc0603472aed7cef79be29bd66b8f7653bd1580cbecfaa8c59341c18bb4ab6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_18/api.4.rs: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 145 free functions. The bar is 500 significant lines; this is 411 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_18/api.4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a274dba67e6a71af014d0ffd14d6c35fe7508d1109e3a277f7b11ebbe07f38d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_18/api.8.rs: FileTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 145 free functions. The bar is 500 significant lines; this is 399 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_18/api.8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"332bbd7cee19f4807d6c6855058c4aa5a3e184271860b0d2edb383f45de3b30f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_17/api.4.rs: FileTooLong \u2014 893 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 142 free functions. The bar is 500 significant lines; this is 393 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2aae2ba8ec8fa752ac30780b8f15a582df3e792508445c267721d4c9e90fc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_17/api.8.rs: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 142 free functions. The bar is 500 significant lines; this is 381 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b594207b0c0c20d5cc886bd7a9f5fe252ca65efb799f9ecdb4613bac7afb85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_16/api.4.rs: FileTooLong \u2014 867 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 138 free functions. The bar is 500 significant lines; this is 367 over it, 1.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c39f7402363185a42ef1d63d9b3bda78018be43c97e23094007f1e5f0da918"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_15/api.4.rs: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 136 free functions. The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a53efdfa7ff80f85ddcb262349263315fd21c6c6f9a67249a6b0a84223a46dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_16/api.8.rs: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 138 free functions. The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d639415f810b8d8a336380e5ff59cf4a3869e290ea186b3d24e65413e7a73c9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_15/api.8.rs: FileTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 136 free functions. The bar is 500 significant lines; this is 343 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c8038c8404799f452ffaf5d18394f336e5d6a58fedc4d59a3ec90ce2dd1ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_14/api.4.rs: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 131 free functions. The bar is 500 significant lines; this is 326 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af2a5d4a0315423e6b87b4eaf1bd4496a16fd3f5ca372384f228a76a4e74bc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nif_version_2_14/api.8.rs: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 131 free functions. The bar is 500 significant lines; this is 314 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed4311f49c796e8687c9bf2fdeef64ab1f369f6735e6ebfa515ab1bcf6fb32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_18/api.4.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8025f2be8ce74124b910a2a621ce98597961f94c22d88ed3296bfed5364276"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.4.rs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cad10c906034617a56ccef5d827e2f7ea68d3e05b3bb16086c611ecd0549708"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_18/api.8.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79aad4b2b590ea2fb88ce4138c88b780e8194b32a1af46ef804191f4be16686"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.4.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9a24568de30f25f0d117e57972be38b97641a4c43ae76c2322382d6cc249f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.8.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1cbc23727b1d48f80e359064cfcd430c2a739e5be4435f644f1f2ca69c986e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.4.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d443f23f35434d630b1781a0763928235c4ac2e527bd7bbfe5fe7cbcaff2432"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.8.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe42ff0bb3e3b4689cc5600cf6e20c6b3c83438ad4ddbfaee95f1120cfc9d47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.8.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b0b015a4096c4e9270116f4449ec2a13c4fbf2a7a5b70a2bb12ba013dcb69"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.4.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5383b1188b0ca881443bd7bae42111425bfbe9570b04938df662131ea2046474"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynNifCallbacks.write_symbols: MethodTooLong \u2014 write_symbols runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.8.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"9876ccd5ab84dc90c74899104c808ae046ff141fd278c10f9b3e0d56be2bb951"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Term: TooManyMethods \u2014 33 methods, declared across 7 files: src/term.rs (11), types/map.rs (9), types/list.rs (6), src/dynamic.rs (3), \u002B3 more file(s). The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/term.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f022776f98b945ad9c338cf23afa3aa99c1622c056e4bd6fbf7436421ac66c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 73 shared lines): rustler/otp_headers/nif_version_2_14/api.4.rs:1107-1239 | rustler/otp_headers/nif_version_2_14/api.8.rs:1075-1203 | rustler/otp_headers/nif_version_2_15/api.4.rs:1147-1284 | rustler/otp_headers/nif_version_2_15/api.8.rs:1115-1248 | rustler/otp_headers/nif_version_2_16/api.4.rs:1163-1302 | rustler/otp_headers/nif_version_2_16/api.8.rs:1131-1266 | rustler/otp_headers/nif_version_2_17/api.4.rs:1199-1342 | rustler/otp_headers/nif_version_2_17/api.8.rs:1167-1306 | rustler/otp_headers/nif_version_2_18/api.4.rs:1223-1369 | rustler/otp_headers/nif_version_2_18/api.8.rs:1191-1333 \u2014 These 10 members are variants of one another: a block of 73 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.4.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f69cdfeade989949f641d07be7ff0b09e68cb0e96cb00a2dfde53fbdf986b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): rustler_codegen/src/record.rs:52-136 | rustler_codegen/src/tuple.rs:36-106 \u2014 These two members are variants of one another: 51 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_codegen/src/record.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a8ef8e65ce7d78b38e4b9be9adbe5cee99d82b56e4e5c66320266a7392ea4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): rustler_codegen/src/ex_struct.rs:9-66 | rustler_codegen/src/map.rs:8-51 | rustler_codegen/src/record.rs:9-50 | rustler_codegen/src/tagged_enum.rs:10-84 | rustler_codegen/src/unit_enum.rs:9-68 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0b4a44339ffe5d81d6607be1b30e13e7e08f9248ef77992823c10ea1232264"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): rustler_codegen/src/ex_struct.rs:68-130 | rustler_codegen/src/map.rs:53-107 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4583efa836fda9766cbd300f0fdef6e83d759805bab96c10874077c7a89611"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): rustler_codegen/src/record.rs:138-172 | rustler_codegen/src/tuple.rs:108-137 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"rustler_codegen/src/record.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78f662298d67651f4e9c66ad7c386bed73f9061c220417b6238b5f1353b80bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): rustler/src/types/map.rs:43-55 | rustler/src/types/map.rs:66-78 \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":"rustler/src/types/map.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f55cd6b4ab30451f27cba541d616848f6c4a1f18d6b9b39c14800a1c4f96f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): rustler/src/types/atom.rs:62-82 | rustler/src/types/atom.rs:114-134 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"rustler/src/types/atom.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"759aed8a4d8100f5fe8a49ce911f85efcf8a0e31b5d0aa2426bb829e9090b157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): rustler_codegen/src/unit_enum.rs:70-100 | rustler_codegen/src/unit_enum.rs:102-128 \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":"rustler_codegen/src/unit_enum.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e80001035ce72b75bf38261d8866fdd86648591ec2d2fd8a0a1f391a46ec89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): rustler_codegen/src/lib.rs:94-106 | rustler_codegen/src/lib.rs:458-469 \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":"rustler_codegen/src/lib.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5d974ab70887c804ce3bf78870d17e2096a1c4181e3894705b5b6f9b8e91b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): rustler/src/types/map.rs:116-123 | rustler/src/types/map.rs:149-163 | rustler/src/types/map.rs:175-182 | rustler/src/types/map.rs:189-203 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 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":"rustler/src/types/map.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b95b8c6b711675280f2c27b2044e832ca1c78963caad1991da97cb9c7ce0c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): rustler_codegen/src/context.rs:208-219 | rustler_codegen/src/context.rs:221-233 \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":"rustler_codegen/src/context.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc29fb9463a9f5158fa4b2306f375b85ac263a2b88348631437f4cfa2d28e843"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): rustler/src/resource/registration.rs:183-193 | rustler/src/resource/registration.rs:200-208 \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":"rustler/src/resource/registration.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6063775300f6005c1e766cc9d55a9515de2e1fb5071373529de719b88ea29170"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): rustler/src/serde/de.rs:311-320 | rustler/src/serde/de.rs:363-373 \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":"rustler/src/serde/de.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0877e8b8ecacd81b744dab07533176a8a800ae744de60ca934bcf35382dedab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): rustler/otp_headers/codegen/src/generator/direct.rs:50-60 | rustler/otp_headers/codegen/src/generator/forwarders.rs:33-41 \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":"rustler/otp_headers/codegen/src/generator/direct.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd38ad746650cb3ec0011de8cc423ee4e5a050899e015111dcd01d21662a6cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): rustler/src/types/atom.rs:400-415 | rustler/src/types/atom.rs:421-436 \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":"rustler/src/types/atom.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb0f89c62e4583fda3d9c2472d82b3e1d29a0444e45987f04dce0dea5b7ce7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): rustler/src/types/binary.rs:331-350 | rustler/src/types/local_pid.rs:34-45 \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":"rustler/src/types/binary.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19c1472d1a985dc034f062981d466d85ad5b0c2687812424abf163512da45d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): rustler/src/types/map.rs:315-324 | rustler/src/types/map.rs:328-337 \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":"rustler/src/types/map.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea07616a8899caa7965382714b44dab4c47c06c930e387cef0f2b3b9fb826c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): rustler/src/types/list.rs:221-230 | rustler/src/types/map.rs:448-456 \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":"rustler/src/types/list.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"854615a9d39873fc4a7f999dbdd3de6a3f2844f6cd466ff7c09aa30d98c681ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): rustler/src/resource/registration.rs:79-93 | rustler/src/resource/registration.rs:95-109 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/resource/registration.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ec29e15519d6c5e1652c544ff5e4fcd9702fa4ce3e8cd7f0ab96930a772bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): rustler_codegen/src/ex_struct.rs:167-181 | rustler_codegen/src/record.rs:174-182 \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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f67a72c4a783c03e49103921b311c1b614e685bc1b83e8e94333b6f792430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): rustler/src/types/atom.rs:232-237 | rustler/src/types/local_pid.rs:103-107 \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":"rustler/src/types/atom.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e8b558606f18a24625ebeb3cf7be430616cd5b98854c330bc496b839c7bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201331 lines \u00D7 2): rustler_codegen/src/encode_decode_templates.rs:66-96 | rustler_codegen/src/encode_decode_templates.rs:134-156 \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 \u0060rustler_codegen/src/encode_decode_templates.rs:66\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_codegen/src/encode_decode_templates.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"277bcee8c81c6af1eab51cc76be4c42297c5487c3fa51687b8f69a01e8943e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 4): rustler_codegen/src/map.rs:27-51 | rustler_codegen/src/record.rs:27-50 | rustler_codegen/src/tagged_enum.rs:61-84 | rustler_codegen/src/unit_enum.rs:45-68 \u2014 before extracting anything, compare \u0060rustler_codegen/src/map.rs\u0060 and \u0060rustler_codegen/src/tagged_enum.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler_codegen/src/map.rs:27\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"rustler_codegen/src/map.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17a7960b0abf9c7d92846c0137ea0a627f6901ad0e48cf81e645063c9eb7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): rustler_codegen/src/tuple.rs:16-34 | rustler_codegen/src/untagged_enum.rs:30-48 \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 \u0060rustler_codegen/src/tuple.rs:16\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"rustler_codegen/src/tuple.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"81631d1d7542576573342fc3899097ec4b9dc877bd0dbecb966e0ab7f49e6c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): rustler_codegen/src/ex_struct.rs:85-100 | rustler_codegen/src/map.rs:69-83 \u2014 before extracting anything, compare \u0060rustler_codegen/src/ex_struct.rs\u0060 and \u0060rustler_codegen/src/map.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler_codegen/src/ex_struct.rs:85\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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974cca2437e6099e36859d71b692c392999bb74e1a952fa6e91616416098e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): rustler_codegen/src/record.rs:70-85 | rustler_codegen/src/tuple.rs:54-69 \u2014 before extracting anything, compare \u0060rustler_codegen/src/record.rs\u0060 and \u0060rustler_codegen/src/tuple.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060rustler_codegen/src/record.rs:86\u0060 calls \u0060to_string\u0060 and \u0060rustler_codegen/src/tuple.rs:72\u0060 does not \u2014 after which the two agree again for 4 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":"rustler_codegen/src/record.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f171ca06889c79ddef243f8b3d07e9c99456aba159b7158c5a45b4326b66048b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): rustler_codegen/src/record.rs:140-152 | rustler_codegen/src/tuple.rs:110-125 \u2014 before extracting anything, compare \u0060rustler_codegen/src/record.rs\u0060 and \u0060rustler_codegen/src/tuple.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060rustler_codegen/src/record.rs:140\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060rustler_codegen/src/record.rs:152\u0060 calls \u0060collect\u0060, \u0060encode\u0060, \u0060atom_tag\u0060 and \u0060rustler_codegen/src/tuple.rs:125\u0060 does not \u2014 after which the two agree again for 4 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":"rustler_codegen/src/record.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25825124f19a93d96094c9f9b8179dff8bc40e8981bb978ae2e2d6619e2f7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): rustler_codegen/src/record.rs:89-103 | rustler_codegen/src/tuple.rs:72-86 \u2014 before extracting anything, compare \u0060rustler_codegen/src/record.rs\u0060 and \u0060rustler_codegen/src/tuple.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060rustler_codegen/src/record.rs:89\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060rustler_codegen/src/record.rs:86\u0060 calls \u0060to_string\u0060 and \u0060rustler_codegen/src/tuple.rs:69\u0060 does not \u2014 after which the two agree again for 4 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":"rustler_codegen/src/record.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b49c970b02b49ec9c38348039b038cbe2c4545c87dce484f5be03928e24b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): rustler_codegen/src/ex_struct.rs:37-49 | rustler_codegen/src/map.rs:21-33 | rustler_codegen/src/tagged_enum.rs:55-67 | rustler_codegen/src/unit_enum.rs:39-51 \u2014 before extracting anything, compare \u0060rustler_codegen/src/ex_struct.rs\u0060 and \u0060rustler_codegen/src/map.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler_codegen/src/ex_struct.rs:37\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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace8fb10a4e8b2a605cfa64f6e6200b149bc148bbcc2ccd733e190f527728081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): rustler_codegen/src/encode_decode_templates.rs:31-43 | rustler_codegen/src/encode_decode_templates.rs:45-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060rustler_codegen/src/encode_decode_templates.rs:28\u0060 calls \u0060make_where_clause\u0060, \u0060iter\u0060 and \u0060rustler_codegen/src/encode_decode_templates.rs:43\u0060 does not \u2014 after which the two agree again for 3 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":"rustler_codegen/src/encode_decode_templates.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb3476fc8f61ca294803d88a18f6504150bffa333a548d7a15485bba74186e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): rustler_codegen/src/ex_struct.rs:39-49 | rustler_codegen/src/map.rs:23-33 | rustler_codegen/src/record.rs:23-33 | rustler_codegen/src/tagged_enum.rs:57-67 | rustler_codegen/src/unit_enum.rs:41-51 \u2014 before extracting anything, compare \u0060rustler_codegen/src/ex_struct.rs\u0060 and \u0060rustler_codegen/src/map.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler_codegen/src/ex_struct.rs:39\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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58077f33c4e551ba1551d9d8b5637e5659ebec908e7cb910323be14dd107523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): rustler_codegen/src/ex_struct.rs:72-82 | rustler_codegen/src/map.rs:56-66 \u2014 before extracting anything, compare \u0060rustler_codegen/src/ex_struct.rs\u0060 and \u0060rustler_codegen/src/map.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler_codegen/src/ex_struct.rs:72\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060rustler_codegen/src/ex_struct.rs:70\u0060 calls \u0060to_string\u0060 and \u0060rustler_codegen/src/map.rs:54\u0060 does not \u2014 after which the two agree again for 4 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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c0cf5a98c2f4b5004ce3eb6a148a60e802c6f7fe948511bf5997e847ab9674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler/src/types/atom.rs:70-79 | rustler/src/types/atom.rs:122-131 \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 \u0060rustler/src/types/atom.rs:70\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":"rustler/src/types/atom.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffe6ac200466a729c49b0466c43d4a9123390a7b29aa38629fa0f8b8879c744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler/src/types/map.rs:154-163 | rustler/src/types/map.rs:194-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler/src/types/map.rs:154\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"rustler/src/types/map.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ebad6b7d3d6eb04ad6571519997752b0281d46827f7ff18fc92f9e1fb507cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler_codegen/src/ex_struct.rs:145-154 | rustler_codegen/src/map.rs:111-120 \u2014 before extracting anything, compare \u0060rustler_codegen/src/ex_struct.rs\u0060 and \u0060rustler_codegen/src/map.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler_codegen/src/ex_struct.rs:145\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":"rustler_codegen/src/ex_struct.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe9c8b13c34a0e03a35bcdc5e217ffa1257e305e5c14c047b337e089af66acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler_codegen/src/record.rs:56-65 | rustler_codegen/src/tuple.rs:41-50 \u2014 before extracting anything, compare \u0060rustler_codegen/src/record.rs\u0060 and \u0060rustler_codegen/src/tuple.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060rustler_codegen/src/record.rs:56\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":"rustler_codegen/src/record.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65a04d8b589e85bef1de39fb82476c5085f43229eb8dcabe1427068b456ac24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler_codegen/src/unit_enum.rs:71-80 | rustler_codegen/src/unit_enum.rs:103-112 \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 \u0060rustler_codegen/src/unit_enum.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060rustler_codegen/src/unit_enum.rs:82\u0060 calls \u0060Ok\u0060 and \u0060rustler_codegen/src/unit_enum.rs:114\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":"rustler_codegen/src/unit_enum.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaaacf948b534d2d1b3e595ff37e40c1d1ba78e79d72beb13d21b4002cc00cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rustler/src/types/map.rs:48-55 | rustler/src/types/map.rs:71-78 \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 \u0060rustler/src/types/map.rs:48\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060keys\u0060 to \u0060\u0026[impl Encoder]\u0060 in one and \u0060\u0026[Term\u003C\u0027a\u003E]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/types/map.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea7131156dcdf43aeea1ca26de0b2b8948cf56cc381e95a2eada0e78dab2777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 10): rustler/otp_headers/nif_version_2_14/api.4.rs:1235-1239 | rustler/otp_headers/nif_version_2_14/api.8.rs:1199-1203 | rustler/otp_headers/nif_version_2_15/api.4.rs:1272-1275 | rustler/otp_headers/nif_version_2_15/api.8.rs:1236-1239 | rustler/otp_headers/nif_version_2_16/api.4.rs:1288-1291 | rustler/otp_headers/nif_version_2_16/api.8.rs:1252-1255 | rustler/otp_headers/nif_version_2_17/api.4.rs:1324-1327 | rustler/otp_headers/nif_version_2_17/api.8.rs:1288-1291 | rustler/otp_headers/nif_version_2_18/api.4.rs:1348-1351 | rustler/otp_headers/nif_version_2_18/api.8.rs:1312-1315 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_14/api.4.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_14/api.8.rs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060rustler/otp_headers/nif_version_2_14/api.4.rs:1235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.4.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3de3ad5a4e94a4d270c0c5e50b2149085c576751430b2ef6091bedcfd5bea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 8): rustler/otp_headers/nif_version_2_15/api.4.rs:1280-1284 | rustler/otp_headers/nif_version_2_15/api.8.rs:1244-1248 | rustler/otp_headers/nif_version_2_16/api.4.rs:1293-1296 | rustler/otp_headers/nif_version_2_16/api.8.rs:1257-1260 | rustler/otp_headers/nif_version_2_17/api.4.rs:1329-1332 | rustler/otp_headers/nif_version_2_17/api.8.rs:1293-1296 | rustler/otp_headers/nif_version_2_18/api.4.rs:1353-1356 | rustler/otp_headers/nif_version_2_18/api.8.rs:1317-1320 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_15/api.4.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_15/api.8.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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 \u0060rustler/otp_headers/nif_version_2_15/api.4.rs:1280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_15/api.4.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba04e8295efe397e8bfe218f9d36cbffb7f3bfedc7ccc993548069ad303b3394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 6): rustler/otp_headers/nif_version_2_16/api.4.rs:1298-1302 | rustler/otp_headers/nif_version_2_16/api.8.rs:1262-1266 | rustler/otp_headers/nif_version_2_17/api.4.rs:1332-1335 | rustler/otp_headers/nif_version_2_17/api.8.rs:1296-1299 | rustler/otp_headers/nif_version_2_18/api.4.rs:1356-1359 | rustler/otp_headers/nif_version_2_18/api.8.rs:1320-1323 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_16/api.4.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_16/api.8.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060rustler/otp_headers/nif_version_2_16/api.4.rs:1298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_16/api.4.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbfb18773185b80656adc4ab0d3101db715ebb9ff36a21ef22c18caf1be5d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): rustler/otp_headers/nif_version_2_17/api.4.rs:1338-1342 | rustler/otp_headers/nif_version_2_17/api.8.rs:1302-1306 | rustler/otp_headers/nif_version_2_18/api.4.rs:1359-1362 | rustler/otp_headers/nif_version_2_18/api.8.rs:1323-1326 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_17/api.4.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_17/api.8.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 89 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 \u0060rustler/otp_headers/nif_version_2_17/api.4.rs:1338\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.4.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"87443f1cadef9320043331fd3cc3bcad6c1ef120f128caad040b40513b7fe594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rustler/otp_headers/nif_version_2_18/api.4.rs:1362-1369 | rustler/otp_headers/nif_version_2_18/api.8.rs:1326-1333 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_18/api.4.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_18/api.8.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060rustler/otp_headers/nif_version_2_18/api.4.rs:1362\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":"rustler/otp_headers/nif_version_2_18/api.4.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67fa3bc2321720f69f219232cd749ca9604aabe0f02d259b58ec2bdab1975a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (154 lines \u00D7 10): rustler/otp_headers/nif_version_2_14/api.4.direct.rs:6-159 | rustler/otp_headers/nif_version_2_14/api.8.direct.rs:6-204 | rustler/otp_headers/nif_version_2_15/api.4.direct.rs:6-164 | rustler/otp_headers/nif_version_2_15/api.8.direct.rs:6-209 | rustler/otp_headers/nif_version_2_16/api.4.direct.rs:6-166 | rustler/otp_headers/nif_version_2_16/api.8.direct.rs:6-211 | rustler/otp_headers/nif_version_2_17/api.4.direct.rs:6-175 | rustler/otp_headers/nif_version_2_17/api.8.direct.rs:6-227 | rustler/otp_headers/nif_version_2_18/api.4.direct.rs:6-178 | rustler/otp_headers/nif_version_2_18/api.8.direct.rs:6-230 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_14/api.4.direct.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_14/api.8.direct.rs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060rustler/otp_headers/nif_version_2_14/api.8.direct.rs:6\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_14/api.4.direct.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87300bca288d47532d5cb610399446ab37954f22e2b36d1fa65ef95e8343c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (199 lines \u00D7 5): rustler/otp_headers/nif_version_2_14/api.8.direct.rs:6-204 | rustler/otp_headers/nif_version_2_15/api.8.direct.rs:6-209 | rustler/otp_headers/nif_version_2_16/api.8.direct.rs:6-211 | rustler/otp_headers/nif_version_2_17/api.8.direct.rs:6-227 | rustler/otp_headers/nif_version_2_18/api.8.direct.rs:6-230 \u2014 \u0060rustler/otp_headers/nif_version_2_14/api.8.direct.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_15/api.8.direct.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 450 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler/otp_headers/nif_version_2_14/api.8.direct.rs:6\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":"rustler/otp_headers/nif_version_2_14/api.8.direct.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7127c82e88a9591ae91c40f5c5eab1657b5175733583cc056199c02608ce752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (170 lines \u00D7 4): rustler/otp_headers/nif_version_2_17/api.4.direct.rs:6-175 | rustler/otp_headers/nif_version_2_17/api.8.direct.rs:6-227 | rustler/otp_headers/nif_version_2_18/api.4.direct.rs:6-178 | rustler/otp_headers/nif_version_2_18/api.8.direct.rs:6-230 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_17/api.4.direct.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_17/api.8.direct.rs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060rustler/otp_headers/nif_version_2_17/api.8.direct.rs:6\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/otp_headers/nif_version_2_17/api.4.direct.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a952e761e83d6cb139d4d8f191174e79c9cda9196fc702817b75714a975cedc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (222 lines \u00D7 2): rustler/otp_headers/nif_version_2_17/api.8.direct.rs:6-227 | rustler/otp_headers/nif_version_2_18/api.8.direct.rs:6-230 \u2014 \u0060rustler/otp_headers/nif_version_2_17/api.8.direct.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_18/api.8.direct.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 900 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060rustler/otp_headers/nif_version_2_17/api.8.direct.rs:6\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":"rustler/otp_headers/nif_version_2_17/api.8.direct.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d848ae030be295332c61a418451ec3d9208cc185e59030383b1eb1c3b2f64a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): rustler/src/types/list.rs:87-92 | rustler/src/types/map.rs:341-346 \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":"rustler/src/types/list.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"523c0c491779de29b1325418951f5936702f6f6a17eb761f1723fa546b160209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): rustler/src/types/list.rs:254-262 | rustler/src/types/map.rs:369-377 \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":"rustler/src/types/list.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b919bf576a95ff766a49adbc95e7d1429fb122c859e01fdb805175d71d8f4450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler_codegen/src/record.rs:127-136 | rustler_codegen/src/tuple.rs:97-106 \u2014 before extracting anything, compare \u0060rustler_codegen/src/record.rs\u0060 and \u0060rustler_codegen/src/tuple.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060rustler_codegen/src/record.rs:127\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":"rustler_codegen/src/record.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da7e47adde9d84d47d56a53ef00d83056567cf573075d5a91dde665bebb415b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 10): rustler/otp_headers/nif_version_2_14/api.4.rs:1108-1176 | rustler/otp_headers/nif_version_2_14/api.8.rs:1076-1144 | rustler/otp_headers/nif_version_2_15/api.4.rs:1148-1216 | rustler/otp_headers/nif_version_2_15/api.8.rs:1116-1184 | rustler/otp_headers/nif_version_2_16/api.4.rs:1164-1232 | rustler/otp_headers/nif_version_2_16/api.8.rs:1132-1200 | rustler/otp_headers/nif_version_2_17/api.4.rs:1200-1268 | rustler/otp_headers/nif_version_2_17/api.8.rs:1168-1236 | rustler/otp_headers/nif_version_2_18/api.4.rs:1224-1292 | rustler/otp_headers/nif_version_2_18/api.8.rs:1192-1260 \u2014 before extracting anything, compare \u0060rustler/otp_headers/nif_version_2_14/api.4.rs\u0060 and \u0060rustler/otp_headers/nif_version_2_14/api.8.rs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"rustler/otp_headers/nif_version_2_14/api.4.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cbf05d9ca9701430d6a34d60a7bded359bc628ba7d66936fb381d4c38e3622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): rustler_tests/native/rustler_test/src/test_map.rs:20-32 | rustler_tests/native/rustler_test/src/test_map.rs:35-47 \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":"rustler_tests/native/rustler_test/src/test_map.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1be4e5229aa15c915ef190fc9f6a876a982287179f68ef6d50e0e08c0dc4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): rustler_tests/native/rustler_serde_test/src/json.rs:36-42 | rustler_tests/native/rustler_serde_test/src/json.rs:56-62 \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":"rustler_tests/native/rustler_serde_test/src/json.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ec016cbe2a7c46bf08b84476b738dd9eb3315939995e3324bef8a8f46326c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): rustler_tests/native/rustler_serde_test/src/test.rs:195-209 | rustler_tests/native/rustler_serde_test/src/test.rs:215-229 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_tests/native/rustler_serde_test/src/test.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca1c00f9be14e05d6de6fd2f10b21c19389423891125bca2b7e86812370ad74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): rustler_tests/native/rustler_test/src/test_atom.rs:4-4 | rustler_tests/native/rustler_test/src/test_dirty.rs:5-5 | rustler_tests/native/rustler_test/src/test_thread.rs:7-7 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"rustler_tests/native/rustler_test/src/test_atom.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c4f77949c91ad0f3500539cbd02be4dbf2d6ab0119c45660ca477f454b8aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): rustler_tests/native/rustler_test/src/test_binary.rs:62-72 | rustler_tests/native/rustler_test/src/test_binary.rs:75-81 \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":"rustler_tests/native/rustler_test/src/test_binary.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce174562f4739ec5570a2d7e6038d2d3450e26a64ac131654ac4b3667bbd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): rustler_tests/native/rustler_test/src/test_map.rs:23-32 | rustler_tests/native/rustler_test/src/test_map.rs:38-47 \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 \u0060rustler_tests/native/rustler_test/src/test_map.rs:23\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"rustler_tests/native/rustler_test/src/test_map.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"535870918d743a96e21debc045ea220b69ed0574559ddf3f95e5dad8ac9c3544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rustler_tests/native/rustler_serde_test/src/test.rs:197-204 | rustler_tests/native/rustler_serde_test/src/test.rs:217-224 \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 \u0060rustler_tests/native/rustler_serde_test/src/test.rs:197\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":"rustler_tests/native/rustler_serde_test/src/test.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a18a6a9dc6a96f7fae35a5f1fe3c0420a14148875fb53f2ca06a46b976275b9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: rustler (OTP): rustler (OTP): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"60bb16cad85856a0bad8b85a34d9bea21897a923bf9c4b82bb7f40e9d2b275bc"}},{"ruleId":"D12","level":"warning","message":{"text":"No dependency lockfile committed (rustler_tests/mix.exs): rustler_tests/mix.exs declares 1 dependency but no lockfile (mix.lock or rebar.lock) is committed beside it, so \u0060mix deps.get\u0060 resolves versions afresh on every machine and every CI run \u2014 two builds of this commit are not guaranteed to be the same build. Commit the lockfile."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2741593f08f827957a36d71d55e1e2ac51df72b486503507729b3ac9917996dc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 15 significant file(s) lose their only recent owner: rustler/src/types/atom.rs, rustler/src/serde/ser.rs, rustler/src/env.rs, rustler/src/types/list.rs, rustler_codegen/src/nif.rs, rustler_tests/native/rustler_test/src/test_codegen.rs, rustler_mix/lib/mix/tasks/rustler.new.ex, rustler_codegen/src/init.rs (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8ae2b8cd72c1f4479f309a113db6237e37ff6ea4e180060721a3d69d30025af8"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (17 single-owned of 73 analysed files in total, 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; 73 of the 153 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: rustler/src/resource/arc.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move this test to the trybuild tests in rustler_codegen \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_tests/native/rustler_test/src/test_codegen.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebe206f2b389bec66b92d0421b29bfd3b867f2ff73dc74af6c2099d83e81d98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make these realistic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_tests/native/rustler_test/src/test_dirty.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"139ab1359c49f5bb3ddc121e0717c36c8a8b7fdd108b3fa86484e9a1800f2d85"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: Cargo does not allow forcing a recompilation, but we need the \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_mix/lib/rustler/compiler.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"683c81fba6d913bb93b11941f2433730d450223862c12c20aefb461069809464"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Should actually be C enum, but repr(C) enums in Rust can\u0027t be used as bitfields. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/sys/types.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34917adcf9738674ce1c9f5c18d06314e2340dd459bcd29ad5a952841d1af3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support keyword lists \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/serde/de.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a036a0a9004ec259421a329e6f0887d8813b350bb2b22c52902714aa991cb1e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this right? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler/src/serde/de.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"8244be1c610375a21369df00e4300bf1e46968a0d491006388ba802977472851"}},{"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 \u0060rustler_tests/native/rustler_test/Cargo.toml\u0060 makes this repository a deployable product (line 12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rustler_tests/native/rustler_test/Cargo.toml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1241fae144c9643e7429e4b5579d7a8e1eb36b5c4e349c9704978ca72074aec"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 6.0/10. The most over is \u0060rustler\u0060 (20051 LoC, 131 module-visible types across 13 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"6cd7dd8ce2cb5c04a2c1d6ebe0d105c0ff37322563dcca85e129c8d762d0c027"},"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":"ae1f75a287691badda2d071f0bb9fee2fcf600c324f66602ac8d2fe76fbf4faa"},"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":"ad00e070df465e0a379e0eafb488382fe493a4808ab6d213840c4e58b002986d"},"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":"0d69e3beab226c373b7bd1d84dd05efb1dfab99c067a123e2df341897ba4f5b0"},"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":"aa9bcf50160bf9a9181d5894dca4ace97ebdf50aa7b244a8d789ebc11eda5c7e"},"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":"519faa065e98c3119a58248c91bda72703c947562cd615dc0eadb847a8658d1a"},"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":"e89239b706c746d631507c33b2950e6451e2727f0f8419ec397037ecfde62c74"},"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":"d8ae756e5f769efa40444c90bbfb5c0efc098520f8fd18c162f4159d78d16817"},"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":"e870d18d2284e79596b2dd936094b432af1077855e35b01ab418de7d3239d3b6"},"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":"85596d040b50e8d06ccf83dadb684cc46fea9d38409df08516cf63f9eb339c7e"},"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":"d8943f489e5d1d6ef240980fa980232af37d56adb3452bc3e493efb1d454b069"},"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":"06f8bee06e66b77d0e144444e9d3b01b1e2005b6ff6eb0498411517b3e5d71eb"},"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":"a8dfc835fd4a62e31b7a5ac65908097872d09fd13266ea1a48e17b40f14fbff7"},"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":"ba30774c97eb747aee0c0cba3a4d6bbf8d110c18bc4fd144c0fe7ee9b1bdacf2"},"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":"b0418fedf504da7579c03184b3ba31e87f6ac17e87dd92cddc164c6e2dca9e44"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 5 of 73 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; 73 of the 153 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: rustler/src/types/big_int.rs, rustler_codegen/src/tagged_enum.rs, rustler/src/erlang/option.rs, rustler_tests/native/rustler_test/src/test_env.rs, rustler/src/thread.rs. 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":"rustler/src/types/big_int.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10dc76a90e579471b5f9492ae4683acdc40320ddc691ba81538464709218958"}},{"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":"rustler_codegen/src/tagged_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f68f948bd4fdce4cf226a21f2a750f556f4e82f5810260a3aa50bd0820f4b"}},{"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":"rustler/src/erlang/option.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc58013e1a7648f251cadf43a66c08f60c34fad4973f8adf9dea70de8d322bdc"}},{"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":"rustler_tests/native/rustler_test/src/test_env.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a23a64e92807a00d246506452a1e81fd6fb4d5064e3f06a990283d959605eb6"}},{"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":"rustler/src/thread.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a315073f7cd3a8c3f2224d2af2608a8eed6d1fd223f21195df9e60e1aca81f6"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9e759935bc673c1bbcc6c3a0b71d4c7fad5f018c82bda27e04c84ef98fe18b58"},"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":"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":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3d0d7c28467261d003a8cf6abc881841cc635e9d2324ab34b8ff58916f1fd"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":21,"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."]}]}