{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Socket::process (cyclomatic 106): Socket::process has cyclomatic complexity 106 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/socket/tcp.rs holds 2 of the 20 functions over the threshold \u2014 including the worst \u2014 and 131 of the 223 points over it (59%), 10.1\u00D7 the next-largest file (src/iface/interface/multicast.rs at 13). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd260bd0f36e38ee254e4061b888c352c9b8a9bdf837cefd69ed14462a45b69"}},{"ruleId":"D1","level":"warning","message":{"text":"Socket::dispatch (cyclomatic 55): Socket::dispatch has cyclomatic complexity 55 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/socket/tcp.rs holds 2 of the 20 functions over the threshold \u2014 including the worst \u2014 and 131 of the 223 points over it (59%), 10.1\u00D7 the next-largest file (src/iface/interface/multicast.rs at 13). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6731f83b6a5efc03c840db5fc855b5056ae8c24a4c8a66281bdbdc530672d51"}},{"ruleId":"D1","level":"warning","message":{"text":"Interface::multicast_egress (cyclomatic 28): Interface::multicast_egress has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90892cc2093ad3dd9ead178c74ab01d5bfcd0904ee62208c6d45f693fa70d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"Socket::process (cyclomatic 25): Socket::process has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dns.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfbd60fe839094a5eaf41ae475f4bae30500a92cf3e24990e9c881f3b229050"}},{"ruleId":"D1","level":"warning","message":{"text":"InterfaceInner::process_ipv4 (cyclomatic 23): InterfaceInner::process_ipv4 has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv4.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7623ec3a8ab45ed12eb7268be59c2f15beb3c13ae7263e419f1e1b0ccedbdd"}},{"ruleId":"D1","level":"warning","message":{"text":"UnresolvedAddress::resolve (cyclomatic 23): UnresolvedAddress::resolve has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/mod.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9279d877d500bba515102e2bfd075682e21a72a94bb8ba37d8441e3b3d04071"}},{"ruleId":"D1","level":"warning","message":{"text":"Socket::process (cyclomatic 22): Socket::process has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dhcpv4.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabe0d24c4c2ef8db1934f00d803faeada9330b7c316accb1c4c87753f530fa3"}},{"ruleId":"D1","level":"warning","message":{"text":"InterfaceInner::get_source_address_ipv6 (cyclomatic 21): InterfaceInner::get_source_address_ipv6 has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb2f1f35ea3559d33cc6840eccdf65c0f7cdb52b1e3c9c4d772ca7d15edd1bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Repr::parse (cyclomatic 21): Repr::parse has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dhcpv4.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6246ab48c195002c05513843f3a0daf17b2879eb96cf17572a30815aef2d879"}},{"ruleId":"D1","level":"warning","message":{"text":"Repr::buffer_len (cyclomatic 21): Repr::buffer_len has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33994036b11a00c7e6a09c8a739a12d1efdba2cdb614951f399cae9f3f20c92"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::accept_ipv6_part (cyclomatic 20): Parser::accept_ipv6_part has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parsers.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cbab0e4cb93dd9326ebae7ce881255ad0f80ba28bbddd7b52e4491f024a50a"}},{"ruleId":"D1","level":"warning","message":{"text":"Packet::check_len (cyclomatic 20): Packet::check_len has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1152826cfbdf1aa15c161b187f003984938556a452aa0cb98592cbf0d2449de4"}},{"ruleId":"D1","level":"warning","message":{"text":"Repr::parse (cyclomatic 20): Repr::parse has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/tcp.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d7edbac00b3fd84b6528fdc83e8d767ae8c56da077be48779260745b243996"}},{"ruleId":"D1","level":"warning","message":{"text":"Packet::fmt (cyclomatic 19): Packet::fmt has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/tcp.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bcd6927d39d6c2c9260dfc3620a6f68ce147d2aeacd6fbbe8ee232719e1698"}},{"ruleId":"D1","level":"warning","message":{"text":"Packet::dst_addr (cyclomatic 18): Packet::dst_addr has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eeebc649234769a1c27caeb4d47efc5b780652dd4ec6af1007ac89c581a5ec"}},{"ruleId":"D1","level":"warning","message":{"text":"InterfaceInner::process_ndisc (cyclomatic 17): InterfaceInner::process_ndisc has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b5130425d98c48282477f4662b7e296ede18ad109189544ff65b8f92145bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"InterfaceInner::lookup_hardware_addr (cyclomatic 16): InterfaceInner::lookup_hardware_addr has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2f184ce30e5cf796df738fb45e7275c5fcda8c4d63e7227af8c8743801dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"InterfaceInner::dispatch_ip (cyclomatic 16): InterfaceInner::dispatch_ip has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c536c7e7ca82dda7d3da42b29a1f35f24887bbd0c693e5dca818021d762e4a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Assembler::add (cyclomatic 16): Assembler::add has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/assembler.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"773b26ed91ee28e04cbcaa1013638a5dd3ec44b84122e553028c3e267f332606"}},{"ruleId":"D1","level":"warning","message":{"text":"TcpOption::parse (cyclomatic 16): TcpOption::parse has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/tcp.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"effcbdf848b9197aa8be6c036011230f1769f8d1330cdeb762d5cb8c231a0f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::process (cognitive 130): Socket::process has cognitive complexity 130 (threshold 15). Drivers by points: if/else 59 (104 pts), boolean chains 14, match/switch 9 (12 pts) (nesting depth added 48). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/socket/tcp.rs holds 2 of the 24 functions over the threshold \u2014 including the worst \u2014 and 170 of the 396 points over it (43%), 3.2\u00D7 the next-largest file (src/socket/dns.rs at 53). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"33caeda63ba05682150a88f978bb00a99e285c981e6e38c42c5950be1d4f8c92"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::dispatch (cognitive 70): Socket::dispatch has cognitive complexity 70 (threshold 15). Drivers by points: if/else 40 (53 pts), match/switch 5 (10 pts), boolean chains 7 (nesting depth added 18). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/socket/tcp.rs holds 2 of the 24 functions over the threshold \u2014 including the worst \u2014 and 170 of the 396 points over it (43%), 3.2\u00D7 the next-largest file (src/socket/dns.rs at 53). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"96472aa9eea7bd11b9f8a567ebfc505f81b1f697249c204d937ad1cb374129d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Interface::multicast_egress (cognitive 60): Interface::multicast_egress has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (44 pts), match/switch 7 (12 pts), boolean chains 2, loops 2 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd30da16156526aa9189c6755de5ad4be3ab4b9eb6076efdca79bbb4a4a2500d"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::process (cognitive 57): Socket::process has cognitive complexity 57 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 6 (19 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dns.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"43db75d921ca48b732387d4b09140962d475949b2bf35c3403aacf8ea9628e10"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceInner::dispatch_ip (cognitive 32): InterfaceInner::dispatch_ip has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 4 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"200761bf3cf3e6096a062561d6f033ba37361cf231151b0fb55d20d7a1ef66ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Repr::buffer_len (cognitive 31): Repr::buffer_len has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (27 pts), match/switch 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c159aea5b1b372b3826d3a5c09722bf94135c88acaecb91d97687ca7cb9902a"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceInner::get_source_address_ipv6 (cognitive 28): InterfaceInner::get_source_address_ipv6 has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, loops 2, match/switch 2 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa68cfb83adaf92f79591216e812d8588008ae524e5a608140004ac4e34efd96"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceInner::process_ipv4 (cognitive 27): InterfaceInner::process_ipv4 has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv4.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae759f9be5db72952d3dd9c76ec3039cb0ba2fb0b676e2b714df89a0631c99c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::process (cognitive 26): Socket::process has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 4, boolean chains 2 (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":"src/socket/dhcpv4.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ecb565cc3c66b20ad32c4beed22c3dd00dc66c9270b0e0bff79e26e3bce274"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::dispatch (cognitive 26): Socket::dispatch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dns.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3bb9a09a5bd675aaa365f0ab86be6e3cb5f6a0767c6943717914c19e7532a9"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceInner::process_ndisc (cognitive 25): InterfaceInner::process_ndisc has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 6, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fef518e2a27d14fd3aea4fe79659cc37039d7f92a873d719ea3efb5cf175cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"Assembler::add (cognitive 23): Assembler::add has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/assembler.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fc4ddb5999cda1879f7aa603925e271b70e3b749f2dc028c4891cc65facded"}},{"ruleId":"D2","level":"warning","message":{"text":"Packet::check_len (cognitive 23): Packet::check_len has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb784989497245b117f1648151dfd6311ed9725107aee0df5b88b8bed1cf246"}},{"ruleId":"D2","level":"warning","message":{"text":"SequenceCounter::partial_cmp (cognitive 21): SequenceCounter::partial_cmp has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/lollipop.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"612d6f9ffab38e52613030e4e1d9de574f1886c3026b0d1db6958828cdedb024"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::accept_ipv6_part (cognitive 20): Parser::accept_ipv6_part has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, match/switch 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parsers.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7884d47073eb4ec1414db7670a5ca1eb0b996984e43d485ccdffd4886885289"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::dispatch (cognitive 19): Socket::dispatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dhcpv4.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4dc4ad14fe3d1aa2a633c382ae41ec9d3301e91272eff209851e5dce5e7a65"}},{"ruleId":"D2","level":"warning","message":{"text":"Repr::parse (cognitive 19): Repr::parse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dhcpv4.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"586f316966d5d06b8e4dcf5140729e1207ffbce96511ace8ba9db842db629fad"}},{"ruleId":"D2","level":"warning","message":{"text":"Repr::parse (cognitive 19): Repr::parse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndiscoption.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4f41442fe65c69d53d335304ab4356b34888eaa1b18eeedb5872723aa9fb3b"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::dispatch (cognitive 17): Socket::dispatch has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 4 (7 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/raw.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb18d5ac768de1538a2e398edd0bc4c8b2bb7a4bc6490d48595eff0ec720f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"Repr::emit (cognitive 17): Repr::emit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndisc.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"8918d4c0ca75b051f38950fd0a63445b25871114fa3746ea6b6ddf83cb6e400f"}},{"ruleId":"D2","level":"warning","message":{"text":"Packet::set_dst_address (cognitive 17): Packet::set_dst_address has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fc71b2cec932e4b01f5fbc473a26d8bd65c5c2d92e90a387c7d913aca1a946"}},{"ruleId":"D2","level":"warning","message":{"text":"UnresolvedAddress::resolve (cognitive 17): UnresolvedAddress::resolve has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (16 pts), if/else 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/mod.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2d348940f829324f06c9151fbaa425f897939abd4da14208efe7bd1360023b"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceInner::process_igmp (cognitive 16): InterfaceInner::process_igmp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c77f301c781dec25d518bbc1b6201cf24ac772f70de3df038e1c7cd62b08c27"}},{"ruleId":"D2","level":"warning","message":{"text":"Frame::check_len (cognitive 16): Frame::check_len has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"189969ea20db0e054f906b1ab00bdea7ed5e8c0f087ca2672ebcbc2aeec4bce7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Socket.process: MethodTooLong \u2014 process runs 381 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 281 over it, 3.81\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":"src/socket/tcp.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"57db59736ab9f27b6baeab4c33d9f9d5df1a871479f761efe0a14ff10e523191"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Socket: ClassTooLong \u2014 1202 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), 71 methods, 3 blocks, lines 501-3008. The bar is 400 significant lines; this is 802 over it, 3.01\u00D7 the bar. 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":"src/socket/tcp.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30498a42022f982228457378ce56838fa0cee808cdcea5b29d6b74a7b96f349"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: socket/tcp.rs: FileTooLong \u2014 1496 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), about 80% of them inside a single declaration: Socket (3 blocks, 501-3008). The bar is 500 significant lines; this is 996 over it, 2.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb295c1fde2ab17e5172cd33def41071ea38763646d545d64fb29394ba404bef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/rpl.rs: FileTooLong \u2014 1475 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). The bar is 500 significant lines; this is 975 over it, 2.95\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":"src/wire/rpl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaa93c4da669aae1c61dd8075782119ac4cc05c46647528892aff5c47bd2693"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Packet: TooManyMethods \u2014 85 methods. The bar is 30 methods; this is 55 over it, 2.83\u00D7 the bar. 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":"src/wire/rpl.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ca6faf4229d33e1708b341bc5486802ca0a92cc0f458efddc58d81a1e0615a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Packet: TooManyMethods \u2014 75 methods, declared across 4 files: wire/rpl.rs (38), wire/ndisc.rs (16), wire/mld.rs (15), iface/packet.rs (6). The bar is 30 methods; this is 45 over it, 2.50\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":"src/iface/packet.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3981eb9389e0ce8b8922cfd312c3bdbb2f8c09851e6df467d1b6469a50bc5ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Socket: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. 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":"src/socket/tcp.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea37edcd8a420ec6aafdaf1092eff7ad0c00557f96ae9fb431d40e5c1bd6858"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Socket.dispatch: MethodTooLong \u2014 dispatch runs 228 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 128 over it, 2.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":"src/socket/tcp.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a440f4f8791f1d5c5f1f00215077d12f31004b5d1a24b0a1e8e0a7a5d6fcbe69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InterfaceInner: TooManyMethods \u2014 63 methods, declared across 9 files: interface/mod.rs (22), interface/ipv6.rs (11), interface/ipv4.rs (10), interface/sixlowpan.rs (8), \u002B5 more file(s). The bar is 30 methods; this is 33 over it, 2.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":"src/iface/interface/mod.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfe1b7eb209137f3174ae20faf7989fd89f06f57af107bb9ba4db8842f424de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Packet: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. 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":"src/wire/tcp.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"232ff5ad5c1ea83acfb1bc9c41ad6d09dd8c15f658fded6631aab343447939d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interface/mod.rs: FileTooLong \u2014 825 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). The bar is 500 significant lines; this is 325 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":"src/iface/interface/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ebb0df6ee6ddbd2a9000ba1c54aa7771bb79199976c38188f81a4223e24ff8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/tcp.rs: FileTooLong \u2014 785 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). The bar is 500 significant lines; this is 285 over it, 1.57\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":"src/wire/tcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297e3486be8ae5c06b27c3a8757500e541c519f88f2b59ab8c0135593a4b251"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Interface.multicast_egress: MethodTooLong \u2014 multicast_egress 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":"src/iface/interface/multicast.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1125ebb811e4296380b0a98534dbf2d73ed704514a9e635bdeef0a3ef346776d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Interface: TooManyMethods \u2014 39 methods, declared across 5 files: interface/mod.rs (26), interface/multicast.rs (5), interface/ipv6.rs (4), interface/sixlowpan.rs (3), \u002B1 more file(s). The bar is 30 methods; this is 9 over it, 1.30\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":"src/iface/interface/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3d9c68b940ef8609504eac455f05a5bd400ddd8d538552c7ff3e17335eec80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Frame: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. 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":"src/wire/ieee802154.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a568e1ec56683bec3bdca227f07bc0f47fa87589f77ef8cabfa914d385a7c0b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Packet: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. 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":"src/wire/ipv4.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"813b58c2abf5262e0336f4ba604a11635faa02b751784cb6198e4f6e56692730"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/ieee802154.rs: FileTooLong \u2014 622 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), about 66% of them inside a single declaration: Frame (6 blocks, 228-914). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0cd26ff84432acd109feecdb27b5584ef8798fcb8c500897ec9fb441056cfa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Socket: TooManyFields \u2014 37 stored fields beside 71 methods. The bar is 30 stored fields; this is 7 over it, 1.23\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":"src/socket/tcp.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"567f6da3b4c192cb7954fff1956c0574da7defeeb7f437ce711872ba1539ae5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/ip.rs: FileTooLong \u2014 592 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). The bar is 500 significant lines; this is 92 over it, 1.18\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":"src/wire/ip.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd371c3036358c6d2a68ad20503479a2de46be91449144a05a3c351042986aec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InterfaceInner.dispatch_ip: MethodTooLong \u2014 dispatch_ip runs 118 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 18 over it, 1.18\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":"src/iface/interface/mod.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"988606a47a56323d33e5b377186722917065cbbe1f8c6aa4b9bf849a06230f4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Packet: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. 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":"src/wire/dhcpv4.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc577414984f1681bf7b154aa8f0ded8e7190b5105c6d1fa00b1417af85c4d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Socket.dispatch: MethodTooLong \u2014 dispatch runs 110 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 10 over it, 1.10\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":"src/socket/dhcpv4.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ceb0cb8b343f3a48039cdbcf4f4125ac72a5e2b7e1e12cae0e6e6f756fe75b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sixlowpan/iphc.rs: FileTooLong \u2014 536 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), about 72% of them inside a single declaration: Packet (4 blocks, 73-678). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda78ff1cfe909d195cc00adc4dea68478f53cbba73872091cc27188f5c27301"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/dhcpv4.rs: FileTooLong \u2014 535 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). The bar is 500 significant lines; this is 35 over it, 1.07\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":"src/wire/dhcpv4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c81fcd6a1585b8b084701d3fbf55c8ff89d26f9d786f4a62822427ef24d6fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wire/icmpv6.rs: FileTooLong \u2014 520 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). The bar is 500 significant lines; this is 20 over it, 1.04\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":"src/wire/icmpv6.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f5baf8cbb3f5c93d1c43a33a6cb8af1923d232ff54cf30f27fd0c298d49dd3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Frame: ClassTooLong \u2014 408 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), 39 methods, 6 blocks, lines 228-914. The bar is 400 significant lines; this is 8 over it, 1.02\u00D7 the bar. 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":"src/wire/ieee802154.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"150055c5e590bb16d61b6f72bc0aa4bb0439c4eb2a515a927f38944445a6705f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Repr.emit: MethodTooLong \u2014 emit runs 102 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 2 over it, 1.02\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":"src/wire/rpl.rs"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d34c49678c746c86a2c283e9b474febbe1e10c8c31bd4c61bd49d39ce7ddf57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InterfaceInner.lookup_hardware_addr: MethodTooLong \u2014 lookup_hardware_addr runs 101 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 1 over it, 1.01\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":"src/iface/interface/mod.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae31dcfd3a74d868a65b9bc142aefc268def2bdd2eb86288ae2e4a1583154b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/socket/raw.rs:279-288 | src/socket/raw.rs:316-325 | src/socket/udp.rs:408-418 | src/socket/udp.rs:449-459 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/raw.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea0d937089dde193ee99677ce6f7ad2f904dd74ba1235c01e6d0995b534042c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/socket/icmp.rs:434-485 | src/socket/icmp.rs:496-547 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8ad62d91b7bd6140c3e28924897cc01099dbf01dbee8f069c7f73550098940"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/wire/ieee802154.rs:497-521 | src/wire/ieee802154.rs:540-566 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb5362e4396aacebb43f3fe8b253a1ec099aaeeace3538ed1588f356588459"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/storage/packet_buffer.rs:80-118 | src/storage/packet_buffer.rs:130-167 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/packet_buffer.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3942ee1fd4be844252da807dada71d64b4c6c887a8cbe176fd6166345723d489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/storage/ring_buffer.rs:219-231 | src/storage/ring_buffer.rs:276-288 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/ring_buffer.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b94753ec0154524ef5f46b84c8b30e05b94826cb4060aeff9e6fe0b2aa53a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/wire/sixlowpan/nhc.rs:518-543 | src/wire/sixlowpan/nhc.rs:546-578 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/nhc.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bccad138f32abfc324288f553c7dc2a842307389eb529c4bad417650bec897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/iface/interface/mod.rs:316-329 | src/iface/interface/mod.rs:337-351 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6138a27350031bc8644bd65117502ebd55ac92960e86dc7122cc316f82fdbcef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/socket/udp.rs:307-331 | src/socket/udp.rs:346-370 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/udp.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ad29fcef5f9b564b1b6091c70783ce5546b77d8560b3efa6ef7c835eb4edd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/parsers.rs:300-316 | src/parsers.rs:357-373 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parsers.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9688f1b57eaf66e57731873aac678d94e76c33d4a2bbaabc684541101c71ca38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/wire/ieee802154.rs:105-122 | src/wire/ieee802154.rs:204-214 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ec246d8dfd7bf51de1f76cf6d9ddc90ef7c284af8696e0e8feec1532324c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/iface/interface/multicast.rs:107-127 | src/iface/interface/multicast.rs:133-151 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57497c6e631a202f33cae302155aa172731d7cb8956cd0cd16f0f77800886e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/wire/ip.rs:608-629 | src/wire/ip.rs:856-869 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ip.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"6680cf9fd55aa5718fde0e4530cce6d6f42adece4194ec5c8b05f80bfea319a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/socket/icmp.rs:555-573 | src/socket/icmp.rs:581-599 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b5d4580acbd2a1785582eb50685126da42f97f922ee8ab09ca9f2dcd609767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/wire/dhcpv4.rs:398-407 | src/wire/dhcpv4.rs:409-417 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dhcpv4.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d003a6444bcdb113caa8673b156bbdd2cfb5cfe022dcb25658140fa338ab71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/wire/ip.rs:286-295 | src/wire/ip.rs:299-308 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ip.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a14347eade8ee61fe2a49d5d88c5344de8e30df9b18a1339c568bbddbd7311"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/socket/icmp.rs:262-281 | src/socket/udp.rs:217-236 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"539f3cf8e66775de0a0b5cac9babeca607de6317912b395660565c77461cee93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/wire/sixlowpan/iphc.rs:444-456 | src/wire/sixlowpan/iphc.rs:664-677 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7432c07c672dcb83b68f102a3fd892f59feb556bf60861dc866fa8a31b1b63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/storage/ring_buffer.rs:297-315 | src/storage/ring_buffer.rs:352-370 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/ring_buffer.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b07fd4e7cf7ef02f3298d588adbf75f8656719eaaea95b52d7dd433af45fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/wire/tcp.rs:317-328 | src/wire/tcp.rs:333-344 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/tcp.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60e1ed481ac953ebb60f89bf602636b0211e8556c743caddc36911c624da8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/wire/ieee802154.rs:719-725 | src/wire/ieee802154.rs:734-740 | src/wire/ieee802154.rs:784-790 | src/wire/ieee802154.rs:839-845 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5aca9e4e5a96474253f29378a6cf6620492fd4eea665f52482ba7981655ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/wire/icmpv6.rs:538-553 | src/wire/tcp.rs:616-626 | src/wire/udp.rs:194-208 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fad367474e25a0337f10973f8e24301cb93a109f75624f1e4da308521b94c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/wire/ipsec_ah.rs:67-81 | src/wire/ipv6ext_header.rs:55-69 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipsec_ah.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac4eaf5d4a5a8abce3ff38672db0ae8a03fe2f55295e035770929db7791c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/parsers.rs:128-137 | src/parsers.rs:283-292 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parsers.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaa1e8d7962499a894993d1b7445bae964e9c94130abbdb71f589d9d4ad199a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/wire/sixlowpan/mod.rs:192-207 | src/wire/sixlowpan/nhc.rs:63-78 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/mod.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba469fe3730883e343385486017bd5625eb0658b6c3ce7752c18eeb933b00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/wire/ip.rs:230-237 | src/wire/ip.rs:338-345 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ip.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"df249f7acfde63bffe544fcb3f7d2de6be69a9b9b6480250ea4b9c4d69528b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): src/wire/mod.rs:364-373 | src/wire/mod.rs:376-385 | src/wire/mod.rs:388-397 | src/wire/mod.rs:429-438 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/mod.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a0f6c91a49fa6475c3baf508c04eb762bd2cea6ac4650e99835a174b729fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/wire/icmpv6.rs:424-434 | src/wire/tcp.rs:395-405 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43f3cee3634e4cfad75cc2442fee7cfdf61a4834c8d6176d1b834278354520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/iface/interface/multicast.rs:469-488 | src/iface/interface/multicast.rs:491-505 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ee672a619119009afe09a2f82aff0eeec24647f5383726fa9f15b554b82e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): src/phy/sys/raw_socket.rs:78-91 | src/phy/sys/raw_socket.rs:93-106 | src/phy/sys/tuntap_interface.rs:92-104 | src/phy/sys/tuntap_interface.rs:106-118 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/sys/raw_socket.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b95dc402516e9159c1f027263f16d940d51a9382d231158e18f9d624ce2314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/wire/ipv4.rs:445-450 | src/wire/ipv4.rs:454-459 | src/wire/ipv4.rs:463-468 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e9a19903a30cf5353eab83a1c8c8f890044375a68caa72b60e413cd7821fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/wire/dns.rs:226-231 | src/wire/dns.rs:233-240 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dns.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c852c10effbe4679e0e45414c3465ed97b5867cfc68d9ff768d89a53c7bda4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/wire/ipv4.rs:436-441 | src/wire/tcp.rs:457-462 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a193031eb5a13cd433a92dc6aade00f3950b9065f6b1031f05bb17c2762414"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/socket/icmp.rs:385-394 | src/socket/udp.rs:388-399 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13b4c83ca63053e5df3c22fb6c54dd8a9b85e75ecc00be48afb4a0c590dcdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/socket/icmp.rs:133-144 | src/socket/raw.rs:102-113 | src/socket/udp.rs:131-142 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"17830ddd0b6fe3f6f6935f331289fd0aa6bdd6e8586e46977404d1466739d7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/wire/icmpv4.rs:142-148 | src/wire/icmpv6.rs:185-191 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv4.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"12036c70144d861b92298707c4781f9aecdc1125c9cbb4300727dfba02215229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/wire/ipsec_esp.rs:36-44 | src/wire/ipv6fragment.rs:53-62 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipsec_esp.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"02da50bf76709afdde47b1423d031e6f167f50a2640783f0a6a5fc25ebfc5544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/wire/ndiscoption.rs:156-166 | src/wire/sixlowpan/nhc.rs:124-133 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndiscoption.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"711074163f1ff4e2a7b78be409583643085dda75c570b40f1119b64d4d3fa20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): src/wire/igmp.rs:327-332 | src/wire/ipv6.rs:572-580 | src/wire/ipv6fragment.rs:130-138 | src/wire/ipv6option.rs:257-265 | src/wire/ipv6routing.rs:336-344 | src/wire/ndiscoption.rs:384-392 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/igmp.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2120a903663bcb1331b48b1e1f88ccfd3b316a494f7c024674baa6abcad4e3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/wire/ndisc.rs:138-141 | src/wire/ndiscoption.rs:336-339 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndisc.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7dd9896c3822dd67f404822fc85147456a2a16448ae3c856a35174c598c4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/wire/ndisc.rs:145-148 | src/wire/ndiscoption.rs:343-346 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndisc.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"780b1f3ba1ccca4d18dac2a4c100c598e8dc8745f8938139ac39e340ab0d01b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/wire/ipv4.rs:354-357 | src/wire/ipv6.rs:480-483 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c1bb3824f0b7d0bf1d408bec8538739ba5769aab7012ae45cae37df6cb7e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/wire/sixlowpan/iphc.rs:366-374 | src/wire/sixlowpan/nhc.rs:603-611 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"870cddfeeeaef2d970832e7dbbc4a043be536e852e789c362032557431d91627"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/wire/ipv4.rs:347-350 | src/wire/ipv6.rs:473-476 | src/wire/ipv6routing.rs:192-195 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f6649eb1701da719f946644be09eb3e52f5ee246863fef29b4e3d386e144b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/wire/mld.rs:50-53 | src/wire/ndisc.rs:79-82 | src/wire/ndiscoption.rs:267-270 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/mld.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0246ab21f059c5266119aba2e91a07f2a03f3183ed9e316810d8ad4022a4ba04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/wire/mld.rs:235-238 | src/wire/ndisc.rs:105-108 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/mld.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd493d80979b6b399038fe34c48a45d2e4c91e4a571561212adbdadbb0d445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/wire/tcp.rs:630-634 | src/wire/udp.rs:212-216 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/tcp.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c497bef4f7fea70f0aec93b3d6d479176c94caa2d79d29af0b2dd87acc028416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/wire/arp.rs:174-177 | src/wire/ethernet.rs:216-219 | src/wire/ndisc.rs:131-134 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/arp.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c2746d4ac73cc4b998b4bcc6043d0e19114a59f4981b1bc64fc509eb81bbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/wire/dhcpv4.rs:356-359 | src/wire/dns.rs:126-129 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dhcpv4.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9f0ec39979bb3ee3a07a1ae91a0b807ef61ec3366a62c24256bc44b1ea9bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/wire/ipv4.rs:517-521 | src/wire/tcp.rs:638-642 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed744d9299e333fed5ed41ab4a929a400499e41002287e828d96a95e2db2d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/wire/ipv4.rs:386-390 | src/wire/tcp.rs:419-423 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaff25eee1abd2094b5f24a3db91dd021b362f8e9c96460b6401e4ac40dab5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/iface/interface/sixlowpan.rs:428-455 | src/iface/interface/sixlowpan.rs:563-590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/sixlowpan.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bdc80c2bfa1568acfd8e994a26af20832211374e6c4a2769405f2c0bac5c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/wire/ipv4.rs:63-84 | src/wire/ipv6.rs:210-231 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c402af0b7438d43720760d01cd2fc9c2fed43980f241f6e08d4f06ce89d2dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/storage/packet_buffer.rs:91-111 | src/storage/packet_buffer.rs:135-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/packet_buffer.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"597c0dffaec0e04cf5a4f5f0c8d479116608ee96c055c74c92706a08b278b09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/wire/ieee802154.rs:502-521 | src/wire/ieee802154.rs:547-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/ieee802154.rs:502\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":"src/wire/ieee802154.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f1d610edb7a63c1d1ca3b1e25134fc9301abfe6324ce63ce81d9b53ea4444c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): src/iface/interface/multicast.rs:213-230 | src/iface/interface/multicast.rs:261-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/iface/interface/multicast.rs:213\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f73a0b48db70591a61fa8deb5ea15ecf46e5ba08659d67dc18635c6dab5e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/socket/icmp.rs:444-461 | src/socket/icmp.rs:506-523 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/icmp.rs:444\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"551a549b18c75ea1ab4660f77d3e2ef248de2db458c9144f5b3109f8162198c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/socket/icmp.rs:265-281 | src/socket/udp.rs:220-236 \u2014 before extracting anything, compare \u0060src/socket/icmp.rs\u0060 and \u0060src/socket/udp.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/icmp.rs:265\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":"src/socket/icmp.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d54479ec2c37c588c72ea304818fcd8a6b8058681de640565c76a254626f42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): src/socket/icmp.rs:464-475 | src/socket/icmp.rs:526-542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/icmp.rs:464\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e9a22f8a27da9161171b51bc4eafb687dd782cc9f2a0524673fbbdf5b60ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): src/wire/sixlowpan/iphc.rs:533-549 | src/wire/sixlowpan/iphc.rs:625-637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/sixlowpan/iphc.rs:533\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6c7b141d8e381750cc11c05fc8bd5205f403dde69f0dc29e4e6272c74d8318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/phy/raw_socket.rs:80-94 | src/phy/tuntap_interface.rs:67-81 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/raw_socket.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ac01845b6b7acd95464a70ef640d029b4efa8fc5015bacc17c6f5413b289b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/iface/interface/multicast.rs:199-211 | src/iface/interface/multicast.rs:247-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/iface/interface/multicast.rs:199\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dd68e4e37911f43af696703c37438c03dd97f97867323533f4712676ccc3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/socket/udp.rs:308-320 | src/socket/udp.rs:347-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/udp.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83c827a5bca59edc2aa533afe3260a57136e35c6e764d6c091ab70e95e8a543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/iface/interface/mod.rs:1393-1404 | src/iface/interface/mod.rs:1414-1424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/iface/interface/mod.rs:1393\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":"src/iface/interface/mod.rs"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1d4ec103787e0d07ab3152e3945b46e14b3324759af771b99a4c3c5d6c2c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/phy/raw_socket.rs:127-138 | src/phy/tuntap_interface.rs:114-125 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/raw_socket.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d120973374643c00df6c58946135d3b82ae3e7daf3df404714b1d47bf3aab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/wire/sixlowpan/mod.rs:101-112 | src/wire/sixlowpan/mod.rs:148-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/wire/sixlowpan/mod.rs:161\u0060 calls \u0060copy_context\u0060 and \u0060src/wire/sixlowpan/mod.rs:113\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64137a84232ac6dcf18407140b3c1e0e6312c74db5afc7ed87c201440bade6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/socket/icmp.rs:675-685 | src/socket/raw.rs:455-465 | src/socket/udp.rs:582-592 \u2014 before extracting anything, compare \u0060src/socket/icmp.rs\u0060 and \u0060src/socket/udp.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/icmp.rs:675\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f282c2572aeaa85a3ae58c37a354603da92ff6431aaecc7408a11e8ae1a803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/wire/ip.rs:931-942 | src/wire/ip.rs:957-967 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/ip.rs:931\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ip.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4021524cc2ae855825af7d32cc7fafd9e661e05f2eae7def224118bc525e9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/wire/sixlowpan/nhc.rs:527-537 | src/wire/sixlowpan/nhc.rs:555-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/sixlowpan/nhc.rs:527\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/nhc.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbbd81c4f3e6556562c68a20cc68ade0bb91bb20c8f5622f8f76b35d5ad402c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/wire/ip.rs:822-831 | src/wire/ip.rs:840-849 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ip.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54a6efcafe783f8976270f06659de6030adc2f70d6cbe54e30eb60c030de06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/wire/icmpv4.rs:506-514 | src/wire/icmpv6.rs:817-825 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/icmpv4.rs:506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv4.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f136071565001ea81744c2a656033861b0befeda6dee1280c4058dcbe8526322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/wire/sixlowpan/iphc.rs:539-546 | src/wire/sixlowpan/iphc.rs:627-634 | src/wire/sixlowpan/iphc.rs:779-786 | src/wire/sixlowpan/iphc.rs:816-823 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/sixlowpan/iphc.rs:539\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9ae9568be98ef0adeb65150bb3d9da5f99bb2c8b14afa0c61cffe4bf56b41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/iface/interface/mod.rs:317-326 | src/iface/interface/mod.rs:338-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec43bce802b706de698ff644efe197cdbc6b12af75a784dc12f6cf1092a1f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/socket/raw.rs:281-288 | src/socket/raw.rs:318-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/raw.rs:281\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":"src/socket/raw.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffbbfc4d1dea311497c14e99488e431cf6b797f79aee5331a750295bcfc29e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/socket/udp.rs:411-418 | src/socket/udp.rs:452-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/udp.rs:411\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":"src/socket/udp.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aea16079d66673ae64237ba0bb01770d213d775ff155f3453ea7cdd6aab2355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/wire/dns.rs:298-305 | src/wire/dns.rs:367-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/wire/dns.rs:375\u0060 calls \u0060read_u32\u0060, \u0060read_u16\u0060 and \u0060src/wire/dns.rs:306\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":"src/wire/dns.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad71a03e74a35088ea10983e85c4d8535e5c2bf0d4a559d33e1952a930b07fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/wire/icmpv4.rs:423-430 | src/wire/icmpv4.rs:446-453 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv4.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78fdbb686dbfbd68ef370a4a49832d217c28a5a2d9ae931f199dae7920243a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/wire/sixlowpan/iphc.rs:445-452 | src/wire/sixlowpan/iphc.rs:665-673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"301f24d01e4a0a97e0e343b98581a0d23aee616c749a29eae328fcf455f92c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/wire/icmpv4.rs:525-531 | src/wire/icmpv4.rs:539-545 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/icmpv4.rs:525\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":"src/wire/icmpv4.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed02eb9ee05a845b211e0a45155648b51e3d4516ea4349afbaa5ac3a88c0a95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/wire/sixlowpan/iphc.rs:604-610 | src/wire/sixlowpan/iphc.rs:611-617 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/sixlowpan/iphc.rs:604\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/wire/sixlowpan/iphc.rs:610\u0060 calls \u0060set_field\u0060 and \u0060src/wire/sixlowpan/iphc.rs:603\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb0486a9a3bbdc9cfca304298a6dd9201eacf80f54fa8fc3f78de666e9b7c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/socket/raw.rs:281-286 | src/socket/raw.rs:318-323 | src/socket/udp.rs:411-416 | src/socket/udp.rs:452-457 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/raw.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c646af0a4aabf4dbbce7039cda185f4f55005e0316625fab8420a60f371ae7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/wire/dhcpv4.rs:401-407 | src/wire/dhcpv4.rs:412-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/dhcpv4.rs:401\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":"src/wire/dhcpv4.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaac3d0ea0312d725aeabdafc8ebbf0a892960b530d3a5ec7a1869b2aaa10d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/wire/rpl.rs:787-792 | src/wire/rpl.rs:857-862 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/rpl.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"0070899ff6bc01e0cff86dda3eec4430ff1170f05e2775db5a5fe2176df4cc9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/iface/interface/mod.rs:1363-1368 | src/iface/interface/mod.rs:1392-1397 | src/iface/interface/mod.rs:1413-1418 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/iface/interface/mod.rs:1363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4b467f06cdca4374ba5595ccb5db66b5c7105ec9c0d99fd53522393d59503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/wire/ieee802154.rs:735-740 | src/wire/ieee802154.rs:785-790 | src/wire/ieee802154.rs:840-845 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cb0787c82fecd9776ac13264142d8afb5de8fc326fa98123a755184dcb1871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/wire/icmpv4.rs:499-504 | src/wire/icmpv4.rs:512-517 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/icmpv4.rs:499\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":"src/wire/icmpv4.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede2d9b3a65a276cfb9acccac4d8db1d74e6e5854f3a217d7b84245f6ecec10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/wire/icmpv6.rs:810-815 | src/wire/icmpv6.rs:823-828 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/icmpv6.rs:810\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":"src/wire/icmpv6.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf055465f526048879d77014a5c4914e37908eff656c4e5ff60556455cccad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/socket/icmp.rs:29-34 | src/socket/raw.rs:26-31 | src/socket/udp.rs:64-69 \u2014 before extracting anything, compare \u0060src/socket/icmp.rs\u0060 and \u0060src/socket/udp.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060f\u0060 to \u0060\u0026mut core::fmt::Formatter\u0060 in one and \u0060\u0026mut core::fmt::Formatter\u003C\u0027_\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":"src/socket/icmp.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"793341eb9e2c17ce1c2a2e20d700fbb7442081464a4a2b94d19100677872de16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/socket/icmp.rs:48-53 | src/socket/udp.rs:83-88 \u2014 before extracting anything, compare \u0060src/socket/icmp.rs\u0060 and \u0060src/socket/udp.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060f\u0060 to \u0060\u0026mut core::fmt::Formatter\u0060 in one and \u0060\u0026mut core::fmt::Formatter\u003C\u0027_\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":"src/socket/icmp.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8176747ac067208aef26e7e4343fa5d956c4c51d34c1b4d081eccbd0a13a14b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/socket/icmp.rs:67-72 | src/socket/raw.rs:62-67 | src/socket/udp.rs:102-107 \u2014 before extracting anything, compare \u0060src/socket/icmp.rs\u0060 and \u0060src/socket/udp.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060f\u0060 to \u0060\u0026mut core::fmt::Formatter\u0060 in one and \u0060\u0026mut core::fmt::Formatter\u003C\u0027_\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":"src/socket/icmp.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"55079e1dbc00f135d2bdec1929fdc21a27f341858e0ac0407c5f9da7dd87ab0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/socket/tcp/congestion/cubic.rs:181-185 | src/socket/tcp/congestion/reno.rs:70-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp/congestion/cubic.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ec5de805d7215b85a10146455908ce14eed7e79006d9b92e06d7972c3c1f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/wire/arp.rs:382-387 | src/wire/tcp.rs:1225-1230 | src/wire/udp.rs:359-364 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/wire/arp.rs:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/arp.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"503f38740b9444926d40223444e1b9cb95cfd40081e2937299a86eafe2e12466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/wire/dns.rs:103-110 | src/wire/icmpv4.rs:207-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dns.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"902f8a4f8a0e0132307c14d7ae356b9df75a278f84824ebbb8fc1f8ca7f9cac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/wire/icmpv4.rs:277-284 | src/wire/igmp.rs:122-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv4.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6143f829e919e3a1ba366787bf8e4a51a41b3c0cbe451d329f33dcc802e15b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/wire/icmpv4.rs:339-346 | src/wire/igmp.rs:163-170 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv4.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a742c92055a24aef4c61fb83e73c080eeab1cd35e9c8e45d6c87aeba375cc727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/wire/ipv6option.rs:217-221 | src/wire/ndiscoption.rs:276-280 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6option.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ab5b36e96a854e476a009faa76ced1cd792a61b8c51b6a2e178fb290ff9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/wire/ipv6option.rs:249-253 | src/wire/ndiscoption.rs:376-380 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6option.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e57c29438c47c00b689c5a2f091e2c63df4cbbebb594f89c91ff937e5e9a19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/socket/raw.rs:396-405 | src/socket/raw.rs:428-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/socket/raw.rs:396\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/raw.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f339d0ab5de8181e3ecde786558c6f4ded1fd30ab52cf10222c459a3f108a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/wire/ipv4.rs:446-450 | src/wire/ipv4.rs:455-459 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv4.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a41a8f42a8181bc59b78bf396c9b93a5e9ebf05ffc8cbb028bf9dbd5ec909be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/iface/route.rs: 23.1% line coverage (21/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/route.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538749341408ecbd94e650a43981b71e11927b8a049bea330c70333c300037c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/fault_injector.rs: 0.0% line coverage (0/189)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/fault_injector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c301090edeb2693fd4c23ed69ca1ef09f846d53ff937b0e98a7ce9b5bd60280"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/fuzz_injector.rs: 0.0% line coverage (0/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/fuzz_injector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7485cbb9d84c6f247974431aafbde53f47baaa8de299942850353959ce7c2ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/pcap_writer.rs: 0.0% line coverage (0/124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/pcap_writer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b8d0933a3cd965762885cb6546606da2ff35ba52a7c96c33a55485f1241e5f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/raw_socket.rs: 0.0% line coverage (0/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/raw_socket.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3614c7aaa86279101b09e77cd5f591ebafd0e40b2479495701a340f13333c7e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/sys/mod.rs: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/sys/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d51ccac8ab5d2f271409bf30dfa36a012a24208ba09be45646cff97eef3deb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/sys/raw_socket.rs: 0.0% line coverage (0/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/sys/raw_socket.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c303053a104096c954e62fec3b9ff0a472a24489bc80e8bcaed2cdc9981bb4b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/sys/tuntap_interface.rs: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/sys/tuntap_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd284e734ff74a029af5265a279f07e7df29e7aa16e18cee4cd23329b3a013f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/phy/tuntap_interface.rs: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/tuntap_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff40b9346293dd3e35914136f85f73e175bad1b3c0b6cb956906a21cc5dc139"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/socket/dns.rs: 0.0% line coverage (0/361)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dns.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9798803c8abb156e5611f4d5ec46377974fc6bdcd2cf8016b8f6ca3dae74d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/socket/mod.rs: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee25848a083e32e85aa00a2d8a17faaed89507851e3102702ffb11b5396cb95"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/wire/sixlowpan/mod.rs: 25.8% line coverage (25/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5896a5bb716ad810afb0f31209b3624b36df6205316f768039f0bab599f7f069"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/socket/tcp.rs: src/socket/tcp.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in Socket::dispatch at line 2520. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 16:55:43 \u002B00:00\u0027 --until=\u00272026-11-13 16:55:43 \u002B00:00\u0027 --full-history --no-merges -- src/socket/tcp.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef1e12c4c38cc7c02164864154e731e2e46528f3da677b4c2c1351c6346d9bb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/tests.rs, src/phy/pcap_writer.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d038be126427f854b9ae617454af64d8c407bf6153888f1568e568fb860df93c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 7 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 (9 single-owned of 82 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; 82 of the 98 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) (\u002B1 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/wire/rpl.rs, src/storage/packet_buffer.rs, fuzz/fuzz_targets/sixlowpan_packet.rs, src/time.rs, src/iface/socket_meta.rs, src/macros.rs, src/socket/tcp/congestion.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with TryFrom when it\u0027s stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dhcpv4.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a6903efc47d99111f0b3f50a5632b95af9da8d3f7f3a3e27b178c9538d14eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): replace magic number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99d9ac1f7b96b8852647255677980287adfbdaef5c0be9ad092590cba15322c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): replace magic number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d481cd976b376c8b49fa6bb9f35e75218125bf0302356036f027a70e772e4fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): replace magic number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af4d95f14982f9718e167657cf2f0927a76c5d2311caae85bdb9e2d61b46dc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): replace magic number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"95faa6be50bfaf9282705cc873cbc6c1cb5c556c7c9d9cad41c478199bf41192"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this should rather be checked at link level, as we can\u0027t know in advance how \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/icmpv6.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d804422da37271bce36805ee9a7234c1deb50d8d4d30193bae4a89649fe1d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): what do we need to here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe178be5847f46ab58ffc5c1ea7498805c65b1f1920ac9dd05923d7de8a0bda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is very similar to the implementation for IPv4. Make \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"561e41102f9c6b31b4c6b35e1b5b0315c8ebc9fdb66cb6d4e9c982bca8fc50b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): I think we need to check if the data we are sending is not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndiscoption.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd60b54c8f41ff4f7775941fdf1ab7d92393a7c627d5d91c151a88692e446f3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this is not the correct type, because the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/rpl.rs"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4444a846d9a31c9e0c2ce743b1a66f8182fd20945c899c0c4e4c191e4ae48640"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): refactor the following fields into something else \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac525da70ebc9a5f8e90fa88138db200d418a3074bce36be986b6be7652495ec"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thvdveld): we don\u0027t set anything from the traffic flow. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"258756d24141a17fb4a90cf74f4e364fd168a73fc6dd393df982d476126e56c3"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX(thvdveld): we assume we put the checksum inlined. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/nhc.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fba4aaea4365fd8755855c18b6b9c8029b9e92e42e176a371c7faf261b66cc"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX We assume we will add the checksum at the end \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/nhc.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f595d2a4d3d7a06fd0dfc27ffa89a903953434b72319530eb3ff4379272b99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO uncomment below part of test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dhcpv4.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"4787e2085369771f5c268ec39417543e5aa71de9c98635669c34cf32bc4201d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When flow control is implemented, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"88724bf8c4b1574786b4b0b9be9646364d2587e6c38677bff43be8ba77062a99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TCP should work for all features. For now, we only test with the IP feature. We could do \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp.rs"},"region":{"startLine":3010}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb125527c3c23560872ce83057bca1819a853189620ca2f436e21e46457f907"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: clamps to 0 on small w_cubic_target (i.e. close to plateau) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp/congestion/cubic.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3089e80fee6c2e38e7831fcaab58684574ca55a98800b4181295d868d01313e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this optional? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/tcp/congestion/cubic.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece8f2a6c265de0f7f9c63c1e22e8ecc83935a9cabf7e5f7c5fd91f9e822c581"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: receive packet into buffer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/mod.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24157fc535c161dfc71b3b6f9680c7ab1a39e2c206ba9c20660376795bc622"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: send packet out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/mod.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1851e9b73e62507c1e9d1a7af8891335ec4ae77961489c259f45d6bbf874f2f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): what is the MTU for Medium::IEEE802 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/mod.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8733bfb6825e27c08a8678af91a6100b62dd80fe6a39b0372bf5bf0a752d3c5"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/tracer.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d219187ac7c57d3970b5e1bdced610f13f47bef15655e3e8ac491ed3d70bb35c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee9e52cfb31ce1b2e2e93d4699c2bd8f6119a60f4011abb05a3fae3ec78417a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: lower. Should be (6lowpan mtu) - (min 6lowpan header size) \u002B (max ipv6 header size) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/fragmentation.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab66df401af489daad7f58058d79bae2ed248003525113e762d82a03457d31f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: lower. Should be (6lowpan mtu) - (min 6lowpan header size) \u002B (max ipv6 header size) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/sixlowpan.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0124443da385584c188db0e3897ee2fd65b9562947faea35577c5fbda073ee05"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: do something correct here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv4.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c7e94521c10097257c141dd9f9d095f4eca74a694b1160562913f4b1f7fea"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: do something correct here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d057fa189324b40a64d1132bb4c397448cb3e56a875cbf6c922a964bf239a195"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rule 3: avoid deprecated addresses (TODO) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a0a727d570888864952db9986b9a5614070498487932d536edb1d6667f0ea2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rule 4: prefer home addresses (TODO) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1586df4e8c7e286fdf22e3b75a7a7399eb04e8bbafe8b36322257a97f553c9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rule 5: prefer outgoing interfaces (TODO) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4188a1fb901ad4c6509f89603cb3f8bee0b403248d84830c2f2b28af23e576d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rule 5.5: prefer addresses in a prefix advertises by the next-hop (TODO). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eab3945dde05f396e163e67186c3a6d5273a5d67d7ca9605cb5ae51132678af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rule 6: prefer matching label (TODO) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dc932e856974c7de96535e753fad7bc5294325f54dd06c8e4b95954e4b7e47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Rule 7: prefer temporary addresses (TODO) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ipv6.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a284952635fc57b41e561c6dd555b920d675c35e90cf495083f1506b6af64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Propagate the PollIngressSingleResult from deeper. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/mod.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf777b3c6441eb7ede152520ba70774358c478197a043561fc43160003ed34dd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: report membership after a delay \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/multicast.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5845ee5734d05f99f1c937be3b943208d526a2702b064cc3d163a7c15bbc9467"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thvdveld): use the MTU of the device. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/sixlowpan.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced083c7021a7d1a82c191f0c62f6992a81c578a89dbc2cddc9a8e175bae7f36"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: parsing multiple address records should be done by the MLD code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/tests/ipv6.rs"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9980edafb46568ae1b72129a1f3fab0db60f912c69fa5b6b056c7dad48d5cb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: modify the example, such that we can also test if the checksum is correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/tests/sixlowpan.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00fae36b25bd87318697300e4323b32d2d4e059d14e80687ea09a7aca9bced5"}},{"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":"1ebfc6454926adc8bcdd9a383a1f7e392ddea375507c6f03377190653a98f9ce"},"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":"20276ac38c9dbe763f2242ee1effec56966b5efed3e134fbd6ad88c2bf09f471"},"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":"b53edd3ffe456b3414ec4b73ab23cd56cbd460b29f570e5a953862fea809eaa3"},"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":"db8098748428bcb97066a640331fd59db47332698f020dc5b802537917287ece"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b18558527c2982f8d3799d838e91db9a7d73e941b22196448549ac37dcc7cd43"},"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":"4a91d3774746cff798305e04a251863e156474679daad416aa216c7e61717bba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"0dcc84476875452e93bb282445d71094441daf6bb8f39901827c2b399bbe5a24"},"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":"37cde6a3bb58cd0d62d99b95a2692773bef7410e4ba4075ff541593ea282e74a"},"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":"3fef84eb7a38121dbe03d81cfaefd04c4a006600e19e79fad9a27610ef7d241a"},"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":"376037412bacfc4d1e4080688ae93bd65d67e15bf565ffd3b1b3640daefa0d0d"},"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":"e1dd3dd22a95a0512f24e8b075d47d7a860d0d1c98570f87d3a148f363be72f8"},"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":"4c7de2a944b4b442f81e56bc5fa4f234bbe58e8149ff09c8ca08dc04466c2b4d"},"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":"502beab5030e64eadd812e2f7b7d25463d590ae112969374772c3b93d3511e18"},"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":"770f60657c01026d1fe1f1175efcd3e5d1602e09b730c64678526c6a18d43f32"},"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":"df98cd81b7c36b7505a4ba02a9f20f3e5336a27bd5c8a2d295ee7b9814aec44b"},"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":"37043ae217d90c27590a94f22768cca5f807042e23d500cfd01c64a138cdeaf9"},"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":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dhcpv4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7d4205e4bbdd1eeca5c7fdc8c40b5685b24997a4a07493b61e05912b664222"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/dhcpv4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e04f3bce4acddf85b1c80a4bb3484116fadd5ac40402864851f7af5caa47230"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/socket/icmp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a28ba3bb18c01a4a1cc77bcbb1ee2beee342f3461e3e859baf3100dd232cec"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ieee802154.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d741e0ac81237356a51c560d69ad774f4f63c297c51055d67d34eb729e8dc0d3"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/iphc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1def59f4bf667df87192d856b9df3180b13b572df017aa22ec94986be6353685"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/nhc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9aba9ca6ffa6258de3172f71cfc1b27406468023e36ec955ba12a27459c74e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ndiscoption.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48aa3463f8996ee89f5506c17488a09e1cd781b4dc0fe6bed06c2333a4f5356"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/dns.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cb84991e69d5d2a30e43d56df9e3ea37832f3873353d800db808b8f8ab1c6e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6option.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de27025f2459b3ff0f471cb9fe6ec1a987e4a15496dde9dfc8b9538e7f6132e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43efb90bd55395b1dd82fc590312446f13b4d536f19bc2ed0eda88349a03d3ca"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 19 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/wire/sixlowpan/mod.rs, src/iface/packet.rs, src/wire/sixlowpan/frag.rs, src/iface/rpl/trickle.rs, src/wire/ipv6ext_header.rs, src/wire/ipv6fragment.rs, src/iface/rpl/lollipop.rs, src/phy/sys/bpf.rs (and 11 more) (29 orphaned of 82 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; 82 of the 98 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb06cf4ccf8639d5135098728f563380c3da2b43324bab8c9ca7afddc9a7a753"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/packet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca92a3cd63462b8b154fc6d8c8cf60804b91f96048cc991ed55d1377585ecf7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/sixlowpan/frag.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8911c40d3368ffbc5c6996894d33ff691c402bbbb4200d21b2229b1f3506d63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/trickle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bad29b3a32f0fd7c184d2ebb1dc0934a816bfa1598905ad622fcb025ca0c01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6ext_header.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eb18896ed35abbdeb9b08f41ec22d458df44a3c67062b9a0053d02dc927d66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6fragment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb3eae43140ebdd2d4e9113f7590a86f33f15bc951ecb6c1751ab9e9e9ec8ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/lollipop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e236a655ba057c3d1c1958dbade249f90e11c5ce343e69c57a5ceed76189c13b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/sys/bpf.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c2c9475774d8d8cc68582d154d46fddaf052569c5a4a9523c4891362af54e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipsec_esp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765ff0f2432af19b8d590c61398d5b0df20229da808ed27298eb5c9f7c347d6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wire/ipv6hbh.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a15dfc340f7168ad11e44f54f9007fb21d6e2042f5052d98c03dd2bb31323f"}},{"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":"fuzz/fuzz_targets/iface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fb0decdeff6f1eea52cfe62ed70c98b5c48e9881588d1be5387d8d1b90352c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/parents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"783ccad88f9278c839cb72626b206d1afc15e20483a1c66310a0e4c9650b9e01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/relations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e543e23b82113dc7b707bd264a4a4aa31bf6d0ddffcbcb58cf32139862cb240d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/phy/fuzz_injector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e2e51bf6c14c1f04499a7778136dfe3f2ffbf9970c4dfad776c77646f71fc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/ieee802154.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbeb55f906e58a139ca397b461fd5c55592918ad54f21e39aa0be3267bb4bac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/rank.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05208e95d42c79b96ba2854ff837befc08edb38ff687ce2cd5f4a6554fdaec31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/rpl/of0.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26351ea80220cd7a9e00aa331d8eb8cd1210372f9dfb8ecf879e13628b788a8c"}},{"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":"gen_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02894145aaeb3197b2156c72e695b731e19ce4041a597feda9506bf566e78420"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/iface/interface/udp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd06a76f43545c3667e8a718f6a5ce8f883a4b8a6a4d081513de9d4f7bd378a6"}},{"ruleId":"D36","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":"963e75ced9a3efc8556b918b0463ec81ce56eb12d308e3b6098992a1732613ad"}},{"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":"e56dfec40b1209928a012cb96846873cd3fbf774a83192b809423fd05310593a"},"taxa":[{"id":"CICD-SEC-5","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":"60ce4e19a2ebd8b2937d3580330e8b9d7aea33fea0a82e8c26ea7f2f0a52cf32"},"taxa":[{"id":"CICD-SEC-5","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":"5ed1a56d87b980a5b78e9bc7d682703b032e1ab85e33f491b20fa2143419da43"},"taxa":[{"id":"CICD-SEC-5","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":"bee16a916192bc47803c755fa5c777c01a15fb56e69ce46b43bdf718adcb77fa"},"taxa":[{"id":"CICD-SEC-5","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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":22,"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."]}]}