{"$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":"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":"texturecraft_ui_egui::dock::layer_row (cyclomatic 65): texturecraft_ui_egui::dock::layer_row has cyclomatic complexity 65 (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/dock.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cadb0005f3eba0066eb9d3203ce545a1135eccfbcdf9e72cbbe19911f55139b"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::view_3d (cyclomatic 65): texturecraft_ui_egui::viewport::view_3d has cyclomatic complexity 65 (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/viewport.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3c1fdbceee2275129c06fafba3f117168711520faf545f40fc8e4d15c643cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Renderer::prepare (cyclomatic 41): Renderer::prepare has cyclomatic complexity 41 (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/render/src/renderer.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e53b318eb42b2dddada84be9b2edd554839896185a0e7950c431694dc8b3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::effect_properties (cyclomatic 37): texturecraft_ui_egui::dock::effect_properties has cyclomatic complexity 37 (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/dock.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3b232c84843d14861bd62ecee5cfc902739ee1a3ef9b86b9e92bd9e494947a"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::view_2d (cyclomatic 36): texturecraft_ui_egui::viewport::view_2d 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/viewport.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed72d13a31f6d1c403cb5023347268872fe52954cd711d5bd3d0a8a6bf13223"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_bake::validate (cyclomatic 34): texturecraft_bake::validate has cyclomatic complexity 34 (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/bake/src/lib.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2703a26e2d424b3040b9bca9a55ee51fa24ae8e22116b13bbd9894fa6678d4a7"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_engine::tool_cmds::brush (cyclomatic 34): texturecraft_engine::tool_cmds::brush has cyclomatic complexity 34 (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/tool_cmds.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"53764d70b3bb4815d7695e3a6e6720da90c8faa5cd2094b59bff0c112ca3f5b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Crate::build (cyclomatic 34): Crate::build 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/formats/src/mesh_import/usd/usdc.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b047571442beed81bd4220a56de94ce1bd1ab122a16aabd55d8618fbc92db9c"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_geom::unwrap::auto_unwrap (cyclomatic 34): texturecraft_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":"texturecraft_engine::filter_lib::apply (cyclomatic 33): texturecraft_engine::filter_lib::apply has cyclomatic complexity 33 (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/engine/src/filter_lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e6ceae730c0b00e96fef936c6a7b0491f2cb88b726098985d834138f084658"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::composite_block (cyclomatic 32): texturecraft_compose::eval::composite_block has cyclomatic complexity 32 (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/compose/src/eval.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf6bcd7ae8f579b93a1d05739b6965087595f9b52441914375c3a9afde076af"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_engine::bake::mesh_map_command::apply_settings (cyclomatic 32): texturecraft_engine::bake::mesh_map_command::apply_settings has cyclomatic complexity 32 (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/bake/mesh_map_command.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e90d7188c919bc1dd514a24a177de6f15d9329b6f7d22a688f7a8583a070eaf"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::pattern::raw (cyclomatic 31): texturecraft_compose::pattern::raw 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/compose/src/pattern.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa91da4e980e5b44fa53c27d781502d3908a635b8b41f9f6da909a17195af4d1"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::project_file::load (cyclomatic 31): texturecraft_formats::project_file::load 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/formats/src/project_file/mod.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e31f6c1387002f9c785613a56e1754a614325f3b0fd034575b6794917486598"}},{"ruleId":"D1","level":"warning","message":{"text":"GpuLink::sync (cyclomatic 30): GpuLink::sync has cyclomatic complexity 30 (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/gpu.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b8dcac856ba50dae2a7c2394719b3bbf6216370bfd16af8c5683eaf425170a"}},{"ruleId":"D1","level":"warning","message":{"text":"Filter::point (cyclomatic 29): Filter::point has cyclomatic complexity 29 (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/layer.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"131c86567c6eb0baa0bf1d0dacf67ec8ffc6048e8150ba7e3290bd02d290430c"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_bake::map::normalization::normalize (cyclomatic 28): texturecraft_bake::map::normalization::normalize has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/bake/src/map/normalization.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06653a85da7dfe6af53baa3e0b0fe818c17954c461bbb34bbcf97fe76863e15"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_bake::bake_in_strips (cyclomatic 27): texturecraft_bake::bake_in_strips has cyclomatic complexity 27 (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/bake/src/lib.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded2d9320f1e8d5f986dfbefd41077921793129d862def2c192388c6e8a08abc"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::start_stroke (cyclomatic 27): Session::start_stroke 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/engine/src/painting.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f987d114dbfbe215e61e9fce7fe191b479191904f962f15418990907051274c3"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::fbx::read_inner (cyclomatic 27): texturecraft_formats::mesh_import::fbx::read_inner has cyclomatic complexity 27 (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/mesh_import/fbx.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5708b70596ba3ff020164969f68c5384c88b14c68517fce14928148ac3ab5e"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::ply::read (cyclomatic 27): texturecraft_formats::mesh_import::ply::read has cyclomatic complexity 27 (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/mesh_import/ply.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2262f78658a8b9bff4eb1ecc85c74687c485ed2dbfeb534992a24229639d864"}},{"ruleId":"D1","level":"warning","message":{"text":"Bvh::new (cyclomatic 26): Bvh::new has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/bvh.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc160799683f57982eac708952cb06cb9331ae76762aee443a546bff8104bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::texture_set_settings (cyclomatic 26): texturecraft_ui_egui::dock::texture_set_settings has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dock.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dac459525aa3efce6d66f06ead101151d4a05ad9bf2c1a8dc50a069b36d9b28"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::display::tile_bytes (cyclomatic 25): texturecraft_compose::display::tile_bytes has cyclomatic complexity 25 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/compose/src/display.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500f4f0c1b691681be0c6766146e00196ebfdfe6c7fa372679581a1e9cf8f3e"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::gather (cyclomatic 25): texturecraft_compose::eval::gather has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/compose/src/eval.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"284505b6bbabaf37f75a91f2dcd501cbfa02d0c196361aef943b1cc360371c34"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::filter_region (cyclomatic 25): texturecraft_compose::eval::filter_region has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/compose/src/eval.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"9767dac7b9eb8ba7a79b17269a07bf48786c48c20e6f10e211a1ef35bb8ecca3"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_engine::layer_cmds::fill_set (cyclomatic 25): texturecraft_engine::layer_cmds::fill_set 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/layer_cmds.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb3164cef1ccb5ee5b8401d5bfe83ebc6fe8f07bbdf86861d6e4d6ee5ce9998"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::control::handle (cyclomatic 24): texturecraft_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":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"60664a4d7f3ce8eff533e2d9dd99581abd5fe43c03392d791a6ca3adda3b3902"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::windows::file_action (cyclomatic 24): texturecraft_ui_egui::windows::file_action has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2e588aed63bc8d31ab2c77b8ab0e985a562efc23157ab504ffb272ea33e049"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::materialx_read::read_inner (cyclomatic 23): texturecraft_formats::materialx_read::read_inner 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/formats/src/materialx_read.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ac067f39c21cb5250c9729295f1210f77b12d516f0df51520f989954be1f8c"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::fill_channel (cyclomatic 23): texturecraft_ui_egui::dock::fill_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/ui-egui/src/dock.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5b54c90c3f9f1eb9d11fea4092fd8725273e3748760dda36f5d296e1cb5fa9"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::prim (cyclomatic 22): Parser::prim has cyclomatic complexity 22 (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/formats/src/mesh_import/usd/usda.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e67673fd7047285144aa1577b18f3e6aa8063b722822cd534dc4b40ba91a28e"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::export::render_maps (cyclomatic 22): texturecraft_formats::export::render_maps 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/formats/src/export/mod.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"31766f6c204d7345fd6bc0c1169277d878fd211c226eb55036476c93b9ccf5cd"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::keymap::window (cyclomatic 22): texturecraft_ui_egui::keymap::window 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/ui-egui/src/keymap.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4953728bd0d0398b803f04f1323312572a3db751ff59123799679fccd7f545"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::toolbar::tool_controls (cyclomatic 22): texturecraft_ui_egui::toolbar::tool_controls 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/ui-egui/src/toolbar.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb086013b13720bb53dec4112aa316a69856009ef410ad926e96788cf80b35c"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::windows::export_settings_tab (cyclomatic 22): texturecraft_ui_egui::windows::export_settings_tab has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bb995a291167f1d5df33414f305a8c1eede50b70fac37dde95f69257bc73c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Headless::render_png (cyclomatic 21): Headless::render_png 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/automation/src/headless.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f8874ada5f854aac65a57a8a95645f11105f4b47b2ad759478ead427a60b3b"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_engine::view_cmds::display (cyclomatic 21): texturecraft_engine::view_cmds::display 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/engine/src/view_cmds.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fb207ccc0e61711851b50510ad0d42221c4d5e16cb49a442eacbf6ecaf4386"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_render::trace::trace (cyclomatic 21): texturecraft_render::trace::trace 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/render/src/trace.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c695e2508755094d994b8b52760abb7a832b9e32ad07cb6468cc1af8211c23"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::windows::new_project (cyclomatic 21): texturecraft_ui_egui::windows::new_project 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/windows.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec7a1844e3f7471b4244143ca4daed549d13c7220db818f9e40a505ccc4cb55"}},{"ruleId":"D1","level":"warning","message":{"text":"Texel::mask (cyclomatic 20): Texel::mask 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/compose/src/eval.rs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"86711434fc2b42fc1efa0c48c29f5aeb7f5acf40f782349f0d7faa89d3bf0c89"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::property (cyclomatic 20): Parser::property has cyclomatic complexity 20 (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/mesh_import/usd/usda.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf0bfc10d65ead3e7c4215babefe2d04f0c8f812b63663f60eebe6705b19d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::obj::read_inner (cyclomatic 20): texturecraft_formats::mesh_import::obj::read_inner 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/formats/src/mesh_import/obj.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3744c062d464d7ce1f6435da2113a84cf6c552c80b04a80e7c3431741f1f57a"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::filter_properties (cyclomatic 20): texturecraft_ui_egui::dock::filter_properties 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/dock.rs"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018e48e2492967a9ab67c3e3207ba3079d19345fe3a711eda6ab76c7237bbfb"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::effect_histogram (cyclomatic 19): texturecraft_compose::eval::effect_histogram 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/compose/src/eval.rs"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86967837677986425d8e26be5992135a4f65f13cf801c6b2dea63ad88d56c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_engine::effect_clipboard::paste (cyclomatic 19): texturecraft_engine::effect_clipboard::paste 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/engine/src/effect_clipboard.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f793a5e302636a218626daf82b8935b1a07c68affbbe913aa0868c8b8b3bda9"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::value (cyclomatic 19): Parser::value 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/formats/src/mesh_import/usd/usda.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7955d552b385d1563f61247a43e19e541690440c48c3a55af7f8612ab80d8a65"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::export::list_outputs (cyclomatic 19): texturecraft_formats::export::list_outputs 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/export/mod.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a49903f19df61628a34afa932cdc91471d475a0f1a91d44d4abc62ca23db41"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::gltf::add_primitive (cyclomatic 19): texturecraft_formats::mesh_import::gltf::add_primitive 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/mesh_import/gltf.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ffa57a434b95dddedfeedd3e4fdccc8b77db2a6ff76ad500bb3ecc3192ec23"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::effect_row (cyclomatic 19): texturecraft_ui_egui::dock::effect_row 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/ui-egui/src/dock.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbf1e260a7676a23f49d36b7718f4279d4b6ae0e39190276a72d0da56986b10"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_bake::map::seam::fix_seams (cyclomatic 18): texturecraft_bake::map::seam::fix_seams 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/bake/src/map/seam.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a08c6efd6a68dff68a324372e7067bed0a6b39c59141ecc8a52822c49e417"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::plan_node (cyclomatic 18): texturecraft_compose::eval::plan_node has cyclomatic complexity 18 (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/compose/src/eval.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"195296baf93bc4bbe6ccb048d608b6ecdaac4bb3f68819f92cb5e171e8b4dfa1"}},{"ruleId":"D1","level":"warning","message":{"text":"Crate::value_at_depth (cyclomatic 18): Crate::value_at_depth has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/usd/usdc.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe573274ca295225aa121fa76a71e5fe5f02eedfd74666df7e41c6fcfd7a72a2"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::dae::add_geometry (cyclomatic 18): texturecraft_formats::mesh_import::dae::add_geometry has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/dae.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2f2dad498be2bf6a4bee20b0f12a9cb9b06fee7b606a0cf47f94f03b2f8ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_paint::raster::scan_triangle (cyclomatic 18): texturecraft_paint::raster::scan_triangle 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/paint/src/raster.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd2d14b4ee855017f66bfb53d4c9f26cf0da7a4b3eafb0a02dfb9a51feba0b0"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::central (cyclomatic 18): texturecraft_ui_egui::viewport::central has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/viewport.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4673712baa720d950ad9c3e25ecb87c7b6837d4f42889c921d248640ba5430fe"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::decal_overlay (cyclomatic 18): texturecraft_ui_egui::viewport::decal_overlay has cyclomatic complexity 18 (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/viewport.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"8001e25c219c988ca5781870d884f745fa73768a7da0cc5d06884179b602a36f"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::windows::export (cyclomatic 18): texturecraft_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":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c1765e3a1ada19a7591ab13617bf9bfdfba696255069497c8a9ec95261171"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft::gpu::pick_adapter_index (cyclomatic 17): texturecraft::gpu::pick_adapter_index has cyclomatic complexity 17 (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/texturecraft/src/gpu.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd00874716c84f3c3fcd9f66eb80865e0349429d6db5d2005e61e9fc03f7b94"}},{"ruleId":"D1","level":"warning","message":{"text":"BakeContext::evaluate (cyclomatic 17): BakeContext::evaluate has cyclomatic complexity 17 (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/bake/src/map/bake_context.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ce6d776147fdb1645c1acae1ec8627c3b0631d84dd4888f731286b85914fca"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_engine::mask_cmds::set (cyclomatic 17): texturecraft_engine::mask_cmds::set has cyclomatic complexity 17 (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/engine/src/mask_cmds.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d588c9d3a5fb39c7c8ab69a1649f4cc94082b8f72ad8b507aa83936e3146b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Walk::xform (cyclomatic 17): Walk::xform has cyclomatic complexity 17 (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/formats/src/mesh_import/abc/mod.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"921367aa048598db76ed7c2e8d5c7feef16e888fe7a628eb32a389a3cf39d29e"}},{"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":"EyeDepth::render (cyclomatic 17): EyeDepth::render 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/paint/src/visibility.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ce52175328cc4145a8d36647aa2c8ef461ccbf10eb65dbd6a76d6d60261855"}},{"ruleId":"D1","level":"warning","message":{"text":"Renderer::upload_tile (cyclomatic 17): Renderer::upload_tile has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a52e157182c46660efd80bfb810d4d9ecaf8fb4507491474dbaea35a75e52a9"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::projection_editor (cyclomatic 17): texturecraft_ui_egui::dock::projection_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/dock.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0428f123c7c2cdd6fe277590a2bf2cb4a92a79f05683e6e9af8dfd9e1fb75d0"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft::control_server::serve (cyclomatic 16): texturecraft::control_server::serve 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":"apps/texturecraft/src/control_server.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f2c87125f4963b63ece0e71931b0761d1ac676aa8ec322c7259c3b8b99d1b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Texel::eval (cyclomatic 16): Texel::eval 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/compose/src/eval.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd29d72aee09970e2dd81f0601bac9ee32dcc2475e3d57df07bdc585be005ab"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::pad_tiles (cyclomatic 16): texturecraft_compose::eval::pad_tiles 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/compose/src/eval.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424eb38332bda830a98d4c1e50b95256851fabbb449a81f5389ad4b8d23dd2e"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_compose::eval::flatten_layer (cyclomatic 16): texturecraft_compose::eval::flatten_layer 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/compose/src/eval.rs"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a38bb6b06fcb2b40ac6a642e2ffe5ec2710707939daf8397c2a8c7371c008f5"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::update_for (cyclomatic 16): Session::update_for 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/engine/src/session.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e3d724b6b279e57896f8b3a31935ac568a06739fa5c1a8ae64eba7b2ab9774"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_export::glb_bytes (cyclomatic 16): texturecraft_formats::mesh_export::glb_bytes 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/mesh_export.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"15230df48664c1430674c449adb9c7969cf3dd16a932b14b52fc40bd2f1b5ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::dae::read_inner (cyclomatic 16): texturecraft_formats::mesh_import::dae::read_inner has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/dae.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"68112b30f103c881c92ccbad67e0271a0f6263894854898588ba473231e84897"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::mesh_import::gltf::read_inner (cyclomatic 16): texturecraft_formats::mesh_import::gltf::read_inner has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/gltf.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"785208abbee41396ec78722deeb7934ba687de4f8f228ec46b39d32d9495bff5"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_formats::project_file::write_project (cyclomatic 16): texturecraft_formats::project_file::write_project has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/project_file/mod.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60796d150d5f0c17d654a9ad99f650c88f502f9d8b303604a7143cd69e2f411"}},{"ruleId":"D1","level":"warning","message":{"text":"Script::system_files (cyclomatic 16): Script::system_files has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/fonts.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd261c2773c4b0ee3ef8a1e7cb02d03a95ca7032cb90c016c34c7f9cf71b6c73"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::dock::texture_set_list (cyclomatic 16): texturecraft_ui_egui::dock::texture_set_list 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/dock.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e676d5f9bc6bf4663a0edf39d42aa416863b75e0b8fc25e0a917a43fe98f22b5"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::export_templates::preset_list (cyclomatic 16): texturecraft_ui_egui::export_templates::preset_list 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/export_templates.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cd4afea04f667fdc9d25bb98786227f37ddf7d33cf4be47c7a3ec7bd810368"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::export_templates::outputs (cyclomatic 16): texturecraft_ui_egui::export_templates::outputs has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/export_templates.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"16858e0f055a7cedb8ea1cdd00d95a8a0bde36384e6fbb25b9671f6ed6082f7d"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::menus::shortcuts (cyclomatic 16): texturecraft_ui_egui::menus::shortcuts 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. This is NOT this file\u0027s highest cyclomatic complexity: texturecraft_ui_egui::menus::invoke (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db7e77f7170f24d78ad3c467547669b3dde8cf8c18a365de2946835322ffd84"}},{"ruleId":"D1","level":"warning","message":{"text":"texturecraft_ui_egui::windows::unsaved (cyclomatic 16): texturecraft_ui_egui::windows::unsaved 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/windows.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2879024201382f50eba021e63e0c95cb69e1077ebd60b79e778e00d749b5806b"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::layer_row (cognitive 107): texturecraft_ui_egui::dock::layer_row has cognitive complexity 107 (threshold 15). Drivers by points: if/else 57 (87 pts), boolean chains 11, match/switch 4 (7 pts), loops 1 (2 pts) (nesting depth added 34). 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/dock.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a8a47c6abeb6bd3706fc7577abf08b0dc523937702e8d54c83ad28840e7887"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::view_3d (cognitive 96): texturecraft_ui_egui::viewport::view_3d has cognitive complexity 96 (threshold 15). Drivers by points: if/else 42 (66 pts), boolean chains 26, match/switch 1 (4 pts) (nesting depth added 27). 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/viewport.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0558a1cb4870c12ec9f6404443f9a776598fa5552fd683373285611c4de52253"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::ply::read (cognitive 78): texturecraft_formats::mesh_import::ply::read has cognitive complexity 78 (threshold 15). Drivers by points: if/else 12 (50 pts), loops 4 (11 pts), match/switch 2 (9 pts), boolean chains 8 (nesting depth added 52). 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_import/ply.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b1026e395329b94a49318bd1ccd02c150342886b3aa084218f89f5f230c3d3"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::map::normalization::normalize (cognitive 75): texturecraft_bake::map::normalization::normalize has cognitive complexity 75 (threshold 15). Drivers by points: if/else 15 (44 pts), loops 6 (17 pts), match/switch 3 (11 pts), boolean chains 3 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/bake/src/map/normalization.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"55264cdac72f7bb6df520655676bc1ddf635d7086a4ee17bfd14b687c3d0abca"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::composite_block (cognitive 73): texturecraft_compose::eval::composite_block has cognitive complexity 73 (threshold 15). Drivers by points: if/else 19 (44 pts), loops 7 (14 pts), match/switch 5 (12 pts), boolean chains 3 (nesting depth added 39). 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/compose/src/eval.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"48343edf4fdc44c3d62ab6c1bf514061699a5b6d85432444878b6d187f4621cb"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_geom::unwrap::auto_unwrap (cognitive 67): texturecraft_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":"texturecraft_ui_egui::dock::effect_properties (cognitive 62): texturecraft_ui_egui::dock::effect_properties has cognitive complexity 62 (threshold 15). Drivers by points: if/else 20 (45 pts), loops 6 (12 pts), match/switch 3 (5 pts) (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/dock.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25680e0d069f737276255fb19b4bea6b96a21fc6c18c2e8f4958085dcfa54d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Crate::build (cognitive 61): Crate::build has cognitive complexity 61 (threshold 15). Drivers by points: if/else 10 (31 pts), match/switch 5 (19 pts), loops 4 (10 pts), boolean chains 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/formats/src/mesh_import/usd/usdc.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df72d8a09821bb48236ad7c2bc8be369288925fa3a0ca2ff28c6fd57f042793"}},{"ruleId":"D2","level":"warning","message":{"text":"Bvh::new (cognitive 60): Bvh::new has cognitive complexity 60 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 10 (23 pts), boolean chains 4 (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/bvh.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4d2180b5d6f0897a2ccb587935714e956cc862314e446fc8394db581a6365a"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::prepare (cognitive 56): Renderer::prepare has cognitive complexity 56 (threshold 15). Drivers by points: if/else 33 (36 pts), boolean chains 12, loops 2 (4 pts), match/switch 4 (nesting depth added 5). 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/renderer.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c3c932f80cafec7cf8227f27e5389879b5272d8ac9385e7a307a7101542448"}},{"ruleId":"D2","level":"warning","message":{"text":"GpuLink::sync (cognitive 55): GpuLink::sync has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (41 pts), loops 5 (10 pts), boolean chains 3, match/switch 1 (nesting depth added 27). 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/gpu.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2542bfa569d5fefd4ff74331b9932f1678311663146935221172f70a468cbd43"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::project_file::load (cognitive 50): texturecraft_formats::project_file::load has cognitive complexity 50 (threshold 15). Drivers by points: if/else 21 (38 pts), match/switch 2 (6 pts), boolean chains 5, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/project_file/mod.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56fdb6d556ee54aafc138632d01412048df9db41dba6fb18377496eb9ba9af3"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::display::tile_bytes (cognitive 49): texturecraft_compose::display::tile_bytes has cognitive complexity 49 (threshold 15). Drivers by points: loops 12 (33 pts), match/switch 4 (9 pts), if/else 4 (7 pts) (nesting depth added 29). 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/compose/src/display.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ed8a870e4e82aea3f4f8eefa674601c6527952c7290606ac40cbdff17b652b"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::view_2d (cognitive 49): texturecraft_ui_egui::viewport::view_2d has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 15, loops 2 (6 pts), match/switch 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":"crates/ui-egui/src/viewport.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"8353daabdc8375a555ef7cd44765b8c225eee397a3f6435ddf3ab855220abf9f"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::bake_in_strips (cognitive 48): texturecraft_bake::bake_in_strips has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 8 (17 pts), boolean chains 5 (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/bake/src/lib.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a6565e2347d347f8239f51e4a2fcc92de59ae1639d19b74110e7613c60b6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::map::seam::fix_seams (cognitive 47): texturecraft_bake::map::seam::fix_seams has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 29). 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/bake/src/map/seam.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"29358c978cb90b3c0561f83bcd8f94c56bc3b7112101caed0959b5327ca59202"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_render::trace::trace (cognitive 45): texturecraft_render::trace::trace has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (42 pts), boolean chains 2, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/trace.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd7f33a42aac8c047242e09474d7b242c3e19f80421d0e3f433733f15763f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::gather (cognitive 44): texturecraft_compose::eval::gather has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 7 (16 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 22). 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/compose/src/eval.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b0c69c9e3284ae9b0d0ecb0440a614061bb1051faa1701be07d27885541dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"Texel::eval (cognitive 43): Texel::eval has cognitive complexity 43 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 5 (14 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/compose/src/eval.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a21be0e2994bc1a351f7d0ea030de13561ba33062ca028a33514f4ed1033d3"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::obj::read_inner (cognitive 40): texturecraft_formats::mesh_import::obj::read_inner has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 3 (4 pts), match/switch 2 (4 pts), boolean chains 3 (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/formats/src/mesh_import/obj.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"038a9dc300022acd4f668d446670387b13a4b9fb2529766e32e2e1a9f9659625"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::texture_set_settings (cognitive 40): texturecraft_ui_egui::dock::texture_set_settings has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 7 (8 pts), boolean chains 3 (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/ui-egui/src/dock.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc81fdaab4ea4e104746994e5273358f519cd840bd964a5393ad64ff132cc25"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::dae::add_geometry (cognitive 39): texturecraft_formats::mesh_import::dae::add_geometry has cognitive complexity 39 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 5 (12 pts), match/switch 4 (12 pts) (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/formats/src/mesh_import/dae.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfc693417419aecf55915711210b50dea6821705523fe9ea242132371959d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::fill_channel (cognitive 39): texturecraft_ui_egui::dock::fill_channel has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (33 pts), match/switch 2 (4 pts), loops 2 (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/ui-egui/src/dock.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd25956e57e3a643d64e5b5ce18bb6ff52999010fd9666f4916a72cf10c4760"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::toolbar::tool_controls (cognitive 39): texturecraft_ui_egui::toolbar::tool_controls has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 1 (2 pts), boolean chains 1, match/switch 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/ui-egui/src/toolbar.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fa8938e883f640758e43699734da83380059226ce4762939fb299e00b9212b"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::validate (cognitive 38): texturecraft_bake::validate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 13, loops 2 (nesting depth added 5). 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/bake/src/lib.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bcb09da7aaae12b1028af7b7b7649efbd14a0890922372b193319e04b41faf"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::bake::mesh_map_command::apply_settings (cognitive 38): texturecraft_engine::bake::mesh_map_command::apply_settings has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (23 pts), match/switch 4 (10 pts), loops 5 (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/engine/src/bake/mesh_map_command.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df53fded600d8cd788a0ad15cd7fba4451824a7693686b329214c178ca0ef84"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::pad_tiles (cognitive 37): texturecraft_compose::eval::pad_tiles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 7 (14 pts), boolean chains 2 (nesting depth added 22). 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/compose/src/eval.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3cc727a686f7cb1e62f25a108aca7cb340a78a1e4d30ac8342bf255bd9bce6"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::update_for (cognitive 36): Session::update_for has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 3 (6 pts), boolean chains 3 (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/engine/src/session.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bdf304e9e7b36dc6a095f5ed2cab5e64d796fcd3fa89769462a37888b27dc9"}},{"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":"Session::start_stroke (cognitive 35): Session::start_stroke has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 7, match/switch 4 (7 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/engine/src/painting.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e307ee16411cdb36c47675b2648728fc4882c77ec4eec4f2a83822dce2f4da9"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::tool_cmds::brush (cognitive 35): texturecraft_engine::tool_cmds::brush has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (27 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 6). 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/tool_cmds.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab5027e67eecf07a467985ea36215392361a3ac681d32769e0faa8f1ce88db"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_paint::raster::scan_triangle (cognitive 35): texturecraft_paint::raster::scan_triangle has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 4, loops 2 (3 pts) (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/paint/src/raster.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeec583088df1d1f88126209541d49219e02c5904a3339d35bb9617df240aac"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_render::subdivide::subdivide (cognitive 35): texturecraft_render::subdivide::subdivide has cognitive complexity 35 (threshold 15). Drivers by points: loops 6 (17 pts), match/switch 2 (10 pts), if/else 2 (8 pts) (nesting depth added 25). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/subdivide.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6f759fab8a3744cb56ac8e46ad6772033d30fccb8d3f422ba5ce95612084fa"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::windows::file_action (cognitive 35): texturecraft_ui_egui::windows::file_action has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (7 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fefe727bc7143a834b5f57e7dc14a82d212b2fa1293f63394712a3d4af678e0"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::flatten_layer (cognitive 34): texturecraft_compose::eval::flatten_layer has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 5 (10 pts) (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/compose/src/eval.rs"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91704bc7adc85276dfd6077a151377754c65cf684f77ffdb22ec957f72cfa8b"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::effect_histogram (cognitive 33): texturecraft_compose::eval::effect_histogram has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 3 (5 pts), loops 2 (4 pts), boolean chains 2 (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":"crates/compose/src/eval.rs"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f711b12b45b2e6e400e8b9ef7b33d72dbe145c1cf2486a4ef9f85713c537f"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::fbx::read_inner (cognitive 33): texturecraft_formats::mesh_import::fbx::read_inner has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 4, match/switch 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/formats/src/mesh_import/fbx.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7732d4cb6d3652c83834d88188220883bc66f26221b7333376c75cf17d3d04"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::layer_cmds::fill_set (cognitive 32): texturecraft_engine::layer_cmds::fill_set has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (24 pts), match/switch 3 (5 pts), boolean chains 3 (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/engine/src/layer_cmds.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3a1385c36738d690c8cbf2670bac7f7ac8c0af7dad36e2974d0619ddd6e50a"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::export::list_outputs (cognitive 32): texturecraft_formats::export::list_outputs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 6, loops 3 (6 pts), match/switch 1 (2 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/formats/src/export/mod.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf36ca6cf35f79c6b655ff7fbdd05165844ac019c149e8d939d61f8c9ca95d8"}},{"ruleId":"D2","level":"warning","message":{"text":"EyeDepth::render (cognitive 32): EyeDepth::render has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 5 (9 pts), boolean chains 3 (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/paint/src/visibility.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a91d7d7f1bae2b258abe1c2f8738fa8a75c2f9ef929a8109ac7d668b80e40c6"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::filter_properties (cognitive 32): texturecraft_ui_egui::dock::filter_properties has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 5 (10 pts), match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dock.rs"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17999cb594e863940c585b4889d962222476c76c12bd609391d997532972c56"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::map::diffusion::fill (cognitive 31): texturecraft_bake::map::diffusion::fill has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 6 (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/bake/src/map/diffusion.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf94ea5c92b042c8f2c278cecf0f9a63208c7a38733737d21ce2d8216de93130"}},{"ruleId":"D2","level":"warning","message":{"text":"Texel::mask (cognitive 31): Texel::mask has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 3 (8 pts), boolean chains 2, loops 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/compose/src/eval.rs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d122711722267bc8ba4083b27f933abc4503060880019530a1f04d97c29d4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::filter_region (cognitive 31): texturecraft_compose::eval::filter_region has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 6 (9 pts), loops 4 (5 pts), boolean chains 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/compose/src/eval.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e868fe8e3e79fc628e64f45ebe384732543f43984f23ac1984359b296d76c872"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::gltf::add_primitive (cognitive 31): texturecraft_formats::mesh_import::gltf::add_primitive has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (21 pts), loops 3 (7 pts), match/switch 3 (nesting depth added 9). 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/formats/src/mesh_import/gltf.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"413241e890d73dc54f7c167951b8bd9d90ea0bf4747576e4b651f316777950a6"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::keymap::window (cognitive 30): texturecraft_ui_egui::keymap::window has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, loops 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/keymap.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"722025e3290ffccbe6e2aa66ff30d3308e64cf0a9ef697a8bb9dea1c989c6b30"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::prim (cognitive 29): Parser::prim has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 6 (12 pts), if/else 5 (11 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/formats/src/mesh_import/usd/usda.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ff548f1e722d3e6dce7fd1cf94d7432f0d10a3cf9d5b6e8ad3c530df3a3ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::export::render_maps (cognitive 29): texturecraft_formats::export::render_maps has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, match/switch 3 (5 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/export/mod.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bfe8aeb6b8439e4f2231de6928b6cb83e7f3799736b29938af54dc0253fce2"}},{"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":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8a23d7d589b971d8c278ef937b423478906901e6b4042eccc591620ef74704"}},{"ruleId":"D2","level":"warning","message":{"text":"Headless::render_png (cognitive 28): Headless::render_png has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 5 (8 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/automation/src/headless.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1512807b8bae868e795c9a9d0e8e301809fdcb08bbcae715b8c918b9c61b665a"}},{"ruleId":"D2","level":"warning","message":{"text":"BakePaintMap::paint (cognitive 28): BakePaintMap::paint has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (7 pts), boolean chains 2, match/switch 1 (2 pts) (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":"crates/bake/src/bake_paint_map.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cd2e8b863c22d1d1b0f00cfe79d4c2ff68bf8d9ae13ac30c643b96876edc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Crate::read_paths (cognitive 28): Crate::read_paths has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/usd/usdc.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"720d4c890af6ef38fc5eb8c75141532b2ccc6bd5980587bf9d0ab30ba7ab1a61"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::gltf::read_inner (cognitive 28): texturecraft_formats::mesh_import::gltf::read_inner has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (9 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/gltf.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7382965ba46ca93838851679a8613345dbec5caa19b4cfa9883b0f9ed9d4a8c9"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::bake_mode::texture_sets (cognitive 28): texturecraft_ui_egui::bake_mode::texture_sets has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/bake_mode/mod.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4da4f6a2a24f99da1fb16483f6472ad7c04b9dd62bbc382f42903e5c706e6"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::windows::export (cognitive 28): texturecraft_ui_egui::windows::export has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 3 (5 pts), match/switch 2 (3 pts), 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/windows.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d69abf6ca4a0cbfeb1b760e1de589c513fb711d2335c58a68974f7d15872f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Hemisphere::evaluate (cognitive 27): Hemisphere::evaluate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 3 (6 pts), boolean chains 2, 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/bake/src/tracing/hemisphere.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c676de8948a3186310d5c19803c739dac8e6077d3207d580e84789bc82e61d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Filter::point (cognitive 27): Filter::point has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 7 (10 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/core/src/layer.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8d722fe73e0f94c757445e0f5a9b5fb37d87a67ed9d143191e43030600554c"}},{"ruleId":"D2","level":"warning","message":{"text":"Walk::object (cognitive 27): Walk::object has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/abc/mod.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f1c7d114f6642f8258d3f5f582ce10cabb0ea577384e313091f365adc0f24"}},{"ruleId":"D2","level":"warning","message":{"text":"Pickup::stamp (cognitive 27): Pickup::stamp has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 4 (6 pts), boolean chains 1, 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/paint/src/pickup.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99602987f0650158d3773f12eace5dd971e9293fc028bb7489059fc1db0aa00"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft::control_server::serve (cognitive 26): texturecraft::control_server::serve has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/texturecraft/src/control_server.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f595e9d859262c3fad615e0bd7c0ea3ce1d240ed9fdc66cc3e971e6a7abc8f96"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::pattern::raw (cognitive 26): texturecraft_compose::pattern::raw has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (24 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/compose/src/pattern.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c94013e43b293a9c973c5e9014a64e79b32e28a033aa1cb227afde72390326"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::bake::preserve_tiles::restore (cognitive 26): texturecraft_engine::bake::preserve_tiles::restore has cognitive complexity 26 (threshold 15). Drivers by points: loops 8 (21 pts), if/else 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/bake/preserve_tiles.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36892402b8fb4c71da19ec7b74a6b11ccbea8351fc3c89cf7b9352deef65f6f"}},{"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":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"69384ab032776c4b045ee1bab7f9ad9b913ca684818109d6cbb4f38a51d980ae"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_paint::text::fill (cognitive 26): texturecraft_paint::text::fill has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 5 (12 pts) (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/paint/src/text.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd56627bcda650374df85f3438e3fcb78cd3272f3f4f552e9f7211d2e83ce987"}},{"ruleId":"D2","level":"warning","message":{"text":"Tracer::denoise (cognitive 26): Tracer::denoise has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/trace.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e0b3a81faaa77f6f3076d5170b144e3e18c752763b57f36a5b7e80aef8121"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::texture_set_list (cognitive 26): texturecraft_ui_egui::dock::texture_set_list has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2, boolean chains 1, match/switch 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/dock.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"121c414932e96cc7b3205dfdca3a82a2ccfaa31f0480fd2d41ecba9be8458a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Texel::painted (cognitive 25): Texel::painted has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 3 (8 pts), loops 2 (5 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/compose/src/eval.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aec4c72e39e0d860fb351ea1dbb5f2aa29516635fefd06a040544af44174aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::fill_set (cognitive 25): Session::fill_set has cognitive complexity 25 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 2 (8 pts), match/switch 2 (3 pts) (nesting depth added 16). 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/painting.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"389de887a8b07212292e6ea6d54e9bbf3519dfc98249ae5b894a056d1a84a2c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::lasso_fill (cognitive 25): Session::lasso_fill has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/path_tool.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa2da7ce5341a56aa600790a5d3d8ea172a292d71236e7ed7e546cc6d06aa31"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::property (cognitive 25): Parser::property has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, match/switch 3 (4 pts), loops 2 (3 pts) (nesting depth added 5). 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/formats/src/mesh_import/usd/usda.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd3a1f44de39f7218403c4cd91854c6ab063bac466edeafe1fd45ad99e2c828"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_paint::commit::blend_tile (cognitive 25): texturecraft_paint::commit::blend_tile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (6 pts), loops 2 (3 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/paint/src/commit.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d6c2bf46dfed07368bd6fb8f7196ba67c1cbd90da4c6bb457ab3a431a99ab3"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::control::handle (cognitive 25): texturecraft_ui_egui::control::handle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 6 (11 pts), loops 1 (3 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/control.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36b962a3e58a8024f3a1ceb6fcce6828359eea585e7f0baad0987b190e7a707"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::export_templates::preset_list (cognitive 25): texturecraft_ui_egui::export_templates::preset_list has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2, match/switch 1 (2 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/ui-egui/src/export_templates.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"728584f450cafa714db97e8a43d90707bcc5ee404156d6a3c6b2b92a1e8c9475"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::bake_rows (cognitive 24): texturecraft_bake::bake_rows has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (8 pts), match/switch 3, 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":"crates/bake/src/lib.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddf83319b739c11f5d451f649a47dceba5a45d2844748964837659f586ed732"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::map::diffusion::diffuse (cognitive 24): texturecraft_bake::map::diffusion::diffuse has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 4 (9 pts) (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/bake/src/map/diffusion.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"090f7a1a86766dcd2d8271e5e1a1027c65da6acfb1b1859cd514187099e4181e"}},{"ruleId":"D2","level":"warning","message":{"text":"DilationMap::in_rectangular_blocks (cognitive 24): DilationMap::in_rectangular_blocks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (7 pts), boolean chains 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/texel/src/dilate.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f82e6ff3fa645cde1433e789fcbb7b6c313047e9b15ddc98356c07a6dd0272f"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::effect_row (cognitive 24): texturecraft_ui_egui::dock::effect_row has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3, match/switch 1 (2 pts), loops 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/ui-egui/src/dock.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"548862ff87aa0944155e7dc46189c36eca708bc498be2efac393240d07a15f66"}},{"ruleId":"D2","level":"warning","message":{"text":"BakeContext::trace_curvature (cognitive 23): BakeContext::trace_curvature has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (6 pts), match/switch 1 (2 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/bake/src/map/bake_context.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb95af9f841015667d966e3db8d3346fc1e3b3cb0db15a8d8516bfc6249e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::dae::read_inner (cognitive 23): texturecraft_formats::mesh_import::dae::read_inner has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts), match/switch 2 (4 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/formats/src/mesh_import/dae.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4519002327e531997dda641325d7a1cbb7541ed24f412658533a50f3eb17cd"}},{"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":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdfaccd632aaafadf7b05fe36b890c4455ce49c15287ce750ea68748d768241"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::link_param_editor (cognitive 23): texturecraft_ui_egui::dock::link_param_editor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dock.rs"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c0d0edf190409c72c718f1dc60805b06c504ada37696aa4d3487560b8fc4bf"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::windows::new_project (cognitive 23): texturecraft_ui_egui::windows::new_project has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 4, boolean chains 3, match/switch 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed30006b60e9462ecf601755598bfe81dff4270a5a5397cd5e53278342940971"}},{"ruleId":"D2","level":"warning","message":{"text":"Texel::eval_split (cognitive 22): Texel::eval_split has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, loops 2, match/switch 1 (2 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/compose/src/eval.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"af19d87c1466a3d4f60c36faab820bc96598a52ab6c0eccfad1b450732cfe872"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::import_material (cognitive 22): Session::import_material has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 4 (6 pts), loops 3 (6 pts), boolean chains 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/engine/src/materialx_cmds.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"231622035d4014ceaed53a1884d55f6fed1964caed511abb743158ba7eadd505"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::effect_clipboard::paste (cognitive 22): texturecraft_engine::effect_clipboard::paste has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, match/switch 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/effect_clipboard.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"489425eb973251c0fed4b0421461f440a26454f8ce518498017a9f7710388bf3"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewCallback::prepare (cognitive 22): ViewCallback::prepare has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (6 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/ui-egui/src/gpu.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca83f3c34f83b6978b7cff753db400c31032f21b804192f94e2ca1825505ba22"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::export_templates::channel_slots (cognitive 22): texturecraft_ui_egui::export_templates::channel_slots has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (9 pts), match/switch 2 (4 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/ui-egui/src/export_templates.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad432c1942d37c6caf2d421ebf59a52354ebea6727ba0cc72e635ce5e22fa9c1"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::windows::export_settings_tab (cognitive 22): texturecraft_ui_egui::windows::export_settings_tab has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, loops 8, match/switch 2, boolean chains 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/ui-egui/src/windows.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"284cb656eb64bed7c18962e39e553aa90a54f169ee86723da25d1277bf35e04c"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::plan_node (cognitive 21): texturecraft_compose::eval::plan_node has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5, 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/compose/src/eval.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"6134afdb9fd4c88de5cd2c66c2fa8fe2f6b4e46cbfc96be65862321b287cebce"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::filter_lib::apply (cognitive 21): texturecraft_engine::filter_lib::apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), match/switch 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/engine/src/filter_lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f071d11279c017ab9b5281d593957d7e3c5ac4132a5a5b512cff3ba7ae495df"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::view_cmds::display (cognitive 21): texturecraft_engine::view_cmds::display has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, loops 2, match/switch 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/engine/src/view_cmds.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b4b86a47abc1194169936bdd4e5d2a9c4fbd1275370e7674bbf8321b091873"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::external::inline_gltf (cognitive 21): texturecraft_formats::mesh_import::external::inline_gltf has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), match/switch 1 (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/formats/src/mesh_import/external.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc717ef52f7aa8968394ce9c70748f6a3a39878d5698e5ecf22d4f2bf705c70"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::project_file::write_project (cognitive 21): texturecraft_formats::project_file::write_project has cognitive complexity 21 (threshold 15). Drivers by points: loops 8 (10 pts), if/else 4 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/project_file/mod.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9963ba554127e75df40a839be45ec9fcf9ab827d22b858995eae4c0030198cc"}},{"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":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"52134134ccaf72a9a48f3d8f0b43fd200b02cdb6e935295f9c6ffe4fabd4c265"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::material_section (cognitive 21): texturecraft_ui_egui::dock::material_section has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2, 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/ui-egui/src/dock.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b358a5ed6e3cae65e2ebe68ca0e74fe45b501e553108ef5e2bb87d8ecd38cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Doc::new (cognitive 20): Doc::new has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (4 pts), match/switch 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/formats/src/materialx_read.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"db683726382184a80701276d1a22a0fd68044953efc5db3469c2cea307a110b5"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::materialx_read::read_inner (cognitive 20): texturecraft_formats::materialx_read::read_inner has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (8 pts), if/else 5 (7 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/formats/src/materialx_read.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2658a38d740afddade89556882803dae01e41f3416932de69ff9fb3452f91c"}},{"ruleId":"D2","level":"warning","message":{"text":"Pickup::from_layer (cognitive 20): Pickup::from_layer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 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/paint/src/pickup.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6788bb6c3568d6a59ef5af7042212a1b0041fcc4d080cdc5a1a69b5c5d2c8f11"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::text_section (cognitive 20): texturecraft_ui_egui::dock::text_section has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dock.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"658fa74468feff6e15a7b1478deeaaf0487c983fc526e885217375c469f0fc12"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::link_properties (cognitive 20): texturecraft_ui_egui::dock::link_properties has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (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/dock.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0d54d6ec47268d869aa9447d114c3e380c1d60d6fed56cfa3f96ee6c530e93"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::projection_editor (cognitive 20): texturecraft_ui_egui::dock::projection_editor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dock.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e5dd6006c998423f834b633e8b1bfbba1dd3d89b54c9cf9670bab4dbe7eeb5"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::paint_target (cognitive 19): Session::paint_target has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (3 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/painting.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f07ed9b9bc9248416ce6a5ecb84c2af2c804b249a3e999a23f8d1da1bdb365"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::upload_tile (cognitive 19): Renderer::upload_tile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (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/render/src/renderer.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c4bccd2462ee002f31cfeaa2a33b32d01602496c075a7352730f41cde166f8"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::menus::shortcuts (cognitive 19): texturecraft_ui_egui::menus::shortcuts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, loops 2 (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/ui-egui/src/menus.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a2e1c81cdb2042999b5ce2361dc1c80f0fd967a87fb1eb45530289b8c239d"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::gpu_report_toasts (cognitive 19): texturecraft_ui_egui::viewport::gpu_report_toasts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (7 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/viewport.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d4f65f42fb6f2c3afd5d6671a723047ff32468e8143fd40a7a230ecbf008c9"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::viewport::decal_overlay (cognitive 19): texturecraft_ui_egui::viewport::decal_overlay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 7, loops 2. 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/ui-egui/src/viewport.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"813025f8366b21fda55f6b61ac909685e156afde3883dbe71822f56ab4bbdfa8"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::windows::settings (cognitive 19): texturecraft_ui_egui::windows::settings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 5, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10cd16cf606a33d79a74f0f74b19c0f8e4b1afa884e057cd4d587e0c48ecdd9"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_bake::map::normal_curvature::curvature_from_normal (cognitive 18): texturecraft_bake::map::normal_curvature::curvature_from_normal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1, match/switch 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/bake/src/map/normal_curvature.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"423d708a7ebab978ae54f23cfeb9607fc6c9f499c5ce2cefd96374c6ebc11d79"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_core::layer::hsl_adjust (cognitive 18): texturecraft_core::layer::hsl_adjust has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (18 pts) (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/core/src/layer.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b1782866c9b41a8edf4c3e3e79b1de5ed89b364040f899b93d60c8eba8950"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::bake::mesh_map_command::validate_model_settings (cognitive 18): texturecraft_engine::bake::mesh_map_command::validate_model_settings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2, loops 2 (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/engine/src/bake/mesh_map_command.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e22931c586f7b746e056eaaf8c14578b3c197fd47448b823b1c00c623554db"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::layer_cmds::blend (cognitive 18): texturecraft_engine::layer_cmds::blend has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/layer_cmds.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e80928a5be263e5539e9078195b563ce8d2b2d015a175b852483667056ed722"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::path_table (cognitive 18): Writer::path_table has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (6 pts), 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/formats/src/mesh_export/usdc.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0504afb6266fdf924c9884beff4306599dbfc063a9c8daf7714f90d802a2387e"}},{"ruleId":"D2","level":"warning","message":{"text":"Crate::references (cognitive 18): Crate::references has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (6 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/usd/usdc.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"7020848726946cd28086bd312fde9a56ae81458116dc6bb8a480208aa3e2c056"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::fonts::name_string (cognitive 18): texturecraft_formats::fonts::name_string has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/fonts.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"49404e56685c21f1048ab0cc124fd9483f8473f0747a71cce969e8d526e67799"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_export::obj_text (cognitive 18): texturecraft_formats::mesh_export::obj_text has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (11 pts), match/switch 1 (4 pts), if/else 3 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_export.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12fd4ad90e2e967aeb3b869a6cd89452a490e2b51e10cd448d7c5c481c7d1fa"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_export::glb_bytes (cognitive 18): texturecraft_formats::mesh_export::glb_bytes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 5, boolean chains 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/formats/src/mesh_export.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1de40a8379a84c89c8a5d4d6109fa6ec6cb431b2b26e3c60291a37ff2370607"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_export::usd::scene (cognitive 18): texturecraft_formats::mesh_export::usd::scene has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (6 pts), boolean chains 1, 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/formats/src/mesh_export/usd.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e77f04e8e020a83794e64991058a75b48e5538b2c917de0a96808d342db0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_geom::unwrap::pack (cognitive 18): texturecraft_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":"GpuTracer::set_scene (cognitive 18): GpuTracer::set_scene has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 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/render/src/gpu_trace.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae847cc29053709109f55f24f773250f7ea3a15eee7b5f549fa0cbf3605562"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::menus::menu_bar (cognitive 18): texturecraft_ui_egui::menus::menu_bar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts), 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/menus.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a3bbfa8f534d4db0a5cace10e14af94ddb9a5faeb96eaacf733bc80b28983"}},{"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":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ff1067729561abaf73d5f4373a2142b7af47f80fc702808af55ceb0107614"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_compose::eval::fields_of (cognitive 17): texturecraft_compose::eval::fields_of has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts) (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/compose/src/eval.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b20acb42a392eed562212f672c06ff78ec1caa6477416c5f0fab06adf826e70"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::bake_task (cognitive 17): Session::bake_task has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 5, match/switch 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/bake/mesh_map_command.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62cf6c89fbfd8dad73638eedd71d5a323079fc66eba4575d7583123cb1483bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::apply_template (cognitive 17): Session::apply_template has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 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/engine/src/template_cmds.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f1f945162e9914925f4d6ee1c14157437bd161df46cfe35e2a497fbe29790"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::layer_ops::copy_tree (cognitive 17): texturecraft_engine::layer_ops::copy_tree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (5 pts), match/switch 1 (2 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/engine/src/layer_ops.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3bf08b23cff265204216a642fc688b9da3522e1a096d4571a9a9a3d6c94ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"Walk::mesh (cognitive 17): Walk::mesh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 4 (6 pts), match/switch 2 (4 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/formats/src/mesh_import/abc/mod.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97e82e1a37db5c433b077b5c5aba7321e4ce6246cb9d5c79754a4fca4b08927"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::export::encode (cognitive 17): texturecraft_formats::export::encode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, match/switch 2 (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/formats/src/export/mod.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8ffc6b2ccd2749ec2d3e686aa2a21ece8baf0f3f3cc0d880140e9ce982312e"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::project_file::recovery::read_project (cognitive 17): texturecraft_formats::project_file::recovery::read_project has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 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/formats/src/project_file/recovery.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e86821bd8e1bb67bbea57fc09c3d7b3587a1a5b404c066403b84fd834575af"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_paint::raster::rasterize_uv (cognitive 17): texturecraft_paint::raster::rasterize_uv has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts), 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/paint/src/raster.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"517729649b8f90d15fed646b4be502bc3cd5bb2f2daa39eb2e7904c7385611ac"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_render::trace::surface (cognitive 17): texturecraft_render::trace::surface has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 2 (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/render/src/trace.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9098ba2b6ab66f138e4d54c2a0ef7e9f91a7c82ca3d807bf348b751dfa22640d"}},{"ruleId":"D2","level":"warning","message":{"text":"Script::system_files (cognitive 17): Script::system_files has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), loops 3 (6 pts), match/switch 3 (5 pts) (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/fonts.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8c70b20d0bf7bc75f34327449b12eec3dfb97ddcbfe79a92173c24b7c5fcb6"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::render_mode::show_gpu (cognitive 17): texturecraft_ui_egui::render_mode::show_gpu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 2). 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/ui-egui/src/render_mode.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6ef530af130d41244e3898ae8ac5e73d08e880cce484ce86bc2b1db7056be"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_automation::workspace::relative_path (cognitive 16): texturecraft_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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52ed344eaca273a2c7b37c5f2a2c26e71e99ca67f9f11687b601ed1186e6e27"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::quick_mask_rgba (cognitive 16): Session::quick_mask_rgba has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 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/quick_mask.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ee445849c1de31b8494c33d74cf9137aae68dae118739074dd7b2ef2f5e4e8"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::file_cmds::write_materialx (cognitive 16): texturecraft_engine::file_cmds::write_materialx has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 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/file_cmds.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a83dc594247066caec5730647368770996ffe3220c9d15dd9ef491f707a090"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_engine::mask_cmds::set (cognitive 16): texturecraft_engine::mask_cmds::set has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 4 (6 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/mask_cmds.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf76c8cf4fb3d16a5fca3f70e0b4ef8771090f9a8d65911d1df7baae550802"}},{"ruleId":"D2","level":"warning","message":{"text":"Stage::xform (cognitive 16): Stage::xform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/usd/mod.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d053933620894ee4f4b6093dc62c1c984f5be3aa8756ca86903d303d17332dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Stage::subsets (cognitive 16): Stage::subsets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 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/formats/src/mesh_import/usd/mod.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feedf911aed5e4cd89a206151b560eecf1cb0f702e0668f53e5b0d106cd1ebd"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::value (cognitive 16): Parser::value has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 3 (6 pts), loops 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/formats/src/mesh_import/usd/usda.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a1cdf896ed78a0c97749a06c2dd10f0f946236d76c986e5f3253fb482530e7"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::materialx_read::parse_xml (cognitive 16): texturecraft_formats::materialx_read::parse_xml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/materialx_read.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dae46cd0d864c465e2240fdcda0f593ac9ac09fc0967abe0d7551d04f8ceab2"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_formats::mesh_import::dae::parse_xml (cognitive 16): texturecraft_formats::mesh_import::dae::parse_xml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/dae.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15bb8cd1a56160cdd3804ba0cf2abc5aea6922d00728986e30e4b466ff600f8"}},{"ruleId":"D2","level":"warning","message":{"text":"StrokeCanvas::add_stamp (cognitive 16): StrokeCanvas::add_stamp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/paint/src/raster.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d11a7d999db74ea8e16a490e319691da36995419b5e7441a6724c032b6d42d"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_paint::particles::emit (cognitive 16): texturecraft_paint::particles::emit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/paint/src/particles.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7bbe66152e9029f653eec38e5fe5254d7d12160b223a68d4793eda21c5f65f"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::resolve_pending (cognitive 16): Renderer::resolve_pending has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), match/switch 2 (6 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe889f9eba4df563fc0d08c5116b44030fc92d6d67552c599581fa0e993b99fb"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_render::ibl::prefilter (cognitive 16): texturecraft_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":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6955f39750782639adfa952e945f02daa5fef6fd880999bccc1f8ba3aae25f"}},{"ruleId":"D2","level":"warning","message":{"text":"TileImage::remapped_tile (cognitive 16): TileImage::remapped_tile has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (4 pts), match/switch 1 (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":"crates/texel/src/tile.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c179085118d472fcb64ccf16aa17b2b933df14953e1d218664f99326b68c6192"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::dock::effect_menu (cognitive 16): texturecraft_ui_egui::dock::effect_menu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 2 (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/ui-egui/src/dock.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e6b7542b51a8a5e9d2db8ba6ae59af0353df95510c1d04364942fea780930b"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::widgets::slider_inner (cognitive 16): texturecraft_ui_egui::widgets::slider_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4 (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/widgets.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8411cbbe690f27dfd96af46b96348b683ed54b6ffb788935bd040b5c0dbf99f1"}},{"ruleId":"D2","level":"warning","message":{"text":"texturecraft_ui_egui::windows::start (cognitive 16): texturecraft_ui_egui::windows::start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 1 (2 pts), 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":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea58d8b056a85116d5d8630a05baace663e9c65795e0fd4366473a329540e44f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 131 methods, declared across 14 files: src/session.rs (40), src/painting.rs (29), src/file_cmds.rs (14), bake/mesh_map_command.rs (12), \u002B10 more file(s). The bar is 30 methods; this is 101 over it, 4.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":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cfaa03517f634a17214c94c85d50637fd1138a84eaf866df88e11db3521c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_engine::materials::build: FunctionTooLong \u2014 texturecraft_engine::materials::build runs 351 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 251 over it, 3.51\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/engine/src/materials.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e333959ff285960568bbc8486ff5b6cba2f2f6ec36ed7ee4e0455d549a30ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dock.rs: FileTooLong \u2014 1478 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 978 over it, 2.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98964f520fc99c756d79dfe3bfea28b7f45d215dc9ec6381d90a993d00e5ad5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/renderer.rs: FileTooLong \u2014 1398 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 66% of them inside a single declaration: Renderer (2 blocks, 512-1988). The bar is 500 significant lines; this is 898 over it, 2.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c294a38951a5f95b57c6236b4258e23eccca2f5eee8bd84da1f9688b8aa2f8db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/eval.rs: FileTooLong \u2014 1363 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 51 free functions. The bar is 500 significant lines; this is 863 over it, 2.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/compose/src/eval.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda55f886d4853eaa8e76927ada4bcaf552011469f8dca693e910598e9994242"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Renderer: ClassTooLong \u2014 921 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), 38 methods, 2 blocks, lines 512-1988. The bar is 400 significant lines; this is 521 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c384454334273dd7d592f35419c431533862560d7694fe43fc2577cb65d33b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Renderer.new: MethodTooLong \u2014 new runs 206 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 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a1e0a4c4d11aefe50e0437a49b017247234ee9c5b2c2b27a2e0e2c254376ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_ui_egui::dock::layer_row: FunctionTooLong \u2014 texturecraft_ui_egui::dock::layer_row runs 182 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 82 over it, 1.82\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/dock.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"69315c0ab26d43612b76abb72495fe0da3cb910ae552f82c2b465592e84b6e98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/viewport.rs: FileTooLong \u2014 844 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 344 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/viewport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa53fcd96cd2fc212fd652aa46eb04020bbf23a82cab06f205232ad26b3da5b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/windows.rs: FileTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 274 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/windows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24bbfa13c2cd88fac609e93092147e65b7688f00f3421e43db6465153aa9d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_ui_egui::viewport::view_3d: FunctionTooLong \u2014 texturecraft_ui_egui::viewport::view_3d runs 152 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 52 over it, 1.52\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/viewport.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd2519305a8a7788db40532aeca69df381e789d3d822b8d742292dbd549e078"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: texturecraft_paint::alphas: TooManyFunctions \u2014 43 free functions. The bar is 30 free functions; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/paint/src/alphas.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e111a5d8023e0aa183ff33dc3ce1aabc2b46a3004b675b61eebce162bd40496"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Renderer: TooManyFields \u2014 43 stored fields beside 38 methods. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"575e9073f7a441306422ac70ee300034de40b8fde50010ba774c0442231f3d66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/trace.rs: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/trace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c6dd0a71b91ee98a4b4acafd663d67a745319f80dfcf9a18550b1607ea5ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/layer.rs: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/core/src/layer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b74d5fadfb6f1f9a744471288d3cdec84e53a745c265b72acb0a692f3a4e206"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/mod.rs: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/export/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea12c78a941a1a297a237e937cbba9bf88d6ad80ce919ec504bb51781afe6617"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Renderer: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/renderer.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"316d1b553ab22d6b6ece110f40c1df71f5a1024252c9d068fb612326b8e0bf68"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_geom::unwrap::auto_unwrap: FunctionTooLong \u2014 texturecraft_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":"324669bc6122cc53c13d9ec7e7f00c5b2b0ae89d6f1b05520c3874488fe67ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/session.rs: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8303adb9ac2393436de480a84d85b9de80c61df259f9ac004d3f197dfeda0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_compose::eval::composite_block: FunctionTooLong \u2014 texturecraft_compose::eval::composite_block runs 116 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 16 over it, 1.16\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/compose/src/eval.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad61ee355c34a1ef9196e613c3b222131313522f582128978015b30f32b63859"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Renderer.prepare: MethodTooLong \u2014 prepare runs 113 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 13 over it, 1.13\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/render/src/renderer.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"500a96ccbb65c1f5004141bbe0f7776d073bf80d37eca1a475f617223c01e887"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/materials.rs: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/materials.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbc39805b0276efa47edd9f17a7283ddd0a60cdb2ac2b1a4e8d4e5c0cadc975"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mesh_import/fbx.rs: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/mesh_import/fbx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaf4a96a512f88dc70bc9c5f7b6bbec66968ac5aff5bd9f3c8568aa85150347"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/gpu_trace.rs: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: GpuTracer (2 blocks, 102-693). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/gpu_trace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9455df8908c77b875e8f8ab3820f8c7bb8dc0b30a57b7c5b391ae04f6e3fad4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_bake::bake_in_strips: FunctionTooLong \u2014 texturecraft_bake::bake_in_strips runs 109 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 9 over it, 1.09\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/bake/src/lib.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faa724388bd0e3f09cf4cfc5dcaf4ac92bf5522d9eef526c4e1397ecf15c937"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_ui_egui::dock::effect_properties: FunctionTooLong \u2014 texturecraft_ui_egui::dock::effect_properties runs 109 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 9 over it, 1.09\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/dock.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"425a2eebeb7978df1d4e3ca5af860688005167a99806de5fe16b101b0e8b1c23"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_compose::eval::filter_region: FunctionTooLong \u2014 texturecraft_compose::eval::filter_region runs 108 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 8 over it, 1.08\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/compose/src/eval.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed816538d0b097b5f2d15b13d8c996fd0fb9c503fd9e013760f5dfd751054cbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: texturecraft_compose::pattern::raw: FunctionTooLong \u2014 texturecraft_compose::pattern::raw runs 104 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 4 over it, 1.04\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/compose/src/pattern.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf352a0408dc077989e9eda3465176969e6aa523239b6a79eb0f01b703ef14c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Session: TooManyFields \u2014 31 stored fields beside 131 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/session.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e15bc8e166274a3b0d7e4dcbfea5baa4d6c10621b43f39b3ad409f6695ae8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TexturecraftMcp: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/automation/src/server.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d1855d55202a2aa80843fb8012cb0efa92e40b13ae8ecb62d5fb086675167c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/formats/src/materialx_read.rs:109-121 | crates/formats/src/mesh_import/dae.rs:72-84 \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/formats/src/materialx_read.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a641cf8597c3cd2b162dcd1a1bf03691c1aec3487c70164d9d2fa4dea503eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/ui-egui/src/theme.rs:203-215 | crates/ui-egui/src/theme.rs:217-229 \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":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f68a404c2bf7d19113b05bee6da7d40595fc7c4b74b39f17c55ce06ab50f572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/ui-egui/src/viewport.rs:552-560 | crates/ui-egui/src/viewport.rs:1163-1171 \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/viewport.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea17ca12c30a152380351fb739f81c834aa3a772632c07ed4d65e10c3e1dc73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/automation/src/render.rs:116-123 | crates/ui-egui/src/render_mode.rs:177-184 \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/automation/src/render.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1889dddaebefb84bbfdc2c39751e64009440748e67c8307b4526c64b1981b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/engine/src/view_cmds.rs:104-111 | crates/engine/src/view_cmds.rs:120-127 \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/engine/src/view_cmds.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59026116b9155f57739df28b4d128085fc547101fcefcfa44818ae3930eaf84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/geom/src/bvh.rs:416-423 | crates/geom/src/bvh.rs:426-433 \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":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e03acd01c0999e4acf345abb7478c3706157c80c242c6f848c4184022b3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/engine/src/layer_cmds.rs:314-320 | crates/engine/src/mask_cmds.rs:303-309 \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/engine/src/layer_cmds.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b4cce446571c13d48d579696a12019a27d55d6011feb1bf66b946905dd2981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/formats/src/materialx_read.rs:96-102 | crates/formats/src/mesh_import/dae.rs:61-67 \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/formats/src/materialx_read.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225e77c5bac6f33f882140fdcbc9ecae1227c4efe3e1a176d7079abfb5cb50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/formats/src/mesh_import/abc/mod.rs:530-536 | crates/formats/src/mesh_import/fbx.rs:809-815 \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/formats/src/mesh_import/abc/mod.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35a4753a422264cbc9fd36daaa405d9e5dcba957576cc7bb2365f2ba331840e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/texturecraft-cli/src/main.rs:116-121 | apps/texturecraft/src/main.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":"apps/texturecraft-cli/src/main.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c1d66e173e9b38fe4240b53a583a1433378fb43016291ea905d984832e9e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/bake/src/map/diffusion.rs:15-20 | crates/bake/src/map/diffusion.rs:30-35 \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/bake/src/map/diffusion.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8a9df491478e76119acc364761000725291b34837e7641892b8790615383e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/engine/src/materials.rs:336-341 | crates/engine/src/materials.rs:528-533 \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/engine/src/materials.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57289d722e03e8744db5b780071b3ac8ecfaa428be195599bf33fc9efe91c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/viewport.rs:496-501 | crates/ui-egui/src/viewport.rs:509-514 \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/viewport.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ec95fc3c5f4a5cdac178cc6bec33e4555a0116dfaf85146ae135d6ea978e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/texturecraft/src/control_server.rs:54-58 | crates/automation/src/rpc.rs:217-221 \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/texturecraft/src/control_server.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39b456fbaf2e531b534cff34e5854e99ba929876a5bbeef8fe9399b7a07f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/paint/src/alphas.rs:117-121 | crates/render/src/displace.rs:118-122 \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/paint/src/alphas.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5836d1708b76a45bae6d35dee9a5882957024dadbefcae63d084d0b9867606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/shelf.rs:309-313 | crates/ui-egui/src/shelf.rs:417-421 \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/shelf.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f200053fae503dc5318022ff11feead3f44e9ae4cef026e9b7abd12a09bfb225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/engine/src/materials.rs:283-288 | crates/engine/src/materials.rs:324-330 | crates/engine/src/materials.rs:332-338 | crates/engine/src/materials.rs:411-417 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/materials.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ca08651fbb542c9f5b90c91ec1b7c0384ec9981904ee428176fdd4cdbb22e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 7): crates/engine/src/materials.rs:354-358 | crates/engine/src/materials.rs:360-365 | crates/engine/src/materials.rs:367-372 | crates/engine/src/materials.rs:373-375 | crates/engine/src/materials.rs:381-386 | crates/engine/src/materials.rs:388-394 | crates/engine/src/materials.rs:395-397 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/materials.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"38577918ce91efe51c990095f84fd1274a831844dd3cb7a307aab25daa6f9aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/materials.rs:282-287 | crates/engine/src/materials.rs:442-446 \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/engine/src/materials.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58b9e4709d911a5083d8a96898f7ee527d73efc4f298838abf71125372f7bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/shelf.rs:338-343 | crates/ui-egui/src/shelf.rs:448-453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/shelf.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da1e1f0d6e4d8b0618de6b0e208010468695e893903493fa1dc075cb8ff4636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/toolbar.rs:227-231 | crates/ui-egui/src/toolbar.rs:232-236 \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/toolbar.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc5a7df86d92d2ee6c90a6567516bc938bd6261798754321b70205750d4808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/automation/src/render.rs:151-155 | crates/ui-egui/src/viewport.rs:203-207 \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/automation/src/render.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3f8a8b233ac26181516f663ddd059a284ee1aab3acf0834c85d65055f29de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/compose/src/pattern.rs:197-204 | crates/compose/src/pattern.rs:244-251 \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/compose/src/pattern.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1083b74b21647db0a3267d592f42305ecf43106d586915c1fd61344589c25ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/ui-egui/src/widgets.rs:88-95 | crates/ui-egui/src/widgets.rs:114-121 \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":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c75ec7988298f6b8aaad94107980d9f3590a9a3fe22590f48c807e99e41e69"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: texturecraft-core: texturecraft-core: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fb138c96d23b6e58d9244fb0b239e0325b5c3e163a09118f2fb62b6826a50855"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: texturecraft-geom: texturecraft-geom: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dcffff4647cda980c57148e64b704ea66d3d733f86b31976954f14a61f39b47d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: texturecraft-texel: texturecraft-texel: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"42c6b27d85ee574249ae202e9ab49e4e04723a6dd7ff4acfefd6d80b2c3f1f0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/dock.rs: crates/ui-egui/src/dock.rs changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in texturecraft_ui_egui::dock::layer_row at line 276. 1 of those changes was a fix/bug commit, and the other 42 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/dock.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/dock.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bff67e5e8b06857ac43eb7f7e9ea1c3acf7d8424b10f130956f7d8d0c9a7aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/viewport.rs: crates/ui-egui/src/viewport.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in texturecraft_ui_egui::viewport::view_3d at line 410. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/viewport.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/viewport.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c56ae8decca728d5aea4e0bc7995391099cf415ae542e5d8f524543ef5eb84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/materials.rs: crates/engine/src/materials.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in texturecraft_engine::materials::build at line 237. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/materials.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/materials.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a89dc03ad58951f7fca18a4ff851aee70271552e16ab49d657e85c2fb31cd4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/compose/src/eval.rs: crates/compose/src/eval.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in texturecraft_compose::eval::composite_block at line 1621. 1 of those changes was a fix/bug commit, and the other 21 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/compose/src/eval.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/compose/src/eval.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec9f72780f7d90c72160a247c1ad6ce8f647645ff1c273b69a13ecf4627de0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/windows.rs: crates/ui-egui/src/windows.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in texturecraft_ui_egui::windows::file_action at line 748. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05: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":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8a519e128cd5722c52a66b67e5c1b30e6af06ad759559052c4b40e117046bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/render/src/renderer.rs: crates/render/src/renderer.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Renderer::prepare at line 1635. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/render/src/renderer.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/renderer.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5d70a8e279298b66a0b43559ab2aa1f65e3c6a286719b6560d37836ac3bcf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/bake/mesh_map_command.rs: crates/engine/src/bake/mesh_map_command.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in texturecraft_engine::bake::mesh_map_command::apply_settings at line 385. 1 of those changes was a fix/bug commit, and the other 13 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/bake/mesh_map_command.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/bake/mesh_map_command.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"239c4d6df4e8a8ea4f9b0dd9911769d9ba88145d4875ea81615bf9071ef52d27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/menus.rs: crates/ui-egui/src/menus.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in texturecraft_ui_egui::menus::invoke at line 132. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05: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":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"908155fc2f25410e89668828c1905869c8a1ff3f766540e60bcdab891e506b00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/core/src/layer.rs: crates/core/src/layer.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Filter::point at line 780. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/core/src/layer.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/layer.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daebb3ad7eadc42cb8a02d4e9078d17abb44871a72cfc26b3c0a4919bb8cbff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/session.rs: crates/engine/src/session.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Session::update_for at line 680. 1 of those changes was a fix/bug commit, and the other 20 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/session.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/session.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3402ea1c3e15e48c9b4364f9d985174ed17063ad4436ccd938408260cb6f35"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/formats/src/export/mod.rs: crates/formats/src/export/mod.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in texturecraft_formats::export::render_maps at line 688. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/formats/src/export/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/export/mod.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b0d0c23a3eb5d236a40bb15879bc069bec1b5ac9eb760035d3b313a638a3e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/toolbar.rs: crates/ui-egui/src/toolbar.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in texturecraft_ui_egui::toolbar::tool_controls at line 206. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/toolbar.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/toolbar.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9aa921b752961ffd6756428b8563520ce4f8fe01be9583985e7d0ad780c595"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/formats/src/project_file/mod.rs: crates/formats/src/project_file/mod.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in texturecraft_formats::project_file::load at line 342. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/formats/src/project_file/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/formats/src/project_file/mod.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"649967c901f3f56609846e53d8986d026690d069e73b05d8e7d3b6d950659569"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/painting.rs: crates/engine/src/painting.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Session::start_stroke at line 147. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/painting.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/painting.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"36276719d0c174d140c0d76350283ad769511b59c98b2cd72dc0d13e84f6ec90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/bake/src/lib.rs: crates/bake/src/lib.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in texturecraft_bake::validate at line 46. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/bake/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/bake/src/lib.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01a3b7a39c8dc5f747a69bf54a9a3408d823f0931e676d3133d7b5b08dfaaf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/shelf.rs: crates/ui-egui/src/shelf.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in texturecraft_ui_egui::shelf::body at line 205. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/shelf.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/shelf.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5760a53771bf7caee329cc6788b30e2d10b1cc62adedb5cc9bfac04fd4120475"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/filter_lib.rs: crates/engine/src/filter_lib.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in texturecraft_engine::filter_lib::apply at line 210. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/filter_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/engine/src/filter_lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c97663e43d7ce466d55686b06a33456b78f77cf4e8833c4492d3e04d7c439c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/formats/src/mesh_import/fbx.rs: crates/formats/src/mesh_import/fbx.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in texturecraft_formats::mesh_import::fbx::read_inner at line 496. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/formats/src/mesh_import/fbx.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/formats/src/mesh_import/fbx.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f944dc4d5c276e185761dbc5ada9b6384b671d1816e17b9e8f9ec7b00876cf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/compose/src/display.rs: crates/compose/src/display.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in texturecraft_compose::display::tile_bytes at line 98. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/compose/src/display.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/compose/src/display.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dff2fea6feb11a73482b4f2c25721c9ac82e5b6edd5d58717c27da9b14768f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/tool_cmds.rs: crates/engine/src/tool_cmds.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in texturecraft_engine::tool_cmds::brush at line 102. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/tool_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/tool_cmds.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"765124f07d262b0557c4901c673e1d1c108c4b8a794e4528f6899cd596eabc98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/geom/src/bvh.rs: crates/geom/src/bvh.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Bvh::new at line 83. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/geom/src/bvh.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/geom/src/bvh.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f372eac2848f02fd465cfff227a964154482ac4b7bfcc3f94e00a1a9e40779"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/gpu.rs: crates/ui-egui/src/gpu.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GpuLink::sync at line 144. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/gpu.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/gpu.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a68a436105fa6cd469808762848f596272596abc81ba43425197b676c0255d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/docking.rs: crates/ui-egui/src/docking.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Panels::body at line 430. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/docking.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/docking.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf3bc6052ca630c2b603587b8425005437e77fe9b0a9084758ba7d86e5c87b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/mask_cmds.rs: crates/engine/src/mask_cmds.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in texturecraft_engine::mask_cmds::set at line 416. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/mask_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/mask_cmds.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd6aac121a4680bbfea8f7db99c959c45ac1823d796658816ecb980177131d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/render/src/trace.rs: crates/render/src/trace.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in texturecraft_render::trace::trace at line 960. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/render/src/trace.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/trace.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacac300b5c0f339a55dd174b3017363ab116b9e09c5bd48fdd90ae5e046dee7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/view_cmds.rs: crates/engine/src/view_cmds.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in texturecraft_engine::view_cmds::display at line 192. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05: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":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"07234e517551c34277eb9600c57ec0b3bc595e0c3015c01792b419ced5ff9f06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/layer_cmds.rs: crates/engine/src/layer_cmds.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in texturecraft_engine::layer_cmds::fill_set at line 305. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/layer_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/layer_cmds.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a97ebd790ed46e570a09dd043349103584ee9d8e8d31401af6bebbe95a9fa24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/control.rs: crates/ui-egui/src/control.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in texturecraft_ui_egui::control::handle at line 75. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05: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":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a424162c07fe6f84b32b3c40c0ad77e1afea25d36dc1e01f7a7e4d0d8ac92d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/keymap.rs: crates/ui-egui/src/keymap.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in texturecraft_ui_egui::keymap::window at line 164. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/keymap.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/keymap.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea78ffff17475872ff5fe97ef9ff196ecbc7532dc53f675507da5a9e14e1624"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/export_templates.rs: crates/ui-egui/src/export_templates.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in texturecraft_ui_egui::export_templates::preset_list at line 219. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/ui-egui/src/export_templates.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/export_templates.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"73514eb4c065791b771f9a8daf0b507345563d1fc3ed4c788522f88d2fd4c446"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/formats/src/mesh_import/gltf.rs: crates/formats/src/mesh_import/gltf.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in texturecraft_formats::mesh_import::gltf::read_inner at line 23. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/formats/src/mesh_import/gltf.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/formats/src/mesh_import/gltf.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90b59f41caf2334b6487979ba2f1518782b8f4de39ab4eecc31b10499496b42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/automation/src/rpc.rs: crates/automation/src/rpc.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Headless::handle at line 79. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05: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":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30d176c6b577e8b29f2eb470bcb68b437ac20b86a73a261558ffc46fca39003"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/formats/src/mesh_import/ply.rs: crates/formats/src/mesh_import/ply.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in texturecraft_formats::mesh_import::ply::read at line 115. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/formats/src/mesh_import/ply.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/formats/src/mesh_import/ply.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16b378538516f50886cdc260c414834f90fbe12445cdd66ed955e6850f74198"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/paint/src/raster.rs: crates/paint/src/raster.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in texturecraft_paint::raster::scan_triangle at line 139. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/paint/src/raster.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/paint/src/raster.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"378e04d664ee3a737e4f5a08d2f8aa482bdd92774a6785406f10b8597d0bcdec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/smart_masks.rs: crates/engine/src/smart_masks.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in texturecraft_engine::smart_masks::preset at line 84. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/engine/src/smart_masks.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/smart_masks.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"028bcdfac0d1830bec108c7d491ad9571279f25e199f3e67dd93b175e055d4ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/core/src/channel.rs: crates/core/src/channel.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Channel::label 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/core/src/channel.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/channel.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cac970e8d0bc058af1b3bd972a592d5e9d4b0a0cbc7fcf5789a208334babff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/formats/src/mesh_import/obj.rs: crates/formats/src/mesh_import/obj.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in texturecraft_formats::mesh_import::obj::read_inner at line 14. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/formats/src/mesh_import/obj.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/formats/src/mesh_import/obj.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7509421201b665d7d1df212844bc6912ca3ea186099012c28f1dd215a4a4565c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/texturecraft/src/control_server.rs: apps/texturecraft/src/control_server.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in texturecraft::control_server::serve at line 77. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- apps/texturecraft/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/texturecraft/src/control_server.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3ac201e7015f523e62b6a67e065cd5b860981ea2329ed4375e97dff42b1c95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/paint/src/pickup.rs: crates/paint/src/pickup.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Pickup::stamp at line 104. 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 10:40:45 -05:00\u0027 --until=\u00272026-11-06 10:40:45 -05:00\u0027 --full-history --no-merges -- crates/paint/src/pickup.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/paint/src/pickup.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"238321110bfef98c60f085df42a40b96172f96404a3cb373f9d6b138c0369dcc"}},{"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":"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":"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.0","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.4","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.0","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"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 6/9 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060apps/texturecraft-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(red[0] - 0.4361).abs() \u003C 2e-3 \u0026\u0026 (red[1] - 0.2225).abs() \u003C 2e-3 \u0026\u0026 (red[2] - 0.0139).abs() \u003C 2e-3\u0060 appears character-identically in 2 files \u2014 crates/formats/src/icc.rs, crates/texel/src/colorspace.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/formats/src/icc.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"66eeceef44ff1e138929c77b98330891d904d69e58dae540db023ca3630af96f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060count \u003E MAX_ELEMENTS || stack.len() \u003E MAX_DEPTH\u0060 appears character-identically in 2 files \u2014 crates/formats/src/materialx_read.rs, crates/formats/src/mesh_import/dae.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/formats/src/materialx_read.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0145b4e48c56fd13b579ad8cabf3ab99fbd86eebcab5dee80d8f847cee869"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060stroke_values\u0060 turns every \u0060Err\u0060 into \u0060BTreeMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/painting.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b566a29f9177c077e417efab92aba3a40f240a31a8a3a79cff05bed16de56"}}],"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":19,"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."]}]}