{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::graph::input::handle (cyclomatic 74): materialcraft_ui_egui::graph::input::handle has cyclomatic complexity 74 (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":"crates/ui-egui/src/graph/input.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1237d0f0d09a7e8685f22fe55328f0fd6891ba0bf04fd14328f40f5fbb19141"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::graph::canvas::canvas (cyclomatic 62): materialcraft_ui_egui::graph::canvas::canvas has cyclomatic complexity 62 (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":"crates/ui-egui/src/graph/canvas.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd6d6ef33553b5c39117ec4adfba5bf19ebbea45f6e9be652b5dcb7df0779fd"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::property::parameter::param_row (cyclomatic 46): materialcraft_ui_egui::property::parameter::param_row has cyclomatic complexity 46 (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":"crates/ui-egui/src/property/parameter.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c1be4dfce6f3927ce0b3afa336307f7e7aa20ba6f11666f7c06e7e5bfbc52d"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::function::arithmetic::evaluate (cyclomatic 45): materialcraft_nodes::function::arithmetic::evaluate has cyclomatic complexity 45 (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":"crates/nodes/src/function/arithmetic.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c44a237b16af0d62674e8837f41b53dc8fa122dca99caefb0cf154234a78fc4"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::function::render::paint (cyclomatic 40): materialcraft_ui_egui::function::render::paint has cyclomatic complexity 40 (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":"crates/ui-egui/src/function/render.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0fdac3c28c2d517050bdba916bdfcdef6a08f8cd4f02b6b4807370dd8648cf"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::function::operation::evaluate (cyclomatic 37): materialcraft_nodes::function::operation::evaluate has cyclomatic complexity 37 (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":"crates/nodes/src/function/operation.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7422cf77529b1f57b847cdf739c2e0dba5968709d126b9902f5b3f46cafab93"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::explorer::show (cyclomatic 36): materialcraft_ui_egui::explorer::show has cyclomatic complexity 36 (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":"crates/ui-egui/src/explorer.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdf102a2783b9f7c5a3c72d150e6e08222dd63065df4abb4859cdff5dabd005"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_geom::unwrap::auto_unwrap (cyclomatic 34): materialcraft_geom::unwrap::auto_unwrap has cyclomatic complexity 34 (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":"crates/geom/src/unwrap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4176c2f94feafacb05805e422b408938a5a7b8375f37680e071de61393b2e694"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::function::input::handle (cyclomatic 33): materialcraft_ui_egui::function::input::handle has cyclomatic complexity 33 (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":"crates/ui-egui/src/function/input.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f8ccdc513602fd8aa3a11f3fa9318cbff41b2644a2512fd28e2918f1211cb4"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::pattern::evaluation::cook (cyclomatic 31): materialcraft_nodes::pattern::evaluation::cook has cyclomatic complexity 31 (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":"crates/nodes/src/pattern/evaluation.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf1d886b9d9d4b921866ccf92aca509d5a84c980fe8eb92d7f8d14b50ca09ee"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::pattern::input::handle (cyclomatic 29): materialcraft_ui_egui::pattern::input::handle has cyclomatic complexity 29 (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":"crates/ui-egui/src/pattern/input.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e8fe7fd44a174143db50e0abdd418d57ecf0ab53480b24661b0db0fa3bd56"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::view2d::show (cyclomatic 29): materialcraft_ui_egui::view2d::show has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/view2d.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca932e11e4887c4730aa6e95e0aa65929947ce603a854051d29c28c72337bb"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_eval::node_execution::cook_node (cyclomatic 27): materialcraft_eval::node_execution::cook_node has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/eval/src/node_execution.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4996eb8a82ba4c9fea95ee163f6ed4c9c2ec7aed3df7e26873db3c06fc47c6"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_engine::view_cmds::view3d (cyclomatic 25): materialcraft_engine::view_cmds::view3d has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/view_cmds.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9488d4dff43053ec69d6e4a7944ea3d3877dc26e361cf572d12d92782dc88b"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::pattern::shape::coverage (cyclomatic 24): materialcraft_nodes::pattern::shape::coverage 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":"crates/nodes/src/pattern/shape.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c349893423ee57319c43632cbbd7105a98d4c5b563c754be92b602d89843ac"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::control::handle (cyclomatic 24): materialcraft_ui_egui::control::handle 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":"crates/ui-egui/src/control.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"60664a4d7f3ce8eff533e2d9dd99581abd5fe43c03392d791a6ca3adda3b3902"}},{"ruleId":"D1","level":"warning","message":{"text":"Value::coerce_json (cyclomatic 23): Value::coerce_json has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/core/src/value.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"700b58162866a4a3fb88e6524f11bcb32f8f37ae5941dfacca8bf9c266a2bb5c"}},{"ruleId":"D1","level":"warning","message":{"text":"Bvh::new (cyclomatic 23): Bvh::new 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":"crates/geom/src/bvh.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc160799683f57982eac708952cb06cb9331ae76762aee443a546bff8104bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::ops::blend_channel (cyclomatic 23): materialcraft_nodes::ops::blend_channel 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":"crates/nodes/src/ops.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"88444962b7c7a74d2026c96a0cdeb512402b396118a380717cdd4911e622b0a4"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::pattern::raster::render (cyclomatic 23): materialcraft_nodes::pattern::raster::render 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":"crates/nodes/src/pattern/raster.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd790acd0235fae416bee9450e02f60c3190d009c74b24ca26d083cd053eecb"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::graph::toolbar::show (cyclomatic 23): materialcraft_ui_egui::graph::toolbar::show 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":"crates/ui-egui/src/graph/toolbar.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3517337a35308c0715cc2973083ef65af4e5414097cf4eafe8c1b7a23f7ecb62"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::menus::invoke (cyclomatic 23): materialcraft_ui_egui::menus::invoke has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab1721bcb0c82fef8cd433d959904f88729db289c1e0f9676efca5a217f6a8"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::property::graph::show (cyclomatic 23): materialcraft_ui_egui::property::graph::show 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":"crates/ui-egui/src/property/graph.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c7a5dbfbca17caf8af726862e9384dfabef403cadfd53fd6a7b9f0f767f76c"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::function::vector::evaluate (cyclomatic 22): materialcraft_nodes::function::vector::evaluate has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nodes/src/function/vector.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a43b332c934944079cf2a1daf5d199fcddfb8aafb00f2c33d0503a95be1d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_cli::run (cyclomatic 21): materialcraft_cli::run has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/materialcraft-cli/src/main.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2531ed19484de679b9bf4aa88140f88bab419282c5024660df1a3bc3f4bfce2a"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::graph::search::show (cyclomatic 21): materialcraft_ui_egui::graph::search::show has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/graph/search.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4624f6b72b0b5f1b5f051d555c55f5d4b2361be3b92a6077f3bd816ccdcf5e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::view3d::menus (cyclomatic 21): materialcraft_ui_egui::view3d::menus has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/view3d.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297b6c6d409db6dac971d0409df7b4c59b2b39166d1a8c1c8d636d53330a6a7"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::property::node::base_params (cyclomatic 20): materialcraft_ui_egui::property::node::base_params 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":"crates/ui-egui/src/property/node.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f064c9aee32e5cd7cd8c81f3c43790c65687f7df306596c4518010c388f8c668"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft::control_server::serve (cyclomatic 19): materialcraft::control_server::serve has cyclomatic complexity 19 (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":"apps/materialcraft/src/control_server.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac31dc013a35e198b31108e7adafdb36becdd39111df8dae833d4dd88710aae8"}},{"ruleId":"D1","level":"warning","message":{"text":"SbsReader::read_node (cyclomatic 19): SbsReader::read_node has cyclomatic complexity 19 (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":"crates/formats/src/sbs/sbs_reader.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b12f2cc31fad7e8919a50624f90fad3878f27a2dc93405b546d32474503baf"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_formats::image::encode (cyclomatic 19): materialcraft_formats::image::encode has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/image.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cce7986ed61be656b19f173dbbeb5dba34e0d441d9b96cf35bfa1875c84e29"}},{"ruleId":"D1","level":"warning","message":{"text":"Program::run (cyclomatic 19): Program::run has cyclomatic complexity 19 (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":"crates/nodes/src/function/program.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1908eeb83b6a5196fcd6d0c0b418dfd188403f49b4a5b108060df2f5770d3691"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_nodes::parameter::clamp_params (cyclomatic 19): materialcraft_nodes::parameter::clamp_params has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nodes/src/parameter.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"49feb28156d2c3a3269bb12177ca15e6faeb1b893aeb9b78cdfef5600fa2edac"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::property::gradient::gradient_editor (cyclomatic 19): materialcraft_ui_egui::property::gradient::gradient_editor has cyclomatic complexity 19 (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":"crates/ui-egui/src/property/gradient.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b90f0eeb034b9a3a20d6d9d024c588097aa14575dada9206db5a299228065a3"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternEdit::apply (cyclomatic 18): PatternEdit::apply has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/pattern_edit.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e6318b0c4bceef9b4ff8d467f49b74bf6ee44ec901224d5310e4e43a4c7cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::library::items (cyclomatic 18): materialcraft_ui_egui::library::items has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/library.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e62829801f4945618327fa9efab4e8af55d1a24cae5f409fd2c475c059915e1"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::view3d::show (cyclomatic 18): materialcraft_ui_egui::view3d::show has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/view3d.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"664d3c6c5babfbb99bce37dd4d84622088ef9077da95f64b31875caa0612dc70"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::windows::export (cyclomatic 18): materialcraft_ui_egui::windows::export has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c1765e3a1ada19a7591ab13617bf9bfdfba696255069497c8a9ec95261171"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionEdit::apply (cyclomatic 17): FunctionEdit::apply has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/function_edit.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c6c86cdbd636c198793cbce1cd5e5e03310f95ec54ae1a14d8e75cef6ec25b"}},{"ruleId":"D1","level":"warning","message":{"text":"UvGBuffer::new (cyclomatic 17): UvGBuffer::new has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/gbuffer.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c162e9984073b114b2108fd0a14df301ef5d38edb449e1863eaa67cfbaba3c"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::property::curve::curve_editor (cyclomatic 17): materialcraft_ui_egui::property::curve::curve_editor has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/property/curve.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09ede3ac2125b4c6b8a6d530de21f80918b2976d5e466c75029a2151eee8b34"}},{"ruleId":"D1","level":"warning","message":{"text":"SbsWriter::write_graph (cyclomatic 16): SbsWriter::write_graph 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":"crates/formats/src/sbs/sbs_writer.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb1b1f0e2b3812e4a55720bd9ca4ced4dce194066e99c4adfba4cb59fcd834d"}},{"ruleId":"D1","level":"warning","message":{"text":"SbsWriter::write_implementation (cyclomatic 16): SbsWriter::write_implementation 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":"crates/formats/src/sbs/sbs_writer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"20becdb1d3140ed4d3cbb9ff9b0033bdb555c229798c5b16f6c14bca74a8606e"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::cook::drive (cyclomatic 16): materialcraft_ui_egui::cook::drive 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":"crates/ui-egui/src/cook.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf60f7f48c7349850c05533f1ed2b5af735826768a0c5d977e88a70fb8988f"}},{"ruleId":"D1","level":"warning","message":{"text":"materialcraft_ui_egui::property::node::show (cyclomatic 16): materialcraft_ui_egui::property::node::show has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/property/node.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"968b3334e3f42e388d96f98788e50115fcfff9928dc2f1a1e4d006c357633124"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::graph::canvas::canvas (cognitive 115): materialcraft_ui_egui::graph::canvas::canvas has cognitive complexity 115 (threshold 15). Drivers by points: if/else 49 (90 pts), boolean chains 10, match/switch 5 (8 pts), loops 7 (nesting depth added 44). 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":"crates/ui-egui/src/graph/canvas.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"217a5c457f69f724174a5c2b186773455b9882842164f9ff493b31a2621675e2"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::graph::input::handle (cognitive 110): materialcraft_ui_egui::graph::input::handle has cognitive complexity 110 (threshold 15). Drivers by points: if/else 40 (76 pts), boolean chains 21, match/switch 7 (12 pts), loops 1 (nesting depth added 41). 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":"crates/ui-egui/src/graph/input.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"492e40a10a86f23ad0baa74a81a82609c43ddb7e6c9ca727b06d0e817955b503"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::function::render::paint (cognitive 81): materialcraft_ui_egui::function::render::paint has cognitive complexity 81 (threshold 15). Drivers by points: if/else 29 (60 pts), boolean chains 11, loops 5 (10 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/function/render.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3a901ccc03781fe07c30955fd7bcaf30eccb998ced134e89f68bc2fcc67cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::pattern::evaluation::cook (cognitive 74): materialcraft_nodes::pattern::evaluation::cook has cognitive complexity 74 (threshold 15). Drivers by points: if/else 20 (51 pts), loops 6 (13 pts), match/switch 3 (9 pts), boolean chains 1 (nesting depth added 44). 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":"crates/nodes/src/pattern/evaluation.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"39578c93a7546b15b320658aa302225ee9919bb9a8acd56745ebac270d45e40b"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::property::parameter::param_row (cognitive 69): materialcraft_ui_egui::property::parameter::param_row has cognitive complexity 69 (threshold 15). Drivers by points: if/else 28 (56 pts), loops 5 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 33). 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":"crates/ui-egui/src/property/parameter.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b3b33bab63fc3b24604f3d9a90e39bd00d5a19b617b22aafc6615e104086cd"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_geom::unwrap::auto_unwrap (cognitive 67): materialcraft_geom::unwrap::auto_unwrap has cognitive complexity 67 (threshold 15). Drivers by points: if/else 15 (39 pts), loops 18 (27 pts), boolean chains 1 (nesting depth added 33). 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":"crates/geom/src/unwrap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccadf06ff536a4fa324f7bbd5a0f3dc5b708a5a745ad4d5c3be506bcaabfa52"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::pattern::raster::render (cognitive 64): materialcraft_nodes::pattern::raster::render has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (42 pts), loops 4 (10 pts), match/switch 2 (10 pts), boolean chains 2 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nodes/src/pattern/raster.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da49bab71b1bfeb5309c319541294b2a646b3ae97b8ecf3e9565d6945e8976e"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::explorer::show (cognitive 57): materialcraft_ui_egui::explorer::show has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (43 pts), loops 5 (10 pts), boolean chains 3, match/switch 1 (nesting depth added 24). 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":"crates/ui-egui/src/explorer.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ad864899c9bd44087eff20f86b1e1ac917d53b16a27e3c6bf500afc28ae786"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::library::items (cognitive 52): materialcraft_ui_egui::library::items has cognitive complexity 52 (threshold 15). Drivers by points: if/else 23 (46 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 26). 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":"crates/ui-egui/src/library.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e530da3a67e6cf555d2c83401723163492569266ac24f4cf4b14ef94733a11"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::function::vector::evaluate (cognitive 50): materialcraft_nodes::function::vector::evaluate has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (34 pts), loops 5 (14 pts), boolean chains 2 (nesting depth added 23). 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":"crates/nodes/src/function/vector.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9062cff89cae4b27927d1af3b7d290fdc92bce117e34b86e057b9762c2b4ce4"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::view2d::show (cognitive 45): materialcraft_ui_egui::view2d::show has cognitive complexity 45 (threshold 15). Drivers by points: if/else 28 (37 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/view2d.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d2a11b1b21a9621a33ea1d0e4c70e8c2d8e69348024d6f3e7f46d7613d2b12"}},{"ruleId":"D2","level":"warning","message":{"text":"Bvh::new (cognitive 43): Bvh::new has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 8 (16 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/bvh.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4d2180b5d6f0897a2ccb587935714e956cc862314e446fc8394db581a6365a"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::pattern::input::handle (cognitive 41): materialcraft_ui_egui::pattern::input::handle has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (29 pts), match/switch 4 (8 pts), boolean chains 4 (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":"crates/ui-egui/src/pattern/input.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c21a14501cae6b6d6c9fbcc987b96cb87cde800d7399e738283a89c3aca4fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::function::input::handle (cognitive 40): materialcraft_ui_egui::function::input::handle has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 9, match/switch 3 (4 pts) (nesting depth added 13). 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":"crates/ui-egui/src/function/input.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7983db8d573bed69e01a67ca9d0c4df5f6661707b716ee88cd4ddc20aa652c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::graph::toolbar::show (cognitive 39): materialcraft_ui_egui::graph::toolbar::show has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (34 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). 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":"crates/ui-egui/src/graph/toolbar.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f700acaf600822dfcc74510b6fe56a8bdf65650447a9a785c4864e07cb1a43"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::pattern::properties::show (cognitive 38): materialcraft_ui_egui::pattern::properties::show has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 2 (4 pts) (nesting depth added 23). 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":"crates/ui-egui/src/pattern/properties.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e35f1c3148a2f1e7b7f80ee3a484427ce45c437cf3c8f0c3609aa613b8fce"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_eval::node_execution::cook_node (cognitive 36): materialcraft_eval::node_execution::cook_node has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (25 pts), match/switch 4 (6 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/eval/src/node_execution.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"348d29e7a9f61280f7c8837b2dd7cf087ec347cef6c5ae19925649251fbd1764"}},{"ruleId":"D2","level":"warning","message":{"text":"UvGBuffer::new (cognitive 36): UvGBuffer::new has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 5 (9 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/gbuffer.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"95293b4700cc5d2874f8122dc1f8a1bbaacf85f90b71e1a5837bb82bcf5245c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SbsWriter::write_graph (cognitive 34): SbsWriter::write_graph has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 7 (13 pts), boolean chains 1 (nesting depth added 18). 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":"crates/formats/src/sbs/sbs_writer.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"697b75f47f9871b81732b9c7b5296792afd71ab3b029c7f477763e70cccd59f6"}},{"ruleId":"D2","level":"warning","message":{"text":"SbsWriter::write_implementation (cognitive 34): SbsWriter::write_implementation has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 4 (9 pts), loops 2 (6 pts) (nesting depth added 22). 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":"crates/formats/src/sbs/sbs_writer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f282043939b047b0f102ee96a6da16fcfedd0d00f21c64bd0cc63d6d180cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::function::operation::evaluate (cognitive 34): materialcraft_nodes::function::operation::evaluate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 6 (10 pts), boolean chains 6 (nesting depth added 11). 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":"crates/nodes/src/function/operation.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b50506724e415bb2da71da58a735a083617d84de3621b251bea385abf30d7f"}},{"ruleId":"D2","level":"warning","message":{"text":"SbsReader::read_node (cognitive 33): SbsReader::read_node has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 4 (10 pts), boolean chains 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":"crates/formats/src/sbs/sbs_reader.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3e1641ce7ccd76ccef541610ce6fe77e0c776ebb4d52ba13dc845a7d00d7d4"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_formats::mesh::gltf (cognitive 33): materialcraft_formats::mesh::gltf has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 3 (9 pts), loops 3 (7 pts), boolean chains 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":"crates/formats/src/mesh.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef966b12cb51285069c077fc7bea94b8b7db902b55a845a2d5a71538c479878"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternEdit::apply (cognitive 32): PatternEdit::apply has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 17). 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":"crates/engine/src/pattern_edit.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c38cde9109b2995fce1967adeceeb7ce6d77923892c30eaa3f0a073babc10db"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::property::graph::show (cognitive 31): materialcraft_ui_egui::property::graph::show has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 8, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/property/graph.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"258adab736761888f291c59920759e1be9d2a3955f120da1736b01e1c68ea30f"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft::control_server::serve (cognitive 29): materialcraft::control_server::serve has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/materialcraft/src/control_server.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f60aba9d4ef8274d16978a2fd6589a0ab5c6f50465bc2112dfcb815fb9ec1b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Bvh::nearest (cognitive 29): Bvh::nearest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/bvh.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8a23d7d589b971d8c278ef937b423478906901e6b4042eccc591620ef74704"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_render::preview::render_cancellable (cognitive 28): materialcraft_render::preview::render_cancellable has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (9 pts), loops 3 (6 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":"crates/render/src/preview.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"294915490a5ac02ef786fbd885a9c0e33501ad23e32863cf15923c569a6d68c0"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::property::node::base_params (cognitive 28): materialcraft_ui_egui::property::node::base_params has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2 (6 pts), loops 3, boolean chains 1 (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":"crates/ui-egui/src/property/node.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0407c1f1110334a403a42c1f143941c9687eb6fab855ff7433de399560dd0eea"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_engine::view_cmds::view3d (cognitive 27): materialcraft_engine::view_cmds::view3d has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/view_cmds.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ed79d12925a015d71457cca6f825abd2ef7a0760990fda0f159eaefca92fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::ops::blend_channel (cognitive 27): materialcraft_nodes::ops::blend_channel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (26 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nodes/src/ops.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c475965927d51cb5a6265abdc3f51c4ef94b385cb1ab006c03b9c50b23b92e"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::control::handle (cognitive 27): materialcraft_ui_egui::control::handle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 6 (11 pts) (nesting depth added 13). 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":"crates/ui-egui/src/control.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36b962a3e58a8024f3a1ceb6fcce6828359eea585e7f0baad0987b190e7a707"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::levels_editor::show (cognitive 27): materialcraft_ui_egui::levels_editor::show has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 11). 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":"crates/ui-egui/src/levels_editor.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f86c1ef15e72e52f5841bad14f28304e0269039b902ad0fa2d36f7b9022730"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionEdit::apply (cognitive 26): FunctionEdit::apply has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 13). 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":"crates/engine/src/function_edit.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab414b53fb66851ef6df64175856d971008372fe6eb191cf7bec37f8e89c2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SbsReader::read_graph (cognitive 26): SbsReader::read_graph has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 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":"crates/formats/src/sbs/sbs_reader.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f49939181f63e4412372c19f1cfd613a54eb09bbb470962a068ae377a05d895"}},{"ruleId":"D2","level":"warning","message":{"text":"Bvh::traverse (cognitive 26): Bvh::traverse has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (4 pts), match/switch 1 (3 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":"crates/geom/src/bvh.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"69384ab032776c4b045ee1bab7f9ad9b913ca684818109d6cbb4f38a51d980ae"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::property::gradient::gradient_editor (cognitive 26): materialcraft_ui_egui::property::gradient::gradient_editor has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/property/gradient.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"32db9283f165825fb84dcc6924e515395b10cb2c99f9cbe5875945fc9e5ab90e"}},{"ruleId":"D2","level":"warning","message":{"text":"Scene::displaced (cognitive 25): Scene::displaced has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 6 (10 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/preview.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5778940be1a8a2927cd2cae326ec7c558edfef1548c83f50425c7cd678a3439f"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::graph::search::show (cognitive 25): materialcraft_ui_egui::graph::search::show has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 5, 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":"crates/ui-egui/src/graph/search.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc0cf34e575016993ba06a9a2cae5d1f46255fb57d510e4b88f623ffbb83c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Program::run (cognitive 24): Program::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 11). 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":"crates/nodes/src/function/program.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"82afc3de25439ca6878eadeacc5523931cce73d0b905e9a24aeb671af485a560"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::ops::distance_transform (cognitive 24): materialcraft_nodes::ops::distance_transform has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nodes/src/ops.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5426ae0efd2f94be6ef1a37aa45c3e3a18680c88aa7f0612f16fd28a84ee5531"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::cook::drive (cognitive 24): materialcraft_ui_egui::cook::drive has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 13). 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":"crates/ui-egui/src/cook.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a1f916841bee741653804f49b2f7bfcb65765ffa382c16590e5e98381e927"}},{"ruleId":"D2","level":"warning","message":{"text":"Mesh::map_material_uvs_with (cognitive 23): Mesh::map_material_uvs_with has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 6 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/mesh.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdfaccd632aaafadf7b05fe36b890c4455ce49c15287ce750ea68748d768241"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::function::node_types::node_types (cognitive 23): materialcraft_nodes::function::node_types::node_types has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts) (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":"crates/nodes/src/function/node_types.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e873e38d9807cdf8a6c5fa27ca8a7056931fbec3ce1a8337fdda56deca59db9"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_render::preview::shade (cognitive 23): materialcraft_render::preview::shade has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/preview.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"da896b780025b7ba36b1d47abcffaaf5ddeb8b3fe8e41079381f00f392144a50"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::property::curve::curve_editor (cognitive 23): materialcraft_ui_egui::property::curve::curve_editor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, loops 2 (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":"crates/ui-egui/src/property/curve.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a19ee77a8928bcfd54f49be31b8064e1970fa6e70cf3c1b6af58c7e8bb6fa"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::view3d::menus (cognitive 23): materialcraft_ui_egui::view3d::menus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 4, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/view3d.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee16f5da8b152478111270ef8170a03f4cf1bc5cdd51d7b7701c54a9868da3"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::view3d::show (cognitive 23): materialcraft_ui_egui::view3d::show has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2, 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":"crates/ui-egui/src/view3d.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1213a4022d20f94672129a0c4cbf8e590c39af1aec89f1d5a973110c82be4c"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::function::arithmetic::evaluate (cognitive 22): materialcraft_nodes::function::arithmetic::evaluate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 2 (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":"crates/nodes/src/function/arithmetic.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f8cfba1cafedf1a49b319b361c355d1cfe70acecf53d8bdddc27500b9ea542"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::graph::add_node_menu::show (cognitive 22): materialcraft_ui_egui::graph::add_node_menu::show has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, loops 2 (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":"crates/ui-egui/src/graph/add_node_menu.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f271d2a8fc44db2fa2dcf817cba19514f6e4e5d86ec43372994ae2ce157704ac"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::pattern::canvas::paint (cognitive 22): materialcraft_ui_egui::pattern::canvas::paint has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/pattern/canvas.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb19f4143edc0b5689c7d9c53ea4561cec163cd71e3c40e8104a674e507d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::windows::export (cognitive 22): materialcraft_ui_egui::windows::export has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3, boolean chains 2, match/switch 2 (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":"crates/ui-egui/src/windows.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d69abf6ca4a0cbfeb1b760e1de589c513fb711d2335c58a68974f7d15872f6"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialSource::is_image (cognitive 21): MaterialSource::is_image has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (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":"crates/engine/src/material_source.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d7f4105575b12fd0a6821ff8010dd0bd5d6a7b55e910042e112ab345fffaab"}},{"ruleId":"D2","level":"warning","message":{"text":"SbsReader::read_resource (cognitive 21): SbsReader::read_resource has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 3 (6 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/sbs/sbs_reader.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d73a885f9a927569295db82fff8575256339062f2c5d62022dca84d7ffad210"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_formats::sbs::connection::connect_all (cognitive 21): materialcraft_formats::sbs::connection::connect_all has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/sbs/connection.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e860259568e1c30a58314d54b8d2d4773ff8dc3b5a42da0f70bdeefeaa05e1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Bvh::query_box (cognitive 21): Bvh::query_box has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). 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":"crates/geom/src/bvh.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"52134134ccaf72a9a48f3d8f0b43fd200b02cdb6e935295f9c6ffe4fabd4c265"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_cli::run (cognitive 20): materialcraft_cli::run has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 4 (9 pts) (nesting depth added 10). 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":"apps/materialcraft-cli/src/main.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc16a51e8e78d96c7321273f1d1dc2b289c841e601a5a7fb0ff88ac9a7a4b779"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_formats::sbs::output::output_type (cognitive 20): materialcraft_formats::sbs::output::output_type has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), match/switch 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":"crates/formats/src/sbs/output.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f66a1de434feab72472bc2f1a155243004bc0612aae9180cb749d6dc78d32f8"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_formats::sbs::pattern_graph::read (cognitive 20): materialcraft_formats::sbs::pattern_graph::read has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (6 pts), match/switch 2 (5 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":"crates/formats/src/sbs/pattern_graph.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5975c3e43de09e3551d1d1cb0510f94c0032bb51af72da8389f0e9bd9bf900a8"}},{"ruleId":"D2","level":"warning","message":{"text":"CapsuleRaster::new (cognitive 20): CapsuleRaster::new has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 2 (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":"crates/nodes/src/raster/capsule_raster.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"442e2a22291d89c9c25618cb5468778d009817563afa1df0399f95f4fb91aeee"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::parameter::clamp_params (cognitive 20): materialcraft_nodes::parameter::clamp_params has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 3 (7 pts), loops 2 (4 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":"crates/nodes/src/parameter.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b066c666a57bd13c63fc42b3414e59dc5c3db382511e7ef2ff65622b57400e"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_engine::selection_commands::run (cognitive 19): materialcraft_engine::selection_commands::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/selection_commands.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cff2fc13303b0d158af792d076b14279dc4b3f8dce8aeba340df7ce6f8790f"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::function::compile::compile (cognitive 19): materialcraft_nodes::function::compile::compile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 2 (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":"crates/nodes/src/function/compile.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a23f2bf73a8cb706f0d86a6b92da3e608ebd9202053b9dae4fa9597dd42506"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::ops::box_1d (cognitive 19): materialcraft_nodes::ops::box_1d has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 4 (6 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nodes/src/ops.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9efac97d10b334032224613a0f7cccbe4b27eddec7bddd9d5e1eba3355e30"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternGraph::validate (cognitive 18): PatternGraph::validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/core/src/pattern_graph.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d60b6eb0a682432bd5d84db096913091b364c7d562731566622bb398aa7426"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_eval::parameter::resolve_parameters (cognitive 18): materialcraft_eval::parameter::resolve_parameters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (6 pts), boolean chains 2, loops 2 (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":"crates/eval/src/parameter.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"16edf832dca95338c60485fed5ca914023f83a0db7aa0199001a5296e09bfbe6"}},{"ruleId":"D2","level":"warning","message":{"text":"SbsReader::read_wires (cognitive 18): SbsReader::read_wires has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 11). 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":"crates/formats/src/sbs/sbs_reader.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"520d74772dd8d580f42b73311bcecd57ed80f6036f70f48ea2be690f90ba8705"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_geom::unwrap::pack (cognitive 18): materialcraft_geom::unwrap::pack has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (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":"crates/geom/src/unwrap.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc24344a10c56e885a783c500ce992e43de30d52c42322f1e5163d11d6bc1912"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::function::canvas::canvas (cognitive 18): materialcraft_ui_egui::function::canvas::canvas has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 2 (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":"crates/ui-egui/src/function/canvas.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"589294bb942da55ae2fac44a9aca6e2085323c9adb90d91c054cfb409229937a"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::function::context_menu::show (cognitive 18): materialcraft_ui_egui::function::context_menu::show has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (4 pts), boolean chains 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":"crates/ui-egui/src/function/context_menu.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"da53737cae7d128f1907ffa45390657bb78cf4d82f387133a0da2744d92c4137"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::library::entries (cognitive 18): materialcraft_ui_egui::library::entries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 2 (3 pts) (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":"crates/ui-egui/src/library.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caecb7d14e6e4ca9443e07aca391c33035144ff29a4944029fbbf4434a9f8e2"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::property::node::show (cognitive 18): materialcraft_ui_egui::property::node::show has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/property/node.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4657dd3d9699f6969b26370420ef13b33f91f0e231c2a9094890e3a4c5ab3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::layers::check (cognitive 18): xtask::layers::check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/layers.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ff1067729561abaf73d5f4373a2142b7af47f80fc702808af55ceb0107614"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_engine::graph_edit::selection::run (cognitive 17): materialcraft_engine::graph_edit::selection::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (7 pts), boolean chains 2, 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":"crates/engine/src/graph_edit/selection.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7ecdb731f85e0f8bac522840e9bd78e2f8aa4a1d379bb5827c205c9a7c791c"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_engine::graph_edit::selection::remove (cognitive 17): materialcraft_engine::graph_edit::selection::remove has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/graph_edit/selection.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"37977331b13f01c9728d3c1ad1ce9b58f9c54af2f1f6715cdf5a755a53619f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_engine::graph_edit::selection::read (cognitive 17): materialcraft_engine::graph_edit::selection::read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (7 pts), boolean chains 1, 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":"crates/engine/src/graph_edit/selection.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d99ba937f2f8ac5daa89adab85aa73bb071eb3a1f07e959df997ae46e621dab"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_eval::value_input_label::value_input_label (cognitive 17): materialcraft_eval::value_input_label::value_input_label has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, 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":"crates/eval/src/value_input_label.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc477de904b85fb19d21374b72d69f334cae127c17a786b16c3c8fd43f4019ae"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_nodes::pattern::shape::coverage (cognitive 17): materialcraft_nodes::pattern::shape::coverage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). 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":"crates/nodes/src/pattern/shape.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafaa48d5f01771620d5175cae2c414780f3bbc209a04c047b65bf9726444d70"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::menus::menu_bar (cognitive 17): materialcraft_ui_egui::menus::menu_bar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts) (nesting depth added 11). 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":"crates/ui-egui/src/menus.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a3bbfa8f534d4db0a5cace10e14af94ddb9a5faeb96eaacf733bc80b28983"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::menus::shortcuts (cognitive 17): materialcraft_ui_egui::menus::shortcuts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3, boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a2e1c81cdb2042999b5ce2361dc1c80f0fd967a87fb1eb45530289b8c239d"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::windows::home (cognitive 17): materialcraft_ui_egui::windows::home has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2, match/switch 1 (2 pts) (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":"crates/ui-egui/src/windows.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149d809824708da337094f754813a923e55553a705410e83799920d9c9a8cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::windows::file_action (cognitive 17): materialcraft_ui_egui::windows::file_action has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, match/switch 1 (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":"crates/ui-egui/src/windows.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fefe727bc7143a834b5f57e7dc14a82d212b2fa1293f63394712a3d4af678e0"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_automation::workspace::relative_path (cognitive 16): materialcraft_automation::workspace::relative_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). 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":"crates/automation/src/workspace.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52ed344eaca273a2c7b37c5f2a2c26e71e99ca67f9f11687b601ed1186e6e27"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_eval::cache_key::graph_tree_hash (cognitive 16): materialcraft_eval::cache_key::graph_tree_hash has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/eval/src/cache_key.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e99da2c3ef0120634e87aec23ac65c878d3c698b437a438cee45fac58e96c5"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_formats::image::encode (cognitive 16): materialcraft_formats::image::encode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/image.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b4ef62b577048a4ab67c9ebdcb96df906204e3f804d9cc4f06e9d76f42f97"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_render::ibl::prefilter (cognitive 16): materialcraft_render::ibl::prefilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/ibl.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6955f39750782639adfa952e945f02daa5fef6fd880999bccc1f8ba3aae25f"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::material_preview_menu::show (cognitive 16): materialcraft_ui_egui::material_preview_menu::show has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/material_preview_menu.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbad2212775f70e2257839343eccb04c39f80b7691830b9dbacbbfc37a84c4b3"}},{"ruleId":"D2","level":"warning","message":{"text":"materialcraft_ui_egui::thumbs::previews (cognitive 16): materialcraft_ui_egui::thumbs::previews has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/thumbs.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"713588bf01cbf5cdec2852b2e34e9aa8513810306ef7275f7e74d7b4596ab16b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_ui_egui::graph::canvas::canvas: FunctionTooLong \u2014 materialcraft_ui_egui::graph::canvas::canvas runs 211 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 111 over it, 2.11\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":"crates/ui-egui/src/graph/canvas.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c848dbfba1fe308def4354f094eb78a6f34df8ff7c55df06114618b1ae64de4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_ui_egui::graph::input::handle: FunctionTooLong \u2014 materialcraft_ui_egui::graph::input::handle runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/graph/input.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d52c85fb0b508896d53bd023606797bb73451c5cc9db4390e0c409b6428549"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_ui_egui::function::render::paint: FunctionTooLong \u2014 materialcraft_ui_egui::function::render::paint runs 154 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 54 over it, 1.54\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":"crates/ui-egui/src/function/render.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e374692a26eb19d0d379203510ab935289838d1d8529fd6efd02624af0a72aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 41 methods, declared across 3 files: src/session.rs (32), src/material_preview.rs (7), src/connection_commands.rs (2). The bar is 30 methods; this is 11 over it, 1.37\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":"crates/engine/src/session.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cfaa03517f634a17214c94c85d50637fd1138a84eaf866df88e11db3521c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_ui_egui::property::parameter::param_row: FunctionTooLong \u2014 materialcraft_ui_egui::property::parameter::param_row 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":"crates/ui-egui/src/property/parameter.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0e02a27d2b94569e8296e6273f966d37ce13946e21247f1b8db303ff9dd502"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_geom::unwrap::auto_unwrap: FunctionTooLong \u2014 materialcraft_geom::unwrap::auto_unwrap 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":"crates/geom/src/unwrap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e757fcd467d1d431f382b24c563336113a03d90167cab21c187f653959609b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_ui_egui::view2d::show: FunctionTooLong \u2014 materialcraft_ui_egui::view2d::show runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/view2d.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041e5bb59d9e938bec9a01897b8133d3a8b9f36b5e6e634b7e077393580cf3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_nodes::pattern::evaluation::cook: FunctionTooLong \u2014 materialcraft_nodes::pattern::evaluation::cook 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":"crates/nodes/src/pattern/evaluation.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd240e69540e350a204fece55689db12fd0a5f91505c032aa13b926f107169d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_eval::node_execution::cook_node: FunctionTooLong \u2014 materialcraft_eval::node_execution::cook_node runs 103 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 3 over it, 1.03\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":"crates/eval/src/node_execution.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0d96d48a8fc213923472cdc0f6c87b0dd7b95daf8fbbeced21c71a337815fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialcraft_cli::run: FunctionTooLong \u2014 materialcraft_cli::run runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/materialcraft-cli/src/main.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8339be36b829cf5600fd1f99afd6025132895d138bb61922224bea99b9e24c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/ui-egui/src/theme.rs:206-218 | crates/ui-egui/src/theme.rs:220-232 \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":"crates/ui-egui/src/theme.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f68a404c2bf7d19113b05bee6da7d40595fc7c4b74b39f17c55ce06ab50f572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/geom/src/bvh.rs:361-368 | crates/geom/src/bvh.rs:371-378 \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":"crates/geom/src/bvh.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e03acd01c0999e4acf345abb7478c3706157c80c242c6f848c4184022b3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/eval/src/cache_key.rs:45-51 | crates/eval/src/graph_instance.rs:11-17 \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":"crates/eval/src/cache_key.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b203ffa0e972e6df076450576e885d0609f7bda060d4514c9f2dbb5f5e2f5be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nodes/src/function/compile.rs:22-28 | crates/nodes/src/function/node_types.rs:20-26 \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":"crates/nodes/src/function/compile.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b8294aaf32451f123e87eaa755eed071520a0240b14bc220aa4b841d7e7aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/function/context_menu.rs:34-40 | crates/ui-egui/src/pattern/context_menu.rs:25-30 \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":"crates/ui-egui/src/function/context_menu.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"af451f7524fa37a8a7e08d35dbbc6667c5247ae0099ac48bff0f28871bb623e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/materialcraft/src/control_server.rs:75-79 | crates/automation/src/rpc.rs:208-212 \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":"apps/materialcraft/src/control_server.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7915bb4f5817c9f6e07b38a0ad7af5bd45ce9597fd99f907f36e8166e5d8d7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/widgets.rs:62-66 | crates/ui-egui/src/widgets.rs:89-93 \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":"crates/ui-egui/src/widgets.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e03bf1652f300b565022418c3e736a59dec0e916eff3130adce793708b4928f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: materialcraft-core: materialcraft-core: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a2631e9e8531724696466d6e2fad10b462da026c090d0cca4745ddce5187ef6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: materialcraft-geom: materialcraft-geom: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f30652fdd2ab1797727420c56edc1dbd7aa9efe6e5f463e13cfd03b8a314c77"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: materialcraft-image: materialcraft-image: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8ab22a855f7c69222cdd3f2518ee4daf949d2f60c83a4f14924687dc8c3fca8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/graph/canvas.rs: crates/ui-egui/src/graph/canvas.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in materialcraft_ui_egui::graph::canvas::canvas at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/graph/canvas.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":"crates/ui-egui/src/graph/canvas.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1592dc1d68ee510ef69a17400a91f5adc2ab74c9acdf5006af2df8f5096eb4b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/windows.rs: crates/ui-egui/src/windows.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in materialcraft_ui_egui::windows::export at line 169. 5 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/windows.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":"crates/ui-egui/src/windows.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8a519e128cd5722c52a66b67e5c1b30e6af06ad759559052c4b40e117046bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/view2d.rs: crates/ui-egui/src/view2d.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in materialcraft_ui_egui::view2d::show at line 55. 4 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/view2d.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":"crates/ui-egui/src/view2d.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f198cd359be2a5d1ecd33e946de80652ff578eb768726d4ac74b7ff7c8d69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/view3d.rs: crates/ui-egui/src/view3d.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in materialcraft_ui_egui::view3d::menus at line 104. 4 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/view3d.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":"crates/ui-egui/src/view3d.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e5eb0e61a850717734ba701146faabf303e1dac4107f1a160ff8996ffbdde0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/explorer.rs: crates/ui-egui/src/explorer.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in materialcraft_ui_egui::explorer::show at line 13. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/explorer.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":"crates/ui-egui/src/explorer.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a0267b6b13b5280e137420b810d6db6fa86ea4abad58298fea1c7a777f2f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/view_cmds.rs: crates/engine/src/view_cmds.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in materialcraft_engine::view_cmds::view3d at line 89. 3 of those changes were fix/bug commits, 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/view_cmds.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":"crates/engine/src/view_cmds.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"07234e517551c34277eb9600c57ec0b3bc595e0c3015c01792b419ced5ff9f06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/control.rs: crates/ui-egui/src/control.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in materialcraft_ui_egui::control::handle at line 228. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/control.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":"crates/ui-egui/src/control.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a424162c07fe6f84b32b3c40c0ad77e1afea25d36dc1e01f7a7e4d0d8ac92d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/materialcraft-cli/src/main.rs: apps/materialcraft-cli/src/main.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in materialcraft_cli::run at line 168. 3 of those changes were fix/bug commits, 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- apps/materialcraft-cli/src/main.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":"apps/materialcraft-cli/src/main.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c99414636e89319b46f3737f0dce3b21cdd93aa9120a25f3b10c55c94f7435"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/menus.rs: crates/ui-egui/src/menus.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in materialcraft_ui_egui::menus::invoke at line 124. 3 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/menus.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":"crates/ui-egui/src/menus.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"908155fc2f25410e89668828c1905869c8a1ff3f766540e60bcdab891e506b00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/render/src/preview.rs: crates/render/src/preview.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Scene::displaced at line 87. 4 of those changes were fix/bug commits, 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/render/src/preview.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":"crates/render/src/preview.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856e2333f5ecb3db0e19b0d092af6e8b5347f9b1e7bfcca4cb5300f687df2ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/automation/src/rpc.rs: crates/automation/src/rpc.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Headless::handle at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/automation/src/rpc.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":"crates/automation/src/rpc.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30d176c6b577e8b29f2eb470bcb68b437ac20b86a73a261558ffc46fca39003"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/materialcraft/src/control_server.rs: apps/materialcraft/src/control_server.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in materialcraft::control_server::serve at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- apps/materialcraft/src/control_server.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":"apps/materialcraft/src/control_server.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe65ce7c3fec5ec6d7b9ebc6f029a500b0db87dacd460107fa707a5d837fc6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/cook.rs: crates/ui-egui/src/cook.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in materialcraft_ui_egui::cook::drive at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/cook.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":"crates/ui-egui/src/cook.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28c773b72982c9b0f0f5987da541c50068707543c44d5d8cfc4d24ff80b4970"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/library.rs: crates/ui-egui/src/library.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in materialcraft_ui_egui::library::items at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/library.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":"crates/ui-egui/src/library.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab0f657baed3679c39b7021eb588fa91b80ee67dd66fe12936553cc00cfeeac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/core/src/value.rs: crates/core/src/value.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Value::coerce_json at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/core/src/value.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":"crates/core/src/value.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e97a0d1be30cf7a5a012b7f199977937e07442b3bc870dc2399628bf4c25ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/image/src/lib.rs: crates/image/src/lib.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Image::resize at line 210), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CRevert the batch rollback and restore prior main\u201D; \u201CRevert reviewed PR batch and cancel 0.1.3 preparation\u201D; \u201Cfix(formats): choose sRGB or linear when reading bitmaps\u201D; \u201Cfix(review): keep the open graph open after deleting an earlier one; clamp huge sample coordinates\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/image/src/lib.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":"crates/image/src/lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c296f9f736695935a31eac8eeddaf0ea7a31f4eb4068077d3c8e1f6fbcbd956"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/automation/src/security.rs: crates/automation/src/security.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is materialcraft_automation::security::read_token_file at line 102), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CRevert the batch rollback and restore prior main\u201D; \u201CRevert reviewed PR batch and cancel 0.1.3 preparation\u201D; \u201Cfix(control): random owner-only token file, constant-time compare, close on failed auth\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:31 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:31 \u002B01:00\u0027 --full-history --no-merges -- crates/automation/src/security.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":"crates/automation/src/security.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccacfbba2a21bb719aca01a306868a325dee34114fe01f376c1f51ce48ffb07b"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"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":"32029cfd755703bf7ae1b0501a731fdefcb86097bdb372e2452dce09914d8489"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7b4c43cffd4a9d41ec1d923c4693495da579f972451d6544244462562e58022"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f51e084648ba6819b702916011dd67e1da439121d44db32a4366d6c7901c6dc1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db09c9bf7bb49fc58045b6f2df4b9569380b5acddd44b51aa94286127940aece"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0f8524cb88b8ecebe1baaeaecf466d52056f7516482bb09c5e09b1bef14fb54"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab37af43cd215843f6a4196880225a1681d972daa655f4a9d00c86e0578b8e2c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eaef19b20adb8b7580a3f789483eaf7818177add95a8a833fab3c1735c47281f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9761977f64a2d3ad9c0f68cd9e8f033875c04733b1a7e47ccb3c157f02546ef1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6811a6486358b4ade10d892cefc85c6d04a73f2f55e55e15a2e0d64fa33e81f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03d9cf265ed89468f359b380bde06f04b51ac2ccff2aa7d1dc004faf8cc716c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"742b70c5eb4f8545d16f06e4c1424ff4e7b1e6d19c627cbec958f06145d4795c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cbd3a4287905dfae3bec9ca4b9dda0ed0d2fd00edf01f4f5c3b773a2b840599"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32a3436ac85d56d2ea2d6ec362cd6124be8226987e35cf4e26b2343a2358f32a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4d4d5dc82c9a24221836e5499a615470300bb7eb08ff62696226d6672b77554"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c959f0712c7c3c93b5a21d0736bad50a09e58f76130d58acd18f4ee182f53a1d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c6c741fcd3fe5e9366154cdc04436de7fe52304895a11719a3ba2b3ed028cd61"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"2.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d4d5d4357ce0a5ade8f6f76c84914f1a2c80f9fe7358d9854254b760de650a"},"properties":{"dependency":{"package":"zvariant","version":"5.15.1","advisory":"RUSTSEC-2026-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f6329e2b29fe1ee1dd724766af980b151618490b720201bbdc1839704210c3e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.5","advisory":"RUSTSEC-2026-0371","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f67f0700e108bacf2f3dfd2008273e31f01b0ea1f2d5f9ef71c4f46ace73bbe9"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.15.1","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: session.rs \u2194 view3d.rs: \u0060crates/engine/src/session.rs\u0060 and \u0060crates/ui-egui/src/view3d.rs\u0060 change together 60% of the time (6 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060821c7172\u0060 Add DirectX normal-map interpretation to the 3D view; \u00608bdae115\u0060 Fixed Heightmap; \u00608f4dd5b6\u0060 feat: alpha in the 3D view; select, delete and reroute wires \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d1469985fb2412b60c110722fcbdad9a9631c75793d3f2ebae1f3714f7ace2"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060apps/materialcraft-cli\u0060, \u0060crates/automation\u0060, \u0060xtask\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!editor.framed || app.ui.frame_all || frame_key\u0060 appears character-identically in 2 files \u2014 crates/ui-egui/src/function/render.rs, crates/ui-egui/src/pattern/canvas.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/function/render.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bd6020d8a255eab5c11be7f2bcb1927bbfef2887ad61ed5d93f9fd722225a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!relative.is_empty() \u0026\u0026 !relative.contains(\u0027:\u0027) \u0026\u0026 !relative.starts_with(\u0027/\u0027)\u0060 appears character-identically in 2 files \u2014 crates/automation/src/headless.rs, crates/engine/src/file_cmds.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/automation/src/headless.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c11ec53bb902ca816114ccde783d7015e90ef95c27f9d1e7fe4f6cf8a78c58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frame_key \u0026\u0026 !editor.selection.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/ui-egui/src/function/render.rs, crates/ui-egui/src/pattern/canvas.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/function/render.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"68804ad401788952d10388d617f5ff0969a580ac18fced6e322785e4cbd7e918"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":25,"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."]}]}