{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"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":"Connection::receive_segment (cyclomatic 38): Connection::receive_segment has cyclomatic complexity 38 (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/vmm/src/dumbo/tcp/connection.rs holds 2 of the 13 functions over the threshold \u2014 including the worst \u2014 and 36 of the 59 points over it (61%), 6\u00D7 the next-largest file (src/vmm/src/devices/virtio/transport/mmio.rs at 6). 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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd03689d3634c286bdae0c1f52e568ece1e91014edf033531871a60528f408f"}},{"ruleId":"D1","level":"warning","message":{"text":"Connection::write_next_segment (cyclomatic 28): Connection::write_next_segment 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/vmm/src/dumbo/tcp/connection.rs holds 2 of the 13 functions over the threshold \u2014 including the worst \u2014 and 36 of the 59 points over it (61%), 6\u00D7 the next-largest file (src/vmm/src/devices/virtio/transport/mmio.rs at 6). 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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0edc384d86b982576da8fe1416103cfc706a52abc39b0327bd0434b18eddbcf"}},{"ruleId":"D1","level":"warning","message":{"text":"MmioTransport::write (cyclomatic 20): MmioTransport::write 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/vmm/src/devices/virtio/transport/mmio.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a27af7b1630f9009d6969e213bbe9b3702cd5b25047fe602be82f8c045bacc5"}},{"ruleId":"D1","level":"warning","message":{"text":"Request::parse (cyclomatic 18): Request::parse has cyclomatic complexity 18 (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/vmm/src/devices/virtio/block/virtio/request.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3066418310e3f7ca549f40055f451c789d5228f4e12bd7096fdfbab003bf2bee"}},{"ruleId":"D1","level":"warning","message":{"text":"Endpoint::receive_segment (cyclomatic 18): Endpoint::receive_segment has cyclomatic complexity 18 (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/vmm/src/dumbo/tcp/endpoint.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bc10cdb99f92103fe961d2915a70108d9098047647d365ee6bf23695c930ef"}},{"ruleId":"D1","level":"warning","message":{"text":"seccompiler::compile_bpf (cyclomatic 17): seccompiler::compile_bpf 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/seccompiler/src/lib.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d80c3c1b480b1645e5fd68a1b8736836be783bd36c07ad05a8c6326c7cd70e"}},{"ruleId":"D1","level":"warning","message":{"text":"VsockConnection::send_pkt (cyclomatic 17): VsockConnection::send_pkt 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/vmm/src/devices/virtio/vsock/csm/connection.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e2b4197b2b591a9a0c1df3805331e6010b23f60f39cc97c454fb028e0b6252"}},{"ruleId":"D1","level":"warning","message":{"text":"VmResources::from_config (cyclomatic 17): VmResources::from_config has cyclomatic complexity 17 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/resources.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03e2a89b7a3143a8c51a3d60e6988d38a165e41209dee9abdc7560041079f7"}},{"ruleId":"D1","level":"warning","message":{"text":"vmm::nitro_enclave::enclave_builder::build_and_boot_enclave (cyclomatic 17): vmm::nitro_enclave::enclave_builder::build_and_boot_enclave has cyclomatic complexity 17 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/nitro_enclave/enclave_builder.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a507e2b80a6e79423fe00c6158978159bfc420359d96aa37c36a6a59843daa"}},{"ruleId":"D1","level":"warning","message":{"text":"MmioTransport::read (cyclomatic 16): MmioTransport::read 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/vmm/src/devices/virtio/transport/mmio.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf34ac81cb85ef9d75c39ec6e5deafb5007fb5b3efd7ec243e1d772969f5d98"}},{"ruleId":"D1","level":"warning","message":{"text":"Vmm::full_config (cyclomatic 16): Vmm::full_config 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/vmm/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d7cac02ec4a007ab56db01be665a4ef4686f01717f86d009aaefc460ff1dcc"}},{"ruleId":"D1","level":"warning","message":{"text":"MsixConfig::write_table (cyclomatic 16): MsixConfig::write_table 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/vmm/src/pci/msix.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5188bcaea7f6482055363eaa99f0110108d1e12199f50901a9fa5234d3d604"}},{"ruleId":"D1","level":"warning","message":{"text":"vmm::arch::aarch64::fdt::create_cpu_nodes (cyclomatic 16): vmm::arch::aarch64::fdt::create_cpu_nodes 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/vmm/src/arch/aarch64/fdt.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"add518c1c9632afba821d02b95acbae665a9162a230646cf63b7d7e9e3cbe5de"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection::receive_segment (cognitive 72): Connection::receive_segment has cognitive complexity 72 (threshold 15). Drivers by points: if/else 36 (64 pts), boolean chains 8 (nesting depth added 28). 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/vmm/src/dumbo/tcp/connection.rs holds 2 of the 31 functions over the threshold \u2014 including the worst \u2014 and 91 of the 282 points over it (32%), 3.5\u00D7 the next-largest file (src/vmm/src/devices/virtio/balloon/device.rs at 26). 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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a26af8b61f3a93c38f76d9b092f46443c42a9fa89fd60009aa2601ac71e3b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection::write_next_segment (cognitive 49): Connection::write_next_segment has cognitive complexity 49 (threshold 15). Drivers by points: if/else 22 (41 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 20). 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/vmm/src/dumbo/tcp/connection.rs holds 2 of the 31 functions over the threshold \u2014 including the worst \u2014 and 91 of the 282 points over it (32%), 3.5\u00D7 the next-largest file (src/vmm/src/devices/virtio/balloon/device.rs at 26). 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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a523bb75b4d99ab5ddc9a2b9fccef4bdfd979ce506392887b73056c235bf2"}},{"ruleId":"D2","level":"warning","message":{"text":"seccompiler::compile_bpf (cognitive 38): seccompiler::compile_bpf has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (32 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 20). 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/seccompiler/src/lib.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a46252f9f6cf5aff42235b0370fb3a4f2722b2425ba23078f0a781644e5af5"}},{"ruleId":"D2","level":"warning","message":{"text":"Vmm::process (cognitive 32): Vmm::process has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 17). 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/vmm/src/lib.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"734d873508eb35cd4b28b186dc5d17fea308270c47db2a594d850d1a6bab8f16"}},{"ruleId":"D2","level":"warning","message":{"text":"Balloon::process_free_page_hinting_queue (cognitive 31): Balloon::process_free_page_hinting_queue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 17). 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/vmm/src/devices/virtio/balloon/device.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6ec8500326f145c215c6bc334459238dea5cf058b5ab03a1aa62c0d70dc110"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint::receive_segment (cognitive 30): Endpoint::receive_segment has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 3, loops 1 (3 pts), match/switch 1 (nesting depth added 12). 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/vmm/src/dumbo/tcp/endpoint.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99c303ebc1526e91c1e9043e9ea64e9656ec388b19bf51015b2d6bf5da59170"}},{"ruleId":"D2","level":"warning","message":{"text":"vmm::arch::aarch64::fdt::create_cpu_nodes (cognitive 30): vmm::arch::aarch64::fdt::create_cpu_nodes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (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/vmm/src/arch/aarch64/fdt.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77ab01d3382087ae66200df5eb59cbb1171db6135b10801c9d16ba76e20c366"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestMemorySlot::dump_dirty (cognitive 27): GuestMemorySlot::dump_dirty has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). 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/vmm/src/vstate/memory.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadbcd886f71348a3ba9417da987973d1c55a44e655ebc78ce13de683b6d7298"}},{"ruleId":"D2","level":"warning","message":{"text":"Balloon::process_inflate (cognitive 25): Balloon::process_inflate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (9 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/vmm/src/devices/virtio/balloon/device.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa80d2715271e311bd629b4b1437ddf48ce9483922689ed97aba1de5fff2fcec"}},{"ruleId":"D2","level":"warning","message":{"text":"vmm::nitro_enclave::enclave_builder::build_and_boot_enclave (cognitive 23): vmm::nitro_enclave::enclave_builder::build_and_boot_enclave has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (16 pts), loops 3 (7 pts) (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/nitro_enclave/enclave_builder.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf389c8ae754c9ef23002cfb3312474281bc1ddb64b9b4288d928e243ce4801f"}},{"ruleId":"D2","level":"warning","message":{"text":"Vmm::full_config (cognitive 22): Vmm::full_config has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 1 (nesting depth added 12). 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/vmm/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3473ccc3a9ef5fd77d8f96bf0021ad0e8486038800ea9d556853a464e21f1b02"}},{"ruleId":"D2","level":"warning","message":{"text":"vmm::vstate::vcpu::handle_kvm_exit (cognitive 22): vmm::vstate::vcpu::handle_kvm_exit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 4 (8 pts) (nesting depth added 14). 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/vmm/src/vstate/vcpu.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e7f1c5d3febcf738fc2be24fe471acf419541caa77996c8fafd9cd10ee4ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"MmioTransport::set_device_status (cognitive 21): MmioTransport::set_device_status has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/transport/mmio.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a77eab16e90e82359e2627d38b32104834f4a84584e40325f1eb8811d3b1c6"}},{"ruleId":"D2","level":"warning","message":{"text":"VsockMuxer::apply_conn_mutation (cognitive 21): VsockMuxer::apply_conn_mutation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, match/switch 1 (3 pts) (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/vmm/src/devices/virtio/vsock/unix/muxer.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce92402239e446eb02fd55364cae82e65cca8ff0b13a9e0232aa52b0006f5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpIPv4Handler::receive_packet (cognitive 21): TcpIPv4Handler::receive_packet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2 (3 pts) (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/vmm/src/dumbo/tcp/handler.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f57de00e84df7a71ba7bf5788cb45660797dcc445a5b6fc9fd9b920287533fa"}},{"ruleId":"D2","level":"warning","message":{"text":"MsixConfig::set_msg_ctl (cognitive 21): MsixConfig::set_msg_ctl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 1 (2 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/vmm/src/pci/msix.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"40825fb908e1fa5deceb02d08ec0366fc55d968ff95b03ed7e68076d05d56fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"Env::new (cognitive 20): Env::new has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 6). 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/jailer/src/env.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b34a4ef14cbe119db3fa22a308f5f90a0d05a3df539e5f93b6679d016179bce"}},{"ruleId":"D2","level":"warning","message":{"text":"Request::parse (cognitive 20): Request::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, match/switch 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/vmm/src/devices/virtio/block/virtio/request.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f283a0f29144eed6af97ad88306a29a3844df48f85a1d8070a3e35baa8b7722"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtioBlock::spawn_worker (cognitive 19): VirtioBlock::spawn_worker has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (10 pts), match/switch 2 (6 pts), if/else 2 (3 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5f5c4ce7137ca8bd2dc4a51818a5def4905f5b3db9adb54894d745ed1005bb"}},{"ruleId":"D2","level":"warning","message":{"text":"VsockConnection::send_pkt (cognitive 19): VsockConnection::send_pkt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 7). 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/vmm/src/devices/virtio/vsock/csm/connection.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4386d0ee18e49ffe2ef541271d547db73b50fb27829b442e6bee9a0015b7724"}},{"ruleId":"D2","level":"warning","message":{"text":"Env::run (cognitive 17): Env::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jailer/src/env.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0038b76fab6a39c7a86035b7715e388fb84afa8ee68a1f2351580f28396dcdb"}},{"ruleId":"D2","level":"warning","message":{"text":"Arguments::validate_requirements (cognitive 17): Arguments::validate_requirements has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), 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/utils/src/arg_parser.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6358a8a7113a03f696badf3402f2d2fb7e95185686336c23947a42b1c0001b"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtioBlock::new (cognitive 17): VirtioBlock::new has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 1 (nesting depth added 3). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd48bbf8dc7b332bcb0e60050fc0cd77d80074dba8ece29b955a9364f78f55d"}},{"ruleId":"D2","level":"warning","message":{"text":"IoVecBuffer::read_volatile_at (cognitive 17): IoVecBuffer::read_volatile_at has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (5 pts), loops 2 (3 pts) (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. This shape REPEATS in the file: one other method here (IoVecBufferMut::write_volatile_at) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b9a4f21fc872c8e4b89aba69618b72e911bca17212fa6aa60a7e6c0026c02a"}},{"ruleId":"D2","level":"warning","message":{"text":"IoVecBufferMut::write_volatile_at (cognitive 17): IoVecBufferMut::write_volatile_at has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (5 pts), loops 2 (3 pts) (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. This shape REPEATS in the file: one other method here (IoVecBuffer::read_volatile_at) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8261b3cbd464c2c21c6dd4f5bcc0a03cd78ffcb5c117d4a20d77df4e08be301b"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoPage::write_serial_since (cognitive 17): InfoPage::write_serial_since has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 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/vmm/src/nitro_enclave/info_page.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f504b735970c62e2e54752b40bbcc9548f637af98d3d70400a459f42e30d294c"}},{"ruleId":"D2","level":"warning","message":{"text":"VmResources::from_config (cognitive 17): VmResources::from_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 3, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/resources.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce74feefcef916d1c8d78c28cb0fced03b1ae438479ae62ad26d945c91d43305"}},{"ruleId":"D2","level":"warning","message":{"text":"BKPipeline._chunk_steps (cognitive 17): BKPipeline._chunk_steps has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (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":".buildkite/common.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"491c3a3a7c20c71937d0aecf22f3b9a98d47ad9f890d84e1cab1429eb720ae8a"}},{"ruleId":"D2","level":"warning","message":{"text":"cpu_template_helper::template::strip::strip_common (cognitive 16): cpu_template_helper::template::strip::strip_common has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), match/switch 1 (3 pts) (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/cpu-template-helper/src/template/strip/mod.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8508632740f37f7916d8ecd8ec561975da4dc4cbeabffcd8602c6734525ff"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtioBlock::drop (cognitive 16): VirtioBlock::drop has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 2 (5 pts), match/switch 4 (5 pts) (nesting depth added 7). 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/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2018f216088a255743990000d7f6e847a8ebda78c57d70e106840c3fce88b023"}},{"ruleId":"D2","level":"warning","message":{"text":"VsockConnection::recv_pkt (cognitive 16): VsockConnection::recv_pkt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 5). 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/vmm/src/devices/virtio/vsock/csm/connection.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89682d753f95d0ee30ff60ee4db5dc6a151858cfb936834119631c3606a7e63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: firecracker::main_exec: FunctionTooLong \u2014 firecracker::main_exec runs 244 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 144 over it, 2.44\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/firecracker/src/main.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c7d10aa93e862ad18be1cb0940a017c412ad526234e9e04fd4d29e171f7029"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Fadt: TooManyFields \u2014 56 stored fields beside 5 methods. The bar is 30 stored fields; this is 26 over it, 1.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/acpi-tables/src/fadt.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7a652c1bfd54e60e0adb74b1526b9c74f46aedc39aa58da7e42bfe10f2a3d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MMIOVirtioDevices.restore: MethodTooLong \u2014 restore runs 183 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 83 over it, 1.83\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/vmm/src/device_manager/persist.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"677eca964a6943c9fb097f13adf724a4545b11cd4819c3c0e5f33c11d3470701"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vmm::builder::build_microvm_for_boot: FunctionTooLong \u2014 vmm::builder::build_microvm_for_boot runs 181 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 81 over it, 1.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/vmm/src/builder.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d723090ebe9259fca51a2dd76321501aa99bd0bc0112603f1b8ab7f0a23079c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vmm::nitro_enclave::enclave_builder::build_and_boot_enclave: FunctionTooLong \u2014 vmm::nitro_enclave::enclave_builder::build_and_boot_enclave runs 177 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 77 over it, 1.77\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/vmm/src/nitro_enclave/enclave_builder.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f41630a15a6018ac69b7cbe9a8f62ed26bd05889804abcfdd3bf912dbf02b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vstate/memory.rs: FileTooLong \u2014 844 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 344 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/vstate/memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5884411d8d53e5b00eb0b59bfbaef4624f8acc6bc2d9207c654686debcc350"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PciDevices.restore: MethodTooLong \u2014 restore runs 165 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 65 over it, 1.65\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22eaaebb7dffd42e80e89856d681e04c513d3f264fcaf4fbdd043df56da1e8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeApiController.handle_request: MethodTooLong \u2014 handle_request runs 162 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 62 over it, 1.62\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/vmm/src/rpc_interface.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0bb1bee7a0b704102eebfce763868f66b1a840b2d0fd8c580bef9deed2e50d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pci/device.rs: FileTooLong \u2014 786 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 71% of them inside a single declaration: VirtioPciDevice (5 blocks, 282-1270). The bar is 500 significant lines; this is 286 over it, 1.57\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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5981ae75d302df9a508b4a038a8a24610d83a9bbefa8c5c3e61ef450d8b861"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/aml.rs: FileTooLong \u2014 754 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 254 over it, 1.51\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/acpi-tables/src/aml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7104d3be7e61320c29524096467ee951cbf2c3c4b66e4ce3c3ed20b120c533f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: virtio/device.rs: FileTooLong \u2014 744 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 244 over it, 1.49\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/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9c77a50e6aea312b995600bb1a1ad1912a576abf115364205435a0cea0910d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rpc_interface.rs: FileTooLong \u2014 739 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 239 over it, 1.48\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/vmm/src/rpc_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f9441f21e8afe39c4cc02c09912495b46fa28a2caba10074926c41d421a430"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vmm::arch::x86_64::mptable::setup_mptable: FunctionTooLong \u2014 vmm::arch::x86_64::mptable::setup_mptable runs 147 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 47 over it, 1.47\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/vmm/src/arch/x86_64/mptable.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"876be9ded6e3a2f93b7378da059839aa4c910f774165c48779c2b1ffad444674"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VirtioPciDevice: ClassTooLong \u2014 559 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), 23 methods, 5 blocks, lines 282-1270. The bar is 400 significant lines; this is 159 over it, 1.40\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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c188c6fba8ef02f770fc9cfe8c8c1885e7ccc1309b4b9b8cbee9f339076e2af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_manager/mod.rs: FileTooLong \u2014 663 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 73% of them inside a single declaration: DeviceManager (3 blocks, 132-993). The bar is 500 significant lines; this is 163 over it, 1.33\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/vmm/src/device_manager/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97db6db9287b8b7966d5043b64a2fcc180509ea67d92bf22af000a20e398d003"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Net: ClassTooLong \u2014 497 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), 32 methods, 3 blocks, lines 205-1082. The bar is 400 significant lines; this is 97 over it, 1.24\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/vmm/src/devices/virtio/net/device.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83ceb1ddffa8c1f65daa611706ff5106c9dbf0427c88f4964bd3c75623571ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Balloon: TooManyMethods \u2014 37 methods, declared across 2 files: balloon/device.rs (34), balloon/event_handler.rs (3). The bar is 30 methods; this is 7 over it, 1.23\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/vmm/src/devices/virtio/balloon/device.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"692e27d55e44aab35b59f05f9fcd6b1bd739f5b7e096833d67d1234d2e116985"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: balloon/device.rs: FileTooLong \u2014 616 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 76% of them inside a single declaration: Balloon (3 blocks, 246-1029). The bar is 500 significant lines; this is 116 over it, 1.23\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/vmm/src/devices/virtio/balloon/device.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a4f5053497924b2a5c155391c73fba4ae5104ca2a6ee99d160d0d731f22e33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: net/device.rs: FileTooLong \u2014 606 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 82% of them inside a single declaration: Net (3 blocks, 205-1082). The bar is 500 significant lines; this is 106 over it, 1.21\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/vmm/src/devices/virtio/net/device.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d516ab0d98e394358cb4633fd56d9d5d1a244980fb66d7e46b13bfe4fc9db8c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeviceManager: ClassTooLong \u2014 481 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), 30 methods, 3 blocks, lines 132-993. The bar is 400 significant lines; this is 81 over it, 1.20\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/vmm/src/device_manager/mod.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccc1b4abcf4939ed28c4348f8f2af40ef02decccfdae959b33d6e0aebc1176b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KvmVm: TooManyMethods \u2014 36 methods, declared across 2 files: vstate/vm.rs (29), aarch64/vm.rs (7). The bar is 30 methods; this is 6 over it, 1.20\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/vmm/src/arch/aarch64/vm.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4a787eca178c002594ad5c8c4d91a76326c558bce4c6098749663a17ac5ce2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Connection: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2801b677d56d9c41ee140fc526feb73678419224d1a47721a77315a98ac6c04e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/builder.rs: FileTooLong \u2014 599 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 99 over it, 1.20\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/vmm/src/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b53176ce2707ae65d6c361ca12a3dbb36a2aab1d0cf86a77daa1a2d575dd65"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Balloon: ClassTooLong \u2014 468 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), 37 methods, 3 blocks, lines 246-1029. The bar is 400 significant lines; this is 68 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/vmm/src/devices/virtio/balloon/device.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c684c76de738fdcfe6f3f5dad35770668ad51f28f0ce48a20c5dbafcc5f34b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: virtio/queue.rs: FileTooLong \u2014 585 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 85 over it, 1.17\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/vmm/src/devices/virtio/queue.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28051d60c4b8247e85e58a084cd722ec0b6b1f5c96e412d14082b3af0c18e45f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VirtioMem: TooManyMethods \u2014 35 methods, declared across 2 files: mem/device.rs (32), mem/event_handler.rs (3). The bar is 30 methods; this is 5 over it, 1.17\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/vmm/src/devices/virtio/mem/device.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe6aaa697a65b6b0e6bea71be704a1faf26359f7181d5c4f241be51ba833246"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PciDevices: ClassTooLong \u2014 463 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), 15 methods, 3 blocks, lines 58-795. The bar is 400 significant lines; this is 63 over it, 1.16\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"068bf6966fce5e93478efdb5dd8e3fe97c9d5df7a9d512edadf6362f70fa8ecc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_manager/pci_mngr.rs: FileTooLong \u2014 543 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 85% of them inside a single declaration: PciDevices (3 blocks, 58-795). The bar is 500 significant lines; this is 43 over it, 1.09\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"010b7396edecd32f33a87b228b52f5f47253c56c42080f75acf6c3391c53fc35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: logger/metrics.rs: FileTooLong \u2014 542 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 42 over it, 1.08\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/vmm/src/logger/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"297947e2ff9fdcd0f6ede141f99b21d16877018dcfd4d932f53d27806ab01704"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.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), about 72% of them inside a single declaration: Vmm (4 blocks, 309-957). The bar is 500 significant lines; this is 35 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/vmm/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea03b3b24ac5fd1affc766681f3ab4ce16e08006507f03c14ede21ff18eada1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Net: TooManyMethods \u2014 32 methods, declared across 2 files: net/device.rs (29), net/event_handler.rs (3). The bar is 30 methods; this is 2 over it, 1.07\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/vmm/src/devices/virtio/net/device.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef106e78671bae2e7fb6f30aee59a9d79c190d55b27d1665b17588dd14f7213"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TcpSegment: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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/vmm/src/dumbo/pdu/tcp.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e198b057d9df145d1a0df8301762fb5dbb4f2d7ec9f78107d007a7c22034d22"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VirtioMem: ClassTooLong \u2014 421 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), 35 methods, 3 blocks, lines 80-773. The bar is 400 significant lines; this is 21 over it, 1.05\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/vmm/src/devices/virtio/mem/device.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ae9d47f28f7eb87971dc697fc9bd7beef0c6a67cb821ae3d50b26664c1b2e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IPv4Packet: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/vmm/src/dumbo/pdu/ipv4.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4fa914a288ff009aca92afdeacc8f9be17136d47fdc19d70ad3edea8c382c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vmm: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/vmm/src/lib.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"178c29ee94bba36d99f080e5ed12ee3b974b4d1fbe7879b3900b28102f117d3e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VsockMuxer: ClassTooLong \u2014 411 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), 16 methods, 6 blocks, lines 88-874. The bar is 400 significant lines; this is 11 over it, 1.03\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/vmm/src/devices/virtio/vsock/unix/muxer.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"75254caceac824765eca15704be0d614dd6480b4f8e9857684a9e89b7ebb20e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VirtioBlock: ClassTooLong \u2014 407 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), 19 methods, 4 blocks, lines 467-1156. The bar is 400 significant lines; this is 7 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/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88d8f3d3ed80f5e55a7f4beb528f755c69cb6878261d81f36b3a6955ea61d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tcp/connection.rs: FileTooLong \u2014 506 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 78% of them inside a single declaration: Connection (2 blocks, 190-1023). The bar is 500 significant lines; this is 6 over it, 1.01\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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a7e1217eccc6773d31348e1d18e0d31f3675b652586b815602b199591ee9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (93 shared lines): src/vmm/src/device_manager/pci_mngr.rs:575-794 | src/vmm/src/device_manager/persist.rs:451-683 \u2014 These two members are variants of one another: 93 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"861c5ac65e3d6dd243de805785171bf60b422f41d8c1e45511bfe2cc88c252cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/vmm/src/dumbo/pdu/ethernet.rs:486-511 | src/vmm/src/dumbo/pdu/ethernet.rs:515-550 \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/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c382a89aa9e3edd300da4362599547e12a88754598eb3c17b5f7cc12061c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/vmm/src/dumbo/pdu/ethernet.rs:301-327 | src/vmm/src/dumbo/pdu/ethernet.rs:330-356 | src/vmm/src/dumbo/pdu/ethernet.rs:359-400 | src/vmm/src/dumbo/pdu/ethernet.rs:403-423 \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/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feea5664d85b890662ca68fa7ee1e994aa547b61323e1896031a04bd252cceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (123 corresponding lines): src/vmm/src/device_manager/pci_mngr.rs:431-570 | src/vmm/src/device_manager/persist.rs:324-446 \u2014 These two members are one piece of code written twice and then edited apart: 123 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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaba9cbde78a002c44e301684ad6f5d95e7d9f22578369f9e49fb6f891c5558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src/vmm/src/arch/aarch64/mod.rs:296-346 | src/vmm/src/arch/x86_64/mod.rs:568-616 \u2014 These two members are one piece of code written twice and then edited apart: 49 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/vmm/src/arch/aarch64/mod.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1284bef9bf375e32b7e46968ab538c874ba32ec9e483a90aca60e374972cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/vmm/src/gdb/target.rs:421-454 | src/vmm/src/gdb/target.rs:462-494 \u2014 These two members are one piece of code written twice and then edited apart: 33 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/vmm/src/gdb/target.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b3fa568bbea95442d05562736ad04ae404b894d57c683fc66d7b67f2a40ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/vmm/src/devices/virtio/iovec.rs:183-228 | src/vmm/src/devices/virtio/iovec.rs:514-565 \u2014 These two members are one piece of code written twice and then edited apart: 46 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/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"260ee5216cd9bc8ccfe259bda5ff0621c89219c94133e106f0f5b4c54aa28e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): src/rebase-snap/src/main.rs:81-114 | src/snapshot-editor/src/edit_memory.rs:54-103 \u2014 These two members are one piece of code written twice and then edited apart: 34 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/rebase-snap/src/main.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"35206bf8cddae5299948d7b8615f83a202fe23c09f5c1a7d5864a05aceb104c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/vmm/src/vstate/vm.rs:365-396 | src/vmm/src/vstate/vm.rs:402-433 \u2014 These two members are one piece of code written twice and then edited apart: 32 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/vmm/src/vstate/vm.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"834967fd24ec2ecd105883ce6a241239b14d1c22f5b414332bcc6de557e34b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): src/vmm/src/devices/virtio/block/virtio/io/mod.rs:112-136 | src/vmm/src/devices/virtio/block/virtio/io/mod.rs:145-169 | src/vmm/src/devices/virtio/block/virtio/io/mod.rs:174-198 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/block/virtio/io/mod.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f376d703f786ba76339007c3a164ae62334951c3d73254347ce892f10087b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/vmm/src/devices/virtio/transport/pci/device.rs:663-688 | src/vmm/src/devices/virtio/transport/pci/device.rs:690-716 \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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cee33e2e948b44e6b2cecaf04fe9ef61c1f3993ed8d29538ab2289df740d9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): src/vmm/src/device_manager/mmio.rs:421-458 | src/vmm/src/device_manager/mmio.rs:484-514 | src/vmm/src/device_manager/mmio.rs:524-560 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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/vmm/src/device_manager/mmio.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"417ce5625df0d61b929fb7e9cbd580c003f25b7d2e7795238c3ece36dd732ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 25\u002B corresponding lines): src/firecracker/src/api_server/request/drive.rs:14-38 | src/firecracker/src/api_server/request/drive.rs:43-68 | src/firecracker/src/api_server/request/net.rs:14-40 | src/firecracker/src/api_server/request/net.rs:45-72 | src/firecracker/src/api_server/request/pmem.rs:14-38 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/firecracker/src/api_server/request/drive.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aa27a77aacb2038da0dbece5c77809351ee081f2007806f84d0bc2352deb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/vmm/src/devices/virtio/iovec.rs:1134-1152 | src/vmm/src/devices/virtio/iovec.rs:1180-1198 \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/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bebcd2d15c6dd01eb16e61c4652d37da8e39a9c6afe5628a671d743396323e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/vmm/src/devices/virtio/block/virtio/io/async_io.rs:130-155 | src/vmm/src/devices/virtio/block/virtio/io/async_io.rs:164-189 \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/vmm/src/devices/virtio/block/virtio/io/async_io.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9279be5b7b6bd245bd57090ead8c21982cc50cad87e6d37c1df86f2beb601eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/vmm/src/pci/bus.rs:247-283 | src/vmm/src/pci/bus.rs:374-401 \u2014 These two members are one piece of code written twice and then edited apart: 28 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/vmm/src/pci/bus.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae66f3f5982b4e00bc481469920325673b827a3d958a216f0f8db4bb3205a803"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/vmm/src/devices/virtio/block/virtio/metrics.rs:124-141 | src/vmm/src/devices/virtio/net/metrics.rs:122-139 | src/vmm/src/devices/virtio/pmem/metrics.rs:124-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/block/virtio/metrics.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b59a031b0f1be706cd24aaecaae02007a4422edcded8b241bbffced9d42bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/vmm/src/gdb/target.rs:281-300 | src/vmm/src/gdb/target.rs:310-333 \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/vmm/src/gdb/target.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a447083b3cedd6ed387db4b98ee7388b3f3be8911b2040060456343b802bb75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): src/firecracker/src/api_server/request/machine_configuration.rs:16-42 | src/firecracker/src/api_server/request/machine_configuration.rs:44-72 | src/firecracker/src/api_server/request/vsock.rs:11-33 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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/firecracker/src/api_server/request/machine_configuration.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba29fd62dded56ffcc5ddca3ab09830c9d15893ae098b87c358905ca80c7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/vmm/src/vstate/vm.rs:319-338 | src/vmm/src/vstate/vm.rs:341-360 \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/vmm/src/vstate/vm.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4a866e1173ae3245bb6e24030f24f61e408ea07a5fa39d66a6a19921d0eefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/acpi-tables/src/aml.rs:483-497 | src/acpi-tables/src/aml.rs:501-515 | src/acpi-tables/src/aml.rs:519-533 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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/acpi-tables/src/aml.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1d6bc24f86606ed0d348fa130113e0d14a2eda2ae47af592651e00d93a0196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/vmm/src/devices/legacy/serial.rs:155-178 | src/vmm/src/nitro_enclave/serial_console.rs:63-79 \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/vmm/src/devices/legacy/serial.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da7680f4061c10cf061840a9646901c2d063cb85f5221841f5e7ad5af42af88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/vmm/src/devices/virtio/queue.rs:853-867 | src/vmm/src/devices/virtio/queue.rs:893-908 \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/vmm/src/devices/virtio/queue.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4323c719d418018db6006ff60f4a763102a5ad5293db3f15b376dff83719eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/vmm/src/devices/pci/root_port.rs:428-442 | src/vmm/src/devices/pci/root_port.rs:444-459 \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/vmm/src/devices/pci/root_port.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"408861077c4de64319e64018c55c6131f3e59a3980442fad1a455d774652f70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/vmm/src/dumbo/pdu/ethernet.rs:259-275 | src/vmm/src/dumbo/pdu/ethernet.rs:278-298 \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/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0c6cb3bbaa3c3e896e3ea5d83dde0b73a85e3dca5d99b43085c191ece5858b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/vmm/src/arch/aarch64/mod.rs:64-84 | src/vmm/src/arch/x86_64/mod.rs:119-153 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/mod.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"556caf1a2bac56d201c5275b7ada148ee9f0a944135178ffdc71cdfe05e17a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/vmm/src/pci/configuration.rs:464-483 | src/vmm/src/pci/configuration.rs:491-507 \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/vmm/src/pci/configuration.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e55f16baef6d04733dab21c6f0f3807f89f61108daa6c249875fd560ff10ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/vmm/src/devices/virtio/vsock/packet.rs:256-268 | src/vmm/src/devices/virtio/vsock/packet.rs:366-383 \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/vmm/src/devices/virtio/vsock/packet.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4f87ce2de22f07ecb2b0a2e75a9c4e25a1e76224e0b9241bcdfd5979a89827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/vmm/src/pci/bus.rs:215-242 | src/vmm/src/pci/bus.rs:354-372 \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/vmm/src/pci/bus.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"142a84fca436fc44f4ac40ac9149263ed7ea3acb8e48b4e6ec3a6c72dd3ea3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/vmm/src/vstate/vm.rs:536-550 | src/vmm/src/vstate/vm.rs:559-577 \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/vmm/src/vstate/vm.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed0404e72cd7936361799e924109cb7d946ca217dfc9a588fee7dcfd371f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/vmm/src/devices/virtio/mem/device.rs:355-371 | src/vmm/src/devices/virtio/mem/device.rs:389-404 \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/vmm/src/devices/virtio/mem/device.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ab1eb90a70bb6ae12e91169db213d791e66c0b482eb235648b69da781159bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/vmm/src/nitro_enclave/cpu_accounting.rs:110-135 | src/vmm/src/vstate/vcpu.rs:641-664 \u2014 These two members are one piece of code written twice and then edited apart: 24 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/vmm/src/nitro_enclave/cpu_accounting.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1c82d6615565ad0de9ed3cb543d4741346f4d544f30a9c201e17f85ff948dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/vmm/src/arch/aarch64/gic/gicv2/mod.rs:134-161 | src/vmm/src/arch/aarch64/gic/gicv3/mod.rs:183-210 \u2014 These two members are one piece of code written twice and then edited apart: 28 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/vmm/src/arch/aarch64/gic/gicv2/mod.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc4bdf5debcbc35ce738de984d88b4ab259c9c8c2ff22c72aa3c6261514c7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/vmm/src/devices/virtio/block/virtio/device.rs:880-891 | src/vmm/src/devices/virtio/block/virtio/device.rs:893-904 \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/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fa5880f01dd9aaacc3ee88818201bb075c17c939d2c3415e25a10e397c9b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/vmm/src/devices/virtio/mem/device.rs:152-170 | src/vmm/src/devices/virtio/rng/device.rs:80-96 \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/vmm/src/devices/virtio/mem/device.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b315f74652f9e6cb3f4c9bfac42203bbf9b3a86ed451da4e796ed7840e80bfc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/cpu-template-helper/src/fingerprint/dump.rs:43-60 | src/vmm/src/arch/mod.rs:100-119 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/cpu-template-helper/src/fingerprint/dump.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"39354ae06ada9e3652689d6ba433cd9bf01b40c2fa649c89047b7b3e2c6a4d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/vmm/src/devices/virtio/pmem/device.rs:576-590 | src/vmm/src/devices/virtio/rng/device.rs:338-352 \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/vmm/src/devices/virtio/pmem/device.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a3126c740ad9e97651ac3933498e0fef8f88aec1808d984b55127e1d6f5450"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/vmm/src/arch/aarch64/gic/gicv2/mod.rs:85-106 | src/vmm/src/arch/aarch64/gic/gicv3/mod.rs:113-135 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/gic/gicv2/mod.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b149b2111f9542d3d4dcb5fd169565068f3d042c3ed571cbe41723fef24d9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/vmm/src/arch/x86_64/vcpu.rs:417-431 | src/vmm/src/arch/x86_64/vcpu.rs:434-447 \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/vmm/src/arch/x86_64/vcpu.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822ea8d48136fc2491dc41a6a74082eb24d7ef95ebba5b8a0045ed262d3f609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/vmm/src/arch/x86_64/xstate.rs:60-84 | src/vmm/src/arch/x86_64/xstate.rs:93-125 \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/vmm/src/arch/x86_64/xstate.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fba59c533cf3c78b924c0befbbb8ed1fe4882971da8a64cb3728888e08850f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/vmm/src/arch/aarch64/gic/gicv2/regs/mod.rs:30-41 | src/vmm/src/arch/aarch64/gic/gicv3/regs/mod.rs:49-65 \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/vmm/src/arch/aarch64/gic/gicv2/regs/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee760037f0379b688377ab780c033a78ac1866dd46376c826b499f043b7488f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/vmm/src/devices/virtio/iovec.rs:156-173 | src/vmm/src/devices/virtio/iovec.rs:485-502 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6dcadfbe3f9a3898ffb50dbed3ef5c77c196c38cde223904e084f3546a4a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/vmm/src/devices/virtio/net/device.rs:840-859 | src/vmm/src/devices/virtio/net/device.rs:879-892 \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/vmm/src/devices/virtio/net/device.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"590406d2c74b5d8dffa87533f99f4329ad5aeef1d8a82a8d9b54fafc65bb27ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/vmm/src/arch/aarch64/fdt.rs:411-432 | src/vmm/src/arch/aarch64/fdt.rs:434-452 | src/vmm/src/arch/aarch64/fdt.rs:454-469 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/fdt.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ca780133351b4290a90c3556f6dd142d39577f8313df0b8deaec9f189f8bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/vmm/src/devices/virtio/block/virtio/worker.rs:480-495 | src/vmm/src/devices/virtio/block/virtio/worker.rs:497-512 \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/vmm/src/devices/virtio/block/virtio/worker.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdecbacddeae2a81f43d9159af514894ab080a67a8ddcf262e9e03501d4fe8b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/vmm/src/devices/virtio/iovec.rs:1229-1236 | src/vmm/src/devices/virtio/iovec.rs:1243-1254 \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/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8124e146de5e00cd4f7d069f06df40cbc43ad2bfb96887fd4b57f2b98dc99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/vmm/src/devices/virtio/pmem/device.rs:482-499 | src/vmm/src/devices/virtio/pmem/device.rs:501-513 \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/vmm/src/devices/virtio/pmem/device.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"63461b834410af0bfda7a1d6d27c70062d67f5dfc325eb34d10cb7f3112984e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/vmm/src/pci/configuration.rs:200-208 | src/vmm/src/pci/configuration.rs:219-227 \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/vmm/src/pci/configuration.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d72d62816c3f001e68985c1f3489f8066864b8aa23fe82ff0ccde35e967f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/vmm/src/arch/aarch64/fdt.rs:300-310 | src/vmm/src/arch/aarch64/fdt.rs:312-322 \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/vmm/src/arch/aarch64/fdt.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8c299af1c9a8e16e9930da1c03ec851ee32d6aaeb20bf3c21ef263ef76908b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/vmm/src/devices/virtio/net/device.rs:894-910 | src/vmm/src/devices/virtio/net/device.rs:912-927 \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/vmm/src/devices/virtio/net/device.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"75df4d75ff2b96848441af4ed5c51a2467dc01af0a2e62dc226204f847846c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs:60-74 | src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs:62-76 \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/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be4ab737b340daec0c8973e4b72e7aaa3b2245d7a38faa9dd49aee46ad931a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/vmm/src/devices/virtio/vsock/csm/connection.rs:518-535 | src/vmm/src/devices/virtio/vsock/csm/connection.rs:544-561 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/vmm/src/devices/virtio/vsock/csm/connection.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"81120e9cd906d23a591d285cbc73734c19dfa554d565a40265160702cded03d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): src/acpi-tables/src/aml.rs:186-198 | src/acpi-tables/src/aml.rs:613-628 | src/acpi-tables/src/aml.rs:856-869 | src/acpi-tables/src/aml.rs:1052-1065 \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/acpi-tables/src/aml.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d9b1c599ed2852c7537a89d17cec76951b2a560ad22b50e7d7b4d933093669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/vmm/src/devices/virtio/transport/pci/device.rs:94-105 | src/vmm/src/devices/virtio/transport/pci/device.rs:128-142 \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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71b1f874ccafcb073097e8bb3d2e22972f0cd92e2fa73b641c80286ba735844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/vmm/src/devices/legacy/rtc_pl031.rs:93-106 | src/vmm/src/devices/legacy/rtc_pl031.rs:108-121 \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/vmm/src/devices/legacy/rtc_pl031.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4109c2aa449debc5bca1b0bbe539f4e56e180395c2f16a442a484ff7b7a50a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/firecracker/src/api_server/request/logger.rs:10-17 | src/firecracker/src/api_server/request/serial.rs:11-18 \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/firecracker/src/api_server/request/logger.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c05228436dcf5cb16db75f298ecd16a55cf0488f92ee9292f14960f860af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/vmm/src/device_manager/nitro_enclave.rs:141-147 | src/vmm/src/device_manager/nitro_enclave.rs:152-158 \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/vmm/src/device_manager/nitro_enclave.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d748dd0c38270a877edba2ab5f5a66f793ba3030d7af129b3c13fa84b66d9a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/vmm/src/device_manager/persist.rs:62-75 | src/vmm/src/device_manager/persist.rs:79-92 \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/vmm/src/device_manager/persist.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b238967ee476bfc471cda5414c87bc3ec2f00616af8c93d341a24c4c66297194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/acpi-tables/src/dsdt.rs:56-64 | src/acpi-tables/src/madt.rs:133-141 | src/acpi-tables/src/xsdt.rs:64-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/acpi-tables/src/dsdt.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"722b2ce0d82ad0904de398ed47a4329b8b35a3092c473ba748204dcc7d35106c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/vmm/src/devices/virtio/block/virtio/device.rs:642-651 | src/vmm/src/devices/virtio/block/virtio/device.rs:653-662 \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/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c2677b77b83488a6124d36ef2bf7bf64452b907a71edef5b42495ba2da16b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/vmm/src/device_manager/mmio.rs:328-334 | src/vmm/src/device_manager/mmio.rs:339-345 | src/vmm/src/device_manager/pci_mngr.rs:374-380 | src/vmm/src/device_manager/pci_mngr.rs:385-391 \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/vmm/src/device_manager/mmio.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d4eb3f7dd1785bb0485a5db2e6443cf6eefe1fbf9c412ac9d9fb3b0dab9bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/vmm/src/devices/virtio/queue.rs:300-305 | src/vmm/src/devices/virtio/queue.rs:307-312 \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/vmm/src/devices/virtio/queue.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62c50edfe6f03ac6312c57c7952178643d6efcd6d71dd65b008949066e91251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/vmm/src/cpu_config/x86_64/cpuid/intel/normalize.rs:164-181 | src/vmm/src/cpu_config/x86_64/cpuid/intel/normalize.rs:184-240 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/vmm/src/cpu_config/x86_64/cpuid/intel/normalize.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56033632d4384f8ad46857215ec6b2c6bc97372b7a918f7986d688cf7ee671b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src/vmm/src/device_manager/mod.rs:888-896 | src/vmm/src/device_manager/pci_mngr.rs:415-423 | src/vmm/src/device_manager/persist.rs:184-194 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/device_manager/mod.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"03974602c98cbdf999f6b09e0b152393cf8475753ab35aaf102ba8758f7bed99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/vmm/src/devices/legacy/serial.rs:49-59 | src/vmm/src/devices/legacy/i8042.rs:47-56 \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/vmm/src/devices/legacy/serial.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"744358b42204a49a9e4713a639a9725155500541d50bf957ce7f2ab8ca309783"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/vmm/src/nitro_enclave/ne_ioctl.rs:705-716 | src/vmm/src/nitro_enclave/ne_ioctl.rs:719-731 \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/vmm/src/nitro_enclave/ne_ioctl.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"af93ff5508a3f05a4cbdda4081ae1e192a79e466a1f9bb736d570e074c1e26c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (251 corresponding lines): src/vmm/src/cpu_config/x86_64/static_cpu_templates/t2cl.rs:20-294 | src/vmm/src/cpu_config/x86_64/static_cpu_templates/t2s.rs:19-269 \u2014 These two members are one piece of code written twice and then edited apart: 251 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/vmm/src/cpu_config/x86_64/static_cpu_templates/t2cl.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"854a474d631d9b586e741fb47034d6405588b023c7b503212c41b686904302a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/vmm/src/gdb/target.rs:685-691 | src/vmm/src/utils/byte_order.rs:19-33 \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/vmm/src/gdb/target.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58ecf81a61abd60c58882c6c27e66b96e79b2c51948f1f64cb9444fddbfc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/vmm/src/devices/mod.rs:28-34 | src/vmm/src/devices/virtio/balloon/mod.rs:103-109 \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/vmm/src/devices/mod.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa09652e9908e698b22977de5334a210d72b263c17166ad7498955cffce3b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): src/vmm/src/devices/virtio/balloon/metrics.rs:45-49 | src/vmm/src/devices/virtio/mem/metrics.rs:34-38 | src/vmm/src/devices/virtio/rng/metrics.rs:45-49 | src/vmm/src/devices/virtio/vsock/metrics.rs:48-52 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/balloon/metrics.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f8bfaa4818bde9ab1f3bb9fb463de895931a9c74bf58a421c8c696e7a60cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/vmm/src/cpu_config/x86_64/cpuid/amd/mod.rs:38-60 | src/vmm/src/cpu_config/x86_64/cpuid/intel/mod.rs:40-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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/vmm/src/cpu_config/x86_64/cpuid/amd/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb30140893c1d4c567dfe4c11b86e385c2044088eaacfde52ecfe1c32414a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/vmm/src/arch/aarch64/gic/gicv2/mod.rs:140-161 | src/vmm/src/arch/aarch64/gic/gicv3/mod.rs:189-210 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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/vmm/src/arch/aarch64/gic/gicv2/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"286f597728b270ed5edbb55d059f680c37a4444aab1e53447306d5d52af470c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:655-672 | src/vmm/src/device_manager/persist.rs:553-573 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:655\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"166621700df6791b7afa71e5cdc7f29a713b90ac68cc414db8c12122e6da3739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/vmm/src/gdb/target.rs:423-443 | src/vmm/src/gdb/target.rs:463-483 \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/vmm/src/gdb/target.rs:423\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/vmm/src/gdb/target.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d98080a31c6a73b56afced0af44bd6a095cbaa4c6f3248819975ceb86a514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/vmm/src/devices/virtio/iovec.rs:187-206 | src/vmm/src/devices/virtio/iovec.rs:518-537 \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/vmm/src/devices/virtio/iovec.rs:187\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/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af81cd706e168be9b0d64ff1c94346fd7ce3b289eccaa47f00e32847eb3b2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): src/vmm/src/pci/bus.rs:224-242 | src/vmm/src/pci/bus.rs:357-372 \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/vmm/src/pci/bus.rs:224\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/vmm/src/pci/bus.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1864de34aad43ddb104b52f81ffc7bb48e212acf0d52b221e36133f139346a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/vmm/src/dumbo/pdu/ethernet.rs:488-505 | src/vmm/src/dumbo/pdu/ethernet.rs:517-534 \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/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"175a0ad89f8f0c2146780b4c3840651b114e36b24bdeb5db812052007b501059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:683-699 | src/vmm/src/device_manager/persist.rs:585-601 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:683\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9483ca0a9be58e4b2579d45f87e9df8af168100fc1636cf01e5f57104359124f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/cpu-template-helper/src/main.rs:125-140 | src/cpu-template-helper/src/main.rs:175-190 \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/cpu-template-helper/src/main.rs:125\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/cpu-template-helper/src/main.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e194b2511a3440e1a869b96e7fa9605bea7f26c9d5ba58fbeb46f21c57bcfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/vmm/src/pci/bus.rs:452-467 | src/vmm/src/pci/bus.rs:473-488 \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/vmm/src/pci/bus.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f7c05d6b8877e2e4a78f743e7f53b31537761e35abae85d65767c457f3fb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/vmm/src/cpu_config/x86_64/cpuid/mod.rs:172-186 | src/vmm/src/cpu_config/x86_64/cpuid/mod.rs:203-217 | src/vmm/src/cpu_config/x86_64/cpuid/mod.rs:218-245 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/vmm/src/cpu_config/x86_64/cpuid/mod.rs:172\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/vmm/src/cpu_config/x86_64/cpuid/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcc120ca2e835db7b7c7c533290af593d012ce2ff192284f855713ac4468349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:498-512 | src/vmm/src/device_manager/persist.rs:386-400 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:498\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ff7c76dd50afa2538120da596ab638048f17bb83e44dc82ad90f362b8f1d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:612-626 | src/vmm/src/device_manager/persist.rs:521-535 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:612\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4ec54da771fc1f08b6d21acbd484f6da6ae3621e56634a9edb3c1fcf6c72b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): src/vmm/src/pci/configuration.rs:331-341 | src/vmm/src/pci/configuration.rs:359-373 \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/vmm/src/pci/configuration.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"14310b180773aba0a2f2d3e8bfd7dff62f5f445d04a99ca2f53e066c5a5a3b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/vmm/src/dumbo/pdu/ethernet.rs:461-474 | src/vmm/src/dumbo/pdu/ethernet.rs:491-504 | src/vmm/src/dumbo/pdu/ethernet.rs:520-533 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dd264a5c0d7cb780a28f5414ec164b5a7ef94bab48e9a802196495c1e28e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/vmm/src/device_manager/mmio.rs:441-454 | src/vmm/src/device_manager/mmio.rs:544-557 \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/vmm/src/device_manager/mmio.rs:441\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/vmm/src/device_manager/mmio.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4498b3a919390df01a4b91ea5ae39eac02bef4092ca4901c4326d9e453efcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/vmm/src/arch/x86_64/mptable.rs:251-262 | src/vmm/src/arch/x86_64/mptable.rs:268-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/vmm/src/arch/x86_64/mptable.rs:251\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/vmm/src/arch/x86_64/mptable.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4f1a1f6164d0a8f64934582b939014460c633340201e56094e4d11965b0dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:710-721 | src/vmm/src/device_manager/persist.rs:613-624 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:710\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ebc64faf4d1b52ed9229a5f9a3ed3522952c6e86e9e4993635981090ff4b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:733-744 | src/vmm/src/device_manager/persist.rs:637-648 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:733\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfbcac0ac5996ee7b5cf578741a3bdcfb64b8a8d8789b896d4b898564c9eb39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/acpi-tables/src/aml.rs:188-198 | src/acpi-tables/src/aml.rs:646-656 | src/acpi-tables/src/aml.rs:689-699 \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/acpi-tables/src/aml.rs:188\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/acpi-tables/src/aml.rs:687\u0060 calls \u0060from\u0060, \u0060push\u0060 and \u0060src/acpi-tables/src/aml.rs:645\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/acpi-tables/src/aml.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4390f56102d7643448b6eb9fdb259b70ca03ea262a1c0c5e2126a71bf245ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/acpi-tables/src/aml.rs:488-497 | src/acpi-tables/src/aml.rs:506-515 | src/acpi-tables/src/aml.rs:524-533 \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/acpi-tables/src/aml.rs:488\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/acpi-tables/src/aml.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf30d3ac3ee3569b951da68cab04f4a80c33a1953f4d6d66353641e48ad417d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs:65-74 | src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs:67-76 \u2014 before extracting anything, compare \u0060src/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs\u0060 and \u0060src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb62100870bee9af1dd25fb9ed41cdc833cae4eadd78e3e5f301359ee940738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/vmm/src/arch/aarch64/mod.rs:65-74 | src/vmm/src/arch/x86_64/mod.rs:122-132 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/vmm/src/arch/aarch64/mod.rs:65\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/vmm/src/arch/aarch64/mod.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47a90bbb7235820837a981ad22e58e5e82ee9b99baadc0885bccb4d08b21eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:592-601 | src/vmm/src/device_manager/persist.rs:500-509 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:592\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a30ea8cbaa09c4bfa97c6fc8e27a33262791819918559538fd2f3b9c533e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/vmm/src/device_manager/persist.rs:63-72 | src/vmm/src/device_manager/persist.rs:80-89 \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/vmm/src/device_manager/persist.rs:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060s\u0060 to \u0060vm_superio::serial::SerialState\u0060 in one and \u0060\u0026SerialState\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/vmm/src/device_manager/persist.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5a51772f4c00267d27698f1ea76d4cd30f6bcf82e2c9251aac9989b69b433e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/vmm/src/dumbo/pdu/ethernet.rs:345-354 | src/vmm/src/dumbo/pdu/ethernet.rs:389-398 \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/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504fcf9845d60652f0366ce4d74e70bf0056b4a05ba1f5117c8e424a985ce7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): src/vmm/src/pci/bus.rs:270-279 | src/vmm/src/pci/bus.rs:390-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/vmm/src/pci/bus.rs:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/pci/bus.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f7fbe678905892ec03e10e6a9fcdf3ed8f92bb45d3187d9625bfbb408913ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/acpi-tables/src/aml.rs:614-623 | src/acpi-tables/src/aml.rs:644-652 \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/acpi-tables/src/aml.rs:624\u0060 calls \u0060push\u0060 and \u0060src/acpi-tables/src/aml.rs:653\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/acpi-tables/src/aml.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4d8da50daecc857ca70176e793b2b85c9fdd1a795df5f4ee7092b1e94831e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/vmm/src/arch/aarch64/fdt.rs:155-163 | src/vmm/src/arch/aarch64/fdt.rs:205-213 \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/vmm/src/arch/aarch64/fdt.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"948b7ea01a902d1b165768656a43b03e0448b8eddec5aa9250ff1d048f055f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:483-492 | src/vmm/src/device_manager/persist.rs:371-380 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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/vmm/src/device_manager/pci_mngr.rs:483\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/vmm/src/device_manager/pci_mngr.rs:493\u0060 calls \u0060id\u0060, \u0060to_string\u0060 and \u0060src/vmm/src/device_manager/persist.rs:381\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/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a676b261b7cf2b0885d7de7953459d751705e5cac9f3f914811466bb5f3fb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/vmm/src/device_manager/pci_mngr.rs:757-765 | src/vmm/src/device_manager/persist.rs:662-670 \u2014 before extracting anything, compare \u0060src/vmm/src/device_manager/pci_mngr.rs\u0060 and \u0060src/vmm/src/device_manager/persist.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/device_manager/pci_mngr.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73daebca88205339eb680205af48194628560807806be3e72c13818c602f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/vmm/src/devices/virtio/block/virtio/io/async_io.rs:131-139 | src/vmm/src/devices/virtio/block/virtio/io/async_io.rs:165-173 \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/vmm/src/devices/virtio/block/virtio/io/async_io.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ad4230f068f5b22f3f13f420d10bae1a8c8d1cb0c9c81aa5c002c9cc84fa42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/vmm/src/devices/virtio/iovec.rs:1136-1144 | src/vmm/src/devices/virtio/iovec.rs:1182-1190 \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/vmm/src/devices/virtio/iovec.rs:1136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060nr_descs\u0060 to \u0060usize) -\u003E (Vec\u003Ciovec\u003E\u0060 in one and \u0060usize) -\u003E (IovDequeDefault\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/vmm/src/devices/virtio/iovec.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7120f862d1df0489116ab2654176d52e06d7df0157a7b328a305d79dde0b666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/vmm/src/devices/virtio/transport/pci/device.rs:1121-1129 | src/vmm/src/devices/virtio/transport/pci/device.rs:1180-1188 \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/vmm/src/devices/virtio/transport/pci/device.rs:1121\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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d1a941f44c83d1e04968b8787f6538c92d644ac77e1b956453583d6fe4f5dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/vmm/src/vstate/vm.rs:324-332 | src/vmm/src/vstate/vm.rs:346-354 \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/vmm/src/vstate/vm.rs:324\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/vmm/src/vstate/vm.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3584bf7e2b284f2d9f70d97e4040932076011c435d727f95e7dd898ab3082ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/vmm/src/device_manager/mmio.rs:424-431 | src/vmm/src/device_manager/mmio.rs:487-494 | src/vmm/src/device_manager/mmio.rs:527-534 \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/vmm/src/device_manager/mmio.rs:424\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/vmm/src/device_manager/mmio.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba5dfd5b59515ec1395e380ea78959182fe0635db78d9b0f45883759dcbc7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/vmm/src/arch/x86_64/mptable.rs:242-249 | src/vmm/src/arch/x86_64/mptable.rs:259-266 \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/vmm/src/arch/x86_64/mptable.rs:242\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/vmm/src/arch/x86_64/mptable.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae7cd681e83da5b00bac28f25e139e95bff0c30a7a0fc29275e2e5ba4981aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/vmm/src/dumbo/pdu/ethernet.rs:306-312 | src/vmm/src/dumbo/pdu/ethernet.rs:335-341 | src/vmm/src/dumbo/pdu/ethernet.rs:364-370 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdee2be4f50598afdd2f0747c4cf4c15321f6b998e620f97612e5dab7a40a0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/vmm/src/devices/virtio/transport/mmio.rs:296-302 | src/vmm/src/devices/virtio/transport/pci/common_config.rs:381-387 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/transport/mmio.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e3d115dded33163087e40d168021a4825f65b315bb4e4872e728340cd9606a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/vmm/src/gdb/target.rs:287-293 | src/vmm/src/gdb/target.rs:316-322 \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/vmm/src/gdb/target.rs:287\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/vmm/src/gdb/target.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2841f434e2c103b2c22b1e3f513d14bf3c2e92187c237ac0c316a712ea1c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/vmm/src/dumbo/pdu/ethernet.rs:303-308 | src/vmm/src/dumbo/pdu/ethernet.rs:332-337 | src/vmm/src/dumbo/pdu/ethernet.rs:361-366 | src/vmm/src/dumbo/pdu/ethernet.rs:405-410 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd50322ce7e41973410cdcd5ff8d0857d2413eb17bdce447bdedcdc75aef71fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/vmm/src/dumbo/pdu/ethernet.rs:321-326 | src/vmm/src/dumbo/pdu/ethernet.rs:350-355 | src/vmm/src/dumbo/pdu/ethernet.rs:394-399 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/dumbo/pdu/ethernet.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3178ea7cdfaf07b01118f702a0b976029aac41fbeb91ed78079db4a7607c215f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/vmm/src/devices/virtio/block/virtio/io/mod.rs:115-120 | src/vmm/src/devices/virtio/block/virtio/io/mod.rs:148-153 \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/vmm/src/devices/virtio/block/virtio/io/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fda56428de78176ea0f93796a6226253803adabbc9c99c69f919995cd659b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/vmm/src/devices/virtio/block/virtio/io/mod.rs:122-127 | src/vmm/src/devices/virtio/block/virtio/io/mod.rs:155-160 \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/vmm/src/devices/virtio/block/virtio/io/mod.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba70661c9570ca3644ecb9a43acacb0e931187f45cce0c079ec3a83edd15e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/jailer/src/main.rs:317-325 | src/rebase-snap/src/main.rs:116-124 | src/snapshot-editor/src/main.rs:59-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/jailer/src/main.rs:328\u0060 calls \u0060sanitize_process\u0060, \u0060unwrap_or_else\u0060 and \u0060src/rebase-snap/src/main.rs:127\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/jailer/src/main.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b1d7f8fc6db386e846a1c005401cba61e6dccd8ea9f077d2ec872c19158e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/vmm/src/arch/aarch64/gic/gicv2/mod.rs:170-181 | src/vmm/src/arch/aarch64/gic/gicv3/mod.rs:219-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/vmm/src/arch/aarch64/gic/gicv2/mod.rs:170\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/vmm/src/arch/aarch64/gic/gicv2/mod.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77750eefc7a564027d0ca1c1e1f51a1d29dd26bcb63927daa7bed4a822ea250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs:96-101 | src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs:98-103 \u2014 before extracting anything, compare \u0060src/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs\u0060 and \u0060src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e79172c18ac4bb3e3ad2628e94c40d43c4006c110e5b06212471d254b2cb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/vmm/src/devices/virtio/net/device.rs:398-409 | src/vmm/src/devices/virtio/rng/device.rs:104-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/net/device.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14c18b1b169b9fd36ba413a0577aed4f39b9dd64bcead56285dc50dc6703f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/cpu-template-helper/src/utils/aarch64.rs:26-32 | src/cpu-template-helper/src/utils/x86_64.rs:112-118 \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/cpu-template-helper/src/utils/aarch64.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bf707d248fc4f30ffdba6ba102a89334029f2f0c6fdd48edea1133953f6974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/vmm/src/devices/virtio/block/virtio/metrics.rs:103-112 | src/vmm/src/devices/virtio/net/metrics.rs:101-110 | src/vmm/src/devices/virtio/pmem/metrics.rs:103-112 | src/vmm/src/devices/virtio/vhost_user_metrics.rs:98-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/block/virtio/metrics.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2e2b96cd4ff40ef438afa4c003d4366910400f87d7221358dca423d7f91679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/vmm/src/devices/virtio/transport/pci/device.rs:1104-1115 | src/vmm/src/devices/virtio/transport/pci/device.rs:1163-1174 \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/vmm/src/devices/virtio/transport/pci/device.rs:1104\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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec76f971221517ba80dece6fa5169e920bfebd6a1e3b7ac94540ce977ca6571d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: seccompiler: seccompiler: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8054438fe8fd690fa6295069a50b48e9dff8cbfb0a0e076df582cfc7d4bfc4f8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: acpi_tables: acpi_tables: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf1d95032532f7ca53d77e5af2261d8976c63312c7b8b0887d7d5bf7e0e39b02"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: log-instrument: log-instrument: abstractness 0.00, instability 0.13, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be0ba8f04a72cd9d3a37964b9bc72eb41d40dac7b2ffde32cf5972239d898132"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: utils: utils: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c8fa06140618ce114b8c54a2db27b8fa67591e4fcea1fb8cb2956e896d4a6fca"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Argument (LCOM4 4): Argument\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/src/arg_parser.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8420f21a88f3defd5ec994bb8302d16fa35a21adad86c37760eae984a2576562"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VmResources (LCOM4 4): VmResources\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/resources.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4394882e8f5fac2e601c4ec494721a08c2a4b67c620133b83975fb399c01fa44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/vmm/src/nitro_enclave/enclave_builder.rs: src/vmm/src/nitro_enclave/enclave_builder.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in vmm::nitro_enclave::enclave_builder::build_and_boot_enclave at line 248. 6 of those changes were fix/bug commits, and the other 24 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 18:32:42 \u002B00:00\u0027 --until=\u00272026-11-13 18:32:42 \u002B00:00\u0027 --full-history --no-merges -- src/vmm/src/nitro_enclave/enclave_builder.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/vmm/src/nitro_enclave/enclave_builder.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d860e9b82f35774ac70fd9e167acfaa1fb5b1280247e271768bf82cad1aae999"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/vmm/src/resources.rs: src/vmm/src/resources.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VmResources::from_config at line 180. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:32:42 \u002B00:00\u0027 --until=\u00272026-11-13 18:32:42 \u002B00:00\u0027 --full-history --no-merges -- src/vmm/src/resources.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/vmm/src/resources.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"408348c138811f24c88572496c347a6ea41d9a74cb6a226437eb0e59059e340a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/vmm/src/dumbo/tcp/connection.rs: src/vmm/src/dumbo/tcp/connection.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Connection::write_next_segment at line 836. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 18:32:42 \u002B00:00\u0027 --until=\u00272026-11-13 18:32:42 \u002B00:00\u0027 --full-history --no-merges -- src/vmm/src/dumbo/tcp/connection.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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"add2b7b38e1092e15ac067a6c5b794d83821a6398723c0c3acdcea9db89145fe"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 6 significant file(s) lose their only recent owner: src/vmm/src/mmds/mod.rs, src/vmm/src/cpu_config/x86_64/static_cpu_templates/t2s.rs, src/vmm/src/arch/x86_64/xstate.rs, tools/gh_release.py, src/vmm/src/mmds/token_headers.rs, src/vmm/src/devices/virtio/transport/pci/mod.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"395b98f24cb884c93170070a49bcfbc6564a1d597cef7c807a5bfe464728ae99"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: src/vmm/src/devices/pci/root_port.rs, src/vmm/src/pci/pcie_cap.rs, src/firecracker/src/api_server/request/hotplug/mod.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"29e98dca7865a32ef1e6d93de134d44a78b268d779f048a9d35ddff5d3c5b759"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: src/cpu-template-helper/src/utils/x86_64.rs, src/seccompiler/src/bindings.rs, src/vmm/src/vmm_config/pmem.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"54bcdf8326e3235727365db577f7ed5bd058956351b9bf624aefcdb1db7a613d"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 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 (19 single-owned of 266 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; 266 of the 331 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/vmm/src/initrd.rs, src/cpu-template-helper/src/fingerprint/dump.rs, src/vmm/src/devices/legacy/gpio_pl061.rs, src/firecracker/src/api_server/request/balloon.rs, src/snapshot-editor/src/edit_vmstate.rs, src/vmm/src/devices/virtio/mem/metrics.rs, src/firecracker/src/api_server/request/metrics.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to be able to import testing framework functions. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/test-popular-containers/test-docker-rootfs.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"70931eb0b1f5e88f7ccde66521ba799e7042b7f14d8e0d6d40aab7ad29284ba0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Multiple microvm sizes must be tested in the async pipeline. \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":"tests/integration_tests/functional/test_snapshot_basic.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51861298538d5e18a08d3a8d3ad50ff2d0f7e5c5a5a52d1f767ef9b8e39be80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO:Remove (or adapt) this once we unify the way we expose the CPU cache hierarchy on \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":"tests/integration_tests/functional/test_topology.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d36355fce190f6741cf73d3d3e2d3ac6543a3ee6a66a6437cd37401727133a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # keep covering it. TODO: remove this once we drop support for MPTable. \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":"tests/framework/artifacts.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d28a832b0faafb6980eadffc41e8899c6ddfc7ca291889b96e5978fd9752e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We could also determine \u0022too broad\u0022 rules here: If all actual invocations of a syscall specific a parameter, \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":"tests/framework/static_analysis.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d143675efca7e3a979287a8a6b98889cf3ebe15ce7b47fff840a9d28210fe20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove when \u0060EventManager\u0060 implements \u0060std::fmt::Debug\u0060. \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/vmm/src/rpc_interface.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbbe445b5c711ee335a0ace6ee77c47142282ee2b92bd24506d3311f6fce0c4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: we\u0027re losing the bool saying whether metrics were actually written. \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/vmm/src/rpc_interface.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eded6dc29c1fec9b909afb7ac91765d5f54025c30c83f256e69314f98cf9178"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this does not re-apply the region\u0027s madvise flags, so it would drop 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/vmm/src/vstate/memory.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80940fb5cc5ce3cbd921e67a8b4c2a4847b781a0747ea64db2baa3c6d4a6ba7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once Host 5.10 goes out of support, we can make this more robust and work on \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/vmm/src/vstate/vm.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ec4f3ae81097a421f4957e56aca8855909cdb88137af9886b91a759427f4e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: once support for static CPU templates is removed, this field can be dropped altogether \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/vmm/src/vmm_config/machine_config.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa56ab15a2d6b52eb9ea2723a2bb05945984ce920dd8478fde3e275237f68d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dverkamp): Status should be write-1-to-clear \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/vmm/src/pci/configuration.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b7b99ce235ab84ebb3a7dc8553127595ab0983a013c6de5a55a4154849a982"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: Generalize \u003Chttps://github.com/aws/aws-nitro-enclaves-image-format\u003E"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/nitro_enclave/eif.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a7f183fb06618b45f39b57d51f7d1046e3a27c6b02e43c8f148abc9518cc2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We skip verifying the checksum, just in case the device model relies on offloading \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/vmm/src/mmds/ns.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"21872f9500f1ff44d01f8ed8661c8af4f3a1890119536a27845a1a2e417fa5e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We skip verifying the checksum, just in case the device model relies on offloading \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/vmm/src/dumbo/tcp/handler.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a6b50b68f3cc7b3c80dece0c7ab87212cc277ad9952cd353de0ab154d79a38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO When https://github.com/RustCrypto/AEADs/pull/532 is merged replace these manual"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/mmds/token.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16293d6d8ed337b8e7320c9db8fb959da08bf06b35ba77325a7237705112ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: would a stronger ordering make a difference 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/vmm/src/logger/metrics.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4e715ef704986348c3209676704118417f1f7a596f74720d2907fc9cfbb86e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The description of this method is also a TODO in disguise. \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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e497d035e340281cf7eef2c52d75257a836277a39b89a2affe5aeb1cdbf73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return the actual advance value 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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dcaab2778c6ae25f0297100601c882c218179c4549be1caf89e4ec557c83e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is another strange (and potentially dangerous) situation, because \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/vmm/src/dumbo/tcp/connection.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1c82c3cd60f5f5e4c1af0a8148ae0e2f17749f92f0ccda3b924122f49eec3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe at some point include this in the checks we do when populating the MMDS via the API, \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/vmm/src/dumbo/tcp/endpoint.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a263b01176853516150828a0cb0781f4b6475481da5de79b635dce102017ce"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: have to artificially increase t.mss to create this segment which is 2k\u002B. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/dumbo/tcp/endpoint.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5ab703d8b4e4db3bf1a57fe71f71276951aaca583667dae9d8ba7130c6e802"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe get this nicely from packet at some point. \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/vmm/src/dumbo/tcp/handler.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c4544897e81630f3bd932310c7719701e35bd7825fb3ec26cf04b13220307c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be super strict, we should make sure there aren\u0027t additional MSS \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/vmm/src/dumbo/pdu/tcp.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba5711bfb10377957bade70cf18c9a69a3669bd9a6d5174a98c6f752a959d38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check that header_len | 0b11 == 0 and the resulting data_offset is valid? \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/vmm/src/dumbo/pdu/tcp.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"795636972bd7b8e364b0ae986fcf3ea482045a2ab8807135b730acd4e93965d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: decide what Firecracker should do when a reset cannot be \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/vmm/src/devices/virtio/device.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"271635ba0d47ef588e50b24cebf73c527ab8552ca82455199d0e0d24da12d5e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can we somehow check that guest memory wasn\u0027t touched? \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/vmm/src/devices/virtio/queue.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b373a621cab2b7f0b665cd968bf48da313e57c2922a662ac9b974a4d6434683"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this doesn\u0027t seem very space-efficient. \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/vmm/src/devices/virtio/vsock/unix/muxer.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c091394444783e94dbbfd8814f6499abbf2343324b556aee53737fc7b76ca5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO crosvm uses 0 here, but IIRC virtio specified some other vendor id that should be used \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/vmm/src/devices/virtio/transport/mmio.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc30962547052fa4bb2a162a3407ea2730c38998f663ed588873affd0e565d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decide what Firecracker should do when a reset cannot be completed. \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/vmm/src/devices/virtio/transport/mmio.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b927248049ada6588ee97ea0b8686ddbb90da55b05c1b916d1c22248815ddef1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decide what Firecracker should do when a reset cannot be completed. \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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa894f297baa73c5af53eb516846e1fef764c8449f940cde941e6a4d467266a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dgreid) - set based on device\u0027s configuration 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/vmm/src/devices/virtio/transport/pci/device.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a07696efa94ae0697decde5213b812d1f20f6d3bbbb38b189ee23fa761880c9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: The KVM slot number itself is not returned. This is not an \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/vmm/src/devices/virtio/pmem/device.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b812f64b003a5adb8fbdd4df04ca5ce478c67972703a8dd8146857b0109cd8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also check for errors. Pending high level discussions on how we want \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/vmm/src/devices/virtio/net/event_handler.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ca7fb57929009092fb09da93ea3e4ded8e54d2445f1bbf051fa445cff1b5da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also check for errors. Pending high level discussions on how we want \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/vmm/src/devices/virtio/block/virtio/event_handler.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d9b8bf11c3412669766e724fbdac9e19b6b8c95829ebbe7ac1e9940c54280"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decide whether the wait should be bounded. \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/vmm/src/devices/virtio/block/virtio/device.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"f554562a657325af4ee691615d11d781dd4d25c2de02c8686b23f2b8c09fd62d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: stop the backend before reporting success. The backend keeps the guest \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/vmm/src/devices/virtio/block/vhost_user/device.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6880e8a7ddfcdada327f9025839732d97376b8bdd3667d46801a5c5d489f9904"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060unsafe\u0060 block when Kani nightly toolchain is updated to be \u003E=1.94.0 \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/vmm/src/cpu_config/x86_64/cpuid/common.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"132e2fac4ab838a11fc8bd72fd06556e9bc6913f59af2ab15077d879e8fcccf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060unsafe\u0060 block when Kani nightly toolchain is updated to be \u003E=1.94.0 \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/vmm/src/cpu_config/x86_64/cpuid/common.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1365e7b236c6bae0197d4572597fcb7ed21e7842ae61e58e5e8439662e937f2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060unsafe\u0060 block when Kani nightly toolchain is updated to be \u003E=1.94.0 \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/vmm/src/cpu_config/x86_64/cpuid/mod.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"754052282e5240617519f94808ebdf247035ce3d6fe461eda57b6f31d155fe90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060unsafe\u0060 block when Kani nightly toolchain is updated to be \u003E=1.94.0 \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/vmm/src/arch/x86_64/cpu_model.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95d2ff78d19475c0fb74e147f10258c5a866fccc5c1306564d57af13e3f0576"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This currently involves a linear search which would be improved \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/cpu_config/x86_64/cpuid/common.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"84152482b017797aa4055ea5a80fa1b1de5af3abf3fb4339895cd018d5ae6f99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more dependencies. \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/vmm/src/cpu_config/x86_64/cpuid/common.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5de2c1e53273c549b01c52239dc671684b6a5a12095d029f53e1e6b10e97160"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dgreid) - Can this be done once per system instead? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/x86_64/regs.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c912bf3c67fdc56cb6610e9f5a110ffb15478b38f4768a293777e4256aefabe6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Setting the mxcsr register from kvm_fpu inside setup_fpu does not influence anything. \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/vmm/src/arch/x86_64/regs.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc99ad5f8a70e3209f0433bff32334fde35aed83f4d92e0ff892cfb936264ca9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Add/amend MSRs for vCPUs based on cpu_config \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/vmm/src/arch/x86_64/vcpu.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca51aa5cc27ea6d2c771790f0bf9a041ed4690012e22a0308057855de2e9181"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rename this field to adopt inclusive language once Linux updates it, too. \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/vmm/src/arch/x86_64/vm.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"637732a7a24e9ee58b8ec87f5bbdc3bcfde5cb253ffdf6a914484f0c05bf2100"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rename this field to adopt inclusive language once Linux updates it, too. \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/vmm/src/arch/x86_64/vm.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"879d43f92c64feaf390da53ba0c5e3af83f106041899a4d6b0c7429c4a908a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: this can be removed after https://github.com/rust-vmm/kvm-bindings/pull/89"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/regs.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66cf9964674cb255959816caaa6a0cf6ba0f014376d97afc8a0990242761b5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(https://github.com/rust-vmm/kvm/pull/382): kvm-ioctls does not expose"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/vm.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e0adb5768c9139f9aa5166c5ab9ec7139e0ea0d24e35f603ac3334a2a5809b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove when we drop deprecated \u0022basic\u0022 arg from cli. \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/seccompiler/src/lib.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7304a4ffc5c812b02a477c95c2db3c772d95735aba1ee1ecd0e7b636fe404277"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: gate this behind a CLI flag instead of auto-detecting. \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/jailer/src/env.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03f1fb081200631b17c41123039b3a5972266d523464226db263ddb963b2af5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: are there any checks we want to do on id\u0027s? \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/firecracker/src/api_server/parsed_request.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"901047ce1d17d9fb68e8c5db4bec0900b450f9449f4da0918bbc4fb2eee7d5b4"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060src/snapshot-editor/Cargo.toml\u0060 makes this repository a deployable product (line 8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/snapshot-editor/Cargo.toml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bf2c625034b37cbcfe9e48de342df8c2047d96b32d86279fc92891548dae84"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 13 project(s) overshoot their size bounds, lowering Project Cohesion to 8.5/10. The most over is \u0060src/vmm\u0060 (104287 LoC, 846 module-visible types across 63 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e22ad9b2996632a095e6937069d75785d478ffb5dba4510a97b51400f77477cb"},"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":"65dc5339e37eccfee5f2a3faa1d14bcd46664a90add0356d881e5b58587af4fe"},"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":"ec0dd6b5beb1b75bd8b6a02cddea9dcd44dd9d3da9d5dbc7e21ad421f2c94ae9"},"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":"c659f7361272897002ac976a296a8c07ac8012f8cab44b99a77f3c11ed74cd2a"},"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":"f568cab2cfd75d719004131c6c8ab842ac9b5ee4e752f044fb9d0006d3bcd5ba"},"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":"19af483e8a042453c18437c733294f5fd5ab1ebe047da499dd063f0682fb1f7b"},"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":"e31ec1653f69d85dffd28bd605e156ea49542560ca73f07222a82fe14830b2dc"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"3448d06db4608d16d0ddc19c7ed4a885be96886abd2cd09e83359062eb4576e7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"ae0477521e7a9b0a12bf7807568a0ee51af2dc5475148e5eb9990916db8efc3a"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"653ee87a46549e366187584c5d30f824e17700c206ea0bf6aa94943f3d876e17"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"e18be6d75bfb4c470cd7f2db38c1d26798de6c771beb7f05646a6382c74329ee"},"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":"47ac7fccaf10d3dde47d766beed3fea95f7faa8cf638f692bd7443701924cc82"},"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":"ebd9561157adccbc554c940ffa3bdf57a10331106f9beecf28b28f834b548d05"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"3007f44ddb8332fa3775c2f1921377f6b791034874870e7641a84f27847d8075"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","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":"b03a9faef9a22d8cb90696ec82a8e68d372301aff85d2900b0e193389249cde5"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"799e12ab1e75466328674cef94f61331f8f7528d9cbcc05a16251c828fea1fe5"},"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":"f52435aa5bb35ab2459dbf9a8b07d2c5a6d8567a7622866dece35483947d8890"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"5f67555d4566cfdfe480237e1bad4c56886b38c019062b2f4f41aadc5dbe3f0f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"27f3633c406babcc71c098e104874d9855948930f9b5bf1a766efeaccf25cba8"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D30","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":"c7c6948a74ce2688613837ec0c6117e2d757f1d03a5ec529a65da5d1ef6b1042"},"properties":{"dependency":{"package":"sh","version":"1.14.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3540"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"aaf5520cae7a6011ab4dc4b9de09664a336854f6e7b8db06edf457449fa8632a"},"properties":{"dependency":{"package":"pylint","version":"3.3.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"ec64b01e1eb7fcf48277f0dc09f85d2046a1a862cf465a70cd3c8c003026ed90"}},{"ruleId":"D31","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":"88cb131de1370655d4f7ea1cc42ef5929809f715ab4c59b1865e6ebb4380eec3"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a45ed0a0410d5d56e9705117921e326131b8b523cb40c11af3b8da6c44712533"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"d7092ad64bf25dfb3e64d9fcc3f15692f99b2ba7f6a764084229b785b5dbf31d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"fe24381eeaa9bc8b59f7545d1544c6a59b131bed3742134b1826e2d02e7cd5c2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"ef2b85a7b5ce0213db34d3a3d52f84b3d401606b5ecc30a4447d2ced9f63be62"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"175f73597701c209b3e59f72fe4bc032a82fa1bef1f3f6d7ec928c89bf30a23f"},"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":"D31","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":"4d2f38dcfd7731dcbf41802af470109492339dd508c00f0f4a4c45820f23c472"}},{"ruleId":"D31","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":"400807b8ee841fe6f8df088dd1d2516cf408a9607bcea34c5a7a7cc380a7957e"},"taxa":[{"id":"CWE-1188","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-693","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"060e713ee2e653a94c007419e16fbd0dad0a6b7ad664cf699364e091c4947d1d"}},{"ruleId":"D31","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":"e6127ca9f5913193570331d1a043c1fbfd56b886a569ae212663c0d9f8a1715d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"d754c70e8c5a0ea51965163792d8541531967d8400030bd5a62614ab1ad7bbb6"}},{"ruleId":"D31","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":"11dfa8fc35d9844edaf959ddeaef6f0415965a0277c134d18012f9011870d50b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"b1d7b3476104a64e89463f178474296fe280df85bd0132bb81609a70ea74c1b1"}},{"ruleId":"D31","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":"778ccdca2710b0ef792c5355cfb5cfe4d57f2398adcbec75da1b0111d64f57c3"}},{"ruleId":"D31","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":"8b602a6e239a8374a5e6e567d32e6e266d0acb6690c038bf181e7c1b34d079b5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"e52f1f5bc77b730df5022d555f0554b1d229ad9d1219f8842fb25a1d02f5d875"}},{"ruleId":"D31","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":"41f17f7c668eb76b24619bc895b74391bbd769eff64ccd0c3e21cbd087db5979"}},{"ruleId":"D31","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":"1cee5e77a7811d8bcf73957c4fc60882ee94aacea4625db77290f8e1b536a732"}},{"ruleId":"D31","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":"78e0d00a5c6f4b286728d9ad31f93d5721d4e235300742efc5eecf8a2f41c302"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"18c93a9544087df95380d81b3c27c940a2ad3c20c04dfd3a2ed83d7185c470a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"cfff981582878d00e9004cbd8ce9c82be4d098f6b78d8bfc4b90c7bb34e4867d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"76da15b82723634d42234aa572d7f3e4e185067be91bce539623d7fe7151f3ed"}},{"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/utils/src/arg_parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb52a6d77b30619be31279872fa339f1a1c2a5075cb921253d42e3b67e03e22"}},{"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/vmm/src/arch/aarch64/cache_info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3894eb611bf3157346a5cc0a542cea398ba9ea0e6e2a9d0b2e502a6f202ef3a"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 42 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/vmm/src/devices/legacy/i8042.rs, src/clippy-tracing/src/main.rs, src/vmm/src/dumbo/pdu/arp.rs, src/vmm/src/devices/virtio/block/virtio/metrics.rs, src/rebase-snap/src/main.rs, src/vmm/src/dumbo/pdu/bytes.rs, src/vmm/src/arch/aarch64/gic/gicv3/mod.rs, src/vmm/src/devices/virtio/vhost_user_metrics.rs (and 34 more) (44 orphaned of 266 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; 266 of the 331 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/vmm/src/devices/legacy/i8042.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48899b541261e61ecc9a4509293674cbc908e61847ba63a6b013c4e0dfabfb51"}},{"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/clippy-tracing/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90b33e8f88bea0c9aeb304d73d19bcb8c3343b0913baf9dc1f2878968d76387"}},{"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/vmm/src/dumbo/pdu/arp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ab5002b4fc03849a59b17304d4870c1eeae13a1d8cc6e3f8029d143c1e7bd"}},{"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/vmm/src/devices/virtio/block/virtio/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a482ccb5e6a3ce3b90a8933c7f925eeb5c039e6acfc104078d50cf427dba07e1"}},{"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/rebase-snap/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0006aa6b66c5ea1566e6c13f0ce8155b90ecdc02c3e6c23d540af7ff4ae2cb"}},{"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/vmm/src/dumbo/pdu/bytes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d0f3567368e9f6ab8a72fa5fa9270cfa818113bc975fd34c24e6aa7d6cea6a"}},{"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/vmm/src/arch/aarch64/gic/gicv3/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2600525d149da327a33d96d7dfe5f994563b0f96847f323013285873159aef"}},{"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/vmm/src/devices/virtio/vhost_user_metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52b7493ae3902a6b42e7ff277b9e1cf0b1513eb483d2c803c60a3ef7f8996fb"}},{"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/jailer/src/resource_limits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2e7ce400c8a87bc46ed8e1c48f58d74dc182b50b2bf45adfcde4e103d34127"}},{"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/vmm/src/arch/aarch64/gic/gicv3/regs/icc_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f9420f15ac096635c0e07cef7b30902c2e8f0f4887d675f6fa5601251448e8"}},{"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/vmm/src/devices/virtio/vsock/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"475f0ad1b831bd9c38322b19af74e2711330dd956e6ad30ee09fe29be7d018b1"}},{"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/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04584a671533687397fa41407234f0bb8473884da9d0139eefbe9e7559ae7a5"}},{"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/firecracker/src/api_server/request/mmds.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bed672b33cb4ae40b4f3ff5b8ee536b01ce65ca18b680882b4de53cd9490607"}},{"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/vmm/src/arch/aarch64/gic/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee09ba557fc9735a458263250509634559f249a89bdc29d4ecbdcb4194406b3"}},{"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/vmm/src/arch/aarch64/gic/gicv2/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"235f1643700e27c6d47e9ab30ddbc1e726b31b7877a3bbbdd5dddeaf37af554f"}},{"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/vmm/src/devices/legacy/rtc_pl031.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb06997299f8883101431dd8b290c26868ce9e088dfe07d2108b325aafbd75c"}},{"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/vmm/src/dumbo/tcp/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1825bc1e65777136b3cc8675f04e7aed86a963e9ef0101ba73473879d5ea83c9"}},{"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/vmm/src/arch/aarch64/gic/gicv2/regs/dist_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e3b4c4fc8197db9cf944c0e0b2c899b54c0f6e95297226af632438cd006865"}},{"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/acpi-tables/src/fadt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8f438e3a0e8b9a10b8ced27540fa5e6e989b1fed95a712a9924a35d02ab1f2"}},{"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/vmm/src/arch/x86_64/interrupts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd5f8ebf3ff01eba3b641c11381fa53a5408f76c42e3fa0bbcf4de0b3c93d63"}},{"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/vmm/src/devices/virtio/vsock/unix/muxer_killq.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6706c065926f60909ecba326324d1d3139462a289f7f74386b5037583ad78a"}},{"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/vmm/src/arch/x86_64/gdt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f4e307e2445d99e6211e06af2f6605eeec137a34442ca318397bd56402d0ae"}},{"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/vmm/src/cpu_config/x86_64/test_utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"401fada10e5df81cfc6703c784abbd0c22b2d9f4e37011a1ae21bb7c7748b8fb"}},{"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/vmm/src/devices/virtio/vsock/unix/muxer_rxq.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2f544a87bc4655b389a60f97f81516d0cf9ef2ebe05596590db50633eeaf78"}},{"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/vmm/src/devices/virtio/balloon/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9f92ff036c12f82bcccc756edb0e312492f6074d374e22878057dedca34207"}},{"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/vmm/src/devices/virtio/vsock/csm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6998413cef5e16ba0e861275a01c18556564ea50096050087d3f34a785801dbc"}},{"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/vmm/src/arch/aarch64/gic/regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f42556d4d082f8fc0df06e2d47e0fe645cb2d4de83e2fa02bedcce6ff36fbb"}},{"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/vmm/src/arch/aarch64/gic/gicv3/regs/its_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ba919176ccfe5b86a0b790fb33e570225ade2f64d679562868677dcd86722a"}},{"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/vmm/src/io_uring/operation/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd6edaed941dc2845f21e687ef369d2b0a90dee4a1b7f888b3761851a86057f"}},{"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/vmm/src/arch/aarch64/gic/gicv2/regs/icc_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"452cf6663978bed8c3e397687b908d163afbcbd41edcb9a29d9f9b4a692cca48"}},{"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/acpi-tables/src/madt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09b5d495acdb8972565376473e65a32e489e0578f5f409ea84520802d0c8959"}},{"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/vmm/src/arch/aarch64/gic/gicv3/regs/redist_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f2c87d0143365863cde17d8c71c3fdfb66ece1b81a4c26593d17d850a7f1c2"}},{"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/vmm/src/devices/virtio/rng/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a70a93ed773dd9dbb044283679a085aa7bd1be77d1825649035b453a525633"}},{"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/vmm/src/arch/aarch64/gic/gicv3/regs/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4353d17b785cf411150d481e8c96d81514dfbb61380bce3d99d3387bdc24ed02"}},{"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/firecracker/src/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b6bff1dc38aab521207d1ed7c6b22dafed750f35de0af38c39bd9794fb4946"}},{"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/vmm/src/vmm_config/entropy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"978eee41f340a265a82f41e3f9b9a2ed33c9133c1acf17412cdf29d101397256"}},{"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/firecracker/src/api_server/request/cpu_configuration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49d394cc6eb05f2738407aca2042483344edb5f2bb2ccff57c4b5f6d17d5e4b"}},{"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/vmm/src/arch/aarch64/gic/gicv2/regs/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b24d5eb99167425a01845152416019c291935cf141ec53d336582bbf1972b3"}},{"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/vmm/src/test_utils/mock_resources/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8272c27b96c17122ef7fc5b152c0c47a7bc49633352815698f313a36b30e85"}},{"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/vmm/src/cpu_config/x86_64/cpuid/intel/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc29f74686d96f83168d7ea8e92836427af6384c5c0363d812d8f68b092d269"}},{"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/vmm/src/io_uring/operation/cqe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bfb33b269538876880664f66bd46edba55f16930b6a9b9c713c73889dec7fa"}},{"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/firecracker/src/api_server/request/vsock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d96a54057ada5e58c436af1660c8337101bd586695c0a4f5d13263f0fdf54b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 mod.rs: \u0060src/vmm/src/arch/aarch64/gic/gicv2/mod.rs\u0060 and \u0060src/vmm/src/arch/aarch64/gic/gicv3/mod.rs\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006005d87d76\u0060 fix(msi): allocate GSI for MSI and \u0022legacy IRQ\u0022 from different ranges; \u00603b943af0\u0060 arm: support MSI-X on ARM; \u00607c623e89\u0060 arch: define 64-bit capable MMIO memory regions \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/gic/gicv2/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d885904a61f0b748a49f31ae13bf0fceb78711375f258ac89aa972beeb9744"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: completion.rs \u2194 submission.rs: \u0060src/vmm/src/io_uring/queue/completion.rs\u0060 and \u0060src/vmm/src/io_uring/queue/submission.rs\u0060 change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060d3e8263e\u0060 vmm: do not let host-kernel-reported sizes wrap; \u006081cacbfd\u0060 refactor: rename vmm::io_uring::bindings to vmm::io_uring::gen; \u006040bddefd\u0060 refactor: use slab for user_data instead of box \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/io_uring/queue/completion.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00e742044a820ebd33ebee1317e8851033ccb9589033921fce112d015e6fff1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dist_regs.rs \u2194 redist_regs.rs: \u0060src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs\u0060 and \u0060src/vmm/src/arch/aarch64/gic/gicv3/regs/redist_regs.rs\u0060 change together 65% of the time (11 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060f735be33\u0060 fix: do not double close file descriptors in unittests; \u00609b13f0fe\u0060 snapshot: serialize VmState and VcpuState; \u00604b3da39a\u0060 GIC: create GIC of arbitrary version (at that commit the files were still \u0060src/arch/src/aarch64/gic/gicv3/regs/dist_regs.rs\u0060 and \u0060src/arch/src/aarch64/gic/gicv3/regs/redist_regs.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/arch/aarch64/gic/gicv3/regs/dist_regs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df80e33205783fb96a93df6ca45b3b38fe70f61dbdf9f0279071cadce41259e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 mmio.rs: \u0060src/vmm/src/acpi/mod.rs\u0060 and \u0060src/vmm/src/device_manager/mmio.rs\u0060 change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060bb3fed4e\u0060 device_manager: introduce VirtioDevices enum; \u0060c5d46c97\u0060 device_manager: rename MMIODeviceManager to MMIOVirtioDevices; \u00601fb56dcc\u0060 vmm: move kvm field from Vmm into KvmVm \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/acpi/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b0cdf63f1681ca161296574e313ab25f9a8d4e9c6ce6afa50c023ebf28aeeb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: builder.rs \u2194 mod.rs: \u0060src/vmm/src/builder.rs\u0060 and \u0060src/vmm/src/cpu_config/aarch64/mod.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600f3e8b39\u0060 chore: move \u0060vmm::vstate\u0060 code under \u0060vmm::arch\u0060; \u006072ac94b2\u0060 feat(aarch64): ability to work with wide registers; \u0060aef7c2d5\u0060 refactor(vmm): 2-step CpuConfiguration build for aarch64 (at that commit the file was still \u0060src/vmm/src/guest_config/aarch64/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e3700e161b05635dcfc94d999dd2d835270800675ff33a9e209bbd26e428e7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: rpc_interface.rs \u2194 mod.rs: \u0060src/vmm/src/rpc_interface.rs\u0060 and \u0060src/vmm/src/test_utils/mock_resources/mod.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00603793b994\u0060 refactor: Get rid of \u0060VmConfig\u0060; \u006071957d6c\u0060 refactor: updated VmConfig and VmConfigBuilder (at that commit the file was still \u0060src/vmm/src/utilities/mock_resources/mod.rs\u0060); \u006059a545f1\u0060 Add PUT /cpu-config API (at that commit the file was still \u0060src/vmm/src/utilities/mock_resources/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/rpc_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac56c94be8e5757014a863861d7441a51353c3ddd18967a1e621008ba83412b7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a server (HttpServer::new) (src/firecracker/src/api_server_adapter.rs:194) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/firecracker/src/api_server_adapter.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1baee5d039ae97a383da61957a966a30f17ad15884b533de947ac630c32a562"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060vmm.devices.virtio.block.vhost_user.device\u0060 is marked as implementation by its own namespace, folder or name: \u0060VhostUserBlockImpl\u0060 (src/vmm/src/devices/virtio/block/vhost_user/device.rs:119, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/block/vhost_user/device.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"25114cc2a6e3056e33d6459d191871714682c158c678012f30e08a6feab4a52f"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060vmm.devices.virtio.vhost_user\u0060 is marked as implementation by its own namespace, folder or name: \u0060VhostUserHandleImpl\u0060 (src/vmm/src/devices/virtio/vhost_user.rs:269, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vmm/src/devices/virtio/vhost_user.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"76727a5a83d6f767651d0b161923300fa254ee2ac65b4ee7a15a25ddff29e8f3"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 6/10 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060src/jailer\u0060, \u0060src/rebase-snap\u0060, \u0060src/seccompiler\u0060, \u0060src/snapshot-editor\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions/pip: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9543c45344490268a908fcdf5b07b99fa178c0fb540259785ff4e506b7cdddc9"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060HttpServer::new(\u0060 (src/firecracker/src/api_server_adapter.rs:194)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060HttpServer::new(\u0060 (src/firecracker/src/api_server_adapter.rs:194)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_detect_environment\u0060 swallows every exception into \u0060return \u0027local\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/framework/properties.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"939529765bc17bd20dee7e3a4af646e749ca06838a4111c1fc0c7b2a29ef9203"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1188","guid":"90b5d93c-2e8f-7d58-b831-915e7ee4a150","name":"CWE-1188","shortDescription":{"text":"CWE-1188"},"helpUri":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-693","guid":"b9b141dc-018a-9c59-8953-1e3c4e020745","name":"Protection Mechanism Failure","shortDescription":{"text":"Protection Mechanism Failure"},"helpUri":"https://cwe.mitre.org/data/definitions/693.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":51,"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."]}]}