{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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"]}],"properties":{"cwe":["CWE-1059"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"HyperlightVm::run (cyclomatic 26): HyperlightVm::run has cyclomatic complexity 26 (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/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9c2346b5913c5201cb4c0003316a9b9351a0597972e0242cc2eaf9d0adedba"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperlight_component_util::rtypes::emit_value (cyclomatic 25): hyperlight_component_util::rtypes::emit_value has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43e65b5b7e2ef7b161f9fe09cbde1be273c9bb659059a38fae6e162ec697fab"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::subtype_value (cyclomatic 24): Ctx::subtype_value has cyclomatic complexity 24 (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/hyperlight_component_util/src/subtype.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e16a64e36acc77d5f618686d433cc0e8d6af3113d041278293e1efaee2f6d4"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperlight_component_util::hl::emit_hl_unmarshal_value (cyclomatic 24): hyperlight_component_util::hl::emit_hl_unmarshal_value has cyclomatic complexity 24 (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 shape REPEATS in the file: one other method here (hyperlight_component_util::hl::emit_hl_marshal_value) 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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0d671a192a6a6ac6ab1f47b4ccd9cbea811c8a014b73936287ada787ba6f0a"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperlight_component_util::hl::emit_hl_marshal_value (cyclomatic 24): hyperlight_component_util::hl::emit_hl_marshal_value has cyclomatic complexity 24 (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 shape REPEATS in the file: one other method here (hyperlight_component_util::hl::emit_hl_unmarshal_value) 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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb051fcb18fea9af2163e8636c1a964432225ab2532958d6b266c8d72453b71c"}},{"ruleId":"D1","level":"warning","message":{"text":"MshvVm::run_vcpu (cyclomatic 23): MshvVm::run_vcpu has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c170e32ef1ecf75a6babd333fe9318d81003661e77287b89313911929e099893"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperlight_component_util::component::read_component_single_exported_type (cyclomatic 20): hyperlight_component_util::component::read_component_single_exported_type has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/component.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d36c60013eb57976f00fc0b6192610dd4c3b3a1d54f05993e2e32b77a1bc3"}},{"ruleId":"D1","level":"warning","message":{"text":"WhpVm::run_vcpu (cyclomatic 18): WhpVm::run_vcpu 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. This is NOT this file\u0027s highest cyclomatic complexity: hyperlight_host::hypervisor::virtual_machine::whp::msr_to_whv_register_name (cyclomatic 76) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e120dab96a8d7d0866cace985ed202f9bc21dda023e8211e9e73242fb670e2d"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperlight_common::virtq::ring::canonical::validate_canon_image (cyclomatic 16): hyperlight_common::virtq::ring::canonical::validate_canon_image 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/hyperlight_common/src/virtq/ring/canonical.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dde9209542db32054b9f7e2af10f66366eb40fff6ebe7a4028afcda8fce2ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::component::read_component_single_exported_type (cognitive 54): hyperlight_component_util::component::read_component_single_exported_type has cognitive complexity 54 (threshold 15). Drivers by points: if/else 6 (25 pts), match/switch 7 (19 pts), loops 4 (10 pts) (nesting depth added 37). 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/hyperlight_component_util/src/component.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b14831bbbb95d739e13c3f352c01bc828ef39ab8c43a24cc9fac8348b77e948"}},{"ruleId":"D2","level":"warning","message":{"text":"MshvVm::run_vcpu (cognitive 52): MshvVm::run_vcpu has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (34 pts), match/switch 5 (16 pts), boolean chains 1, loops 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"028b76f27ecfd779178010c9fe210250168052c950d0e9ffa2a7b75719e04419"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperlightVm::run (cognitive 39): HyperlightVm::run has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 4 (9 pts), boolean chains 3, loops 1 (nesting depth added 21). 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/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf234489397b40d0f85b00398fe685bcf89c21eec3082ef2686e7949082aeba"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::rtypes::emit_value (cognitive 33): hyperlight_component_util::rtypes::emit_value has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (28 pts), match/switch 3 (5 pts) (nesting depth added 18). 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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe38d5e0dfedf91c4ec8128e6e1ae708c490d718eed0c3f6c013c7565ac287"}},{"ruleId":"D2","level":"warning","message":{"text":"WhpVm::run_vcpu (cognitive 31): WhpVm::run_vcpu has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 19). 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/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"48957d7f9432ffb140f6cd0edaaae0f455fe1c24899a6dfc0c6dfb51202a34a5"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_common::virtq::ring::canonical::validate_canon_image (cognitive 30): hyperlight_common::virtq::ring::canonical::validate_canon_image has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_common/src/virtq/ring/canonical.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d74a3f7811785d73031f3b39d59e4992ccd1a0fd10c8652489251b846bbc07"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::rtypes::try_find_local_var_id (cognitive 30): hyperlight_component_util::rtypes::try_find_local_var_id has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 2 (6 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 16). 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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e281deebfcb4f91473eb88fa8f2e02ba2f09b2b75624eaa6d5eadd5075b3d2a7"}},{"ruleId":"D2","level":"warning","message":{"text":"HvfCpu::run (cognitive 27): HvfCpu::run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/hvf/mod.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a1c53b19c9daf252ba04fda95254f107fe146a47b40f148f3f6760a37fd0df"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::hl::emit_hl_unmarshal_value (cognitive 25): hyperlight_component_util::hl::emit_hl_unmarshal_value has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (hyperlight_component_util::hl::emit_hl_marshal_value) 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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"469fd32a9f96b88910048e0f982acc1556aa210aeb032cb78a75eb3237ca3f85"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::hl::emit_hl_marshal_value (cognitive 25): hyperlight_component_util::hl::emit_hl_marshal_value has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (hyperlight_component_util::hl::emit_hl_unmarshal_value) 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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"959569d042d8897de39dcfa17fe8cbf1e44ef43315549168a5924322a8a80e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperlightVm::handle_debug (cognitive 25): HyperlightVm::handle_debug has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 4 (10 pts), loops 2 (4 pts) (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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4e0e0632c75e386e21aef0e02f931cb13c356cccc309de6396c2eacf3b041"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::rtypes::emit_value_toplevel (cognitive 24): hyperlight_component_util::rtypes::emit_value_toplevel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bcbe9dd8dc0dece8e0a974640aa8afa96a7dcb7886e5f75dbde935dc6a90ff"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::rtypes::emit_resource_ref (cognitive 21): hyperlight_component_util::rtypes::emit_resource_ref has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, loops 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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9621c4b899bc69abeeac77bfbd8e7db927499880bffac0a41f16ee290b2c5"}},{"ruleId":"D2","level":"warning","message":{"text":"BindgenInputParams::parse (cognitive 19): BindgenInputParams::parse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (5 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_macro/src/lib.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5c0e2daef53e62150609a7f36175da60a73b3c936f53ddc724b9760520fbb8"}},{"ruleId":"D2","level":"warning","message":{"text":"KvmVm::run_vcpu_hw_interrupts (cognitive 19): KvmVm::run_vcpu_hw_interrupts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 2 (5 pts), loops 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/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8919b7548e2b912ad440a837ab0bc7738d189e5657aa0b9fd013a5e333aa40"}},{"ruleId":"D2","level":"warning","message":{"text":"MshvVm::handle_hw_io_out (cognitive 19): MshvVm::handle_hw_io_out has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (19 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9da7c5a70d93cf997d211e2bacc730488b4244815e3b424c5995ec29c811379"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperlight_component_util::rtypes::emit_extern_decl (cognitive 18): hyperlight_component_util::rtypes::emit_extern_decl has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (6 pts), loops 1 (3 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"429300d1ae99dfaec41be44a17ebc1c655fc32ce2d4fbbf2c900e5b451884bed"}},{"ruleId":"D2","level":"warning","message":{"text":"KvmVm::run_vcpu (cognitive 18): KvmVm::run_vcpu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (3 pts), boolean chains 2, 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/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ee9dd533ae724d7eb21a8097377cf5b23fdadeb3f4cbbfafba36dafde9ac65"}},{"ruleId":"D2","level":"warning","message":{"text":"EventsBatchEncoderGeneric::encode (cognitive 17): EventsBatchEncoderGeneric::encode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (6 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/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d67c4020cc8c823b3b2dda6f1824ebf1ca58438e68655c83e2156f666fa3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestEvent::try_from (cognitive 16): GuestEvent::try_from has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (6 pts), match/switch 1 (nesting depth added 9). 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/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c7f44d9f163dcfa91cd72919bd871c31f433b4ccf13bb3d1ddb37076df82dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrogateProcess::map (cognitive 16): SurrogateProcess::map has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 3 (4 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/surrogate_process.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8586083868e1757719423c84c664f288e9c97cc2cea9aec5dd1f622d7e93740b"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_dump::read_file (cognitive 16): trace_dump::read_file has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), loops 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/trace_dump/main.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"f164954fe0972b0287202b9939757947c1fa68dc3889045d243cf7fc8a116dba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ctx: TooManyMethods \u2014 53 methods, declared across 5 files: src/elaborate.rs (20), src/wf.rs (14), src/subtype.rs (11), src/tv.rs (6), \u002B1 more file(s). The bar is 30 methods; this is 23 over it, 1.77\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/hyperlight_component_util/src/etypes.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"555a2da2cb3ba89fe72a6b6efbd3207a9e427f3bf8014e65c864be639518971d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: virtual_machine/whp.rs: FileTooLong \u2014 874 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: WhpVm (6 blocks, 254-1432). The bar is 500 significant lines; this is 374 over it, 1.75\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/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd7dc09d9c7f2ed68ed44112fc83fb2bcc9fdb3bc6bbbd480c1cc1c03383058"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WhpVm: ClassTooLong \u2014 697 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), 10 methods, 6 blocks, lines 254-1432. The bar is 400 significant lines; this is 297 over it, 1.74\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/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3b2b483f3be6d8f592703492e410341a86627f870a981d6e20a4df5b494e65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mem/shared_mem.rs: FileTooLong \u2014 850 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 350 over it, 1.70\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/hyperlight_host/src/mem/shared_mem.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27b34b728b3d57f19caa0b6e70aaf014039487bbcd301bdddfca7fa084a5566"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hvf/mod.rs: FileTooLong \u2014 784 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 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/hvf/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92154d7a89dc59477c88b9e20a381735322d33622808fee1eafceb0cd898c948"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: virtq/ring.rs: FileTooLong \u2014 738 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 238 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/hyperlight_common/src/virtq/ring.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1619d8ef8c54069056b70f93b161a55f22d67a02d692a0e747ba166705a52f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperlight_component_util::hl::emit_hl_unmarshal_value: FunctionTooLong \u2014 hyperlight_component_util::hl::emit_hl_unmarshal_value runs 145 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 45 over it, 1.45\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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9681e6869107112c5c1297ffcac285ff9b14b3a245f8e6f87bcfb108bd7446"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MshvVm: ClassTooLong \u2014 544 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), 4 methods, 5 blocks, lines 150-1021. The bar is 400 significant lines; this is 144 over it, 1.36\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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34e3b1eb4e50c8e69737e29bf7b7156fd705406f7e2893def91d1e3fe3d5479"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperlight_component_util::hl::emit_hl_marshal_value: FunctionTooLong \u2014 hyperlight_component_util::hl::emit_hl_marshal_value runs 134 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 34 over it, 1.34\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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a5bc9f1e8db5aa860cb7913cc1c136678dd2e426a251263b2591df94bc9b73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trace_dump/main.rs: FileTooLong \u2014 660 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 160 over it, 1.32\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/trace_dump/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fb268ddb8877d77b76077b927413f88c8b0cd1a2aa3b17d3030645f4ab5ccf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mshv/x86_64.rs: FileTooLong \u2014 643 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: MshvVm (5 blocks, 150-1021). The bar is 500 significant lines; this is 143 over it, 1.29\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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"512785e38d99118c637881e3f623d2aac15cc0dad5771a723909f3317728f766"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionCall.encode: MethodTooLong \u2014 encode runs 127 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 27 over it, 1.27\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/hyperlight_common/src/flatbuffer_wrappers/function_call.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb7c743d23a9065b3d2109fdcb9b5a6da2011f4725ccea6c53ddfcddec5f3af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MshvVm.run_vcpu: MethodTooLong \u2014 run_vcpu runs 126 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 26 over it, 1.26\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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef350accbd0d7063f4143c38a763a3cb10a782c1c16f9e2594dc1bb747059824"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HyperlightVm: TooManyMethods \u2014 37 methods, declared across 4 files: hyperlight_vm/mod.rs (15), hyperlight_vm/x86_64.rs (13), hyperlight_vm/aarch64.rs (7), hyperlight_vm/test_support.rs (2). 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/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a60bc2ce3a08f4df67edf83ce331688350308076b0c74cbc2de27fb32ca4762"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SandboxMemoryLayout: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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/hyperlight_host/src/mem/layout.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ba6345a831d1acd4483f150743bbecbeb579a34c5ca1696c6b43cb02a970b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rtypes.rs: FileTooLong \u2014 612 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 112 over it, 1.22\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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e2a251ac8330d6eba467abd92f35ed88c1c7e9e3bc2519c68fa45b948304f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mem/mgr.rs: FileTooLong \u2014 611 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 77% of them inside a single declaration: SandboxMemoryManager (5 blocks, 125-1006). The bar is 500 significant lines; this is 111 over it, 1.22\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/hyperlight_host/src/mem/mgr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c88a59e75cbdb9f05d527bcfe7313d59209a9cfb8f61d67b578b012ff5b4fcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventsBatchEncoderGeneric.encode: MethodTooLong \u2014 encode runs 121 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 21 over it, 1.21\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/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d217cd946b4f5c9832437cfdf18513293b2e4d8808a49d0c458b8ab064e659d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperlight_component_util::rtypes::emit_value_toplevel: FunctionTooLong \u2014 hyperlight_component_util::rtypes::emit_value_toplevel runs 119 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 19 over it, 1.19\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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb7209231f6a45049fd7dea9d3346c9995e6130dff370e02eb5e78f8e49dfb1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SandboxMemoryManager: ClassTooLong \u2014 471 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, 5 blocks, lines 125-1006. The bar is 400 significant lines; this is 71 over it, 1.18\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/hyperlight_host/src/mem/mgr.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3038e5e6edf4287a97cd78f07d52afae9cfdb98836569bf50362a008658decc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flatbuffer_wrappers/function_types.rs: FileTooLong \u2014 575 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 75 over it, 1.15\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/hyperlight_common/src/flatbuffer_wrappers/function_types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"416704db96fad1e2f85ca775e84a9420ffe46f9b956462049de9e81c7216e948"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MshvVm.set_batched_registers: MethodTooLong \u2014 set_batched_registers runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f61d267f521c67e16385ff4d57a61a02068e0753e45b99205acf0c14ecf0ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hyperlight_vm/x86_64.rs: FileTooLong \u2014 548 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 48 over it, 1.10\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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6855dd32471b0823eeeb434625b3c1a58f8a5d3c3b504106d464c3f351d0571c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: virtq/producer.rs: FileTooLong \u2014 533 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 33 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_common/src/virtq/producer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f4b28f3e9392870b03d041ab59d291657e6b3a3af969bca9f0424f705150d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/emit.rs: FileTooLong \u2014 532 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 32 over it, 1.06\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/hyperlight_component_util/src/emit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d953d7f8acb150cca5cf717757dbec84869f3cb0d1a2b82712a98aadd39cfa1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HyperlightVm.run: MethodTooLong \u2014 run runs 106 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 6 over it, 1.06\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/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b667672a66572bafa3cf64870d4d0ae1eeac4492271526bfcf1c4a12800ccc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hyperlight_vm/mod.rs: FileTooLong \u2014 528 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 28 over it, 1.06\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/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b615892b7144e26732c4c3def1350ffa1423765377de79782e961366c543a4a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WhpVm.run_vcpu: MethodTooLong \u2014 run_vcpu runs 105 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 5 over it, 1.05\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/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3575edfb262d18a589b220936f7304a8e02bb2e19ddb397a8619c55b747c10b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:337-357 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:363-383 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:391-411 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:417-437 \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/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"556cb0be6afd05cab62d43207b72513bd87612caac85b8208f49b02d0174b6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): src/hyperlight_guest_bin/src/arch/aarch64/exception/handle.rs:47-69 | src/hyperlight_guest_bin/src/arch/amd64/exception/handle.rs:83-108 \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/hyperlight_guest_bin/src/arch/aarch64/exception/handle.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaca9d62ccfd09af8b034dd693099cce8fc389cdfc69d6b38bbd96389876345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:857-879 | src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:1192-1215 \u2014 before extracting anything, compare \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"6543a3ae7a80a20b1ace784550c7c227a58f39a7919a87f1bf904ca439ffb963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201323 lines \u00D7 2): src/hyperlight_component_util/src/hl.rs:317-326 | src/hyperlight_component_util/src/hl.rs:345-367 \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c670ea092b8764bacd332cf668be1e73eaea2c33ff57d34d6ad603460225a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs:106-126 | src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs:158-178 \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/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe40543fe87621c1e55c1112ae7e2fa07e3edd498f6739571704d8d031633f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/hyperlight_host/src/hypervisor/regs/x86_64/standard_regs.rs:35-55 | src/hyperlight_host/src/hypervisor/regs/x86_64/standard_regs.rs:89-109 \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/hyperlight_host/src/hypervisor/regs/x86_64/standard_regs.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"529124ad16ac379a6adb1cc3a774b9a2d45573860f751a0ab37107c7d779a612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:882-901 | src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:1219-1239 \u2014 before extracting anything, compare \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78a60547cde5f95cf87b2a4c857a2fea462fe9511471cce8b33568089d62402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): src/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs:382-401 | src/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs:449-467 | src/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs:489-508 \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/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd229e5d47c69ff7ed2eaaa1d2ae14bed27050ff65edd3b50bea936ab130197e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/trace_dump/main.rs:324-342 | src/trace_dump/main.rs:422-440 \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/trace_dump/main.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46917c2568a6d90a08a8cd6c38e8b2c67fe2cc343ab4cbf41744ccbb7249dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 3): src/hyperlight_host/src/hypervisor/regs/x86_64/debug_regs.rs:174-190 | src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs:356-366 | src/hyperlight_host/src/hypervisor/regs/x86_64/standard_regs.rs:312-322 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/regs/x86_64/debug_regs.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b76062d1dafb3b65ce8d5182b23bcec9e6c6b3f6520a441316646a89226ed39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:342-357 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:368-383 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:396-411 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:422-437 \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/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"401754afb7f049f0ea9819b4606241f78ef8a49bebbf96d11c9061164549651f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:175-190 | src/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs:280-295 \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/hyperlight_host/src/hypervisor/gdb/x86_64_target.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e3387c6f35fe9d04e5bf2c46620f3cf44256f15574b3924034340c225215f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs:392-407 | src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs:434-449 \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/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6f4d6bb603016c28bcedcef84edccbf7d4e76c72d01857b4e84aba287cfa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:870-885 | src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:921-936 \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/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"70db05df21cdda84409b81f08bc08cc000e06123ac71ad0b7ca10e3c4979cac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/hyperlight_host/src/mem/shared_mem.rs:1284-1299 | src/hyperlight_host/src/mem/shared_mem.rs:1332-1347 \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/hyperlight_host/src/mem/shared_mem.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f353ffff7c1b88f6914f520d88ea90cceb4e9afb07a5f9f13e82fe2f554edcb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/hyperlight_component_util/src/hl.rs:642-654 | src/hyperlight_component_util/src/hl.rs:663-675 \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"022645aaa88152abd88629386bb837ce45fec12f7ddc38864e703d2d9c3e2b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/hyperlight_guest_macro/src/lib.rs:81-93 | src/hyperlight_guest_macro/src/lib.rs:210-222 \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/hyperlight_guest_macro/src/lib.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"375387723563e7d623c5f40d8951a18a9741dcbbfaacce11a3d14650e82ab182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/hyperlight_host/src/mem/shared_mem.rs:1236-1248 | src/hyperlight_host/src/mem/shared_mem.rs:1264-1276 \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/hyperlight_host/src/mem/shared_mem.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2820379ea398ece897681af6d50beaf857d5070030245d8aebfdf192c3a9265e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/hyperlight_component_util/src/hl.rs:376-387 | src/hyperlight_component_util/src/hl.rs:683-694 \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17a276d52df0d49919192135fc80481cb7152c4ee9830401d96b9c19eee67b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/hyperlight_host/src/func/host_functions.rs:31-42 | src/hyperlight_host/src/func/host_functions.rs:72-83 \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/hyperlight_host/src/func/host_functions.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0cb337027333fed1980ffed567cc30509325282eae5f7654a7dd8b10642781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/hyperlight_host/src/hypervisor/regs/x86_64/debug_regs.rs:146-157 | src/hyperlight_host/src/hypervisor/regs/x86_64/standard_regs.rs:268-279 \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/hyperlight_host/src/hypervisor/regs/x86_64/debug_regs.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c93bef0c41420b473662f2268b191537c855d577c212c14a057d43f9595cb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/hyperlight_host/src/hypervisor/surrogate_process.rs:135-146 | src/hyperlight_host/src/hypervisor/surrogate_process.rs:151-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/surrogate_process.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eff7250cc1c48666f6f1f12e29e9de736f6c1b4d8451956acbdb49841395e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs:250-260 | src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:322-333 \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/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30cbad47d8530f8c7927c73a5b8fa9a9a5000846e3a52980a25d8414f0f132d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/hyperlight_component_util/src/guest.rs:33-43 | src/hyperlight_component_util/src/host.rs:31-41 \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/hyperlight_component_util/src/guest.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0eb9955b9f8a3d4a6435362f022909890b1b52d66757dfedcda3b75e45d1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): src/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs:192-201 | src/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs:234-243 | src/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs:258-265 \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/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f450fc59c9eafce27c4bf33471a5bbb1e4898dbb6af27c14a2b79bef4bb667c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/hyperlight_common/src/virtq/consumer.rs:81-90 | src/hyperlight_common/src/virtq/consumer.rs:304-312 \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/hyperlight_common/src/virtq/consumer.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70e564a469cc2e0f57bc3feaead25a6b123d561b9dc9256860d7feb3732c6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/hyperlight_common/src/virtq/ring.rs:614-623 | src/hyperlight_common/src/virtq/ring.rs:742-752 \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/hyperlight_common/src/virtq/ring.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b388f0fb7daa52b6b949ef7d705bfacc67f86fdecd76784b055581d555fb118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): src/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs:776-782 | src/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs:804-813 \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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8db7a604822e39369c1afda9c19d3420815f2bbe3ee3d6214d8099ee516f341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/hyperlight_component_util/src/rtypes.rs:425-433 | src/hyperlight_component_util/src/rtypes.rs:503-511 | src/hyperlight_component_util/src/rtypes.rs:537-545 \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e57c915a91bba26faa97889b2bf5b6a5791daffc94664d89891c00c6886bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/hyperlight_guest_macro/src/lib.rs:78-86 | src/hyperlight_guest_macro/src/lib.rs:207-215 | src/hyperlight_guest_macro/src/lib.rs:281-289 \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/hyperlight_guest_macro/src/lib.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db9d36e94edc4f29baa19b11ac1ac656f1e680c2fe5404679710c8bf9b4d918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/hyperlight_ci/src/remote.rs:305-313 | src/hyperlight_ci/src/remote.rs:371-379 \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/hyperlight_ci/src/remote.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"041f4eaeabd68e80339a8ac994d58c7cd47d8cef8b023a79b229364a9a2ee6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/hyperlight_component_util/src/hl.rs:44-52 | src/hyperlight_component_util/src/hl.rs:409-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/hl.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fd883d85e6f08ce529724bfa71e05d32c3998d66ced5b162a0ba6bd6759804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/hyperlight_guest/src/transport/mem.rs:140-148 | src/hyperlight_guest/src/transport/mem.rs:156-164 \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/hyperlight_guest/src/transport/mem.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c20f1902071978b3fbbe166682f1ffd925c02a276193bc9b5f0ee6e1a8e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/hyperlight_host/src/hypervisor/regs/x86_64/fpu.rs:260-268 | src/hyperlight_host/src/hypervisor/regs/x86_64/fpu.rs:283-291 \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/hyperlight_host/src/hypervisor/regs/x86_64/fpu.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a495aa0018fe0be8b83d397b7c2b786f1d7f29a30a4cd666af04205ac9822f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/hyperlight_common/src/virtq/ring.rs:774-781 | src/hyperlight_common/src/virtq/ring.rs:1087-1094 \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/hyperlight_common/src/virtq/ring.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"381cc8248b0ec325befa597d6cc692491f0d08c36893768abc61fd28f0b7ea52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/hyperlight_component_util/src/elaborate.rs:529-536 | src/hyperlight_component_util/src/elaborate.rs:634-641 \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/hyperlight_component_util/src/elaborate.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f11ecf777f6e33c3539eaa2fbeb80170fc82efa21ce267c9a0fcad17568a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/hyperlight_component_util/src/guest.rs:139-145 | src/hyperlight_component_util/src/host.rs:284-291 \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/hyperlight_component_util/src/guest.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"208c270b2201e303a7ac0702a1d2248abb915f7345e948f94d67ea0c166d38fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/hyperlight_component_util/src/substitute.rs:218-224 | src/hyperlight_component_util/src/substitute.rs:233-240 \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/hyperlight_component_util/src/substitute.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265a68fa85d4c4910348f08cc9188662f8ec5eeed450acb766290e49d574d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_guest_bin/src/memory.rs:128-136 | src/hyperlight_guest_bin/src/memory.rs:162-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_guest_bin/src/memory.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1769d02561f749670c062d2297ea34345775374905272f6a8c2fd4a183443fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:817-823 | src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:1031-1037 \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/hyperlight_host/src/hypervisor/virtual_machine/whp.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c780cd232935ecfae67659b7b26b24568be5980a599d4c21e7896caaebabab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/hyperlight_component_macro/src/lib.rs:57-62 | src/hyperlight_component_macro/src/lib.rs:80-85 \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/hyperlight_component_macro/src/lib.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0355e4a54f5e4bc07ee71b6e237329603f0965cbd28df5240b77d7ef515ed89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/hyperlight_component_util/src/rtypes.rs:354-359 | src/hyperlight_component_util/src/rtypes.rs:376-381 \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd084d3754790ef8e3cbbc08504fca3ff88e2b5577827adc074d183eb0e6c13a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/hyperlight_component_util/src/hl.rs:310-314 | src/hyperlight_component_util/src/hl.rs:338-342 \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc01009ce8d80684da59a878778cc4e0a9438cd27ff3de65eef3298fd2b0362f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:389-393 | src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:614-618 \u2014 before extracting anything, compare \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"970f374ced3eefc415e1c4e0be8467cd474db59a8d367207415cc8d2d0533d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/hyperlight_common/src/arch/aarch64/vmem.rs:373-388 | src/hyperlight_common/src/arch/amd64/vmem.rs:390-405 \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/hyperlight_common/src/arch/aarch64/vmem.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed050e51b9d18f637491ba621b8a98a96a796df742f0e95fb19bc1fbb9f6ffd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_guest_bin/src/arch/aarch64/paging.rs:22-28 | src/hyperlight_guest_bin/src/arch/amd64/paging.rs:29-35 \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/hyperlight_guest_bin/src/arch/aarch64/paging.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577dc98fad5de2692722ffd7f43920fa75a5558e63f014d1707815a9b6882e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/hyperlight_guest_bin/src/arch/aarch64/paging.rs:108-120 | src/hyperlight_guest_bin/src/arch/amd64/paging.rs:113-125 \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/hyperlight_guest_bin/src/arch/aarch64/paging.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b512b0d279333b06cc6c732fe563be7a4d4148f8aa38efa27ea4ec9b3cd75cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs:112-117 | src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:400-405 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4d72faab5057dd537fedf1f1208f08b486582781ee5df0188947ae31ec5110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs:122-131 | src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:410-419 \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/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"001b5537ee5827addf7b768ad49f7da4e4376a90a3e719858d5141056202f457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:437-443 | src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:439-445 \u2014 \u0060src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"811a90ceda8145d6c49504e8dc4fe761be17ec28f469ad8badff51d3fb58b86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:453-461 | src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:455-461 \u2014 \u0060src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f2a8cd8a92f95678a9e104fe9552e27cc615127a5a5a22e7fec4893a8eb6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:473-479 | src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:471-477 \u2014 \u0060src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"44695089457cb2da7a48cac61f3db22300808ddb9480e9a40168ec388fcfbc4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs:492-498 | src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:490-496 \u2014 \u0060src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/hypervisor/virtual_machine/kvm/x86_64.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1b6a36bba2d248bab37f1413a0f7d6bfcb8ddc94323a1522c93b14d46ca0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs:845-854 | src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs:1180-1189 \u2014 before extracting anything, compare \u0060src/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs\u0060 and \u0060src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/hyperlight_host/src/hypervisor/virtual_machine/mshv/x86_64.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3458568679e42fd519e100143279da4167ea6161148d5f3c924c3a58b92891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/hyperlight_testing/src/logger.rs:33-38 | src/hyperlight_testing/src/simplelogger.rs:31-36 \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/hyperlight_testing/src/logger.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"255048ffd69fcde8a55f9fd8c6c75bdb32df1710d70cf74baafe25686947be9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/hyperlight_common/src/arch/aarch64/vmem.rs:37-42 | src/hyperlight_common/src/arch/amd64/vmem.rs:159-164 \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/hyperlight_common/src/arch/aarch64/vmem.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc10a9b5f6ef9139d02bd6d4c43f837e6e2babd354a12674c3ca3051f2684cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_component_util/src/rtypes.rs:364-370 | src/hyperlight_component_util/src/rtypes.rs:386-392 \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485e7aeb9e9e046cb03a93f9a2ae66d2575b12bbdb40addae924e1126a2c10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/hyperlight_component_util/src/emit.rs:955-959 | src/hyperlight_component_util/src/emit.rs:962-968 \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/hyperlight_component_util/src/emit.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cf503d550b71858fefb598409893e91b26f43bb390cc48c30029fb76f8469b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/hyperlight_component_util/src/hl.rs:548-552 | src/hyperlight_component_util/src/hl.rs:562-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/hl.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa84a509390a8305a45697e51b89be343f6a7ec5ad8c2919539b23af0334d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/hyperlight_host/src/sandbox/file_mapping.rs:224-229 | src/hyperlight_host/src/sandbox/file_mapping.rs:300-305 \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/hyperlight_host/src/sandbox/file_mapping.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6857f18797903489179f9fb8180b8a0433c68df5b558be74e52b2ddb435e60bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/sandbox/initialized_multi_use.rs:898-906 | src/hyperlight_host/src/sandbox/uninitialized.rs:312-318 \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/hyperlight_host/src/sandbox/initialized_multi_use.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"96483d60362274ce36dbdf774a89f8fac5f53dcb657aecb3104a64238fbd6a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/hyperlight_host/src/sandbox/snapshot/file/transport.rs:90-96 | src/hyperlight_host/src/sandbox/snapshot/file/transport.rs:97-103 \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/hyperlight_host/src/sandbox/snapshot/file/transport.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"826fcab4d2e5ce06273381d6f7fb61ea37b6a35b459c855a6da837980b5ae175"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project hyperlight-guest-bin: hyperlight-guest-bin has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a6055fd92c92e480abe047880cd8ecbedf1d050ab90af358be8d2d978e7945d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: hyperlight-component-util: hyperlight-component-util: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a5d42fc68c87811bbf1efc976188f57e9da094c32a530b2490043977cc4e162"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: hyperlight-common: hyperlight-common: abstractness 0.21, instability 0.00, distance 0.79 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e39cee4fca59f6ee4421a5d3c40b7d42bf23113a08ef61f92c2eaad7f118d2b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: hyperlight-guest-tracing: hyperlight-guest-tracing: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8d0f5cf726b352e4535922df82ec45a7cd5c57a460e79e25dfd813abb8f50234"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HvfVm (LCOM4 5): HvfVm\u0027s methods fall into 5 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 5 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/hyperlight_host/src/hypervisor/virtual_machine/hvf/mod.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"735fd6d5e2598bdabd8f6a563e9ec31f65a3e8b0afda78b3fc502ec01cf89512"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Offset (LCOM4 4): Offset\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/hyperlight_host/src/mem/ptr_offset.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"708e4253d4d0ccee951459292205b136a2d2df7994fa121ac0f627e68e1579af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hyperlight_host/src/sandbox/snapshot/file/config.rs: src/hyperlight_host/src/sandbox/snapshot/file/config.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in OciSnapshotConfig::validate_for_load at line 406. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 04:13:35 \u002B00:00\u0027 --until=\u00272026-09-30 04:13:35 \u002B00:00\u0027 --full-history --no-merges -- src/hyperlight_host/src/sandbox/snapshot/file/config.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/hyperlight_host/src/sandbox/snapshot/file/config.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bc5a309111440ec4b7c370f5ebc3529722290c8719a0519fc78f18fe183b5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs: src/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in HyperlightVm::run at line 599. 1 of those changes was a fix/bug commit, and the other 7 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 04:13:35 \u002B00:00\u0027 --until=\u00272026-09-30 04:13:35 \u002B00:00\u0027 --full-history --no-merges -- src/hyperlight_host/src/hypervisor/hyperlight_vm/mod.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/hyperlight_host/src/hypervisor/hyperlight_vm/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0946961b8540aad6647152bc1026318db5b983f5532c6d01a164ba56b908bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hyperlight_host/src/sandbox/snapshot/file/mod.rs: src/hyperlight_host/src/sandbox/snapshot/file/mod.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Snapshot::load_inner at line 749. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 04:13:35 \u002B00:00\u0027 --until=\u00272026-09-30 04:13:35 \u002B00:00\u0027 --full-history --no-merges -- src/hyperlight_host/src/sandbox/snapshot/file/mod.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/hyperlight_host/src/sandbox/snapshot/file/mod.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f6b945cd684c784f074f840eb8a48325f8bffeb33ad1c096499d12e98d21f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hyperlight_component_util/src/rtypes.rs: src/hyperlight_component_util/src/rtypes.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in hyperlight_component_util::rtypes::emit_resource_ref at line 78. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 04:13:35 \u002B00:00\u0027 --until=\u00272026-09-30 04:13:35 \u002B00:00\u0027 --full-history --no-merges -- src/hyperlight_component_util/src/rtypes.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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3859431cb55040d5335080ed2dfd6391a46588e3bd0cf203f62cd447b11d91f2"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: src/hyperlight_common/src/virtq/producer.rs, src/hyperlight_common/src/virtq/consumer.rs, src/hyperlight_common/src/virtq/desc.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"340b2b7e041724b05f8cba3785bf7f8ceaa3f3abe571d9841b80c4b872a30d30"}},{"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/hyperlight_host/src/hypervisor/virtual_machine/hvf/mod.rs, src/hyperlight_guest_bin/src/arch/amd64/machine.rs, src/hyperlight_common/src/component.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0d8df1c5bdeda932538085165462f9ed2ac3168cda1d2b82063f8264f3989ceb"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (9 single-owned of 143 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 143 of the 209 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is flatbuffer-specific and should be moved probably somewhere else. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_common/src/transport.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3165658bc6d9e0008ac7c8698fea85cff051ec7ddc90b802dac2e7764d3becfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is flatbuffer-specific and should be moved probably somewhere else. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_common/src/transport.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeb0fb172ce4d058f3742561d8cd3140ac010a04ae92382f3a32e500afeafc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: make use of the Contiguous bit to reduce tlb pressure \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/hyperlight_common/src/arch/aarch64/vmem.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ab73ead01bed4d32bb9b951e046762f2ffdb38faa3e184ed298be0992b0595"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo - type magic could unify virt_to_phys and walk_va_spaces \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/hyperlight_common/src/arch/aarch64/vmem.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c045d1af5baebbb6fd36bde4eb1c2ab45c47d603949a203690291c0975f7b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider using the upper half, like we do on x86; \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/hyperlight_common/src/arch/aarch64/layout.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed5800d1b081c69b1b136ea7c35aa5278d1f2c90c762d6f2ede981625a1b3ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support not readable \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/hyperlight_common/src/arch/amd64/vmem.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe6be1fddebdaa34d24291b8e846a5c76a35746ed7637a18f7441c4925d0bcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Change these constant to be configurable at runtime by 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/hyperlight_common/src/flatbuffer_wrappers/guest_trace_data.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b5a8513d06fb8395aaedb611b7ec720939e029ce95788ef30739533431e398"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: instrument this once we fix the test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_common/src/flatbuffer_wrappers/guest_log_level.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76c46b48ca732cf4f3becfc50bb2515bcea1891f56ae1f755801771544a66a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: when the guest codegen is split into generic and wasm, \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcf3b55ace23ea2f1c8925cfd04f433b881bfcb5e354694e0362b22695b677f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: this will need a bit of adjustment to work well with \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797c421b6183ba515df58cd95cc4832ddaf996ccd8c9b266f64b1e15fe3efce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: should this always be u8? \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4099c5063ddcbca41e7d3383272fcaadbacb33f06544a566eaf73f68a532c4b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to make the local-definedness check work properly, since \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49b8b7fe11725270b7d72ad26b32db116f067daf0b9de78851ea210fd2b8fa1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: can/should this \u0027static bound be avoided? \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/hyperlight_component_util/src/rtypes.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cf7fecf1ccf14ed9e40a9dcb62a3d7736b447adf9adedfe492cbc3a1371a68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: better error handling \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79bfc4fa3a19773f2773c6783bc1fccf37c787e3103d3c4e432b7bb247a940d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: better error handling \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdfa07211b891bdee6db2bdff229b6ee95f88e4f3792d32a04ac50fb8be70c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: better error handling \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/hyperlight_component_util/src/hl.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88cdd86e94eb8e8c8e5a921e0d92aa77e9d32164a8fbe55e86e7ee8bcf5dcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When we add the Drop impl (#810), we need"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_component_util/src/hl.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba03d44fd8b668029883727046777b86be050b9bfe39c55384892296f3b26de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check that name resolution here works \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/hyperlight_component_util/src/guest.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb2fb9afc22c7ca02dabeef8610252d35f30fae54d2f4ee247d08edeafb74ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Allow the user to specify a specific export to use (or a WIT \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/hyperlight_component_util/src/component.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f18445496af4227b570bf0192212f98882e7decbdf315af34058f7f2294643"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Encode even more assumptions about WIT package structure \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/hyperlight_component_util/src/component.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6cb9c7fedafbee300885ebeaaaaea3796649fce2596d34b70839a49d66fdec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: actually check for FEAT_LSE presence. \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/hyperlight_guest/src/arch/aarch64/prim_alloc.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8912b33e9cec2d33add57418cbdccf1d01052804db9eb5f270d03615553118f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): these values are placeholders copied from amd64 \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/hyperlight_guest/src/arch/aarch64/layout.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c803b62fbb73f08f29fc825c8b629d559562dba805d72f7662563202a1bcc175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): implement VM exit mechanism (e.g. hvc instruction) \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/hyperlight_guest/src/arch/aarch64/exit.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"736e3f90aacc6aca34363b6ad3e23cbd069f2028af69fc07545206b9f540ca8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is not at all thread-safe atm \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/hyperlight_guest_bin/src/arch/aarch64/paging.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13375e06490fbf704b5724f29db3a357dbb4d1018d56c38ff611b704d93f4a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is not at all thread-safe atm \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/hyperlight_guest_bin/src/arch/amd64/paging.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ba0e83f0edf4f46f77d6ff5163321de2a8d92e3f93e290ae44bfb31f38f6d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): implement aarch64 guest runtime \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/hyperlight_guest_bin/src/arch/aarch64/mod.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdfaf927b8bf6697be4c4e494108e20cec0b342aea1fbff64a29bfc870436d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: perhaps we should have a sanity check that 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/hyperlight_guest_bin/src/arch/aarch64/exception/handle.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7093db59a25304b75a550d8d05376d12f3d16ec282ddd2977d49103677f23965"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: perhaps we should have a sanity check that 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/hyperlight_guest_bin/src/arch/amd64/exception/handle.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b3b5602a3e3db6d899f84a8b3bbde0cf12989d7bc76f9fb256c1b5154d922"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(multithreading): this will definitely require a \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/hyperlight_guest_bin/src/arch/aarch64/exception/handle.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee903e3e0ddb0079a76815b190c6bb54a3b7c496b670c9748bd9312916052b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: A lot of code in this file uses inline assembly to load and \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/hyperlight_guest_bin/src/arch/amd64/paging.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b96f902181f5051a70470229953fb575cbcb8efa0ea6f91c8947deefbd0e001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Don\u0027t do this unconditionally: get the exn \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/hyperlight_guest_bin/src/arch/amd64/context.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1aad37581345603f2aea5f85c515dd074c046e3b83ae7648d7b7fc203767c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if we ever generate code with ymm/zmm in \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/hyperlight_guest_bin/src/arch/amd64/context.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"569df5e7af0fd2abb653f722538e697a05fa0d26a9a9735c58702dc9efc2406b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: This will eventually need to be part of a per-thread context when threading is implemented. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_guest_bin/src/arch/amd64/exception/handle.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7444de9fac93d140df63b07c7f605e523ba9f11a88b8d8ad94d72acd3d5ecdda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(multithreading): when we have multiple threads, we \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/hyperlight_guest_bin/src/arch/amd64/exception/handle.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2e4549af4da57fcdc15f3b2e5032f7ecaf6f81544cc565b7fbb251890ec0de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this when MSRV is raised above 1.89. \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/hyperlight_guest_tracing/src/invariant_tsc.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"942417d84a7f9d0cefdadaece80db52a682f0dd196442efcf14ea6465ddf50e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this when MSRV is raised above 1.89. \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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e1e71ba3fabb3a837599436977e9440ecf2d30f1fda18fdf1f09623af1ede3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this when MSRV is raised above 1.89. \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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df995d2b07c4902a9eccc5f4e787d4d540c1c40b0748f28a71f93050b6d5b8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(portability): this is architecture-specific \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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03ac0d669d449713ab2159ff2bb8606e3f363e49394db0260b4b789881df4c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if other state needs to be reset \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/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"206eed716badcdf1f4bbfe2b792cc284595f8f66b4f52d5c2db81e9941e380ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): implement arch-specific HyperlightVm methods \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/hyperlight_host/src/hypervisor/hyperlight_vm/aarch64.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"696f150c4f7f662c806c62cdbf9990464035d2b73c0db53b64c0e99cc784c2ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support gdb on aarch64 \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/hyperlight_host/src/hypervisor/hyperlight_vm/aarch64.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"593822e92267be080ff691b919a9243a272ec470874f385f15faabd16f24cdcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: mshv support \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/hyperlight_host/src/hypervisor/hyperlight_vm/aarch64.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"547aaadffa741ebcfcec84531835a0252ace5344ae8ee8f59c9fac28e72afc35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: handle ttbr1 as well \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/hyperlight_host/src/hypervisor/regs/aarch64/special_regs.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b566d3799db030e68a9264935e9a524f249262ae94e91c9cf54332f290ae580"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): implement real register definitions \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/hyperlight_host/src/hypervisor/regs/aarch64/mod.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"291cdc19c7334546042429cb183780fd3ed885d948a7ecdf2396cbc359c04aef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I\u0027m not sure how to get this from WHP at the moment \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/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"673662daa7d3eb0f6703730b4422f85c9afd62ac68ba3a22774c9372ba62d0df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for testing on WHP \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/hyperlight_host/src/hypervisor/virtual_machine/mod.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a47a21289e647fd86cc3a060f325331cb6b7e67829e26f817ff9daa6a46194e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out if there is a more efficient way 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/hyperlight_host/src/hypervisor/virtual_machine/hvf/mod.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"350e5f0a74fc2971e9f3be77b3b8821403d919e6d54bb73e134587f15e6730f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO[before push]: we should probably do the optimisation of \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/hyperlight_host/src/hypervisor/virtual_machine/hvf/mod.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c570e2a3d5afcc3d63a0f5cddaf18de83162b55b802cbd60fbe293834eec79d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): implement KVM backend \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/hyperlight_host/src/hypervisor/virtual_machine/kvm/aarch64.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4f4d5a24896c9632e854fed72646594f956eecbb4a543726b4fd6bc6a5cb27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aarch64): implement MSHV detection \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/hyperlight_host/src/hypervisor/virtual_machine/mshv/aarch64.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"820dd5d6ee3594a67a7a71596e6a5d87a7680fc0957691f791cd7890359d9e6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find the break-even point between zero-in-place and \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/hyperlight_host/src/mem/shared_mem.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fd43998c999639b2f4c852df83319656af435b89d3614842df2e29e59d32fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a similar lazy zeroing approach that works on MSHV. \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/hyperlight_host/src/mem/shared_mem.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"00462f4272353796f44b1e4ecb51a1c602cdd5b06f405f46e6777e57f5b32c95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: this doesn\u0027t morally need to be \u0026mut self, since we\u0027re \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/hyperlight_host/src/mem/exe.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2125d76a9649cec8a3d9384552d35a517ac36ca32766aea08b0dbe0056e3d45c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: plumb through a name from from_file if this \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/hyperlight_host/src/mem/elf.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d140fab46c33793ec65e9c12ec2569951563b9aa9c7eb32b35a8d897260487f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Hold one HostSharedMemory read guard across a virtq transaction. \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/hyperlight_host/src/mem/virtq/mem.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac334ac2c231c5deb7dbb519a6e75bc33a73a18bb313cfdb361fbadbb1a81ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Maybe we should make the GuestEnvironment or \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/hyperlight_host/src/sandbox/uninitialized.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec44c8e0ee4fbedc8b1f2445c49782bd6a0c4f3ba83547b998ba8f5a2efc420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Currently, we block any writes that are not to \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/hyperlight_host/src/sandbox/uninitialized.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"428240f5fa13afdef25c4da372ad85c2e5034fc0bdedd23c848b9a7dff48936e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement support for writable mappings, which \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/hyperlight_host/src/sandbox/initialized_multi_use.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1da02d60c2b7d44f18877167924ad3ffb633fd8b5fd4c55bae9c9385e1075a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reassess the scratch budget and runtime headroom. \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/hyperlight_host/src/sandbox/config.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d0712d2260fd40f4755c605c3ce838ae5775bc6466de0c8e6f55101cda18a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: this should not necessarily be around in the long term: \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/hyperlight_host/src/sandbox/snapshot/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6e336d0b95ba749aa420b4bc58b4f023106d70a77f7bd276dde9088ca50e8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// Layout object for the sandbox. TODO: get rid of this and \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/hyperlight_host/src/sandbox/snapshot/mod.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb79d6005682fb2012640c25962e4d5803ba2f6eb8875d4907185924691ece"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Look for opportunities to hugepage map \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/hyperlight_host/src/sandbox/snapshot/mod.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b984bf8d7dfe34d096f8615e651dbc6644206247c3e395a4cbd8da5e7decf75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove the \u0060unsafe\u0060/allow when MSRV is raised above \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/hyperlight_host/src/sandbox/snapshot/file/config.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c03b46d96525ae5a1fa36d78a7fc7a537363059b89d0ef8d9380b295572521"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/tests/integration_test.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e896b99bf1e555c9f3cc1180aa1d4393d222b47bfd3b854aaaff03907ff5156"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/tests/integration_test.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c30443f460ba6d870ae7a914e58ec0777251a9cdbbb2545b37c2ef52bf18b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/tests/integration_test.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a6250534d38502f45ca7aefe58a45478e71e2952fa0a1a3924914bef1a6c00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/tests/integration_test.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"2362ac7a3138893c2bb1f6c18c04cb578f52bd5e72ebc2f5cf4d0c098388695b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use \u0060swap_remove\u0060 instead of \u0060remove\u0060 if performance is an issue, but left out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests/rust_guests/simpleguest/src/main.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a5088b138d887ef5ae4d23a04171d7174cc0fc90506cdee472085b7c9f2310"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add test about the old contents of this being \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/tests/rust_guests/witguest/src/main.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a768c97d0f614298581868a90dc200481fe690ccc70298b1d6abfe96fdde184f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: this should use something more reasonable than a hash table \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/trace_dump/main.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e8dec8ca80c2d90948e508d9c67bf98b6fcf1861c021d2de6eafa2b6d77c46"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. The recognised ADR directories in this tree were read \u2014 \u0060proposals\u0060 \u2014 and none of their files is a decision record (a README, index or template page does not count). 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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant methods returning the same value. \u0060len()\u0060 is the standard Rust convention for collection size, while \u0060segment_count()\u0060 is a verbose alias that adds no semantic distinction.: Remove \u0060segment_count()\u0060 and rely on \u0060len()\u0060. (signatures: Segments.len(): usize | Segments.segment_count(): usize)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"158f1258a4ac88a5030a9191bd0d298047bf45e6bd4a08dbfb71c429c07de08d"}},{"ruleId":"D22","level":"warning","message":{"text":"Ambiguous naming convention. In Rust, \u0060to_*\u0060 typically implies a copy or conversion (borrowing), while \u0060into_*\u0060 implies consuming the value. However, \u0060to_bytes()\u0060 on \u0060Segments\u0060 likely consumes the segments to create a contiguous \u0060Bytes\u0060 object, making it semantically identical to \u0060into_bytes()\u0060. If \u0060to_bytes\u0060 does not consume, it is confusingly named against standard idioms; if it does, it duplicates \u0060into_bytes\u0060.: If \u0060to_bytes\u0060 consumes, remove it in favor of \u0060into_bytes\u0060. If it copies, rename to \u0060clone_to_bytes\u0060 or similar to distinguish from \u0060into_bytes\u0060. (signatures: Segments.to_bytes(): Bytes | Segments.into_bytes(): Bytes)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4475d5dc5b5dcf6834d582fd53e4d486501ebd11bb77be2f3cfd344608be9ca"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant accessors. \u0060as_slice()\u0060 provides direct indexing and iteration, making \u0060iter()\u0060 largely unnecessary for read-only access patterns. While \u0060iter()\u0060 is idiomatic for generic iteration, having both on a simple wrapper often indicates a lack of decision on whether the type should behave like a slice or a collection.: Remove \u0060iter()\u0060 if \u0060as_slice()\u0060 is the primary access pattern, or ensure \u0060iter()\u0060 provides distinct functionality (e.g., moving elements) which it currently does not. (signatures: Segments.as_slice(): \u0026[Bytes] | Segments.iter(): impl Iterator\u003CItem = \u0026Bytes\u003E)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b08e5f106dcc2aad432bff4d2126c5ed220a0b4376d72c556a0e1613c6cab434"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 13 project(s) overshoot their size bounds, lowering Project Cohesion to 6.9/10. The most over is \u0060src/hyperlight_host\u0060 (36212 LoC, 119 public types across 22 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":"5bd171e6422feaf0262af7f174eb914bb0cc68e56ee373091dbd27f016543764"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c773dee01d7ecc86dde40b1a45cced045299754c79ec783d66a6fb88692ad0c8"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67bae993a6197ec63bb2ab001a05231943020309cb40b39a67c8e80b88567873"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4fc3e12beee5c7550fee6bf3b048e48d9815fe9016ee4fbfc45ff14d8100210"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bb8ed27c264d56f87fdb724cb146d879abb72b5812954332339f2a73523004b"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a95669a8a2d08e5f0ee4ca5b67d1ed8f05255b41190537255d62b080d1ce361c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89a591530bbaba27da8b9d102e069d1dc143d4c494d5223bc051b59ff6926c92"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c856041ac1c277d4aa051c60cee97981cd563d1ce519b6d57befbc54b8f2a6d"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bb95e103fc2b5604a02c7a82137f29f4dfc13556868a03ffeaf54c1f964d1b9"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71503eac53de5ec552bd4f7f631f36d2b81398c20f6c24efc2d43291636e687c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5cb42797017b72ada6b2572a71a757ec403fbbd64e1366f8de18733be57677d"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e14d8abc0b7366a288e40b77260e35e128307b6b449d123524074adc7c33638"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32dc745c7d0c475c42aa106e5ccece45022dd89dc1f2d139e8c9656e8f9d98fb"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d6e11e67e366af1cbbb61d4a4a4c734ce50c5af8838ef9d140b06a1cf5048bf"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d8adea458ec0be0e9e529b6330f9ad190f656c9af41b1b6579e6f2d547449b4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb95e87cae6775d8381eab0e6ae4a4557904f17c5a8161d74b6238f2fa8fd625"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e2d5e2afdeb8bffb2edfe59f7f6f3567be09c1d8d723838fd083bc22831ed3e"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3e43ed4ab2edf758ab1eef29256938e1be03129a557aa2c7bbb4e86c6783e56"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b853c19f4ef2920857296f497ad276c31f554d7de36718ff99a8e3830681f940"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c992d16b213cd9cc8724420f3b0dc25e15eacdacd8163d43ade3dcda4bedb9ca"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9a08858bd8ff23a49efe7425fd65b9d775099e8f726b259ad4740f3f02adab3"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ab293d7c495f57e9d810edc71fda75aa0f69ad9067edc6a5fc436415a1e5486"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3a9727284344d6fde5fb0877003c8e7ee2c816d39b370d868e0a86975bfa188"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4eac4acac09d5ed0ef0fc3c79e6b7d67e310a9249f3875cf38bfb59d8871f497"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"444a2a1c9904a713c82e3c5a6be1e31c85d53682cd8785f89d7b864b478da48f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b908c07e961546d2cffea82a9fc9a5852d827861632d5cd440e4d3c51032b695"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c21ff76fb36b3f29cd4c93246ea14e730fb035e7d74332d1e8f58e7274ad6b18"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a273167f796d2ca45136c5f6d2d85e9ea1131a4c26a19b74cc40a466a7d7d7f9"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15bd18bb0bf102ad13071d0a9dfbded502347cb409fb9c7a511d5e361ff5d750"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e04aad5130d83cf70c6770d837bd4762227a9c64efa3352873b0aee5eb9d69a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf825c69349b5a31fc2c944bfa24456d1454407f8c236ba9b4cad62ba78cc78f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f06affe659c96f2e85d716a03478ba2c0e9b1907005b45dc907df38b93ed719"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4629bc313ab45d2959017211cb9831c7d94203ccca00bd40349cde81f59ce81"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94265ddf3e59798068c0e138929b0a6dcc5dcafdde58dee47ed6d306f6ae5adc"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95fddef1434a3b4e80da18f3622d9a26d1e64fc088598f74e9d69f2f79a302e2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2660981d8c4b568fb819cd03d398637e62e1a0a141ca34381d2b6d9dd97e63ff"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a42ae009f8e5bc31b3e9d7f09ceb630f2c2eac6d8fa6e08dc5c733ef3aa0f78f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"d78a2610cd45e35e27e58722da8c911a45682f7249600440fda77c352ace5439"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fb611c34576acf3980968f0a6aa6d75084036d210ef7ccebdd518abbad994a9"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d9ca7c4e742c88bd5b23963894a042845424b5cc2a61ce473554b42798686e3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a1c64913edcc752aa781e3ac28364ceea507cf96a9ed83e75c0b15005dba7b53"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"705e8761c5e609601c0419d94a8bad1aeb6aee434f48ec4660c92e8bf534c9de"},"properties":{"dependency":{"package":"number_prefix","version":"0.4.0","advisory":"RUSTSEC-2025-0119","reachability":{"kind":"unknown"}}}},{"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":"46defe36beb4b05403c0b3517d089f01f68e6ede55a12e758c9bd4da96c48966"}},{"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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"c790f76cf70ef3b7e11b2b2e046aa998549442297137ee1873617b41f8d8e165"}},{"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":"3260ff93174f49ae10f5552a0329814b77c91960ca91a54cd36b784f53bff409"}},{"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":"cd1e1916692d4d5f458efae18df368376314f217f352881cf1d4fa6cc083eb6d"}},{"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":"f5221b8e0ef802d5c20cba673b1336298744f8b2081e1880165abb136c5f2fa9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e907ee1026f27d03b789d140179616295fcb7c077e1e0d6a2872cba6d1894c64"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"46eb56ca90f14ff58240ac181de64c98cab210a78b41d8e834bd882a2763a646"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 143 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 143 of the 209 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: fuzz/fuzz_targets/guest_estimate_trace_event.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: paging.rs \u2194 mgr.rs: \u0060src/hyperlight_guest_bin/src/paging.rs\u0060 (context hyperlight_guest_bin) and \u0060src/hyperlight_host/src/mem/mgr.rs\u0060 (context hyperlight_host) sit in DIFFERENT parts of the tree yet change together 50% of the time (8 of the 16 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060f83ea1c9\u0060 Eagerly copy page tables to the snapshot region; \u006076d11744\u0060 Make the snapshot region readonly and enable CoW; \u0060e2621b9a\u0060 Neaten up page table operations structures \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_guest_bin/src/paging.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b627e8b9c4ce46d8691a8ec49c2ee5e50031044e61f01f255ae4983ed1c67d81"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: elf.rs \u2194 mgr.rs: \u0060src/hyperlight_host/src/mem/elf.rs\u0060 and \u0060src/hyperlight_host/src/mem/mgr.rs\u0060 change together 50% of the time (5 of the 10 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 5 shared commits counted here, the most recent 3 are \u0060564aacbb\u0060 refactor: replace init-paging feature with nanvix-unstable (#1291); \u00603c5e38da\u0060 [trace-guest] remove unwind_guest feature; \u0060f5a80840\u0060 [hyperlight_host/trace] Support collecting guest stacktraces \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/mem/elf.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a9e0cb300847efb8b904f58839bc392ee66017a1b839242fc5f0260bc538f8"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35f64a0396611dfd8e0191313b0d7cdc759890497b52affaaa727cf6ce876cfd"}},{"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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Rust 1.94: rust-toolchain.toml declares Rust 1.94 as this project\u0027s toolchain file, and Rust 1.94, superseded by 1.95 on 2026-04-16 (the Rust project patches only the current stable). An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-04-16 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f69fe0bd737134cbb556df471aeb85ea0f81bdab97b8bad765d34c6fb5724f3c"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 8/11 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060src/hyperlight_ci\u0060, \u0060src/hyperlight_guest_macro\u0060, \u0060src/trace_dump\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060msg.contains(\u0022architecture\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060msg.contains(\u0022architecture\u0022)\u0060 also satisfies \u0060msg.contains(\u0022arch\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/sandbox/snapshot/file_tests.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca25f37ece202803a60b551cc85f66a4a97105f15bfc11fd36f05ac436e7845c"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060msg.contains(\u0022memory_size\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060msg.contains(\u0022memory_size\u0022)\u0060 also satisfies \u0060msg.contains(\u0022size\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/sandbox/snapshot/file_tests.rs"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2e664d51741235d9bb1333fa211668fa0c00389e0f6f7e76928a29bd54d0b9"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060msg.contains(\u0022architecture\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060msg.contains(\u0022architecture\u0022)\u0060 also satisfies \u0060msg.contains(\u0022arch\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hyperlight_host/src/sandbox/snapshot/file_tests.rs"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"43407a201cd55f1c8d5130a78e4ade6151e97edf8394292cbf0bb7dbb300b4e9"}}],"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-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"CWE-552","shortDescription":{"text":"CWE-552"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":56,"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."]}]}