{"$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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"figcraft_ui_egui::icons::draw::draw (cyclomatic 183): figcraft_ui_egui::icons::draw::draw has cyclomatic complexity 183 (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/icons/draw.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45e028fcb137da19193d97d65b70e485e728e9c6c27e8aa103893b208f8aec6"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::layers (cyclomatic 78): figcraft_ui_egui::panels::layers::layers has cyclomatic complexity 78 (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/panels/layers.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00dee221842ebbb7dc38ef19f373429aaf545736236cc9b83fc285f3695abda"}},{"ruleId":"D1","level":"warning","message":{"text":"FigApp::handle_ui_requests (cyclomatic 67): FigApp::handle_ui_requests has cyclomatic complexity 67 (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/app/commands.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a93ef9bbad3e390cbcad07b1a5cfd02bbdc780850680c391d4be02d6b59c852"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::input::input (cyclomatic 67): figcraft_ui_egui::canvas::input::input has cyclomatic complexity 67 (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/canvas/input.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5f8347b0c9dc0aeadfbb6d3c14acf236af1503db4236cb68b2b7d574920c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::drag (cyclomatic 65): Session::drag 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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18dbcbd7e696ae09caec5ccf352f05c32bdbe84bc261348f2b9017cf106ed82"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::tailwind::decl (cyclomatic 63): figcraft_engine::dev::tailwind::decl has cyclomatic complexity 63 (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/dev/tailwind.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"840a597b16d2b63524eec9fb5eabddc760ceca72c1c70c93ef6715eaff18af14"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::import (cyclomatic 60): figcraft_format::penpot::import has cyclomatic complexity 60 (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/format/src/penpot.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86a8ecc18a4b60c6ae5a190d15c08840c3087a5c33d8888b10ac7f2073f73a7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::input::input (cyclomatic 59): figcraft_ui_egui::present::input::input has cyclomatic complexity 59 (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/present/input.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3687b70975f3f0c8e9c407c109e0a6b7cb47fc4a80cffdf5762be7427511fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::vector_down (cyclomatic 58): Session::vector_down has cyclomatic complexity 58 (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/canvas/vectoredit/pointer.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"23db3cf1caebc8c19c2bc139f401a93543a8dbd93801b2e935d1c55212554506"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::pages (cyclomatic 58): figcraft_ui_egui::panels::layers::pages has cyclomatic complexity 58 (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/panels/layers.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7634db8661df32e23f76c4fed37a899fb108ee2d29f3c10a2443cc314e2f38df"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::bound (cyclomatic 50): Exporter::bound has cyclomatic complexity 50 (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/format/src/fig/export/assets.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a7bf42fd3f6771df570c2e809100ece6d0016b8cc4296ef4a0a79ae54c93ec"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_text::layout::layout (cyclomatic 50): figcraft_text::layout::layout has cyclomatic complexity 50 (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/text/src/layout.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59de05620d8e16f79637e8a44d5ee29389c70266895727bd5fcbfe412363472"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::number_field_impl (cyclomatic 50): figcraft_ui_egui::widgets::number_field_impl has cyclomatic complexity 50 (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/widgets.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6b880e24f652641223518ee74b221c5ae48da90e48036dcc898dd2129fcf86"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::move_down (cyclomatic 49): Session::move_down has cyclomatic complexity 49 (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/canvas/tools/drag.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5109eb4023109447313caaaf7d56d6842cf5dd86ea4886b5b2f87c4f0cc612c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_render::draw::draw_layer (cyclomatic 48): figcraft_render::draw::draw_layer has cyclomatic complexity 48 (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/draw.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe1c9dd128a41bd356d086fb53ea33a7918bb3aa3b759fead8793337be93fde"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::menus::invoke (cyclomatic 48): figcraft_ui_egui::menus::invoke has cyclomatic complexity 48 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab1721bcb0c82fef8cd433d959904f88729db289c1e0f9676efca5a217f6a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::layer (cyclomatic 47): Exporter::layer has cyclomatic complexity 47 (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/format/src/fig/export/layer.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"394cf239664740bfa9df14cf3d2aba47568eee7a99997908eab24128ec154c8b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::menus::popups (cyclomatic 47): figcraft_ui_egui::menus::popups has cyclomatic complexity 47 (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/menus.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d0590b321d167f1ab91aa88f08f7367bfb67be581f50b6ca7e9f0dab4428aa"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::network (cyclomatic 45): Mapper::network has cyclomatic complexity 45 (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/format/src/fig/map/layer.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0935f16dc5616a4714d1cdf873231d48ef4221617656a29d03de6a9b66d83a0"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::properties_ui (cyclomatic 45): figcraft_ui_egui::panels::component_panel::properties_ui has cyclomatic complexity 45 (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/panels/component_panel.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43a7b20bc1a86fa6d0075973dca2afe4a6535e0e45ffa2fe14dc83b493b7b70"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::import_themed_tokens (cyclomatic 44): figcraft_format::penpot::import_themed_tokens has cyclomatic complexity 44 (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/format/src/penpot.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb87d7f1cbd6fb037259619a2a3797bc105d7f13c69609f8aa7f94cd3d6d4cb"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::input (cyclomatic 44): figcraft_ui_egui::canvas::handles::input has cyclomatic complexity 44 (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/canvas/handles.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47465d3ca7ce0386f7192de0246d5dbfb764bdcc5d107f8e48ce86d22e77978"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::action_fields (cyclomatic 43): figcraft_ui_egui::panels::proto_panel::action_fields has cyclomatic complexity 43 (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/panels/proto_panel.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"00df1f40935da15074db3c1a035aa2520fdf33f554b5a5e1752174c84881b794"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::a11y::keys (cyclomatic 42): figcraft_ui_egui::a11y::keys has cyclomatic complexity 42 (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/a11y.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"166ce5943b8024cd34304cab7a4e8aa7cf06d82e1bd7287d4493758bf5d119ed"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::apply (cyclomatic 42): figcraft_ui_egui::canvas::handles::apply has cyclomatic complexity 42 (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/canvas/handles.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf26bd3a282f38272a745037dfca2eda040fb4329e2cebde788378a939cd997"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::show (cyclomatic 42): figcraft_ui_egui::widgets::colorpicker::show has cyclomatic complexity 42 (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/widgets/colorpicker.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"75de15a946c21a738bd1c2b8d3789367b8ec2fdc14fa01acc8cad8e9da49a09e"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::up (cyclomatic 41): Session::up has cyclomatic complexity 41 (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/canvas/tools/draw.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dead95e65fb9558cd3df62a27d71676bf8326de7942cd6a7230be55a21ce24b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library_swap::swap_library (cyclomatic 41): figcraft_engine::assets::library_swap::swap_library has cyclomatic complexity 41 (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/engine/src/assets/library_swap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4318f35fcb43b1408819e74597c575b7828f70a65e3172fae3978a220ba2d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::textedit::key (cyclomatic 41): figcraft_engine::canvas::textedit::key has cyclomatic complexity 41 (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/canvas/textedit.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8cfd030810bfeeb8877d4f47e6122edf85e91e50a2af054d0c48af9a6a8ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::sketch::tree::layer (cyclomatic 41): figcraft_format::sketch::tree::layer has cyclomatic complexity 41 (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/format/src/sketch/tree.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"82831effda9e65677f8c1a180c5dd1c3bb4dcf2539c45607de86060da061dfb9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_render::draw::draw_content (cyclomatic 41): figcraft_render::draw::draw_content has cyclomatic complexity 41 (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/draw.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"659766c4a99acf8099da238710f9ae1f78cadeefece52d451edc6be64cb67bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::overlays (cyclomatic 41): figcraft_ui_egui::canvas::overlays::overlays has cyclomatic complexity 41 (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/canvas/overlays.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"308053ad71e11cc76b223a6261629ea512ee2e3b4cb54f94ca0ea67bac2e2e68"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_shape (cyclomatic 40): figcraft_engine::cmd::props::apply_shape has cyclomatic complexity 40 (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/engine/src/cmd/props.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"9347264692c07149c4a465001af86868d55988781eb6de29fe6d24ad96e9dac0"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::layer_filtered (cyclomatic 40): Mapper::layer_filtered has cyclomatic complexity 40 (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/format/src/fig/map/layer.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc31994c104a620ceef80903655eada8cfeb550c7fe5384eaee13771dc7fb77b"}},{"ruleId":"D1","level":"warning","message":{"text":"FigApp::frame (cyclomatic 40): FigApp::frame has cyclomatic complexity 40 (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/app.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d142ad1a5ddf05f8bbe0cd2c0d5ea77c855c71d6836af1846a55cad5a75768e"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::paints (cyclomatic 40): figcraft_ui_egui::panels::right::paints::paints has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/paints.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b834c77363bd3b8ac463dfa017d03f432b22b0833d49418790fddab3104433"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::common (cyclomatic 38): Exporter::common has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/layer.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9863e40ed68e56037ad23f9f76d11381a94cd2ff05132cb61db410e03913898"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::selection_spacing::input (cyclomatic 38): figcraft_ui_egui::canvas::selection_spacing::input has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/selection_spacing.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"819bd39413a8aa811aba085a18074112c2f5dec8678b1ba420b3e4d9545f0cce"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::shortcuts::key_event (cyclomatic 38): figcraft_ui_egui::shortcuts::key_event has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/shortcuts.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"739eded09d946f1bbe6943091a69ae6ca77216833a6c8ef1e8c795634806c1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::listing (cyclomatic 38): figcraft_ui_egui::widgets::style_picker::listing has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/style_picker.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6211e94427c395fdd5651950fd1f77852adecbfc9845dd2ae66d29ef8aaa94"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::resize_drag (cyclomatic 37): Session::resize_drag 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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"35751f47239eab3d780b3cd1689948140a3d5d7f2d31b0e10ebe8c9112ede514"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::show (cyclomatic 37): figcraft_ui_egui::dialogs::show 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/dialogs.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d3f7c25569afb2e4b67fd38127794456448c1a2f39ae30834802556dad87dd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::header (cyclomatic 37): figcraft_ui_egui::panels::right::header 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/panels/right.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"466fc00e7637be697d4b1ef974b8428eaea4e8e2970ff472fe2f2c8d932e637c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::fields::type_settings (cyclomatic 37): figcraft_ui_egui::panels::typography::fields::type_settings 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/panels/typography/fields.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b361e1dbf17e6907fad4e9f8934d12c3ae0330901c62fb60336ef732a18b3a95"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::vector_hover (cyclomatic 36): Session::vector_hover 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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"be688a1f925e05180b8e22527c32023fd05645e84a60611a3ab8d0dc038f547f"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_layout::layout_frame (cyclomatic 36): figcraft_layout::layout_frame has cyclomatic complexity 36 (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/layout/src/lib.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"528c50a2af846fa295f75dee4ae9bee9da41de2cd5a28fbc8525892fdbae2fd6"}},{"ruleId":"D1","level":"warning","message":{"text":"Presenter::perform_at (cyclomatic 36): Presenter::perform_at 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/present/actions.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4ced11c5cbbcddb6dfd739cf1d0c92c7ff926e1f1409f11167b693591440e3"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::tabs::tab_bar (cyclomatic 36): figcraft_ui_egui::tabs::tab_bar has cyclomatic complexity 36 (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/tabs.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c765dcc6df361fd6435d393fc45a2eb8665588266cdca6273a46df6b624aa9b"}},{"ruleId":"D1","level":"warning","message":{"text":"Markup::element (cyclomatic 35): Markup::element has cyclomatic complexity 35 (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/engine/src/dev/codegen/html.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb7531d76e22f95f29875751392a7e31a08dc2c887f0a0ae88bdb302a8cb8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::vector_drag (cyclomatic 35): Session::vector_drag has cyclomatic complexity 35 (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/canvas/vectoredit/pointer.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"c873e3fc32440d1bc9036195a3ade078ed49408294cb2ea6d2e91002ae4b873d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::arrange::scale_node (cyclomatic 35): figcraft_engine::cmd::arrange::scale_node has cyclomatic complexity 35 (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/cmd/arrange.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c242cfdc37ca6a012f6fc6c5c16a2ebc923d3807d0ca18cb1c48b1905660f8a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::assets (cyclomatic 35): Exporter::assets has cyclomatic complexity 35 (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/format/src/fig/export/assets.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc905b71703aa8e9b5936784d791d6db69b4f63bf4296271ac68c36e3d2b1ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::instance (cyclomatic 35): Mapper::instance has cyclomatic complexity 35 (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/format/src/fig/map/component.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a0606ebd3e6ecdb2947edd8f55b924b62ff101814d2bd5fda4ea343781c1bd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::bind_applied_tokens (cyclomatic 35): figcraft_format::penpot::bind_applied_tokens has cyclomatic complexity 35 (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/format/src/penpot.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3a1b3d039411958bc34db2068e75f20662489e1bba3cee536b534107721302"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::composer (cyclomatic 35): figcraft_ui_egui::canvas::comments::composer has cyclomatic complexity 35 (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/canvas/comments.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c966e706323f269924bddaba0991b5aa154bac5d2fdedae9d4bde4502db040"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::value_cell (cyclomatic 35): figcraft_ui_egui::dialogs::variables_panel::value_cell has cyclomatic complexity 35 (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/dialogs/variables_panel.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8a3fd583cac735f7e596b98299f8b0b069fe231ecd95bd8995fa49dfb35663"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::hover (cyclomatic 34): Session::hover 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/engine/src/canvas/tools/pointer.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fbb83ab5fa48ef550d968a366ee467c6a8524244c03cf8ffaad885518909ac"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::instance (cyclomatic 34): Exporter::instance 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/format/src/fig/export/component.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"137168950eb0e37c8a02d1fac942e3ff4ac01172072afef132cc568c5da21174"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::match_instance_tree (cyclomatic 34): figcraft_format::penpot::match_instance_tree 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/format/src/penpot.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e734ae4136c2346b3fb745fe93614deb1011ec7ff29366aa2899c81fd5c9f677"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::sketch::symbols::apply (cyclomatic 34): figcraft_format::sketch::symbols::apply 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/format/src/sketch/symbols.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b308142f12ce0c3551a31109ec91e7ca2ef716f4860e5b263d6ddf2c4413b443"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::picker::font_picker (cyclomatic 34): figcraft_ui_egui::panels::typography::picker::font_picker 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/ui-egui/src/panels/typography/picker.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c76184506e972598f2e52f4949dca924def9883df086a4ccfb413d84703e40"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::player::top_bar (cyclomatic 34): figcraft_ui_egui::present::player::top_bar 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/ui-egui/src/present/player.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"be718996daed112923b2ac3cf234e2462d66bc9a7ef9af2162d55a142ed67096"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::styles::apply_bindings_matching (cyclomatic 33): figcraft_engine::cmd::styles::apply_bindings_matching has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::cmd::styles::bound_field (cyclomatic 38) 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/engine/src/cmd/styles.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad14a4ab7d4ee6c71052ae3b2f2feb71335f56f018ea647e0e46b47f474c77ed"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_text::layout::finish_layout (cyclomatic 33): figcraft_text::layout::finish_layout has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/layout.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"3060b9615729248c426caca7b5538ea86678e02033a48eef06aa69cafc143fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::edit_prop (cyclomatic 32): figcraft_engine::cmd::component::props::edit_prop 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/cmd/component/props.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"67627c9732f446615721226ef39fe1941ac2a67a5d1c84d7a5432acd4dc31133"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::text (cyclomatic 32): Exporter::text has cyclomatic complexity 32 (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/format/src/fig/export/shape.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"988b79b83874cee7f82eacff25a718d479c93b686bb101795e3067ceb76732aa"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_render::retained::patch (cyclomatic 32): figcraft_render::retained::patch 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/render/src/retained.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0ab545351ea7530fccbfeebebdd0072d18c9b05c2d9ecf728618c000757a49"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_text::layout::shape_segment (cyclomatic 32): figcraft_text::layout::shape_segment 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/text/src/layout.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3df08e841b47aa7a60cbb22d7f52e5c5973006a79852d3528854ef3c27711c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::publish_form (cyclomatic 32): figcraft_ui_egui::panels::assets_panel::publish_form 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/ui-egui/src/panels/assets_panel.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e9d7a1348f38c2273824d45e3008bb31a42b7d761c76a48e4304d9aac685ce"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::enabled_libraries (cyclomatic 32): figcraft_ui_egui::panels::assets_panel::enabled_libraries 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/ui-egui/src/panels/assets_panel.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1f7188ad349da13edb83abe27c103cf91ed81fb79f8cd570b80b2f2a49448"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::live_event (cyclomatic 31): Session::live_event 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/engine/src/sharing/live/events.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"03742ac55493407d68865b72d869d412344ae3b59d5c704fdd9971b23ed8175b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::diff::diff_groups (cyclomatic 31): figcraft_engine::assets::components::diff::diff_groups has cyclomatic complexity 31 (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/assets/components/diff.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b70945502b329a638c99970f233b7bda009e58f4d640688bfd6f0ccb1d4191"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::thread (cyclomatic 31): figcraft_ui_egui::canvas::comments::thread has cyclomatic complexity 31 (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/canvas/comments.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"f598f226196fbf0a006c61195fb6300cc870ce572de1e108c69932c6ff279cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::alignment (cyclomatic 31): figcraft_ui_egui::panels::layout_panel::alignment 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/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f5ae2c228a7a6c8ad841b966426d143748b38fb1e2bab414a4f3ae62d3be21"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_editor::action_item (cyclomatic 31): figcraft_ui_egui::panels::proto_editor::action_item 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/ui-egui/src/panels/proto_editor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ce9d43fa83af317e07b4db0413439ba49df6707af89be2404271524c0c853"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::show (cyclomatic 31): figcraft_ui_egui::widgets::style_picker::show 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/ui-egui/src/widgets/style_picker.rs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"0920c8d6f7cbbd0f05255ed68cddcb972e3580f66748af03bb18c74ffd5c62d6"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::create::create (cyclomatic 30): figcraft_engine::cmd::create::create 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/engine/src/cmd/create.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8197db1e5339a7a268df69c8a57dee1fecb4ac81839edd0c0982f4b1e1cefd63"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_look (cyclomatic 30): figcraft_engine::cmd::props::apply_look has cyclomatic complexity 30 (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/cmd/props.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"279a99f088e2a21a41599bef659fe8a7adcac12f49f7f0b96fd4617e281c785c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::derived::normalize (cyclomatic 30): figcraft_engine::derived::normalize 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/engine/src/derived.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd0f51660af04bf9d4b1c22a49f83eb78fa2e68dcf3f6984b7ddaa06fcf1462"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::bindings (cyclomatic 30): Ctx::bindings has cyclomatic complexity 30 (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/format/src/rest/variables.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa81a21a3fb0f02146f2220bc5105653f64d36b600677b6a6c22f89fd377219"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::guides::input (cyclomatic 30): figcraft_ui_egui::canvas::guides::input 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/canvas/guides.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3358be994ed04788ad433b8de920ab6d1480f43e78b78479c6354a214a9d45"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::dimensions (cyclomatic 30): figcraft_ui_egui::panels::layout_panel::dimensions 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/panels/layout_panel.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c82d97069f91b25b05fe20c14e63e959bc1b20bcdea7a1b025e0c30671c299"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::variable_ui::picker (cyclomatic 30): figcraft_ui_egui::panels::variable_ui::picker has cyclomatic complexity 30 (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/panels/variable_ui.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cca52a8bd40ceb49fd62e6bcdffda3749ef77cd18331e6e7195c232482cea27"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::double_click (cyclomatic 29): Session::double_click has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/tools/click.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"018b3d5041fe1568f674b56dce6243cbe0a994bc478c962069025a6def0693c9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::instances::copy_group (cyclomatic 29): figcraft_engine::assets::components::instances::copy_group 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/engine/src/assets/components/instances.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfdfd54959f86ffef4423f92b1ee0ad3a0c02676ee2a4edc4f1cadc7cd3308b"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::shape (cyclomatic 29): Exporter::shape has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/export.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e4471e708e063ad7384849092c591fa0c3da8c4e554eb0c4b0c9e557cbdbba"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::rest::text::type_style (cyclomatic 29): figcraft_format::rest::text::type_style 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/format/src/rest/text.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"78483ba1b4c5f4351f39730f3b6a1369002b914dc05580db3f51d9ae0a8f40e4"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_layout::apply_constraints (cyclomatic 29): figcraft_layout::apply_constraints has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/layout/src/lib.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d59a4e47cc026019c478d3156825da7ed8ba5d4ba91c9fac5a62ba2f598978"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::panel (cyclomatic 29): figcraft_ui_egui::canvas::comments::panel has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/comments.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"c403660f78ad8281610d3ba4f859f090c129c6cc0aadad1dbb03c288153e846a"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_server::cli::run (cyclomatic 28): figcraft_server::cli::run has cyclomatic complexity 28 (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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_server::cli::parse (cyclomatic 32) 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":"apps/figcraft-server/src/cli.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89c0d6e5cf3b159c34cba090053c9666d5f01207032202ed678dd18a49d50f7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::codegen::flutter::flutter_widget (cyclomatic 28): figcraft_engine::dev::codegen::flutter::flutter_widget has cyclomatic complexity 28 (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/dev/codegen/flutter.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d7865dce2058bad53fa554926dc3f7533fe30a77b06da407ba707212cd8f5d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::keymap::display (cyclomatic 28): figcraft_engine::keymap::display has cyclomatic complexity 28 (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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::keymap::normalize (cyclomatic 33) 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/engine/src/keymap.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6769723464827ab197da9a14499ec656e9f63b062657f91a606dc5e888f9a"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::assign (cyclomatic 28): Exporter::assign 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/format/src/fig/export/assets.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3467bb5685f5694feeb2d74acfe969a751d6e75f9925bb1ee94137421a4fde"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::components (cyclomatic 28): Exporter::components 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/format/src/penpot/export.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b21c7114d578b6ad16346592e6c89f418ee02c6c4d49db6ddc9a3cf7013329"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::text_style (cyclomatic 28): figcraft_format::penpot::text_style has cyclomatic complexity 28 (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/format/src/penpot.rs"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b30ee4747ecdb57f155690545d9a9342c396da1d3d6980476245c8895d6f14"}},{"ruleId":"D1","level":"warning","message":{"text":"W::render_node (cyclomatic 28): W::render_node 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/svg/src/lib.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c65ac7271f43d67d9ec3399d19ab2a8b0c7fa99c1175e900a19abb8706a66b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_svg::import::fx::primitive (cyclomatic 28): figcraft_svg::import::fx::primitive has cyclomatic complexity 28 (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/svg/src/import/fx.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67dbe063200dbbc4388abebf02333caeb33326e879f5ee7d3861bf0e4a4e6dc"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::al_zones (cyclomatic 28): figcraft_ui_egui::canvas::handles::al_zones 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/ui-egui/src/canvas/handles.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15eed52fee4a3f1c9fca07bfc68d23f508a70ad5d1daf88f8846ad7f42af8bc"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::trigger_rows (cyclomatic 28): figcraft_ui_egui::panels::proto_panel::trigger_rows 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/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5d4a2831e0c4cf8aa67bd0f05cb7068f69c3c5ccfea54f620ce9aa4aa78ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::versions::act (cyclomatic 28): figcraft_ui_egui::panels::versions::act has cyclomatic complexity 28 (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/panels/versions.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f903d8422ca08d02baec9e1e888325912ad9375631bc39f80b50cdace64e5d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::chrome::show (cyclomatic 28): figcraft_ui_egui::present::chrome::show has cyclomatic complexity 28 (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/present/chrome.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be80d6d6a640d5f5238e21db5728d1bcfd37b25581e05122d73344329db089"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::model_fields (cyclomatic 28): figcraft_ui_egui::widgets::colorpicker::model_fields 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/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e99e303d5847a492cc8224d094874327f04db7a80048e5abb3a03cae3bd09"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab::docprops::apply_indexed (cyclomatic 27): figcraft_collab::docprops::apply_indexed has cyclomatic complexity 27 (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/collab/src/docprops.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a74dcba27be5ae980dba22e84812072b309da8a9c9a8174482b71d433e246"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorNetwork::rounded (cyclomatic 27): VectorNetwork::rounded 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/doc/src/vector.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"021ac38c08b2b1bd9c207adf7e1da49cfbf7a9a2b86b3a52f6b491c8b941bfe7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::patch_copies (cyclomatic 27): figcraft_engine::assets::components::patch::patch_copies 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/engine/src/assets/components/patch.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2baa67a79a7fbacd6c47f9de4b8dafd4ece9831274602ff8f32c0b09e966fc4"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::key (cyclomatic 27): figcraft_engine::canvas::vectoredit::key has cyclomatic complexity 27 (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/canvas/vectoredit.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaadbcf20d1f6589ebd78ed7fe6a2accd214b325d2cd6b79783275ff3713ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::code_connect::check (cyclomatic 27): figcraft_engine::dev::code_connect::check has cyclomatic complexity 27 (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/engine/src/dev/code_connect.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"720ba2c9f97be9fc2882cdd3ba66bdf97f8b3a1859c3c8a14558d917f6397117"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::codegen::swift::swift_layer (cyclomatic 27): figcraft_engine::dev::codegen::swift::swift_layer 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/engine/src/dev/codegen/swift.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d95f84513a78ac2b9fd4afc6fa4ad3fa760a3c721bc84a99ff8722d8a2fe0e1"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::text_node (cyclomatic 27): figcraft_format::penpot::text_node has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbabccfad273e72530dd6b14d7c09f961e9c33d3df438a0f2d5e329363706db"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::paints (cyclomatic 27): figcraft_format::penpot::paints 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/format/src/penpot.rs"},"region":{"startLine":4133}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f0ff2030f882ba991d1d23b6fc640cdae4edc64609d3e277f7ef5fdbb3e78"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::instance_ui (cyclomatic 27): figcraft_ui_egui::panels::component_panel::instance_ui 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/ui-egui/src/panels/component_panel.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b07e34846ebbf7cc2b129e359a15a2d192dd44a9bed8b4482da7aa4767dc4d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::dev_resources_section (cyclomatic 27): figcraft_ui_egui::panels::dev_mode::dev_resources_section 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/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dad884c19538ee9126d883c588e675903f9565e924e1f732cf9f120b8ccac2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::right_panel (cyclomatic 27): figcraft_ui_egui::panels::right::right_panel 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/ui-egui/src/panels/right.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9835906a2e0dec617e03f5b1b22930c0fe23cc43f165971ab6771a798b75dc"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::paint_row (cyclomatic 27): figcraft_ui_egui::panels::right::paints::paint_row 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/ui-egui/src/panels/right/paints.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c3f27ecb850d4fb64f55a1bc0a88b700ef1a21d77df954b9d378123f390cba"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::pointer (cyclomatic 26): Session::pointer has cyclomatic complexity 26 (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/canvas/tools/pointer.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c675a6d8488c08fcea57a383da0fd08ae810e06a2951210f7e188caaee641104"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::sync_after_edit (cyclomatic 26): figcraft_engine::assets::components::patch::sync_after_edit 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/engine/src/assets/components/patch.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff2cc9a06614bf71659a80bc8dc3b0d8eb2ab87aa7359696074882ff2b3d3f"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::font_report_with_families (cyclomatic 26): figcraft_engine::cmd::file::load::font_report_with_families 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/engine/src/cmd/file/load.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"611d30e5b3070aa117be1d1244b5279e4b5e6bb81092bea753ccccf69ed4cf67"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_sizing (cyclomatic 26): figcraft_engine::cmd::props::apply_sizing 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/engine/src/cmd/props.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02deb32f24cac587fb4a1c9f58b81bdf47e0ac0c2f5e8871c8ab8a1e170c3e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::board_snapshot (cyclomatic 26): Mapper::board_snapshot 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/format/src/fig/map/layer.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ae4a802f9806e88292513a2112c481b0efcbcaee31ebf5b93efe89250d6901"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::interaction (cyclomatic 26): Exporter::interaction has cyclomatic complexity 26 (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/format/src/penpot/export.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0529f2c3a0e66ea82b4b4ccf2c69d40da164086d96c6edf004596c1827dda5c"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::expr (cyclomatic 26): Ctx::expr has cyclomatic complexity 26 (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/format/src/rest/proto.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d237fb5172c0015d6e5298127d2833ff11775ef15adcc8b7cfa6ef9301504e"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::fig::map::paint::paint (cyclomatic 26): figcraft_format::fig::map::paint::paint 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/format/src/fig/map/paint.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"82998132123324b83e86fc20bff8a31eadd65236748578a183ab56dff01239f7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_svg::import::group (cyclomatic 26): figcraft_svg::import::group has cyclomatic complexity 26 (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/svg/src/import.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ed18527a6376aa8c24e77c7da332120af6a5c8cb67b400c255389e460de151"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::versions::panel (cyclomatic 26): figcraft_ui_egui::panels::versions::panel 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/panels/versions.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"896ea08186140e2dc9ee239b01bb7d876aa69e8ea6daf0eb0f9b7d88fc6b9624"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab::diff::diff (cyclomatic 25): figcraft_collab::diff::diff has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab/src/diff.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b6d06773c9063de675f0fa7648cc5cfc25f42eb577ba79937f3ceaa4b0a9e"}},{"ruleId":"D1","level":"warning","message":{"text":"Hub::handle (cyclomatic 25): Hub::handle has cyclomatic complexity 25 (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/collab-net/src/hub.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb85279a977ade2406bd26a5548ccd97cca95c8da39637d8a6b33321d563b449"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::shapebuilder::apply (cyclomatic 25): figcraft_engine::canvas::shapebuilder::apply has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/shapebuilder.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"856b9d36d841e94a8f9e94637393c83eeac89826f8d2f1dc89ccde9039373a04"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_layout (cyclomatic 25): figcraft_engine::cmd::props::apply_layout has cyclomatic complexity 25 (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/cmd/props.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43397bdc9c51b44b327510d1918d3ad34cdee40075babf8d026c544e13bd906"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_text_style (cyclomatic 25): figcraft_engine::cmd::props::apply_text_style has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceda3fd79943f5574e50749084ba67d80b86371463157fd57ce7304e50d904e9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::variables_io::import (cyclomatic 25): figcraft_engine::cmd::variables_io::import has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/variables_io.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"523b4281507ddf6e2d2b7d0e4425931d3d8386789a8330026b0a831ce7437330"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::value_expr (cyclomatic 25): figcraft_engine::dev::component_codegen::value_expr has cyclomatic complexity 25 (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/dev/component_codegen.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f4d116925aa9082af44fddde6516a30e41991ee8566c98faa4718519982129"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::link_local_instances (cyclomatic 25): figcraft_format::penpot::link_local_instances has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe2be80f9d67b5d3299b92ac4f7a08a0ed3413e1c8ad94e235f9889f0f7fc85"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::composite_token_style (cyclomatic 25): figcraft_format::penpot::composite_token_style has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889dd6a7f1b305e9ea55c93fc432ea1dcb4fd35875b6e8c6a79eea955cbc743"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::content (cyclomatic 25): Exporter::content has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pdf/src/draw.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf93c0587f12c0a1fb057e6fea9b435cadf6d157c57a4053049c8bad8d929bb"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::show (cyclomatic 25): figcraft_ui_egui::canvas::show has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bc39666c0612e6dd46bcc2bd10053d8296bc13555991c047c0816d96cbf7a8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::branch_ui::show (cyclomatic 25): figcraft_ui_egui::dialogs::branch_ui::show 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/ui-egui/src/dialogs/branch_ui.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e095eef5d8f8023a4fadae022f00f6bc66431ea8782ba144536b58131ef35d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::effect_settings (cyclomatic 25): figcraft_ui_egui::panels::right::effects::effect_settings has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/effects.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0562f544faa0379e2d849fb6cccb050def7410f54a276e29369d4b8ad00037f2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab_net::hub::conn::serve (cyclomatic 24): figcraft_collab_net::hub::conn::serve 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/collab-net/src/hub/conn.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a368f7f123cbf12ef68189245222938f1780044c7c50ab97eb9dc45c599cf4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Expr::type_at (cyclomatic 24): Expr::type_at 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/doc/src/proto_expr_parse.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a24344ea720364f2e932a3379645403c5c34c61ebfc9e0e85eac09c86ea06df"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_doc::proto_expr::apply (cyclomatic 24): figcraft_doc::proto_expr::apply 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/doc/src/proto_expr.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"896f2b61e96120f6ffe3df3eeca7943ec22d6607e8664e9aa9049c068bd80d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::devinspect::auto_layout (cyclomatic 24): figcraft_engine::dev::devinspect::auto_layout 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/engine/src/dev/devinspect.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b583c74554fdc30301c42aa51133178d8b94cac6bf7e1c51f8571c6c3765d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::strokes (cyclomatic 24): Exporter::strokes 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/format/src/penpot/export.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c717763573b3bc66306352643f2c9f2e103360025e03a201c80d6ea82e9d42"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenExpr::atom (cyclomatic 24): TokenExpr::atom 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/format/src/penpot.rs"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f38e4119fe37a6b05f764e55f18a441d25624e98f39fa37859a6f3416ffd3ea"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::sketch::symbols::instance (cyclomatic 24): figcraft_format::sketch::symbols::instance has cyclomatic complexity 24 (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/format/src/sketch/symbols.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"905b2da320e5e62d6064d081d4a9bb0ba1f8b4212c22a7befd2bbe9f1ff6b614"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_layout::layout_grid (cyclomatic 24): figcraft_layout::layout_grid 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/layout/src/lib.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c9b5fa1d7807ce109b5b3acb6149a8c570c5a849bb88c9e716bcd172e4a648"}},{"ruleId":"D1","level":"warning","message":{"text":"W::simple_stroke (cyclomatic 24): W::simple_stroke has cyclomatic complexity 24 (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/svg/src/lib.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d65443a519d6e2270c5a8dbd96fe3cdd167595d720c6554cd8a72613692ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::selection_spacing::draw (cyclomatic 24): figcraft_ui_egui::canvas::selection_spacing::draw 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/canvas/selection_spacing.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b460875363d59816b1fbf7c75e5f1ad5de22d9e310120bd2e9b2b7dc11f8d9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::menus::palette::palette (cyclomatic 24): figcraft_ui_egui::menus::palette::palette 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/menus/palette.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"178a5922fc6402583ad4b6d6204a06496b2da71a14ce2a3eab5e1fe5fcad6e39"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_compare::show (cyclomatic 24): figcraft_ui_egui::panels::dev_compare::show has cyclomatic complexity 24 (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/panels/dev_compare.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4698a00d706d46f3fdccb659cbecc1b3470340b9c0503ebf93e999bebb1cfd9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::node_icon (cyclomatic 24): figcraft_ui_egui::panels::layers::node_icon 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/panels/layers.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"284a05864c8d1e32e9c4b297660aaf6417c034109f139989126cf85db9578705"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::effects (cyclomatic 24): figcraft_ui_egui::panels::right::effects::effects 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/panels/right/effects.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"53700bfb7a0226ccee20c664fdda47e7330a37a9b55c1472754d03f314ae64b2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::draw::draw (cyclomatic 24): figcraft_ui_egui::present::draw::draw 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/present/draw.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b150b453b79aebd2a13fb3fbf474a7b2086278bbf28bbf130e298314ae00a2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::player::player (cyclomatic 24): figcraft_ui_egui::present::player::player has cyclomatic complexity 24 (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/present/player.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"896818c1e7af4e3efcd20644b1b5287baa875c9b8309f107304882d200abde22"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorNetwork::runs (cyclomatic 23): VectorNetwork::runs 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/doc/src/vector.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b2bc4473e90c51de1188bfa7dcf3d9ae9435aee488a84dd6cc2c90a8a771a1"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::rebase::rebase_instance (cyclomatic 23): figcraft_engine::assets::components::rebase::rebase_instance 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/engine/src/assets/components/rebase.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b80e4f84de0c2ad0f6ae5fbc49f0fd92f378e912d26fd0ad33b9eb7437724f"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library::adopt_pasted (cyclomatic 23): figcraft_engine::assets::library::adopt_pasted 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/engine/src/assets/library.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4425678307dc805c7be52b858613b65f1bc46b7798ff85a74c4dbeaed9b5459"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::tools::handles::resized_box (cyclomatic 23): figcraft_engine::canvas::tools::handles::resized_box 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/engine/src/canvas/tools/handles.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca06030c254d9915abae1c699330bc6f9dd33857089a41ea1d7f6fc55fc57308"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::variable_bindings (cyclomatic 23): Mapper::variable_bindings has cyclomatic complexity 23 (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/format/src/fig/map/variables.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"305c6877efe3f7ecf2ebefaab7cfc2c537bcde914293ea401ef76d30145c8688"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::trigger (cyclomatic 23): Ctx::trigger 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/format/src/rest/proto.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f662f0178ea9ab7ba2c6333fc368159e95695c900797bc2ecf44b1df5be0f058"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::kind (cyclomatic 23): Ctx::kind 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/format/src/rest.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fea3cf02d1177f796560453cdeab55ccb568724e00f9268a4cf6f028b28eb3c"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::common (cyclomatic 23): Ctx::common has cyclomatic complexity 23 (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/format/src/rest.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ee78b25a7ba3624736ec9844f375ff4155a27a08eb0ff0e85f894298516390"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::rest::props::stroke_props (cyclomatic 23): figcraft_format::rest::props::stroke_props 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/format/src/rest/props.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"24be72bae064b52e678525116b51c518a339d7261a7a6f6b19ee3edc231e19f3"}},{"ruleId":"D1","level":"warning","message":{"text":"Manifest::check (cyclomatic 23): Manifest::check 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/plugin/src/manifest.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc558bc02021ef12346fa508a26413847aaa0482659a940dd0cb9124e5e110c"}},{"ruleId":"D1","level":"warning","message":{"text":"W::layer (cyclomatic 23): W::layer has cyclomatic complexity 23 (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/svg/src/lib.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"583921a68d3f980c63f69cdeae3a650c71e67dbd0820955d0868a7c136746c61"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::selection_overlay (cyclomatic 23): figcraft_ui_egui::canvas::overlays::selection_overlay 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/canvas/overlays.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2005be1b13a6ad775909cbe015f6757feb5d917e78b4b563da8d38304b0ed86"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_key (cyclomatic 23): figcraft_ui_egui::control::ui_key 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/control.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"03eb6872c69abc1310fde89774c3bde65d5f3e484797803b7db07ba28b4744b7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::home::home_recents::list (cyclomatic 23): figcraft_ui_egui::home::home_recents::list 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/home/home_recents.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d27f0c13c04c378235f1e9e1bee7968f0ced5c355c430c45fa12558c52d77"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::home::online::row (cyclomatic 23): figcraft_ui_egui::home::online::row has cyclomatic complexity 23 (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/home/online.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8259a94341db88e973a123c30324a7ae9958a6702181c4323f50a98df07bf8c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::selection_colors::section (cyclomatic 23): figcraft_ui_egui::panels::selection_colors::section 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/panels/selection_colors.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3cf2e8ea4292ef26b45c7186cc388883105ed4cea045934deceda95495e98c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft::main (cyclomatic 22): figcraft::main has cyclomatic complexity 22 (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":"apps/figcraft/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4ee172b7bd3066125a9a0f75a65ae81b38f8340a42150825a5f2e9e552d752"}},{"ruleId":"D1","level":"warning","message":{"text":"Store::admin (cyclomatic 22): Store::admin 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":"apps/figcraft-server/src/store/backend.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2596f017e8ca180106d5a673dbfc20718119dead9abce1bca9202ccdbae1f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorNetwork::from_path (cyclomatic 22): VectorNetwork::from_path 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/doc/src/vector.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d0bb7954c09776151907a3e5a561c60b87ea466baba2ac448b6b26583c3ffb"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::patch_structure (cyclomatic 22): figcraft_engine::assets::components::patch::patch_structure 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/engine/src/assets/components/patch.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b4312fb5d6da116c5ab5ba729df2a78a3771111062b49c129d2f76549097fc"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::add_prop_for (cyclomatic 22): figcraft_engine::cmd::component::props::add_prop_for 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/engine/src/cmd/component/props.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a117e276507849154f2ab2ca7f61edf23898f5d1bc549d2321ad807cbdfc0dd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::content::synthetic_ds::design_system (cyclomatic 22): figcraft_engine::content::synthetic_ds::design_system 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/engine/src/content/synthetic_ds.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcca85063f35176644e4a51fec7f9ee8ee5d070d3bf0ee5f2b3c72fda3838fd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::codegen::arkui::arkui_layer (cyclomatic 22): figcraft_engine::dev::codegen::arkui::arkui_layer 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/engine/src/dev/codegen/arkui.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cf9afcb3eac0f972333f00afb9bbb5458117116f033480f394fb3a11a7e975"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::usage_with_styles (cyclomatic 22): figcraft_engine::dev::component_codegen::usage_with_styles 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/engine/src/dev/component_codegen.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9870bcf4df58bdf602f738a116fefee3969fb8912d5e35a9403d3b1dea8ece"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::devinspect::properties_with (cyclomatic 22): figcraft_engine::dev::devinspect::properties_with has cyclomatic complexity 22 (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/dev/devinspect.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bb8b40a65e4c3ce15ee814353d313f6ae44aff41ecac534ebe0356545f230a"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::stroke_geometry (cyclomatic 22): Exporter::stroke_geometry 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/format/src/fig/export/shape.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"effaa4c34c6699b772b2df548317293b963c222200464b933d7acc6b1990f5c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::tokens_json (cyclomatic 22): Exporter::tokens_json 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. This is NOT this file\u0027s highest cyclomatic complexity: Exporter::applied_tokens (cyclomatic 23) 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/format/src/penpot/export.rs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"534e4346926a8ab539cb5de757f29a4544ed48b9907c99745e5f6c560d795801"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::fig::text_path::ordered_chain (cyclomatic 22): figcraft_format::fig::text_path::ordered_chain 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/format/src/fig/text_path.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c31e3a59b6a04f177794a6cb6242353070e5bed61649e1e237ffd98c0418e7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_layout::grid_lines (cyclomatic 22): figcraft_layout::grid_lines 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/layout/src/lib.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"effbe034c26bbe966e82c5686ae095d52278eccc1a2e9a970084b7b26b76e287"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::layer (cyclomatic 22): Exporter::layer has cyclomatic complexity 22 (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/pdf/src/draw.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cb5cb50451d92b30a7eb83da6079b0241822a18ff9aa1ad670c0a8964199de"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::message (cyclomatic 22): figcraft_ui_egui::canvas::comments::message 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/canvas/comments.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3797346bdeea262bd51acaa0b167caeda5cfe53f381eed4b128249ef7e55b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::proto_canvas::input (cyclomatic 22): figcraft_ui_egui::canvas::proto_canvas::input has cyclomatic complexity 22 (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/canvas/proto_canvas.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"42530b3546c4eb651d8bf89b62ba05745970f36cc22dbe69ff48616677e4a63c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::live::people_bar (cyclomatic 22): figcraft_ui_egui::live::people_bar 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/live.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be0b611d303cddb5bc0566914f6d06ce132df365393a1d8b221a62867ae5d85"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::show (cyclomatic 22): figcraft_ui_egui::panels::assets_panel::show 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/panels/assets_panel.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e0c751db4fabe0f818a04d8ba4763a1b3dc4d2e9bd692c1a53b0ef74fe7b73"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::eye_lock (cyclomatic 22): figcraft_ui_egui::panels::layers::eye_lock 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/panels/layers.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b59a4154b1abde2efeb502e670769c7ab9366efe62481e5fd00d260042a461f"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::appearance (cyclomatic 22): figcraft_ui_egui::panels::right::paints::appearance 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/panels/right/paints.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cc7031609fed7f45a7bb4050e55596b862e672783542cfc02ed73ed964fbff"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::local_styles (cyclomatic 22): figcraft_ui_egui::widgets::style_picker::local_styles 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/widgets/style_picker.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e829998c0f2774c7f2cae1a4b74a588eb32f5eb322cec307adce66e252257e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Replica::apply_one (cyclomatic 21): Replica::apply_one 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/collab/src/replica.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"82674d5921e65d0128aa55f5b59b11db7c0ac891fb6720b05b3c2fa01ca0abd6"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::primary (cyclomatic 21): Parser::primary 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/doc/src/proto_expr_parse.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4844bf92581453df3de88306f2498421f4a69164c5329eaf136a7119449bc597"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::draw_drag (cyclomatic 21): Session::draw_drag 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/canvas/tools/draw.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ae2d648aa6ba5368947bf62b764e3dbb42b0c090c431a1a5f270551e208846"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::vector_up (cyclomatic 21): Session::vector_up 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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a785f36b5d91c40cd3319702b7c2432c414152e17b64cc4352c38cb95520e11"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library::import (cyclomatic 21): figcraft_engine::assets::library::import has cyclomatic complexity 21 (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/engine/src/assets/library.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dddcc231a5aa4bfadd2c9cccecb06fd3cdc57c543a788946e8ba10107a98357"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::automation::inspect::dev_props (cyclomatic 21): figcraft_engine::automation::inspect::dev_props 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/automation/inspect.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e35c3d7737a39b445bd070f5f23beb9bc996a2131e0bd7f88a9c659d6f5356c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_text (cyclomatic 21): figcraft_engine::cmd::props::apply_text has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"783419b64a494eb96fa38eca66c05256f814ec7dc6145bb9feb37ac5634e781d"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::connector_snapshot_children (cyclomatic 21): Mapper::connector_snapshot_children 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/format/src/fig/map/connector.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74d97669252a51d15f6a4688a899f534f405dcb7c622525be560c5ab26987b"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::text_path (cyclomatic 21): Mapper::text_path 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/format/src/fig/map/text.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0946225a6df12bf6b6f171f722337c2525a699bee8afc721cc146836807c974"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_text::layout::restyle_breaks (cyclomatic 21): figcraft_text::layout::restyle_breaks 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/text/src/layout.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5dd666236e8f9c6c2128de93fa5c59825a5b4397269035355f08ad2dacc850"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::draw (cyclomatic 21): figcraft_ui_egui::canvas::handles::draw has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/handles.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed412706cd605d8719b37dc2d8f9835bedad54ad4b3ccc1ab111e97ec977432"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::vector_overlay (cyclomatic 21): figcraft_ui_egui::canvas::overlays::vector_overlay has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f46657881cf943a8ec17f86c0e1e2029cb31223429c02172783e4f6a11f74ec"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::export::export_dialog (cyclomatic 21): figcraft_ui_egui::dialogs::export::export_dialog 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/dialogs/export.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab9042a81ed5fc9a8fba8e763434e062f7cd10c5ed3775b8cfe1be8977500d5"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::menu_input::menu_input_dialog (cyclomatic 21): figcraft_ui_egui::dialogs::menu_input::menu_input_dialog has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/menu_input.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362648718e0582fb37a2cd93ffa5ffbc1d86eb3a6351d18d438cfeebf6cf400"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::live::share_popover (cyclomatic 21): figcraft_ui_egui::live::share_popover has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/live.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f93f903940f39d69c2f381f18f5de955eff184fbb40c7adf3e411b265b6ff"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::playground_section (cyclomatic 21): figcraft_ui_egui::panels::dev_mode::playground_section has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c81cfe85c6865fd7b92078045a9b5855c43b52fa2d0ea2f70ed10141d2c60b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::animation_rows (cyclomatic 21): figcraft_ui_egui::panels::proto_panel::animation_rows has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eda64ca649f1926bbdcf4691fc3205678596a3e69fdb646befacb1e1a51e52"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::section_panel::section (cyclomatic 21): figcraft_ui_egui::panels::section_panel::section has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/section_panel.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5d0b325f8132aa6914425d5cf1c71d260c33c71fedc6d2ff6c56b4573277ee"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::shortcuts::handle_input (cyclomatic 21): figcraft_ui_egui::shortcuts::handle_input has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/shortcuts.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2fd4636f7c5bf0aa957ea9445d2f64184c7e84ca30d864aed37fd18982c370"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::gradient_controls (cyclomatic 21): figcraft_ui_egui::widgets::colorpicker::gradient_controls has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b5b99603616ac31979c70897a138989eb157053e636adc4c76d5d700c4d584"}},{"ruleId":"D1","level":"warning","message":{"text":"Walker::fill (cyclomatic 21): Walker::fill has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vectordrawable/src/walk.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c2d919245ceb02e8717d8d3053f57fb440fcdf2710182486c53bd88b53715"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab_net::join::take (cyclomatic 20): figcraft_collab_net::join::take has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab-net/src/join.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"df83d05afa063e912488fccea87b19404fc5dc5be9a9029b2a5e1b1912e51be7"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorNetwork::cycles (cyclomatic 20): VectorNetwork::cycles 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/doc/src/vector_faces.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd89b4dfd6884680944954cccffc1eee19d073ad226a667a7080ffba270d443"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::style_vars::refresh (cyclomatic 20): figcraft_engine::assets::style_vars::refresh 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/engine/src/assets/style_vars.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4529fda3e41d6c1f38b015c2b9d85902ad6927cc88d992bdcafff4259879bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::variables::update (cyclomatic 20): figcraft_engine::cmd::variables::update has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::cmd::variables::field_scope (cyclomatic 21) 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/engine/src/cmd/variables.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"be295ddb843e92ad567f3cfb70b3fc3671d6e0efbf0cd12585b95a0d18ba2f7b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::code_connect::render (cyclomatic 20): figcraft_engine::dev::code_connect::render 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/engine/src/dev/code_connect.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4121dbd145a05e2652bbe5ab3f5fc3b68a5532f83ec1039e7798f013272bade5"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::vector (cyclomatic 20): Exporter::vector 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/format/src/fig/export/shape.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a24a49e641a0fabb0186c437d3ab5fc11d4e5c0173baa109a52d90f3fc9d69c"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::library_context (cyclomatic 20): Mapper::library_context 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/format/src/fig/map/document.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdf9bf44f71f1bf48fc782ee6afd0316f6c86b52d93c224d6613296521c32be"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::auto_layout (cyclomatic 20): Mapper::auto_layout 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/format/src/fig/map/layout.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f021d797d255ff20d3fba87398a6e04cf1f6b706848a4de6c96ee4027c3d796"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::layout (cyclomatic 20): Exporter::layout has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Exporter::applied_tokens (cyclomatic 23) 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/format/src/penpot/export.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9579761e54707d2ef84d38119c0f1eba5ec0ed7de70e05a4c63647968be9cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"Sources::source (cyclomatic 20): Sources::source 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/format/src/rest/fig_sources.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5af3d98f3e0039d0ea6fbb3e3e7bf83f17bdce494c80f34c658231e188ab28"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::fig::text_path::from_network (cyclomatic 20): figcraft_format::fig::text_path::from_network 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/format/src/fig/text_path.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"06244a0292f9009e811c42f2f7bc4f40537b380090cad1f89137bfa8b1a70654"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::layout_props (cyclomatic 20): figcraft_format::penpot::layout_props 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/format/src/penpot.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"071ca2324b4977df927aedbc8959647ca38268cba1f4cb60932851302db777e7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::referenced_font_refs::visit (cyclomatic 20): figcraft_format::penpot::referenced_font_refs::visit 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/format/src/penpot.rs"},"region":{"startLine":3492}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dcacba0b04c637259dea901c4b50a2d81299f6be209f461bf573f02032787d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::arc_to_cubics (cyclomatic 20): figcraft_format::penpot::arc_to_cubics 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/format/src/penpot.rs"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee50627641bcebf46071543d0bdf0059b49907f452085936e88f29fe813aa225"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_pdf::text::draw_text (cyclomatic 20): figcraft_pdf::text::draw_text has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pdf/src/text.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e435e528e817e08fca4d0eab23afedab2865c49bef769c85adb517ba8a3c9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_text::layout::break_lines (cyclomatic 20): figcraft_text::layout::break_lines 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/text/src/layout.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab69dfcab38cc11636de9a149edac0bf461ca59fa8440f6bf74527eee09c1af"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::header_row (cyclomatic 20): figcraft_ui_egui::dialogs::variables_panel::header_row 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/dialogs/variables_panel.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc990feaa3511e8f9c78510d01babbc357b5fee214df08ee2c83e6f704a5cac"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::live::draw (cyclomatic 20): figcraft_ui_egui::live::draw 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/live.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca715c709eaffb1e652ad4f9c5e77b4b35cc1e7dcbdb497017d897cbdf1d2e4c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::usage (cyclomatic 20): figcraft_ui_egui::panels::assets_panel::usage 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/ui-egui/src/panels/assets_panel.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126c45068fcab5eba48291fcee406afa24bd578fbb9db44663b7797537d88a8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::fields::font_rows (cyclomatic 20): figcraft_ui_egui::panels::typography::fields::font_rows 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/panels/typography/fields.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13768111c7016a68e7355fcd3932b9d2aed3f3f38f7ccb44efbf14f2e95b9665"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::fields::decoration_details (cyclomatic 20): figcraft_ui_egui::panels::typography::fields::decoration_details 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/panels/typography/fields.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b92ace01a01defa9f0632ca3582b2716130a36f931c103f40d9b9002877f20"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::player::options_menu (cyclomatic 20): figcraft_ui_egui::present::player::options_menu 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/present/player.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe3eaf9d526a314bcfa3db1cb437f1e7c1dacf42739e0d8dc17fbc6585ded6"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::image_presets (cyclomatic 20): figcraft_ui_egui::widgets::colorpicker::image_presets 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/widgets/colorpicker.rs"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"2064b5a64f00e1181e01102ae6863dd04cfd5107656e8408f1335738ec77dc29"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_web::web::start (cyclomatic 19): figcraft_web::web::start 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":"apps/figcraft-web/src/web.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adb4c202a6d785cf1cc0ec1bead7505852df819107c07ad0b8ca2d635a04a04"}},{"ruleId":"D1","level":"warning","message":{"text":"Client::rejoin (cyclomatic 19): Client::rejoin has cyclomatic complexity 19 (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/collab/src/client.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5851abb5b0b8c2e2914539f66b1a83488e3ca2ff9f280a9ceee6acde19871d"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::receive (cyclomatic 19): Server::receive 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/collab/src/server.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0e525301c5cd8b5f4ff6b5c4b6705917c75d34f2aad22a87a4e0c8f5fa32b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Hub::message (cyclomatic 19): Hub::message 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/collab-net/src/hub.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d094794ecdcf816ae6dca3b8f0ed8d44fdb438865fd6dce2e1317b072cef620"}},{"ruleId":"D1","level":"warning","message":{"text":"Document::paste_nodes (cyclomatic 19): Document::paste_nodes 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/doc/src/lib.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea12ec5bb7b1bb998baba649bf808598cdd702dca8beed64ee6e58a6a7a9a91"}},{"ruleId":"D1","level":"warning","message":{"text":"Document::repair (cyclomatic 19): Document::repair 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/doc/src/lib.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb79302cbf74b4b5a4d4d6bf16fe55e31fd0b5768b1a45fe10d795ba13ff9a79"}},{"ruleId":"D1","level":"warning","message":{"text":"Targets::gather_in (cyclomatic 19): Targets::gather_in has cyclomatic complexity 19 (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/engine/src/canvas/snap.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bd5ac5ed848d15a9c42c1ba5ea9d53de6cfce9aa3670fd4603cc8c661f1c01"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::pen_update (cyclomatic 19): Session::pen_update 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/canvas/tools/pen.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94e74c9b8a6829d2950932f3af32ce8932a7c3db4bc13077c9b2c5240ed8fde"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library::merge_components (cyclomatic 19): figcraft_engine::assets::library::merge_components has cyclomatic complexity 19 (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/engine/src/assets/library.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede109f93fccc3e842d4f26c1284a7e285de4888c503ae5a4f5cf8d9ce301990"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::automation::inspect::text_props (cyclomatic 19): figcraft_engine::automation::inspect::text_props 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/automation/inspect.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4278fd71cb79774b1e027a0685684ea71f6a398fa7daadd1a9d189425db8c8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::al_keys::grid_move (cyclomatic 19): figcraft_engine::canvas::al_keys::grid_move 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/engine/src/canvas/al_keys.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bee844dcde90519046a72c93224bab958bd5185384655611617df6039fe575"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::delete_vertices (cyclomatic 19): figcraft_engine::canvas::vectoredit::ops::delete_vertices 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/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f92b278eed1314904173fa53c076ed1c48daa5642f4b7016f5f968d3d83a69"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_geometry (cyclomatic 19): figcraft_engine::cmd::props::apply_geometry 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::cmd::props::override_group (cyclomatic 20) 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/engine/src/cmd/props.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92cdf6bf7ff4b56e6dc408ef494ec6c6d9231791ac0ff4793ef6204db87aa08"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::structure::wrap (cyclomatic 19): figcraft_engine::cmd::structure::wrap 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/cmd/structure.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7600a595883d65249f95bb5f5857481c55333247b2d4602f5fbb621bb1970fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::structure::offset_path (cyclomatic 19): figcraft_engine::cmd::structure::offset_path 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/engine/src/cmd/structure.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe83006d939c573f1f254fa633a061342c8c379c5903f47a486aff524bdea2e"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::styles::create (cyclomatic 19): figcraft_engine::cmd::styles::create 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::cmd::styles::bound_field (cyclomatic 38) 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/engine/src/cmd/styles.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"182c4a8ec26093566742a0e44a3f47d23f69c1389ee6cd51981fc3db998fdaf9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::codegen::css::css_decls (cyclomatic 19): figcraft_engine::dev::codegen::css::css_decls 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/dev/codegen/css.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaf290500adc198f0659ffcc8d196546786f8e5133d3a58f00ed35cb3b67056"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::extensions::plugins::refusal (cyclomatic 19): figcraft_engine::extensions::plugins::refusal 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/extensions/plugins.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb57e26ff35a49f98cf29f1ff34042bd067a4c1fcc79a2f9c83acba8768f334"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::new (cyclomatic 19): Mapper::new 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/format/src/fig/map.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc55a6eb5c9ee924b1b33ba33c1eb1f4f526fdce3484dffdf6c9f7d0a69ad5d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::sketch::text::node (cyclomatic 19): figcraft_format::sketch::text::node has cyclomatic complexity 19 (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/format/src/sketch/text.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0418880181f0819f0b6e3799ba6587c267af4f2cebcb4e11ecfee9879b1d0255"}},{"ruleId":"D1","level":"warning","message":{"text":"Headless::key (cyclomatic 19): Headless::key 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/mcp/src/headless.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6f071d85d99e25f8f1efedc211f046ccfc032b14d2a057b2e62e020967de5b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_render::blur::progressive (cyclomatic 19): figcraft_render::blur::progressive 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/render/src/blur.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3336ce813bd5734952ca3c88c0924d98680769340aed83785de89630df2bfb26"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_svg::import::text::text (cyclomatic 19): figcraft_svg::import::text::text 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/svg/src/import/text.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"835b7d086d8e4d9b58357b4251eb30f78ad2963cfa2fb48596a67f4bdc40fe94"}},{"ruleId":"D1","level":"warning","message":{"text":"Worker::new (cyclomatic 19): Worker::new has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/render_worker.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b36592889fe2ca9d6f33eb808a9c52f6a858b930363e9f078f8bcbbd1e7ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"Popover::show (cyclomatic 19): Popover::show 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/popover.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafc32ad1511634fc3af188d74ee0c3a7369f82800f45942d9aaa4a343e04a4a"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::proto_canvas::draw (cyclomatic 19): figcraft_ui_egui::canvas::proto_canvas::draw has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/proto_canvas.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84f31c13cff27f49c77a12c311e1728072d9d25ef6945596add664a97807fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_styles (cyclomatic 19): figcraft_ui_egui::control::ui_set_styles 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_ui_egui::control::handle (cyclomatic 21) 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/control.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0280f93aa0b9187b5dcec91e652d6cbe642b7ed4255226c3ea05af3bd3a77604"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::collection_row (cyclomatic 19): figcraft_ui_egui::dialogs::variables_panel::collection_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/dialogs/variables_panel.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"096aaa6c8bceb946f982d9b2011ff1b4cea3044bf9bddec767d1cc09b33a724d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::var_row (cyclomatic 19): figcraft_ui_egui::dialogs::variables_panel::var_row has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"2601b7f428f48ddd2fe27e7bdd543f99d46fca1f1229c1a64966bd765bbd8ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::live::publish_dialog (cyclomatic 19): figcraft_ui_egui::live::publish_dialog has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/live.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"845638a5a20e355484f5c3e8fdcd70f5c63efe3fca40fad96dcac42e440066cd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::key_nav (cyclomatic 19): figcraft_ui_egui::panels::layers::key_nav has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layers.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5c653163a24efdcd73e5331fa89c8775bc13063a8f0ca1aae8bd35139c71b7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::settings (cyclomatic 19): figcraft_ui_egui::panels::proto_panel::settings 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/panels/proto_panel.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"910e7784499675218a0724925fe4780fb2ee782567819539dab5a6b4fbdb284c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::editor (cyclomatic 19): figcraft_ui_egui::widgets::style_picker::editor has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/style_picker.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae56f5078ea3309624ad5dbaf9d90e0a9e899acc70808ccf5872b5ecdf18c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_doc::geometry::layers_at (cyclomatic 18): figcraft_doc::geometry::layers_at has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (rec). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/geometry.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb3d5c2bcd8a3f8cdae49ded90cd16649d1db3a9fce5d1babed6519965e6a8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library::import_variables (cyclomatic 18): figcraft_engine::assets::library::import_variables has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/assets/library.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"700f2cdad5e7996fd6f75452fef11c7ae3184c8d26a346e7a391603c1424b666"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::proto::settings (cyclomatic 18): figcraft_engine::cmd::proto::settings 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/engine/src/cmd/proto.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cdbf686ebdc8fcd7e4b60374c2f40470e264891806555cf204fe2454bcae67"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::selection::selection_colors::collect (cyclomatic 18): figcraft_engine::selection::selection_colors::collect has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/selection/selection_colors.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d555e7fcfeded1abf7343f2b50d00a3c401e2dac10a6b9d10ce0fb53119c41a6"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::common (cyclomatic 18): Mapper::common 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/format/src/fig/map/layer.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce949b3fd175241a497639b8d7faaebd43776a284d892bfdad9b44cda9d7157f"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::write (cyclomatic 18): Exporter::write has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Exporter::applied_tokens (cyclomatic 23) 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/format/src/penpot/export.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fc2e6874ea2ee33f3748d962527894aff65ae39d4ded02e35de26396923f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerImport::add_layer (cyclomatic 18): LayerImport::add_layer 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/format/src/penpot.rs"},"region":{"startLine":3319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6099ad4ddeee6c5db09a74a9212710db840ce422e9885c8a6cbc61fff705bcb"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::finish (cyclomatic 18): Ctx::finish 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/format/src/rest.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a7e47a3431edf8b9c634b2de0e3453773d227f0e346693d2af30f07ddf604e"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::import_token_variables (cyclomatic 18): figcraft_format::penpot::import_token_variables 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/format/src/penpot.rs"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c0b7295b715d8c0a997ce7b6c9fd33efff90878124e39d6b7b3bd2fc03eff2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::svg_tree (cyclomatic 18): figcraft_format::penpot::svg_tree 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/format/src/penpot.rs"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"377e83f9717889de3890ab2b2d1abd7846d0e00dc16ab73824f43c0ed2d661a0"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::apply_stroke (cyclomatic 18): figcraft_format::penpot::apply_stroke 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/format/src/penpot.rs"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a235003b58cb62e4bc77bbb5de9d0f1c1eb90f337e71c7435b61d7916afcacf"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::rest::import_parts (cyclomatic 18): figcraft_format::rest::import_parts 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/format/src/rest.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d6dacd4d583271d83b71230fd37615bc1a103650838ca7087f25d40c4f1a4d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::rest::props::child_layout (cyclomatic 18): figcraft_format::rest::props::child_layout has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::rest::props::blend_mode (cyclomatic 20) 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/format/src/rest/props.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a692b69725dc56ef7db948e3eabc67faeeccdc7e6741535da3d5c9848a8ba09c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_render::draw::bounds_within (cyclomatic 18): figcraft_render::draw::bounds_within 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/render/src/draw.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d8ab9be091560f1b9b6b6b08f4f84cc2d8ec656c1224979ba5d4ca0d9bc820"}},{"ruleId":"D1","level":"warning","message":{"text":"W::filter_for (cyclomatic 18): W::filter_for 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/svg/src/lib.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b88e1fc9dc59a6e68304b51b0ad4c0e249c8f87be7043157c4ebc4f8302b25"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_input (cyclomatic 18): figcraft_ui_egui::control::ui_input 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_ui_egui::control::handle (cyclomatic 21) 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/control.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcfd5109fa48d6258a8bc129b23ef7d971e829c655555c8e76e8df1518fb6b5"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::branch_ui::list (cyclomatic 18): figcraft_ui_egui::dialogs::branch_ui::list 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/dialogs/branch_ui.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84ee5f4c87355f75d9d360d2e593221b00bb6262ba44f24fb39c3f124128e4f"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::plugins_ui::browse_tab (cyclomatic 18): figcraft_ui_egui::dialogs::plugins_ui::browse_tab 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/dialogs/plugins_ui.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0173425fa25930bd97788738bd0c7ab0a84100cd7c4451f6657ab1484da7bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::menus::clipboard::paste (cyclomatic 18): figcraft_ui_egui::menus::clipboard::paste 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/menus/clipboard.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea19693ecb813c218059e4e82fb738c0338ef6b1499fbd7beaea037d2af9bf8d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::ready_list (cyclomatic 18): figcraft_ui_egui::panels::dev_mode::ready_list 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/panels/dev_mode.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d269e2ad413640d29c186b7d172c93c1ea032bc9fb528e4d6dc7aede250917c2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::layout_section (cyclomatic 18): figcraft_ui_egui::panels::layout_panel::layout_section 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/panels/layout_panel.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6010eb88ea778c899cddd0d074bc0ae83e5bc11c2a5199bfa74036cbdaf00d8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::vector_panel::points (cyclomatic 18): figcraft_ui_egui::panels::vector_panel::points 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/panels/vector_panel.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd10a04aa294b10af012da089ba6fc62236d1b6f8a5f1ae15eb217f1eaff342"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::layout::layout (cyclomatic 18): figcraft_ui_egui::present::layout::layout 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/present/layout.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec7098f1101b3bf4e1fc2b66d80788f802595c1f21a3bf974cf85d938448506"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::transition::smart_interpolate (cyclomatic 18): figcraft_ui_egui::present::transition::smart_interpolate 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/present/transition.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bbd52faa063efca3b38e559f438c77385c5fcc1b739c30ce12d6159a4bff65"}},{"ruleId":"D1","level":"warning","message":{"text":"Walker::node (cyclomatic 18): Walker::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/vectordrawable/src/walk.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce4d2d7b2cdc30f3b371d017846a7e61eee986d1f3687509bd299383d685d96"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft::recovery::recover_all (cyclomatic 17): figcraft::recovery::recover_all 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":"apps/figcraft/src/recovery.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1985fa66b9a3ac72c781c3b55be669b1782c060cc1ede5c37d5e2b352861cb9"}},{"ruleId":"D1","level":"warning","message":{"text":"Document::validate (cyclomatic 17): Document::validate has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/doc/src/lib.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44f7e1ec7248bbaf267aa5faca87b6edd83d68de12c71f2fbfe2ac9413d74e1"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::record_overrides (cyclomatic 17): figcraft_engine::assets::components::patch::record_overrides has cyclomatic complexity 17 (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/engine/src/assets/components/patch.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1d7880fe67d4815777bf6afc4c499a917271d704227c5c3bf3ea0e6f1353a9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library::localize (cyclomatic 17): figcraft_engine::assets::library::localize has cyclomatic complexity 17 (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/engine/src/assets/library.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41a1a13cb04cb7d08e4d929e9f361f2f25b793be10affab6bc2b30eced685c9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::library::prune (cyclomatic 17): figcraft_engine::assets::library::prune has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/assets/library.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae460b33c77a087686cb287686fa0b41aa68fe016161838371909ff25c382df9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::boards::board::derived::settle_routes (cyclomatic 17): figcraft_engine::boards::board::derived::settle_routes has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/boards/board/derived.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fe7f57725d6b843a11464bd0e4054be4f88ee08a7aca017124eff76b6a7a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::al_keys::move_into_neighbour (cyclomatic 17): figcraft_engine::canvas::al_keys::move_into_neighbour 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/engine/src/canvas/al_keys.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0eecc8d2d926e7ba31aedbf7193be01b9b3188477d6d67e0d61c41a4ee7e49"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::distance::between (cyclomatic 17): figcraft_engine::canvas::distance::between has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/distance.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f8cc87782d448f4ed9163070d91861f4c6e0ac122fb213816e8376ff0c1593"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::arrange::zorder (cyclomatic 17): figcraft_engine::cmd::arrange::zorder has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/arrange.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f2a80580708c568e18eef5620ae10f16a354691570ce5fea5fb4895db0549"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::set (cyclomatic 17): figcraft_engine::cmd::edit::props::set has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/edit/props.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5654021d33381c4f99f9e9cbe75866319769f3fe02f7f2be4029d8b09e7c8859"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::expand_penpot_raw_svgs (cyclomatic 17): figcraft_engine::cmd::file::load::expand_penpot_raw_svgs has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/file/load.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"db39d83ccaa4e2308a3f00a375dce9065be618c7da52e0b3321d730938d02cef"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::file::open::append_pages (cyclomatic 17): figcraft_engine::cmd::file::open::append_pages has cyclomatic complexity 17 (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/engine/src/cmd/file/open.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb19dac648ceccf1c4e3e221ef6e0cf1d416fa0f6490a5928dc91104018617a"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::image::adjust (cyclomatic 17): figcraft_engine::cmd::image::adjust has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/image.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b0623135b0773b80951b5d6a25e261699a572d12e0bce9a7b4203c5c958349"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::structure::layout_add (cyclomatic 17): figcraft_engine::cmd::structure::layout_add has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/structure.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fac27ca66cb0ffa218049151d8120dac6d7b7bbfc2f2b088fe4ecf536527d63"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::styles::sync_text_styles (cyclomatic 17): figcraft_engine::cmd::styles::sync_text_styles 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::cmd::styles::bound_field (cyclomatic 38) 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/engine/src/cmd/styles.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb6c0ec9c09c7a585fd66b985e65ddcf86fa9d5540f5447b52a167f681ad788"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::codegen::compose::compose_layer (cyclomatic 17): figcraft_engine::dev::codegen::compose::compose_layer 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/dev/codegen/compose.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9018cd38460c8ecc0e56383049539f8b31a36e4a0e4bae80b57421bfd423ed6e"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::devcompare::layer_changes (cyclomatic 17): figcraft_engine::dev::devcompare::layer_changes 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/engine/src/dev/devcompare.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"420f65c3d069ec5cdf3adced25535282331a2f43a7296c49c73236281c33906d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::tailwind::padding (cyclomatic 17): figcraft_engine::dev::tailwind::padding has cyclomatic complexity 17 (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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::dev::tailwind::reset (cyclomatic 31) 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/engine/src/dev/tailwind.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcf3ca44a9ea20d14bf4fc77c076203452ac3d0622892f5d17b395dc943a31a"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::paint (cyclomatic 17): Exporter::paint 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/format/src/fig/export/paint.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb72e82fa21d58b3ddf303976eaa7d1a7eb5ed3cf8981293d2cefaea0dacf39"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::prop_refs (cyclomatic 17): Mapper::prop_refs 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/format/src/fig/map/component.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9dde1015b3c45cf48bf8183fb151136422905405c3596f412d2d974d2b3398"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::connector (cyclomatic 17): Mapper::connector 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/format/src/fig/map/connector.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb227e4df9756b0609b6bdcf777112e4fa3f1e5f775a8490637a5400503c6553"}},{"ruleId":"D1","level":"warning","message":{"text":"Mapper::action (cyclomatic 17): Mapper::action 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::fig::map::proto::transition (cyclomatic 18) 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/format/src/fig/map/proto.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"19119ef389f543e8c76d55e50d3755ffaf36874247ceda1dd9e58c1acb94b881"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::build_layer (cyclomatic 17): Ctx::build_layer 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::rest::override_group (cyclomatic 18) 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/format/src/rest.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"49364e3826278fbbe69b350de217801f39ceaaa1062c22909228e4422f3c8c10"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::resolve_slots (cyclomatic 17): Ctx::resolve_slots 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::rest::override_group (cyclomatic 18) 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/format/src/rest.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3568adb1c66322d94e7eb55ea23e70c2e4a85048d826d1cacd60a5234b7d664"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::svg_gradient (cyclomatic 17): figcraft_format::penpot::svg_gradient 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::penpot::token_number_field (cyclomatic 18) 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/format/src/penpot.rs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7c747d1f896d0c07d316cc0a09b5e8477845f324cb2ac4bc2efb0f8e513ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::layer_kind (cyclomatic 17): figcraft_format::penpot::layer_kind 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::penpot::token_number_field (cyclomatic 18) 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/format/src/penpot.rs"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"218c03d9503cea32cf84b3d8d2a27db43f2a0d6dd557615658920dbafb468d00"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::vector_bezpath (cyclomatic 17): figcraft_format::penpot::vector_bezpath 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::penpot::token_number_field (cyclomatic 18) 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/format/src/penpot.rs"},"region":{"startLine":3976}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcb8c2ef88ba5b8a141c9b1a6b38025d09353644f10d88f902ffc9b1d439751"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::rest::text::paragraph (cyclomatic 17): figcraft_format::rest::text::paragraph 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/format/src/rest/text.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0897e4feb299c49a418393eab75711efe07ce6309c536156f616becdf5e705e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Headless::dispatch (cyclomatic 17): Headless::dispatch 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/mcp/src/headless.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"013b76dfdbbce57df092bc847e57ef35ef3a2aeb0337887a7a11fcf1e45f7286"}},{"ruleId":"D1","level":"warning","message":{"text":"Param::check (cyclomatic 17): Param::check has cyclomatic complexity 17 (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/plugin/src/manifest.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9dd8c3efb8a0a8556d93392d642d4f13cfda3b0a0289b22ec997efa1957d9"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_text::layout::shape_text (cyclomatic 17): figcraft_text::layout::shape_text has cyclomatic complexity 17 (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/text/src/layout.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1077d307fbd7299977e14c0ad7974e3d89cee2fa61981686e6eef516863bd43"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::constraint_lines (cyclomatic 17): figcraft_ui_egui::canvas::overlays::constraint_lines 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/canvas/overlays.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"480d22fb19136b5c14cae53e25518d1369b377eacb20b6ee958945cb09bbffb6"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_comments (cyclomatic 17): figcraft_ui_egui::control::ui_set_comments 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_ui_egui::control::handle (cyclomatic 21) 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/control.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ab0d381f79e1d76df53c3e10e15fd8b3e37588f9a14dc2f6862db4bd8b482d"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::plugins_ui::field (cyclomatic 17): figcraft_ui_egui::dialogs::plugins_ui::field 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/ui-egui/src/dialogs/plugins_ui.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ddfdafcc5d659b1efdb998dfb2440e610d44f2bf3f6979e6647311c7322705"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::group_rows (cyclomatic 17): figcraft_ui_egui::dialogs::variables_panel::group_rows 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/dialogs/variables_panel.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcacc4882d5c39bb33149828f89add5741a820783d648eca47f4f3437c95366"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::categories_section (cyclomatic 17): figcraft_ui_egui::panels::dev_mode::categories_section 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/panels/dev_mode.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcdac8ac062bffb5c64563a127d25e5e034a3a2820c6971d2383d332d046896"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::grids (cyclomatic 17): figcraft_ui_egui::panels::right::effects::grids 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/panels/right/effects.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa7c0daaee0df767e61f9b05784df82457d2ebaeecc75264d6ce1dce647e5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::axes::variable_axes (cyclomatic 17): figcraft_ui_egui::panels::typography::axes::variable_axes 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/panels/typography/axes.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb7d709e6985abe936cf398964a3e3b8b30c85f6e7180127e584a3ebd9d526f"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::toolbar::edit_toolbar (cyclomatic 17): figcraft_ui_egui::toolbar::edit_toolbar has cyclomatic complexity 17 (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/toolbar.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc4bcc8081fb44f28e4438e323a601bacdce7cbc1066b973f8213e0102866fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::check (cyclomatic 16): Config::check 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":"apps/figcraft-server/src/config.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1f95bdedbd03f7889a6bb7bd5074d39cfee44b4bf84a1c32701120917fd880"}},{"ruleId":"D1","level":"warning","message":{"text":"Store::load (cyclomatic 16): Store::load 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/figcraft-server/src/store/journal.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23b3a9eb53ee16ea54b9938e7932e73bf3850e08ad7dc2866248dccddbcfc5"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::join_as (cyclomatic 16): Server::join_as 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/collab/src/server.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8f085ceff878aab9de32c4654031baf96a9916ee268a1155aca2ab5703b10d"}},{"ruleId":"D1","level":"warning","message":{"text":"Sim::check (cyclomatic 16): Sim::check 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/collab/src/sim.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0612eaa1e79afe872d12c4d86013c9aca4a5a0453b1124623ac11294c16f74"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab::history::capture (cyclomatic 16): figcraft_collab::history::capture 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/collab/src/history.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abc23e05616bc9a9c34bd4dd22e77cf55e4d20309e1cac049548aedb73c8b6c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab::merge::plan (cyclomatic 16): figcraft_collab::merge::plan 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/collab/src/merge.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d135d2ff9cbd505f0f115ac44e8dc0934b83f6359d128b97d3663c04470cd67c"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_collab_net::guest::session (cyclomatic 16): figcraft_collab_net::guest::session 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/collab-net/src/guest.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2180f9b9963980c1ee173acf2bb9ae8cf9b2a592c3de55a79bb7f213230d81"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_doc::geometry::hits_node_itself (cyclomatic 16): figcraft_doc::geometry::hits_node_itself 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/doc/src/geometry.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b874f5ed4b4a5dfe7df8b22e2e8cdd7dd2148c11351e6a09f106faa134b4666"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_doc::geometry::hit_rec (cyclomatic 16): figcraft_doc::geometry::hit_rec 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/doc/src/geometry.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67db0559bf534787a8f6d45d6bef487fb4dc5883c4ef8d68930097941c098a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Targets::gather_for_guide (cyclomatic 16): Targets::gather_for_guide 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/canvas/snap.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebb921e948827b687cad4304172722076fd7f546c6078b4891a92fdd1cace01"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::shape_builder_pointer (cyclomatic 16): Session::shape_builder_pointer 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/canvas/shapebuilder.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfed77aa704a17022972caf765ebb1eb6e076e19485cebf99e0d529ed8c9c8"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::assets::components::sync::sync_instance_depth (cyclomatic 16): figcraft_engine::assets::components::sync::sync_instance_depth 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/engine/src/assets/components/sync.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9288dbadbf1171275c5ede57e6592fa174da68db91aafbfad5fed027c56871aa"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::automation::params::normalize_paintish (cyclomatic 16): figcraft_engine::automation::params::normalize_paintish 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/automation/params.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2558687f2a4d783b1832623376ea83d67cb200b9d433c0f9e223a3f037fb9b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::boards::board_table::edit_cmd (cyclomatic 16): figcraft_engine::boards::board_table::edit_cmd 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/boards/board_table.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cefdf67847b48a7dd9893f48d3d9817a777455c061e9ac987817062468f8c3"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::canvas::tools::handles::scale_factor (cyclomatic 16): figcraft_engine::canvas::tools::handles::scale_factor 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/engine/src/canvas/tools/handles.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95d4a437da86c66161e38cbc49428771a04d6c0d06715b4e3a6409b47735675"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::component::instance::push_changes (cyclomatic 16): figcraft_engine::cmd::component::instance::push_changes 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/cmd/component/instance.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a91acc07bfa88232b9226acf4c14bcf368904650ddb2b8d837f8ce1fa3efee7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::apply_prop_bindings (cyclomatic 16): figcraft_engine::cmd::component::props::apply_prop_bindings 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/cmd/component/props.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f383a9c50b578d2b1479a89e1aa8d4c781fa9f730ebc98d07a7d5d693ad1da3"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::bind (cyclomatic 16): figcraft_engine::cmd::component::props::bind 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/engine/src/cmd/component/props.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef523ceccd9d44ab69430182daab31588a7d9de2e2e33e205758de53df1b6501"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::find_replace (cyclomatic 16): figcraft_engine::cmd::edit::props::find_replace 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/cmd/edit/props.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"84108e520617d8de5d4daece7ac7ab44f60137f0754e70d25c81624178d586ed"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::paint_paste (cyclomatic 16): figcraft_engine::cmd::edit::props::paint_paste 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/cmd/edit/props.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e2895d370c126f5270eec4637816073d3b1a6c71b31b33e0bec0e46175cd03"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::file::open::open (cyclomatic 16): figcraft_engine::cmd::file::open::open 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/cmd/file/open.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b6946c91f08c06186ec644c44742dd9494af50c85b517e63e0057c5f1313fd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::props::fills_available_space (cyclomatic 16): figcraft_engine::cmd::props::fills_available_space 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_engine::cmd::props::override_group (cyclomatic 20) 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/engine/src/cmd/props.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaf52dbc9c7a69480918e09396a68202b495e02b7546262b8ac637e27471bff"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::proto::set (cyclomatic 16): figcraft_engine::cmd::proto::set 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/cmd/proto.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d8400e864d1cac8e309cd31f3acb40405be530f78e074ae51cb40e1dbed703"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::cmd::variables::sync_extensions (cyclomatic 16): figcraft_engine::cmd::variables::sync_extensions 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: figcraft_engine::cmd::variables::field_scope (cyclomatic 21) 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/engine/src/cmd/variables.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa3ebf9dc5f016909fa93f2aad74f0ff71ca8da3b93c9ad3c4b16a21970cba3"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::arkui_definition (cyclomatic 16): figcraft_engine::dev::component_codegen::arkui_definition 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/dev/component_codegen.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba28370d3595040d351c16992f532ab292920616f07356045e72c63dd1a8f4b"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_engine::dev::tailwind::code (cyclomatic 16): figcraft_engine::dev::tailwind::code 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: figcraft_engine::dev::tailwind::reset (cyclomatic 31) 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/engine/src/dev/tailwind.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed2dc802e865080105e650950c769de82523f3903a0ab50878693aaa69c074f"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::set_props (cyclomatic 16): Exporter::set_props 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/format/src/fig/export/component.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14bc405d98f2926850bd72ab8118facc3f7e93592ad8a9a1f1525830bbce270"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::auto_layout (cyclomatic 16): Exporter::auto_layout 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/format/src/fig/export/layer.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da5c2b4501a8221167173a952042637a20aaf897c63bf9efb360e662d5e49db"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::page_json (cyclomatic 16): Exporter::page_json 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: Exporter::applied_tokens (cyclomatic 23) 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/format/src/penpot/export.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3c14d510a2608fb4afa3663a593fbe61cfab3bd2cae81b7922e86647e76750"}},{"ruleId":"D1","level":"warning","message":{"text":"Exporter::text_content (cyclomatic 16): Exporter::text_content 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. This is NOT this file\u0027s highest cyclomatic complexity: Exporter::applied_tokens (cyclomatic 23) 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/format/src/penpot/export.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54b4035612d414370f71b315ab95462d122955608ff4d718608ec2bef0f9ff3"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::vector (cyclomatic 16): Ctx::vector 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: figcraft_format::rest::override_group (cyclomatic 18) 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/format/src/rest.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48592df066fe435577e6265a5c8641c5468bb307cc4e82c7a9c3158b463bc6f"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::resolve_instances (cyclomatic 16): Ctx::resolve_instances 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: figcraft_format::rest::override_group (cyclomatic 18) 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/format/src/rest.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce3d9ed70bc7133714d6b03bbbb7e7395ec8314daab23d70967417d8c75afa0"}},{"ruleId":"D1","level":"warning","message":{"text":"Ctx::rename_props (cyclomatic 16): Ctx::rename_props 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_format::rest::override_group (cyclomatic 18) 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/format/src/rest.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7b7aed82d8cc83a4bbfabbe70c78171b552489a080bbb3d27cbe1e2565a8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_format::penpot::finish_layout (cyclomatic 16): figcraft_format::penpot::finish_layout 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: figcraft_format::penpot::token_number_field (cyclomatic 18) 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/format/src/penpot.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be5fd1a2806fc74caf067a228a63d57dc7656478aea8f848a22c2c96281bacd"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_geom::smoothed_polygon (cyclomatic 16): figcraft_geom::smoothed_polygon 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/geom/src/lib.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c2f1613a143fb5a35203397ca2819b78074bd0ea04dbb05ffdb6c273a17ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::request (cyclomatic 16): Server::request 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/mcp/src/server.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"317a71bafd84427fc8e6c85eb330287eec4d1270ae7fb880ad9fb4d093d979c3"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_mcp::tools::export (cyclomatic 16): figcraft_mcp::tools::export 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: figcraft_mcp::tools::call_tool (cyclomatic 24) 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/mcp/src/tools.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3b424ff1e26b52add6650d4f6b908610ae675664bdd0adce40ba9f1bf31ae"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_pathops::stroke_outline_of (cyclomatic 16): figcraft_pathops::stroke_outline_of 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/pathops/src/lib.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce98974b9eeaa5803948a640fa3f8aac99707f86129a9e1af83cd046fb5e2d2"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_svg::import::path (cyclomatic 16): figcraft_svg::import::path 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/svg/src/import.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2575c1ceb886e095a20cc9622f3d16e6f4fdb8b9074710b7e313bdb135cc8d0"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_svg::import::paint::pattern (cyclomatic 16): figcraft_svg::import::paint::pattern 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/svg/src/import/paint.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c42700d25c1a56f7c5f68f195d55edd71e78da3a208576266616de27d13ff8"}},{"ruleId":"D1","level":"warning","message":{"text":"FigApp::auto_save_tick (cyclomatic 16): FigApp::auto_save_tick 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/app/files.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6342ea701d33e12db61941e4e7a44eb96ab568e60ad17ce8afbebfed367ad2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_view (cyclomatic 16): figcraft_ui_egui::control::ui_set_view 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_ui_egui::control::handle (cyclomatic 21) 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/control.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70c7a718a771f90ef8f29b45895890f15e2dd8b34d2961c0ace2455d0286feb"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_panels (cyclomatic 16): figcraft_ui_egui::control::ui_set_panels 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. This is NOT this file\u0027s highest cyclomatic complexity: figcraft_ui_egui::control::handle (cyclomatic 21) 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/control.rs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5005f75e38a014fd1aae4544e2417fc8b24b3a5246c5f72038fc0ffd8de0a0f1"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::batch_rename::batch_rename_dialog (cyclomatic 16): figcraft_ui_egui::dialogs::batch_rename::batch_rename_dialog 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/ui-egui/src/dialogs/batch_rename.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8270d06e1758ebea324c8d4f65e87e9c2987c9fc7665164718ad879d25da9f7"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::table (cyclomatic 16): figcraft_ui_egui::dialogs::variables_panel::table 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/dialogs/variables_panel.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"9335fd9c2690f603f419dea79db60600cc0760bd394fad728a2121d3f2f9c3be"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::menus::menu_level (cyclomatic 16): figcraft_ui_egui::menus::menu_level 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/menus.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d24cdd7d6979af44e51ae30b02b7a1354bb347aaa6129f5c10db5cacf0688fb"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::instance_props (cyclomatic 16): figcraft_ui_egui::panels::component_panel::instance_props 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: figcraft_ui_egui::panels::component_panel::group_label (cyclomatic 23) 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/panels/component_panel.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c82c8105a1dd7325269717dfdf5d354a3c24eccb9c164ee575e043e515b772"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::draw (cyclomatic 16): figcraft_ui_egui::panels::dev_mode::draw 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/panels/dev_mode.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8c9d449881d340f82d379de5a4e8b4b7b131efff673ae4c1161f5a8ed90ea5"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::focus_bar (cyclomatic 16): figcraft_ui_egui::panels::dev_mode::focus_bar 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/panels/dev_mode.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"294b20c847614084f4a4e6a5ddf5ed64d24ffa8f862f81159f1b08b426729e04"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::inspect::inspect (cyclomatic 16): figcraft_ui_egui::panels::right::inspect::inspect 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/panels/right/inspect.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1b833e9903ae773880393538375d9deb7e0a86bb1b7d24cfbce8904b31a4ad"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::variable_modes (cyclomatic 16): figcraft_ui_egui::panels::right::paints::variable_modes 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/panels/right/paints.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7b57a9395202f1457516047fc92ae16baf35887f69b4d452fffab793c4f692"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::panels::versions::form (cyclomatic 16): figcraft_ui_egui::panels::versions::form 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/ui-egui/src/panels/versions.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0253a66a58f65b2f3d7dcaba98700ae2240f226c9b14082f49ccb8b062f88ad0"}},{"ruleId":"D1","level":"warning","message":{"text":"figcraft_ui_egui::present::scroll::fling_axis (cyclomatic 16): figcraft_ui_egui::present::scroll::fling_axis 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/present/scroll.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e8732e90c1a305caba1d8d54b46bb5f70d08019452b1975f2dcb5b30e71826"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::layers (cognitive 131): figcraft_ui_egui::panels::layers::layers has cognitive complexity 131 (threshold 15). Drivers by points: if/else 63 (105 pts), boolean chains 21, match/switch 2 (4 pts), loops 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layers.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"741251357f3bd7115873be2629a7f994e4a754667b6cb7fdc3ad2dac47dbde6e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::import (cognitive 123): figcraft_format::penpot::import has cognitive complexity 123 (threshold 15). Drivers by points: if/else 33 (81 pts), loops 12 (28 pts), boolean chains 14 (nesting depth added 64). 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/format/src/penpot.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2e76475ff087dfc65c68eb0cce8155fce95e8de91235cbc4344fc97da46c19"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::drag (cognitive 107): Session::drag has cognitive complexity 107 (threshold 15). Drivers by points: if/else 46 (85 pts), loops 5 (14 pts), boolean chains 7, match/switch 1 (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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c19665fe59c090b1c375bbadc6f0e69ba4dce3d4dc4d1a5daafe665e53341b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::layout (cognitive 100): figcraft_text::layout::layout has cognitive complexity 100 (threshold 15). Drivers by points: if/else 37 (64 pts), boolean chains 13, match/switch 6 (12 pts), loops 5 (11 pts) (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/text/src/layout.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d052aee5bd84fd2cc38065b88426af83f85963660bc5c0cef81efaf320899fa"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::action_fields (cognitive 99): figcraft_ui_egui::panels::proto_panel::action_fields has cognitive complexity 99 (threshold 15). Drivers by points: if/else 29 (83 pts), loops 5 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 60). 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/panels/proto_panel.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b685de122b536a718500a49383c9b8dc00b819058a7e6c4a3f45a12f9ee8eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::vector_down (cognitive 97): Session::vector_down has cognitive complexity 97 (threshold 15). Drivers by points: if/else 39 (74 pts), boolean chains 16, match/switch 5 (7 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6656824eefe5a1ad461de903747802bb049141c60720816a2f423e2be32845"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::pages (cognitive 97): figcraft_ui_egui::panels::layers::pages has cognitive complexity 97 (threshold 15). Drivers by points: if/else 48 (83 pts), boolean chains 13, loops 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layers.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f532a672e1b02589927e3165b6e9c3a338cf7d0ae23a77b1998da58e0bc23015"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::input::input (cognitive 94): figcraft_ui_egui::present::input::input has cognitive complexity 94 (threshold 15). Drivers by points: if/else 39 (70 pts), boolean chains 20, loops 3, match/switch 1 (nesting depth added 31). 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/present/input.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"26818fc8dd382970033a010d4004cee8bc3a393b91465a3438f713cff26d8f90"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::selection_spacing::input (cognitive 93): figcraft_ui_egui::canvas::selection_spacing::input has cognitive complexity 93 (threshold 15). Drivers by points: if/else 26 (63 pts), match/switch 5 (19 pts), boolean chains 6, loops 3 (5 pts) (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/selection_spacing.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"234725eb10ed2066388f0acbd03fd4e5977418d4ffd4a65f35e054610f724aee"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::input::input (cognitive 89): figcraft_ui_egui::canvas::input::input has cognitive complexity 89 (threshold 15). Drivers by points: if/else 39 (57 pts), boolean chains 27, match/switch 2 (4 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/input.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb192c8fe0dd809212969b99ff2d945134a9507201d6adb8f6681014f3f40a28"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::properties_ui (cognitive 85): figcraft_ui_egui::panels::component_panel::properties_ui has cognitive complexity 85 (threshold 15). Drivers by points: if/else 30 (59 pts), loops 7 (13 pts), boolean chains 8, match/switch 2 (5 pts) (nesting depth added 38). 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/panels/component_panel.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d7d34e409be513baf353412b73e500bfe8509703be866c9834c22eaa33e438"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::input (cognitive 83): figcraft_ui_egui::canvas::handles::input has cognitive complexity 83 (threshold 15). Drivers by points: if/else 34 (67 pts), boolean chains 7, match/switch 2 (5 pts), loops 3 (4 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/handles.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"130f7050e5c2389e26557e0c98019c9a77fe59327e807a767116ab28df64a024"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::apply (cognitive 83): figcraft_ui_egui::canvas::handles::apply has cognitive complexity 83 (threshold 15). Drivers by points: if/else 35 (72 pts), match/switch 4 (8 pts), boolean chains 3 (nesting depth added 41). 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/canvas/handles.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5606b93ae10ce0a804815f9ad8a9672f2a54822d4ca8c0eb241b19511b8b6e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::popups (cognitive 83): figcraft_ui_egui::menus::popups has cognitive complexity 83 (threshold 15). Drivers by points: if/else 34 (61 pts), boolean chains 14, loops 3 (8 pts) (nesting depth added 32). 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":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a1a79c554e5d35dc8ab4f63eae1dd8273f795da1bdacb26b127911d21eedb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::draw::draw_content (cognitive 82): figcraft_render::draw::draw_content has cognitive complexity 82 (threshold 15). Drivers by points: if/else 19 (46 pts), loops 6 (16 pts), match/switch 4 (11 pts), boolean chains 9 (nesting depth added 44). 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/render/src/draw.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab3ed28212538d1662e2316be1422054b15826747410ee8009f5c30bc62b408"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::paints (cognitive 81): figcraft_ui_egui::panels::right::paints::paints has cognitive complexity 81 (threshold 15). Drivers by points: if/else 36 (58 pts), loops 5 (14 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 32). 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/panels/right/paints.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13c3b0e519956d69a59d69c162e34b4b2deddd0ab6098defe852e07ee6da42"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::import_themed_tokens (cognitive 77): figcraft_format::penpot::import_themed_tokens has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (46 pts), loops 14 (23 pts), boolean chains 5, match/switch 1 (3 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/format/src/penpot.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ddfb671f08678da58cebb96a8cd7ab7557953d1f6f669523fcaed5a1dc30e5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::finish_layout (cognitive 75): figcraft_text::layout::finish_layout has cognitive complexity 75 (threshold 15). Drivers by points: if/else 17 (41 pts), loops 8 (18 pts), match/switch 4 (11 pts), boolean chains 5 (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/text/src/layout.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9dbd35b9aca00c3fed0e58e6046b87bd89627e527319590b9d59c7cd31eec5"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::move_down (cognitive 74): Session::move_down has cognitive complexity 74 (threshold 15). Drivers by points: if/else 32 (53 pts), boolean chains 19, match/switch 2 (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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d35aad89db5aa32b1e192e2bf0ebdacfa8ed730ccab69442204bdbfaa4ee9c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::paints (cognitive 73): figcraft_format::penpot::paints has cognitive complexity 73 (threshold 15). Drivers by points: if/else 28 (62 pts), match/switch 2 (7 pts), boolean chains 3, loops 1 (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/format/src/penpot.rs"},"region":{"startLine":4133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82d92fd7827871197693a9b7724df704c6660593612429328597851f6ce7054"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::local_styles (cognitive 72): figcraft_ui_egui::widgets::style_picker::local_styles has cognitive complexity 72 (threshold 15). Drivers by points: if/else 20 (62 pts), loops 3 (6 pts), match/switch 1 (4 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/style_picker.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9c9e5743792f197f45085c590fe28ebfe5c17c6bce2fa9dac7efa76a481a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::listing (cognitive 71): figcraft_ui_egui::widgets::style_picker::listing has cognitive complexity 71 (threshold 15). Drivers by points: if/else 26 (48 pts), loops 6 (11 pts), boolean chains 7, match/switch 2 (5 pts) (nesting depth added 30). 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/widgets/style_picker.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99d7d357b8663a5ffd670c235036a3aa8b1669db793ae0cdee471906fee4135"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::resize_drag (cognitive 69): Session::resize_drag has cognitive complexity 69 (threshold 15). Drivers by points: if/else 29 (52 pts), boolean chains 8, match/switch 2 (5 pts), loops 2 (4 pts) (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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8731afc2f5f1033ad6fa4240efd00d7f80b1c6cafebd997fb1df57ad5b1c53a7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::arrange::scale_node (cognitive 69): figcraft_engine::cmd::arrange::scale_node has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 12 (27 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/arrange.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca03fa9acf0aa9b32528205718b3bf678fa202926b33bb3615e53af9c07e174"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::code_connect::render (cognitive 69): figcraft_engine::dev::code_connect::render has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (44 pts), match/switch 6 (21 pts), boolean chains 3, loops 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/code_connect.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"63edcebf2e37b7f1289bc2360e74af81336db9adfc0793b688716d885aef6507"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::symbols::apply (cognitive 69): figcraft_format::sketch::symbols::apply has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (49 pts), loops 4 (10 pts), boolean chains 5, match/switch 2 (5 pts) (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/format/src/sketch/symbols.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2db26d7da12b6e684298b1212d3d3ccc42d4f87a63534f82f4284c2aa1a575"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::a11y::keys (cognitive 69): figcraft_ui_egui::a11y::keys has cognitive complexity 69 (threshold 15). Drivers by points: if/else 28 (48 pts), boolean chains 12, loops 3 (6 pts), match/switch 2 (3 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/ui-egui/src/a11y.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4b2a14055a7b47d48918e683346a4d77b960554a2092a605f371da166e12e4"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::header (cognitive 69): figcraft_ui_egui::panels::right::header has cognitive complexity 69 (threshold 15). Drivers by points: if/else 29 (50 pts), loops 4 (7 pts), match/switch 3 (7 pts), boolean chains 5 (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/ui-egui/src/panels/right.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc098ea49139e4b9cd5db30f0e8d3859b517c0dda96dd812d59fc8ccdeb6178"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library_swap::swap_library (cognitive 68): figcraft_engine::assets::library_swap::swap_library has cognitive complexity 68 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 12 (18 pts), match/switch 6 (11 pts), boolean chains 8 (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/engine/src/assets/library_swap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a9a93304585c2c42d48920fce4b893c683fa7a0e1062d04891d597f89f968"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::network (cognitive 68): Mapper::network has cognitive complexity 68 (threshold 15). Drivers by points: if/else 29 (48 pts), boolean chains 9, match/switch 4 (7 pts), loops 3 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/layer.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6ee8d99d424a96a5a5880e3a05e205ebc5a3dd9441ad22c9b2e20f3487be0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::layout_frame (cognitive 68): figcraft_layout::layout_frame has cognitive complexity 68 (threshold 15). Drivers by points: if/else 44 (57 pts), loops 5 (7 pts), boolean chains 4 (nesting depth added 15). 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/layout/src/lib.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80e579d4b572712c99f50583fcc33f859c2f69e683727d312983a733b6f9ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::show (cognitive 68): figcraft_ui_egui::dialogs::show has cognitive complexity 68 (threshold 15). Drivers by points: if/else 28 (54 pts), loops 4 (8 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 31). 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/dialogs.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad878c3e1b8e08d3d4e63a412541493bf41fb892c816f6965e25c5077d9b49b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::up (cognitive 67): Session::up has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (53 pts), boolean chains 9, loops 1 (4 pts), match/switch 1 (nesting depth added 32). 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/canvas/tools/draw.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fecc3bcd72052db2652c06abf4a47588643f515f0ea29b513849f97efa9e3a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::assign (cognitive 67): Exporter::assign has cognitive complexity 67 (threshold 15). Drivers by points: if/else 13 (41 pts), loops 10 (19 pts), match/switch 2 (6 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/format/src/fig/export/assets.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4058d398285d43586830baf06e99b70c07604150d2ea5b4b3b7e60fa72801c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::fields::type_settings (cognitive 67): figcraft_ui_egui::panels::typography::fields::type_settings has cognitive complexity 67 (threshold 15). Drivers by points: if/else 27 (53 pts), match/switch 4 (8 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 32). 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/panels/typography/fields.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5e913bcc425bc8bfb7ca4bacab274a0162867d078c67fe8ae712c94811da44"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::number_field_impl (cognitive 67): figcraft_ui_egui::widgets::number_field_impl has cognitive complexity 67 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 14, match/switch 7 (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/ui-egui/src/widgets.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e6115318687918b6a3296b9a3afb4016c799d7fd28cdf5bcb5cd6b3a7039c6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_shape (cognitive 65): figcraft_engine::cmd::props::apply_shape has cognitive complexity 65 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 9 (22 pts), loops 4 (12 pts), boolean chains 1 (nesting depth added 39). 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/cmd/props.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"55146a026c3e035dc8ef6129c6c99e6aca3a06c4876195f8cde94f51ea42790f"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::content (cognitive 65): Exporter::content has cognitive complexity 65 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 4 (18 pts), boolean chains 7, match/switch 2 (3 pts) (nesting depth added 38). 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/pdf/src/draw.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"965e7bb79954d3c25bbc2cf959910ee71a94d6684981f86609c8d0711ec782d9"}},{"ruleId":"D2","level":"warning","message":{"text":"W::render_node (cognitive 63): W::render_node has cognitive complexity 63 (threshold 15). Drivers by points: if/else 21 (41 pts), loops 5 (16 pts), boolean chains 6 (nesting depth added 31). 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/svg/src/lib.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7335819eb07d5e9bdca565fb05b50bc2582531fc9c21d840672d66ad528066a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_editor::action_item (cognitive 62): figcraft_ui_egui::panels::proto_editor::action_item has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (52 pts), boolean chains 5, match/switch 2 (5 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_editor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"435314070ae8f03198509ea465e27be2deacfeeb6bd8eb58276d0a5ac7a42667"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::player::top_bar (cognitive 62): figcraft_ui_egui::present::player::top_bar has cognitive complexity 62 (threshold 15). Drivers by points: if/else 32 (52 pts), boolean chains 6, loops 2 (3 pts), match/switch 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/ui-egui/src/present/player.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba0f3264155c65595021981b71e7edb6a402d9ca99f38c0eb1daf5fc8dbb8c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::font_report_with_families (cognitive 61): figcraft_engine::cmd::file::load::font_report_with_families has cognitive complexity 61 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 7 (15 pts), boolean chains 3 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/file/load.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"6516594eb32d08f5e9c76bf59941c78032816eafbc58d57e01f9248e28fc7dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::icons::draw::draw (cognitive 61): figcraft_ui_egui::icons::draw::draw has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (32 pts), loops 14 (28 pts), match/switch 1 (nesting depth added 26). 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/icons/draw.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b9af8d94c2922086a74bb54d40ad218d88e01cfdeb8ffecc84d3406857cd5f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::selection_colors::section (cognitive 60): figcraft_ui_egui::panels::selection_colors::section has cognitive complexity 60 (threshold 15). Drivers by points: if/else 21 (51 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/selection_colors.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38c5e85e0f8d51b8e86cf192d76e3d6be135440397bab6d6afcc26e7516706b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::show (cognitive 60): figcraft_ui_egui::widgets::colorpicker::show has cognitive complexity 60 (threshold 15). Drivers by points: if/else 29 (45 pts), match/switch 4 (6 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3adfd468a9887da18c0fe9995ee8bbce04a59a52ab455179ae3de266767a3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::edit_prop (cognitive 59): figcraft_engine::cmd::component::props::edit_prop has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (39 pts), match/switch 4 (8 pts), loops 3 (7 pts), boolean chains 5 (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/engine/src/cmd/component/props.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad76a9457a64515bbd521d45a1af6b3cc74b9fbc0fb453da24f5fdba27c18437"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::variables_io::import (cognitive 59): figcraft_engine::cmd::variables_io::import has cognitive complexity 59 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 7 (14 pts), match/switch 5 (14 pts), boolean chains 2 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/variables_io.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e880551454051302bf7b450af1695a4a1bed5500d9173d60820be398815e5cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"FigApp::handle_ui_requests (cognitive 59): FigApp::handle_ui_requests has cognitive complexity 59 (threshold 15). Drivers by points: if/else 26 (54 pts), boolean chains 2, match/switch 1 (2 pts), loops 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/ui-egui/src/app/commands.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e229fa531fc7235c5a780a7a8ee1d8fdbc6e0bf6d7eeb41d9a638289e503ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::al_zones (cognitive 59): figcraft_ui_egui::canvas::handles::al_zones has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (34 pts), loops 8 (17 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 25). 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/canvas/handles.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b3b356e1a87cb1747e4ef857026a19f8b719eed09f77358950ae308375edf3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::picker::font_picker (cognitive 59): figcraft_ui_egui::panels::typography::picker::font_picker has cognitive complexity 59 (threshold 15). Drivers by points: if/else 21 (36 pts), match/switch 7 (13 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/typography/picker.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5ca2d8afa4e6f66fba90a1f9e474e9f7a60710bdcc8f7cbe59b8fccebf88fb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::draw::draw_layer (cognitive 57): figcraft_render::draw::draw_layer has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 22, loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 8). 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/draw.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7ff19cba971563474656733902349daf8ebfd7ea5e199d8669c80631862494"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::restyle_breaks (cognitive 57): figcraft_text::layout::restyle_breaks has cognitive complexity 57 (threshold 15). Drivers by points: if/else 13 (41 pts), loops 4 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/layout.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd4036eb320c43b48c3f8149ec14d19f45d06b57c58623cb6f3672e5ed1a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::patch_structure (cognitive 56): figcraft_engine::assets::components::patch::patch_structure has cognitive complexity 56 (threshold 15). Drivers by points: if/else 11 (36 pts), loops 5 (12 pts), boolean chains 4, match/switch 1 (4 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/assets/components/patch.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5d5001a5913296c9705903bb8ebe1f1692c941c9f6a6ff7cbb2a7cec4be716"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::alignment (cognitive 56): figcraft_ui_egui::panels::layout_panel::alignment has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (44 pts), boolean chains 5, loops 3 (4 pts), match/switch 3 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"346d23e8e64b7d2a8e6c78697e0b7f86278ec6854f880bcf327f0cf9f85cd5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::hover (cognitive 55): Session::hover has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (41 pts), boolean chains 14 (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/engine/src/canvas/tools/pointer.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0254bc8419ce204b96432310985ca6a893505ab534c77b94dfab371335f9e1ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::bindings (cognitive 55): Ctx::bindings has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 10 (18 pts), match/switch 4 (12 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/format/src/rest/variables.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406eede351e102432ed437e1bc22d6e4b75be24b8f6c2a7402b93a6d3a0a17a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::fig::map::paint::paint (cognitive 55): figcraft_format::fig::map::paint::paint has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (33 pts), match/switch 4 (14 pts), loops 2 (8 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/format/src/fig/map/paint.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb010dd78f34d762038c6094667e24dc5c3d7f4251a814d2036b4c1c6a995c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::model_fields (cognitive 55): figcraft_ui_egui::widgets::colorpicker::model_fields has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (45 pts), loops 3 (5 pts), match/switch 3 (4 pts), boolean chains 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/widgets/colorpicker.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6e18b654997a895cd3fdf5ab367dd9214ec3b0d5dc89b519d88189bdd23c57"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::assets (cognitive 54): Exporter::assets has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (36 pts), match/switch 4 (11 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/assets.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd01dfda09ee0de90c9743d68c9e8302becd9b145fdd0c1277bb9e49ec82953"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::value_cell (cognitive 54): figcraft_ui_egui::dialogs::variables_panel::value_cell has cognitive complexity 54 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 6, match/switch 3 (5 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/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b18a5658bcbc65c98ea5042242a09413a9e213dcbc4c957954153f572bf48"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::delete_vertices (cognitive 53): figcraft_engine::canvas::vectoredit::ops::delete_vertices has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (32 pts), loops 6 (14 pts), match/switch 1 (5 pts), boolean chains 2 (nesting depth added 32). 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/canvas/vectoredit/ops.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bb269439e082c52bd1515c785540e5d5338d2b4deceb400b90acf1c67f485d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::shape_segment (cognitive 53): figcraft_text::layout::shape_segment has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (29 pts), loops 9 (16 pts), boolean chains 8 (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/text/src/layout.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fac4c6b12764118fa8b5ab3928c454fb83b87c1eb4cbad2f01d845bde26666c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::composer (cognitive 53): figcraft_ui_egui::canvas::comments::composer has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 13, loops 1 (2 pts), match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/comments.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0e9d0eaf4f25fa93c8ce3076c1476911f7d3498a1bfcaa751b15fac46bc1ef"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::draw::draw (cognitive 53): figcraft_ui_egui::present::draw::draw has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (41 pts), match/switch 1 (5 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 25). 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/present/draw.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db082dceea7e5070cb0cc790e525f810180faaa446ff1e63b4fd45df2d50fc"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::rounded (cognitive 52): VectorNetwork::rounded has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 9 (12 pts), boolean chains 2, match/switch 1 (2 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/doc/src/vector.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"6349ea65c9fe82a3218a189f690b5a52ad7b30bced542476945e4ee6d7fb9c94"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::offset_path (cognitive 52): figcraft_engine::cmd::structure::offset_path has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (44 pts), loops 3 (7 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/engine/src/cmd/structure.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"675f70034c2187b3d7a1fa6eeaeb27c768cdc8cf538b41aedb005b988f40bb29"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::composite_token_style (cognitive 52): figcraft_format::penpot::composite_token_style has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 26). 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/format/src/penpot.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22c8c53ee0282ad66e6f46645bc4da0097376eaccb2156907787a691be6dda1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::overlays (cognitive 52): figcraft_ui_egui::canvas::overlays::overlays has cognitive complexity 52 (threshold 15). Drivers by points: if/else 28 (38 pts), boolean chains 10, loops 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7889ce377c9fbf08d0a3f0f02b2e66d434dcb1079326564d78340c99f962516"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::dimensions (cognitive 52): figcraft_ui_egui::panels::layout_panel::dimensions has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 8, loops 4 (8 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20a228d929941ed07e2c45e0fb54b53895c0ff71f11ed3ca47af16e6a86749e"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::runs (cognitive 51): VectorNetwork::runs has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 7 (11 pts), boolean chains 4 (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/doc/src/vector.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea7667b74ab556c66849e93959f8042608eaad19cc71dfb8a518dde72ab69f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Markup::element (cognitive 51): Markup::element has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (21 pts), match/switch 7 (16 pts), boolean chains 11, loops 1 (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/engine/src/dev/codegen/html.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"375559834e69bd4da947ca175a5c8f80aec1cb58b38f483d387c59d1c987f4a4"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::patch_copies (cognitive 51): figcraft_engine::assets::components::patch::patch_copies has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (29 pts), boolean chains 12, loops 3 (7 pts), match/switch 1 (3 pts) (nesting depth added 25). 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/assets/components/patch.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f864e90f134d191977301c16e3dff06484edd4b472df02d40abbf12f6ffb3b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"FigApp::frame (cognitive 51): FigApp::frame has cognitive complexity 51 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 14, match/switch 2 (4 pts), loops 1 (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/ui-egui/src/app.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"64240764fdf2e5b8f8c3e183a7a36e1b9cdab499825db641191a486cf3c6dcb2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::styles::apply_bindings_matching (cognitive 50): figcraft_engine::cmd::styles::apply_bindings_matching has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (37 pts), match/switch 3 (8 pts), loops 2 (3 pts), boolean chains 2 (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/engine/src/cmd/styles.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40f45312e9557512f9e27aad3a01a7d4beeab9a8638c8c039ba5556658e4d0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::bind_applied_tokens (cognitive 50): figcraft_format::penpot::bind_applied_tokens has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 6 (8 pts), boolean chains 6, match/switch 2 (6 pts) (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/format/src/penpot.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b88e7a45fe3babf2a8d5b6fa9f75eeb0d3c5e5e1428c4bfeda56b2c82971ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::trigger_rows (cognitive 50): figcraft_ui_egui::panels::proto_panel::trigger_rows has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 6, match/switch 2 (4 pts), loops 2 (3 pts) (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/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"b449656decd5b26add3878ec8b07f0353516d752fb574dc467a563f02addf7d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::board_snapshot (cognitive 49): Mapper::board_snapshot has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (40 pts), boolean chains 8, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/layer.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"241cd13ecfc24b66163b80d710fc017ac1f199a00b1d48a56cd7d8e7b000b5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::cycles (cognitive 48): VectorNetwork::cycles has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/vector_faces.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9989bd3073377142b16d7e184cdf530ee94eff86aafa3cb4f887241cb4aaa1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::tokens_json (cognitive 48): Exporter::tokens_json has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 2 (9 pts), loops 3 (6 pts) (nesting depth added 31). 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/format/src/penpot/export.rs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f550012cc0b5da1ad7234eafa88ef8f47256b9d59320f4b2bfcc046a80ae87"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::guides::input (cognitive 48): figcraft_ui_egui::canvas::guides::input has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (23 pts), match/switch 6 (14 pts), boolean chains 11 (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/ui-egui/src/canvas/guides.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e646d2cd377df805b43c9d5f462cd43c09c4dc683779d92bc564a6d85a286"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::derived::normalize (cognitive 47): figcraft_engine::derived::normalize has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 10 (14 pts), boolean chains 5 (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/engine/src/derived.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfdac225d871cae4237fbc31eb6c22bdd07e3bfaf0ef582e55dcede32b11404"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::instance (cognitive 47): Mapper::instance has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 7 (9 pts), match/switch 3 (6 pts), boolean chains 4 (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/format/src/fig/map/component.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d4acbfb5f5362e7e6dc6f427bcd3f7e0f2b3e1247c36f5a3fb944066c2222"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::grid_lines (cognitive 47): figcraft_layout::grid_lines has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (28 pts), match/switch 4 (8 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 19). 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/layout/src/lib.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"2992dbea04f357aa0a1d4937d8ad95ca05b9f346cd1962f6251209865b96a7b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Presenter::perform_at (cognitive 47): Presenter::perform_at has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (36 pts), match/switch 3 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/actions.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"860297aee6cfa5d6b8497c8691c1f51ddb8251d90b4256d4f97ec7c1ea4b3ca4"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::selection_spacing::draw (cognitive 47): figcraft_ui_egui::canvas::selection_spacing::draw has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (38 pts), loops 3 (5 pts), boolean chains 3, 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/canvas/selection_spacing.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"64186b777b057804660e2ee9e0f393d47c5f9a6dbcba8275f0d5fc18a5137e4c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::textedit::key (cognitive 46): figcraft_engine::canvas::textedit::key has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (31 pts), match/switch 6 (10 pts), boolean chains 5 (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/engine/src/canvas/textedit.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3017cd8c485e7199213857a97d7880ea7f000beeaa7f90d41426fb1d8d047550"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::simplify (cognitive 46): figcraft_engine::cmd::structure::simplify has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 3 (9 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 30). 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/cmd/structure.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbd1795ebd1b33cf6b57b328a1d62cf806e68f893ed4f135ac89e23fa55782e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::selection::selection_colors::collect (cognitive 46): figcraft_engine::selection::selection_colors::collect has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (37 pts), loops 3 (7 pts), boolean chains 2 (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/engine/src/selection/selection_colors.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3a0eef69ffc8490c757c2e7ebd9e6edc1d20a69ca5feb5a06e65ed480a371a"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::instance (cognitive 46): Exporter::instance has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 10, loops 4 (5 pts), match/switch 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/component.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23d34514889bda8453b1557fe79201d6e4dd200a38d278463e2c3fa7623c762"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::retained::patch (cognitive 46): figcraft_render::retained::patch has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (29 pts), loops 6 (11 pts), boolean chains 6 (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/retained.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"84be32f90e5d5e738efe82f47509a2961b34ce06b46efd179d8bcd79a7231853"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::layer_filtered (cognitive 45): Mapper::layer_filtered has cognitive complexity 45 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 13, match/switch 3 (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/format/src/fig/map/layer.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"425673904b0355a6c1e34e1f9fe1c3d5caab5e8f20a2bd21a41011281acc3275"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::panel (cognitive 45): figcraft_ui_egui::canvas::comments::panel has cognitive complexity 45 (threshold 15). Drivers by points: if/else 26 (40 pts), loops 3, 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/ui-egui/src/canvas/comments.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"babae3cafb0a9239560c4297c5dc27b8b604c43833873f8029c32e055e080e67"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::enabled_libraries (cognitive 45): figcraft_ui_egui::panels::assets_panel::enabled_libraries has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 7, loops 2 (4 pts), match/switch 1 (2 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/ui-egui/src/panels/assets_panel.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6942484f58008c5f3e35710dc25e5e22fe856db16311d4232dfde89434c6d94a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::tabs::tab_bar (cognitive 45): figcraft_ui_egui::tabs::tab_bar has cognitive complexity 45 (threshold 15). Drivers by points: if/else 28 (35 pts), boolean chains 5, loops 3, match/switch 1 (2 pts) (nesting depth added 8). 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/tabs.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88147c6c85527fce3ab352282f3b2493eb98b286698e0f98772511c902bcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::shapebuilder::apply (cognitive 44): figcraft_engine::canvas::shapebuilder::apply has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 6, loops 3 (5 pts), match/switch 1 (2 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/engine/src/canvas/shapebuilder.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c186f1f80aa0a8b787e4f0598dad33c7455b6e37c47c566960efebdddbe5c992"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::home::home_recents::list (cognitive 44): figcraft_ui_egui::home::home_recents::list has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (34 pts), match/switch 2 (5 pts), loops 3 (4 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/ui-egui/src/home/home_recents.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1513bff50e09769b294f8676c832bbe6993342deb77a700a97a737f23a3f65"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::publish_form (cognitive 44): figcraft_ui_egui::panels::assets_panel::publish_form has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (30 pts), loops 3 (6 pts), boolean chains 5, match/switch 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/panels/assets_panel.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078669badf35630593af0aa6d30003dacc04b3aa948545ca31b07a063368dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::animation_rows (cognitive 44): figcraft_ui_egui::panels::proto_panel::animation_rows has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (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/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d02b62621d36acdd7b44310eb8f2d7f478112b8c51e00b4c39eeefef3d58dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::shortcuts::key_event (cognitive 44): figcraft_ui_egui::shortcuts::key_event has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 11, match/switch 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/ui-egui/src/shortcuts.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae88f3a9f736091095d3a1c8261c0a0de1b25432915e8d7c5fb14cd535392f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::set_mirroring (cognitive 43): figcraft_engine::canvas::vectoredit::ops::set_mirroring has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (38 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"83679238fd09291c051b4f733740aeb4ef16a4f8d81591d599d5fe99220415e1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::link_local_instances (cognitive 43): figcraft_format::penpot::link_local_instances has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (34 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (2 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/format/src/penpot.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"273fea456003c1eb9d1ca7c4900332372edcfa1217d9ffe11e2d12d244e53912"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::dev_resources_section (cognitive 43): figcraft_ui_egui::panels::dev_mode::dev_resources_section has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 6, match/switch 2 (3 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d1878734b3fd9fdb4c07f30c014623cf49392c1c5c1a7549ce855b741d052"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::paint_row (cognitive 43): figcraft_ui_egui::panels::right::paints::paint_row has cognitive complexity 43 (threshold 15). Drivers by points: if/else 25 (35 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/paints.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d961a41fca7fb46091082a8dda4f7aa541d8dece0a7a9e4b8f76bb98d5d56f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::expand_penpot_raw_svgs (cognitive 42): figcraft_engine::cmd::file::load::expand_penpot_raw_svgs has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/file/load.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f245a75d3adc87ee453b386fa0b733b098273860c3a8312e043e506e7dc4ee"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::fig::text_path::ordered_chain (cognitive 42): figcraft_format::fig::text_path::ordered_chain has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 5 (9 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/format/src/fig/text_path.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa38c61d475a70044eaa8c2e76c708eb3f71ceed334ed5885ba22145a69d25db"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::blur::progressive (cognitive 42): figcraft_render::blur::progressive has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 7 (15 pts), match/switch 1 (2 pts) (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/render/src/blur.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3de3c351f26c68a876a4e0b366ec96edc59b08f661c3cf3756d45eaeaa4ab4e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab::diff::diff (cognitive 41): figcraft_collab::diff::diff has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 9 (12 pts), match/switch 3 (7 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab/src/diff.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e70fd278e2366afb42277d7002db2832f122268e73f0172b6e47ef627e25229"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::adopt_pasted (cognitive 41): figcraft_engine::assets::library::adopt_pasted has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 5 (8 pts), match/switch 2 (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/assets/library.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe04e654567223eee85e8a1e9341dec6f1f2e541384947873df263010ccd680"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::automation::params::normalize_paintish (cognitive 40): figcraft_engine::automation::params::normalize_paintish has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 2 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/automation/params.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be6a87e92b99c62dba03acf9e84c52a8efd39ca8e13ffdb07573b392d3a3121"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::message (cognitive 40): figcraft_ui_egui::canvas::comments::message has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 4, loops 2 (3 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/canvas/comments.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4aa9667185c27ab2b97290043b6c5726c23fe214f21c68632e398dfb31ac92"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::effects (cognitive 40): figcraft_ui_egui::panels::right::effects::effects has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (3 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/ui-egui/src/panels/right/effects.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca409173fc5c4b0f3beb465919c9ebcc331b92772efe50ff653acec9f26fc7b3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::versions::panel (cognitive 40): figcraft_ui_egui::panels::versions::panel has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 4, loops 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/ui-egui/src/panels/versions.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e506d2df93b95f243b198b9a2011ad69ba57fb72d6bfcccf49086c6dc70cc63b"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::common (cognitive 39): Exporter::common has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (26 pts), match/switch 5 (7 pts), boolean chains 5, 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/format/src/fig/export/layer.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bb90c9b3d29e1ab014575f94ca6fd0bf46cfd133e66e1a8d6a4aceacc0e9be"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::tree::layer (cognitive 39): figcraft_format::sketch::tree::layer has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (30 pts), match/switch 5 (6 pts), boolean chains 3 (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/format/src/sketch/tree.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30fe99f8857089d7c9dab3be972fbefa3549ae0da5157033c442ed5380448f9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::apply_constraints (cognitive 39): figcraft_layout::apply_constraints has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 5, match/switch 2 (4 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/layout/src/lib.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db55f7091225ce9cbd918907e4de79de88414d2a83d5c4d2785d3896ea769b1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::selection_overlay (cognitive 39): figcraft_ui_egui::canvas::overlays::selection_overlay has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 3 (7 pts), boolean chains 6 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fa04a5c25f9beef652bdbb134897c197ead3b8d0a3058ae1d194cbfd15227a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::vector_overlay (cognitive 39): figcraft_ui_egui::canvas::overlays::vector_overlay has cognitive complexity 39 (threshold 15). Drivers by points: if/else 23 (34 pts), loops 3, 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/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"238bf4af767c33cf38b8fd2b1058048115603e1c8d0e9295ccec3d74a8e2c5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::effect_settings (cognitive 39): figcraft_ui_egui::panels::right::effects::effect_settings has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (30 pts), match/switch 4 (5 pts), loops 2 (4 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/ui-egui/src/panels/right/effects.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fbb615639c786c52a41384bca8275317592064fd3da6b57317afff6be920ea"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::from_path (cognitive 38): VectorNetwork::from_path has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/vector.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"63970c2225d05a272c966aa9cc11d22eaace387cd4671e8c957570d22bafdf0c"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::vector_hover (cognitive 38): Session::vector_hover has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 6, match/switch 4 (6 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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e59c42aad8b2b7144d506a797a18d5aebeddc7d60716d7dd120f897cef2238"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::vector_drag (cognitive 38): Session::vector_drag has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 3 (6 pts), boolean chains 5, match/switch 2 (3 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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f81fbdd36759427b5aa41b843b13777209855e75feef965da7f536e10e9148"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::create::create (cognitive 38): figcraft_engine::cmd::create::create has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (32 pts), boolean chains 5, 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/engine/src/cmd/create.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"845ffa3ee631ddc3d48c4dea9de722e2e7c0f7c0a382b47c1fd41f016365cf17"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::swift::swift_layer (cognitive 37): figcraft_engine::dev::codegen::swift::swift_layer has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 5 (9 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/codegen/swift.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb93d24c97c9bfd1b94e9280fc4e9eb75aac40c5379c4c9dfc1d7bfb93ae8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::layer (cognitive 37): Exporter::layer has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 5, match/switch 4 (5 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/format/src/fig/export/layer.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2a5f1c7802160527e9f4f33b54a966d456b67821ec04468dfc417ef918ba43"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::text_node (cognitive 37): figcraft_format::penpot::text_node has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 6 (10 pts), boolean chains 4, match/switch 2 (nesting depth added 13). Of this number, 19 points are the body\u0027s own statements and 18 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cec4b28ac898c202f5c6ad2884082a33f5758a0067bad647f1bca8645a34cd"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::palette::palette (cognitive 37): figcraft_ui_egui::menus::palette::palette has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus/palette.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe4ed4efdc7c32c87ca92e4028edc6604ee581487bf316ce6994adbb6e56c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::sync_after_edit (cognitive 36): figcraft_engine::assets::components::patch::sync_after_edit has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8, loops 5, 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/engine/src/assets/components/patch.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a433aa67a91c92ee40cc71deab063240084397635151b5d5d12e0bcfa5180e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::rebase::rebase_instance (cognitive 36): figcraft_engine::assets::components::rebase::rebase_instance has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 7, loops 2, 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/engine/src/assets/components/rebase.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c2aa878f7f1f44bc866c9c57a32b6c17adac3d68a389ee0b2144cc6a298af8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::variables::sync_extensions (cognitive 36): figcraft_engine::cmd::variables::sync_extensions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 5 (13 pts), match/switch 1 (3 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/engine/src/cmd/variables.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3590485b882c62a7d0197d6bba183d59ec6aea7d4e1669a448170fc509f8c0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::vector (cognitive 36): Exporter::vector has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 2 (5 pts), match/switch 1 (3 pts), boolean chains 2 (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/format/src/fig/export/shape.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"122bed3447ddd019d21794979dc79949053c48484a34692c5188d4a9492d7435"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::library_context (cognitive 36): Mapper::library_context has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 4 (7 pts), boolean chains 4 (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/format/src/fig/map/document.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08b88c965d0a9261e82392e3f82d0cb28c595805c224b16a87232851e0de788"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::shape (cognitive 36): Exporter::shape has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 5, loops 3 (4 pts) (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/format/src/penpot/export.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ee9a6931f68c23215f4ba6042d99d06ebeb5592d621193a5f44cff79e77e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::match_instance_tree (cognitive 36): figcraft_format::penpot::match_instance_tree has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 10, match/switch 1 (2 pts), 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/format/src/penpot.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e837ba4ca139bb3a213cd3615cf46d0d9d566ea3418768b7e38445a9bde9ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::glass::glass (cognitive 36): figcraft_render::glass::glass has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 2 (3 pts), match/switch 2 (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/render/src/glass.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd37b89e6a9c400a145fc01b3a3c5a307bc0350148bff892a4c4915d9352f1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::branch_ui::list (cognitive 36): figcraft_ui_egui::dialogs::branch_ui::list has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 5 (10 pts), match/switch 1 (3 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/ui-egui/src/dialogs/branch_ui.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d874cff50a3ee275c8756867d84f1f48ee878898b49104128905b6fd072160a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::right_panel (cognitive 36): figcraft_ui_egui::panels::right::right_panel has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (29 pts), loops 4, boolean chains 2, 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/panels/right.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7547e13f7c387194e524e8d9e38210b334cb49903a3ef1bbf7cc565f7bdfb338"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::diff::diff_groups (cognitive 35): figcraft_engine::assets::components::diff::diff_groups has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 6 (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/engine/src/assets/components/diff.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f0c3ab37606e6c328369f16f1e137e06e42245b4888d7f912b4d557f36d34e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_sizing (cognitive 35): figcraft_engine::cmd::props::apply_sizing has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 4 (7 pts), loops 1 (3 pts), boolean chains 1 (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/cmd/props.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"00038dac834149603f4f8f782c84dfd639a682bc6a05fa0e15b92660034693cf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::usage_with_styles (cognitive 35): figcraft_engine::dev::component_codegen::usage_with_styles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 5, loops 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/component_codegen.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1170bcbd12713fbcaa7c110dc41ed837c6e1d0582fc56d3291f651288d09d251"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::group (cognitive 35): figcraft_svg::import::group has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 6 (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/svg/src/import.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af6e14cc838fb79f52675c8800934cc70c75f7758227ab5f49282d1b873b9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::live::people_bar (cognitive 35): figcraft_ui_egui::live::people_bar has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 2, loops 1, match/switch 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/live.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0652e4f5215761edadcf75febb858a1ed0273d9055e6855fa2fa44938da1e354"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::tiles (cognitive 35): figcraft_ui_egui::panels::assets_panel::tiles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/assets_panel.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"11873d499f2da64e2535be78f42eee9adef2b8f62b9bfc15e23e1ce6e9249cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"Document::paste_nodes (cognitive 34): Document::paste_nodes has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (8 pts), boolean chains 4, match/switch 1 (2 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/doc/src/lib.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"838c966fdf5c0dab0850c01510e93bc9036e9c82bad6505084f9ff929ee6a3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::image::adjust (cognitive 34): figcraft_engine::cmd::image::adjust has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (25 pts), match/switch 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/image.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23d803a3fe33dfd14057ebe06ffc80aa9d73a4e3d14c07a4788e5c67bf7905"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::bound (cognitive 34): Exporter::bound has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (26 pts), match/switch 2 (5 pts), loops 2 (3 pts) (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/format/src/fig/export/assets.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71f317f92dab454cfa28b6eaa6e2c034f9d6a7a34b4abaa66782a6f9c174d28"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::header_row (cognitive 34): figcraft_ui_egui::dialogs::variables_panel::header_row has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 5, loops 2 (3 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/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb340b95cc1284ef4fa62547861c0da157541c8302c259115d284259c25184e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::tracks (cognitive 34): figcraft_ui_egui::panels::layout_panel::tracks has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 3 (6 pts), match/switch 1 (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/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"af952c9f7f583b64739a36d9728fed3ad4cf93baaddcea011b55901cf76a712f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft::control_server::serve_with_events (cognitive 33): figcraft::control_server::serve_with_events has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 4 (13 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft/src/control_server.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4280636835e6dd51f6b64a35e6da1f3894ff953a9902e6eb4233ccf48b0535"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab::merge::plan (cognitive 33): figcraft_collab::merge::plan has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 6 (10 pts), match/switch 1 (2 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/collab/src/merge.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8351e7874d9fdd6dcc28d9bb5122b3f57c97988b0afadd9399441996b22b87"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab_net::hub::conn::serve (cognitive 33): figcraft_collab_net::hub::conn::serve has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 5 (10 pts), boolean chains 5 (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/collab-net/src/hub/conn.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"374b11c26ac71572a7c1cf8a262a4fbefe2ad138ac6eb08e1effb17e4e3f5a86"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::double_click (cognitive 33): Session::double_click has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 14 (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/canvas/tools/click.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"342e2624486ee62734bed224ae1cff149dd16669665fd289cbf3974ec727ce16"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::al_keys::grid_move (cognitive 33): figcraft_engine::canvas::al_keys::grid_move has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (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/canvas/al_keys.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4701ea2592b9988c1f89944bfa2c258b40f0b93e09bd1d65a66d51fd9a7197"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::find_replace (cognitive 33): figcraft_engine::cmd::edit::props::find_replace has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (9 pts), boolean chains 3, match/switch 1 (2 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/engine/src/cmd/edit/props.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b739a8bdb1a72076172b936b54679e1517158310bd311a18ee99a659e37ae05"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::text (cognitive 33): Exporter::text has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5, loops 3 (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/format/src/fig/export/shape.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a0f3555c4391aee826b3b73bb93d0cb78377891988b12ea543803b461bc90c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::show (cognitive 33): figcraft_ui_egui::canvas::show has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 9, match/switch 3 (4 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/canvas.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90ee05894802ffd13c38727f8ca5bbc3d9eeaa9fa03620ab9cc942180f9c2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_key (cognitive 33): figcraft_ui_egui::control::ui_key has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 6, match/switch 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/control.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"82281cdc4afa96db8649e3325dc949ff08f3ea377b73f6db7034534ea1798d22"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::menu_level (cognitive 33): figcraft_ui_egui::menus::menu_level has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 3, loops 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/ui-egui/src/menus.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0a4b55706b5bdf599857818965c4d15f29d2fd06289695fc7726e8bf6a7415"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::appearance (cognitive 33): figcraft_ui_egui::panels::right::paints::appearance has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 3 (7 pts), boolean chains 5 (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/panels/right/paints.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"876aeb67f2cd030cec1acb7adf57c75dc499ba13cf021a28f85b5735a6cd2728"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::section_panel::section (cognitive 33): figcraft_ui_egui::panels::section_panel::section has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 6, loops 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/ui-egui/src/panels/section_panel.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64a4dc9915eae39ed9619240842b5a3af750e5b80b9d2780c4cc1cbfa872b1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::import_variables (cognitive 32): figcraft_engine::assets::library::import_variables has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 4 (9 pts), loops 4 (5 pts), boolean chains 3 (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/engine/src/assets/library.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b6984a3fa1852e1868ab6fed00d67a41c7ae5484e0b9c9d12993e9ed615c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::components (cognitive 32): Exporter::components has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, match/switch 2 (4 pts), loops 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/format/src/penpot/export.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"033cafa8c47e251acf40a418fb7ce3b70ac43b3f9e8b5ee92742ffe41962b509"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::color::scaled (cognitive 32): figcraft_text::color::scaled has cognitive complexity 32 (threshold 15). Drivers by points: loops 9 (27 pts), boolean chains 2, if/else 2, match/switch 1 (nesting depth added 18). 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/text/src/color.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef13c1bcf603a39d154612238dbe22805c28e52a22c64bff9fea1de1ac750ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::live::draw (cognitive 32): figcraft_ui_egui::live::draw has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 4 (6 pts), boolean chains 3, 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/ui-egui/src/live.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"83729daf355403b782a63f1c4d2dc45acc8c79785d18441fa77e166946e1ee4a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::clipboard::paste (cognitive 32): figcraft_ui_egui::menus::clipboard::paste has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (30 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/ui-egui/src/menus/clipboard.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e63953914fc3234c5e76b48995a19ed3c85d4dcf9d4c45c9f5048ee67e7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::instance_ui (cognitive 32): figcraft_ui_egui::panels::component_panel::instance_ui has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 6, loops 1 (2 pts), match/switch 1 (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/ui-egui/src/panels/component_panel.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9eab391f2981e61a365272f629e850e4f41b921b0d9c2f26fb9fb7ac99d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::key_nav (cognitive 32): figcraft_ui_egui::panels::layers::key_nav has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 2, 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/panels/layers.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"572117fc3df7a1717e979adc7dad999fc17c88e7d312b2fce5d6f22082f48ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::grid_settings (cognitive 32): figcraft_ui_egui::panels::right::effects::grid_settings has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 2, loops 1 (2 pts), 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/ui-egui/src/panels/right/effects.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1efbe3b2e0cdfee93855c0f40c8c28af553d344aa900c2c32c7722ed0e8b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::paint_set (cognitive 31): figcraft_engine::cmd::edit::props::paint_set has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 1, match/switch 1 (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/cmd/edit/props.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"159f666a465e834f1e7684ebadbb7cb8d1d8b1c4ae173132d8ba71d00272e2e9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::flutter::flutter_widget (cognitive 31): figcraft_engine::dev::codegen::flutter::flutter_widget has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 6 (10 pts), boolean chains 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/codegen/flutter.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77425a30b3679babc723d5696e7390a0052115fa2652fda6713a79900b1d836"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::stroke_geometry (cognitive 31): Exporter::stroke_geometry has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 4 (8 pts), boolean chains 4 (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/format/src/fig/export/shape.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b129cf95826bbd3d95c031e1b777a88abb84eae094f166460a3f22b6cab832d"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::new (cognitive 31): Mapper::new has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 5 (6 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/format/src/fig/map.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea40dd9474f3a108b5060b780ddd307fa0b767ff27f6460f418febd94dedeed"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::finish (cognitive 31): Ctx::finish has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (9 pts), boolean chains 2 (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/format/src/rest.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8318ea7bdfe88e0d3d421ff8f58b3fc3d3e1738b3ee3d4f77e3d3c788262a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::import_token_variables (cognitive 31): figcraft_format::penpot::import_token_variables has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d61952bccdee1fdb2175ca4640841e8b51aceecccab80886d6bf87c445f5952"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::layout_grid (cognitive 31): figcraft_layout::layout_grid has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 4, match/switch 3, loops 2 (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/layout/src/lib.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d55f31e429fd3abe0c291115eaef269b1f4de880e5a5d37f5b8fa848115f70"}},{"ruleId":"D2","level":"warning","message":{"text":"W::simple_stroke (cognitive 31): W::simple_stroke has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 5 (7 pts), boolean chains 5, loops 2 (4 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/svg/src/lib.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d2b26bbe4c3309226536cc7463b9b8cdb98cc6c1311192e74e8a147ab85080"}},{"ruleId":"D2","level":"warning","message":{"text":"Worker::new (cognitive 31): Worker::new has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (6 pts), match/switch 1 (3 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/ui-egui/src/canvas/render_worker.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc152c8ee4ba5be811b45aae44259d91ba9b56aa231dfc6be861b17bb5b1412"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::menu_input::menu_input_dialog (cognitive 31): figcraft_ui_egui::dialogs::menu_input::menu_input_dialog has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, loops 1 (3 pts), match/switch 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/menu_input.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb59849f1ff8742e7f9e527bb7afef3a64bbe20658485021bd83210f3ba9717"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::home::online::row (cognitive 31): figcraft_ui_egui::home::online::row has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23 (26 pts), boolean chains 5 (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/ui-egui/src/home/online.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b8f4f40bd62bdb80fa3bd0c23cd80b525ee3ddd3b6a0396efb157c4f74b93"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::playground_section (cognitive 31): figcraft_ui_egui::panels::dev_mode::playground_section has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ed3f65516b9c4989003d7a1630d9ee1d9b63a5a9265dac43193898d90e9e26"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::eye_lock (cognitive 31): figcraft_ui_egui::panels::layers::eye_lock has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 9 (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/panels/layers.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d2779556b52fb520529114531b7725296abe45ddd869c610f779d9f869fc71"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::chrome::show (cognitive 31): figcraft_ui_egui::present::chrome::show has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 8, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/chrome.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f6130801fe00dca53730ec51aedad879c0f603d404a5d077ea916cbeb7f597"}},{"ruleId":"D2","level":"warning","message":{"text":"Sim::check (cognitive 30): Sim::check has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (8 pts), boolean chains 5, match/switch 2 (5 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/collab/src/sim.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c712214efec615ae9dd95bea817c8363141dae79f9a213422d570848292cda6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::merge_components (cognitive 30): figcraft_engine::assets::library::merge_components has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 6 (10 pts), boolean chains 4, 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/engine/src/assets/library.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a06bd7ac6998c36bb94e0ac95d81765b21f07e820ca40b9546d95cbdd1e0913"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::path_between (cognitive 30): figcraft_engine::canvas::vectoredit::ops::path_between has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (6 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/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11cbf0bf2053719b69293d5ed6647a05ad6f9dde2dd9d5b5abb0fa72f5f25c3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::paint_paste (cognitive 30): figcraft_engine::cmd::edit::props::paint_paste has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/edit/props.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2584d630d284f2d2aa9194acb8c4ec69328e4fafd60a445d84fc7648686d0a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::px_to_rem (cognitive 30): figcraft_engine::dev::codegen::px_to_rem has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (7 pts), boolean chains 3 (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/engine/src/dev/codegen.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f0a11654ea0ad6fa64c1a1f88902d63218a866cb43741a4037e4e06c3ae12"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::resolve_slots (cognitive 30): Ctx::resolve_slots has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 3 (7 pts), boolean chains 3, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff775dc9ac64426e8d3fce5e2fa5cdeeb8ca245afd0629b8b456739045f9ab"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::draw::bounds_within (cognitive 30): figcraft_render::draw::bounds_within has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, loops 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/render/src/draw.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ba1fe91014eb8b409d3462259a3ab9f1664d8049f90c2596841ccca7c17546"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::truncate_layout (cognitive 30): figcraft_text::layout::truncate_layout has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 3, loops 1 (3 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/text/src/layout.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c5b26871e6a55b0b2eb43a4fcc0545e71fce0f3a0b24fa2183bd91ef7a3c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"FigApp::auto_save_tick (cognitive 30): FigApp::auto_save_tick has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 3 (7 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/app/files.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ae2358b8585e32b44e1d25e485fe9f4d8e62f2dc0fc73d850a32cd39409ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::thread (cognitive 30): figcraft_ui_egui::canvas::comments::thread has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (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/ui-egui/src/canvas/comments.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d84c05e42c47ae702715a3726dfca6b2b9a2461f0829db68c4a21668a421512"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::variable_ui::picker (cognitive 30): figcraft_ui_egui::panels::variable_ui::picker has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 5 (7 pts), boolean chains 6, loops 2 (3 pts) (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, 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/panels/variable_ui.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f876d64d04915e6836d3debbc53378549245916834962e87775b2bae49d62c57"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::player::player (cognitive 30): figcraft_ui_egui::present::player::player has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 6, loops 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/present/player.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5db6a5992de5cdca7861716ec80b1a1f56d077e0f6a148c7416e766bf0342fa"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::transition::smart_interpolate (cognitive 30): figcraft_ui_egui::present::transition::smart_interpolate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (8 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/transition.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d396bec19cf6543d3f64c0b19121dbf546fbbef02cba3dd9c1af14996b3c45d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Client::rejoin (cognitive 29): Client::rejoin has cognitive complexity 29 (threshold 15). Drivers by points: loops 8 (15 pts), if/else 6 (11 pts), boolean chains 2, match/switch 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab/src/client.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cca5ed487b5b65183bdbaecbd5f3d723370606ccc02f22509cf125f38a601c"}},{"ruleId":"D2","level":"warning","message":{"text":"Replica::apply_one (cognitive 29): Replica::apply_one has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 4 (7 pts), loops 2 (4 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab/src/replica.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fa1b093b7d386be7b065f3813434e9c689181d8d96818c434f064a32585228"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub::send_out (cognitive 29): Hub::send_out has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 4 (7 pts), match/switch 1 (3 pts) (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/collab-net/src/hub.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b2a10ffa40c574e881d37596bbafc229a67eaedb918c7c10497a29baaf6aca"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::fig::text_path::from_network (cognitive 29): figcraft_format::fig::text_path::from_network has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 5, 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/format/src/fig/text_path.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26018244bee403502608c42bac25ecdac1ae04c56f5b8064111edf802c4bd0e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::layout_props (cognitive 29): figcraft_format::penpot::layout_props has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8700eb5233942d01cb2551602e21ee802cafdbed2c5f22159984f771c1c137"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::style::tint_layers (cognitive 29): figcraft_format::sketch::style::tint_layers has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (11 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/format/src/sketch/style.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4769f8cec8c8c474147877486d91dc4adb2f477f0032d239c39ed5bc38aa4f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pdf::text::draw_text (cognitive 29): figcraft_pdf::text::draw_text has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 8 (12 pts), boolean chains 4 (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/pdf/src/text.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fa68f3e754f9f972648f9bb2250e2bb61dab1757f0a0fce63a385b4afe6131"}},{"ruleId":"D2","level":"warning","message":{"text":"Manifest::check (cognitive 29): Manifest::check has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, loops 3 (4 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/plugin/src/manifest.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43906da0777c521baa45156a01e164d47e5f9c4c2196aec134b77329c2b8e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::proto_canvas::draw (cognitive 29): figcraft_ui_egui::canvas::proto_canvas::draw has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, loops 2 (4 pts), 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/canvas/proto_canvas.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f0a7b79595b3c347bfccb6d9daefd4f5f67f79265784a98915e60b7de27f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::group_rows (cognitive 29): figcraft_ui_egui::dialogs::variables_panel::group_rows has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (26 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":"crates/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10f8dcdab1a6753e1b897f8e7b59b5d75b825fd8e5d7e248295a59d8bb2ea90"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::effects::grids (cognitive 29): figcraft_ui_egui::panels::right::effects::grids has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/effects.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"56427f2d78c8f96e5342faa34053da9817efbcb994e338cac38c10d21acc48ca"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::gradient_controls (cognitive 29): figcraft_ui_egui::widgets::colorpicker::gradient_controls has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaac03f3325aeedabd74ee464e8779756efd493079ef5d23a6265785a73a4d14"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab::history::capture (cognitive 28): figcraft_collab::history::capture has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 6, loops 2 (4 pts), 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/collab/src/history.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"20262ceb82b128b4cca35b9fe3a7a01d01a71d3d52a05213713e9ac9aadce6d6"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::paint_to_with (cognitive 28): VectorNetwork::paint_to_with has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (8 pts), loops 2 (7 pts), boolean chains 2 (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/doc/src/vector_faces.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"056c05092e9e2aebf7428d6dedbc060f5632643418c6e358684defe452cc9728"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::import (cognitive 28): figcraft_engine::assets::library::import has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 7 (9 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/assets/library.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f1121537737374fc95ae044f7e523772cbf9d16f14c0eaea1a45e7408969d7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::style_vars::refresh (cognitive 28): figcraft_engine::assets::style_vars::refresh has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, loops 2 (4 pts), 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/engine/src/assets/style_vars.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66389964fa116bea391995a51ccc2450dcbbc80441701ac7b354076a051d973"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::arrange::zorder (cognitive 28): figcraft_engine::cmd::arrange::zorder has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (5 pts), match/switch 2 (3 pts), boolean chains 2 (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/engine/src/cmd/arrange.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a04e863acbb73e6d3606bdc5a7e9c92094590e3ae5d86dd8e41609230790f6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::set_props (cognitive 28): figcraft_engine::cmd::component::props::set_props has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (11 pts), match/switch 1 (2 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/engine/src/cmd/component/props.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f6be91f628ab99d08e20894d0e7b606fa4c987b1e4f0e337198c6c7cfcafe5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::add_prop_for (cognitive 28): figcraft_engine::cmd::component::props::add_prop_for has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 4 (6 pts), loops 3 (5 pts), boolean chains 3 (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/cmd/component/props.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b7cc101e5714aff19a4caf488a3fc80f33de0c071513af05fc411a25280c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::devinspect::properties_with (cognitive 28): figcraft_engine::dev::devinspect::properties_with has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (22 pts), match/switch 4 (6 pts) (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, 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/dev/devinspect.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"385da936fdf05a1d50197188e76990c7aaa5ed827d3999b986b3eacc67f3076a"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::prop_refs (cognitive 28): Mapper::prop_refs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 2 (4 pts), boolean chains 1, 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/format/src/fig/map/component.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a12e6e9d0cdb2225a24869586449c110aebaeac17f182204e86cbcd4042c08a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::svg_tree (cognitive 28): figcraft_format::penpot::svg_tree has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (5 pts), match/switch 2 (5 pts), boolean chains 2 (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/format/src/penpot.rs"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"308b76f7633284614c95ab131ada47451a26368b87ab31248cf69786fc2d4870"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_geom::smoothed_polygon (cognitive 28): figcraft_geom::smoothed_polygon has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (5 pts), boolean chains 3 (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/geom/src/lib.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bb3af10f76ffd168542674ca6517ddc1b8460e793f461bd8af9368b7068a3a"}},{"ruleId":"D2","level":"warning","message":{"text":"W::filter_for (cognitive 28): W::filter_for has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3, loops 3, 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/svg/src/lib.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7c9adb9b2b5c314ab01de1174aedf12ea6fea60f6886fdb6f4c03dd1607a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"W::text_element (cognitive 28): W::text_element has cognitive complexity 28 (threshold 15). Drivers by points: loops 3 (11 pts), if/else 7 (9 pts), match/switch 2 (6 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/svg/src/lib.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65f76cf3bdd372dffb00b895a9bc15ff41edfafe782296b6f5f257ac15539df"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::text::text (cognitive 28): figcraft_svg::import::text::text has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, loops 3 (5 pts), match/switch 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/svg/src/import/text.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68e928605ede2f60435cb1af25de946cafa0d489cf8eda58c053e94b40f7c05"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::shape_text (cognitive 28): figcraft_text::layout::shape_text has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (8 pts), boolean chains 5, match/switch 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/layout.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2c1c70dee17c67c7115a0db2f83c191d310c8a78ec272c94dd6bcf30e8df01"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::break_lines (cognitive 28): figcraft_text::layout::break_lines has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, match/switch 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/layout.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"2185c5f51b7ba59d8b126618dd32514903e248b94564e67eeab064a45151d176"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::spacing (cognitive 28): figcraft_ui_egui::panels::layout_panel::spacing has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 3 (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/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd66171d67246c4fd2a27d4a375e97adfacbaeef7664a96132f3022b067e2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::fields::font_rows (cognitive 28): figcraft_ui_egui::panels::typography::fields::font_rows has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3, loops 2 (3 pts), match/switch 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/ui-egui/src/panels/typography/fields.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa48f27ac5d58022b8e20e6da76993cfac037942ed593bcb46fbde539c245a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::fields::decoration_details (cognitive 28): figcraft_ui_egui::panels::typography::fields::decoration_details has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 3, 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/ui-egui/src/panels/typography/fields.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f4e6709fe2a9de68c3427753023481141b0da548511b81e8f10a51481ad86e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::show (cognitive 28): figcraft_ui_egui::widgets::style_picker::show has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/style_picker.rs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f0500437419cb6bec361e48232fb3327395605fdf9f7719509584f3ee0f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Walker::node (cognitive 28): Walker::node has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 2 (7 pts), boolean chains 4, loops 1 (3 pts) (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/vectordrawable/src/walk.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ab4825757bf4d2bd4fa677f508bd3536510ee728b14b3870db7c8e657a5149"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::primary (cognitive 27): Parser::primary has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (5 pts), loops 2 (4 pts), boolean chains 3 (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/doc/src/proto_expr_parse.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0dd68f7194359247a99ea5ed73460312a5439e0e992a0c820f4052e3d1cfa0"}},{"ruleId":"D2","level":"warning","message":{"text":"Targets::gather_for_guide (cognitive 27): Targets::gather_for_guide has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (8 pts), boolean chains 3 (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/canvas/snap.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6666217628cd2b80e027b3e5a4aaf807d2bbf082b5da9b9b866858da292bc5dd"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::content::templates::design_system::buttons (cognitive 27): figcraft_engine::content::templates::design_system::buttons has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (3 pts), match/switch 1 (3 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/engine/src/content/templates/design_system.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af8e058a658bf6bd81ab64524c773bcd0bfea4272c6750ceb1d29ad3de44100"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::write (cognitive 27): Exporter::write has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 8 (10 pts), 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/format/src/penpot/export.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"164556bfc1d2f0cc7a5c8f678fcdde6b9a585a0b4616864237d4df5f9301976c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::proto_canvas::input (cognitive 27): figcraft_ui_egui::canvas::proto_canvas::input has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 6 (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/ui-egui/src/canvas/proto_canvas.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8732e07b7f7607d0d063787fe3d604cdb3d63fbd692505c64f4c31f939b6bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::selection_spacing::handles (cognitive 27): figcraft_ui_egui::canvas::selection_spacing::handles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (24 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/ui-egui/src/canvas/selection_spacing.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb707269f1c1f9904b787521d16ef1ac432c3a71a8272203df04630d53fbf51"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::show (cognitive 27): figcraft_ui_egui::panels::assets_panel::show has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (23 pts), match/switch 2, 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/ui-egui/src/panels/assets_panel.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e2f91d417e56d72b9095e7ec5a6bc2be8988c15c3352cc7a84e46a7145405b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::assets_panel::usage (cognitive 27): figcraft_ui_egui::panels::assets_panel::usage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/panels/assets_panel.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eda8f4bd3d69d64386ad003e2279534f52c04cc6046ce519d55dc8311efd471"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::instance_props (cognitive 27): figcraft_ui_egui::panels::component_panel::instance_props has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), match/switch 1 (2 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/panels/component_panel.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"70742b51675c004af26d8aaef283d6c223382768b31a3c47b318602cf8ab9d45"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::annotations_section (cognitive 27): figcraft_ui_egui::panels::dev_mode::annotations_section has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b622698b4a7f11d3705983cfc2b26daa401c1dc9f7e158dc92b1b15bbbefd43"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::custom_easing_fields (cognitive 27): figcraft_ui_egui::panels::proto_panel::custom_easing_fields has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 3 (4 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511b6eafed3271e839e2c64bd15984392656b86226cd8eb72be5892b97f6dab"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::axes::variable_axes (cognitive 27): figcraft_ui_egui::panels::typography::axes::variable_axes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/typography/axes.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb218ee579d8617ea8a37454cb882f11249a12684a36d69ee8b5cfc28206237"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::checkpointed (cognitive 26): Session::checkpointed has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/session/undo.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9255cd015162fe2c754ddc672bbdc5fe9d42f36e60aedb0112adef8fe1f63407"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::live_event (cognitive 26): Session::live_event has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 3 (4 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/engine/src/sharing/live/events.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfefbf91412de82516ea91a228ce683eda25fec357f8b43d17b6586e0a6833a6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::distance::between (cognitive 26): figcraft_engine::canvas::distance::between has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 2 (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/canvas/distance.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45584eae26ed7c5330d0c15dc246769f89b35d2e292623ac8f31db7bbdae2f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::missing_penpot_font_warnings (cognitive 26): figcraft_engine::cmd::file::load::missing_penpot_font_warnings has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/file/load.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4d444b65a0a09fb80fbbe9833acf4cf29486ffc6e9684fa7cdf3399dedccd8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::content::synthetic_ds::place_instances (cognitive 26): figcraft_engine::content::synthetic_ds::place_instances has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/content/synthetic_ds.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0714e5ad4a02307c5a3135796e0f751c16503d37b1e51df9024ef47c15626ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::set_props (cognitive 26): Exporter::set_props has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (7 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/component.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79d15c2af3982321bb43629b514e445f512037c297f94de9ba7df01a652ed76"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::variable_bindings (cognitive 26): Mapper::variable_bindings has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 3 (7 pts), loops 3 (5 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/format/src/fig/map/variables.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"40af20a4a7993659e9f29a9c0a90b11f90c273e45a93c42e153000cf696417e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::vector (cognitive 26): Ctx::vector has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), match/switch 3 (4 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"907aca47d40628a289edfcb0f42f015fa08e75895aa07efb75fbbfafed79c3c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::styles_take_bindings (cognitive 26): Ctx::styles_take_bindings has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 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/format/src/rest.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd755222f47b2ff72c2616320c7cc98b3e4370186e7542ec26614fd8feb0e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::fx::primitive (cognitive 26): figcraft_svg::import::fx::primitive has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 5 (9 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 11). 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/svg/src/import/fx.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b894a29d35e27b182a0b38e6589291e93a39d6efbcbe841fc423d94f3963a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::var_row (cognitive 26): figcraft_ui_egui::dialogs::variables_panel::var_row has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 7, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c6da13223f299d57b3d52205b950da8da155d998c73c54b881677c5199680c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::draw (cognitive 26): figcraft_ui_egui::panels::dev_mode::draw has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (6 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/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221bb896b25b2111f6324cf6be2342936a6f3162983d1cf07667b9c81ad1eee"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::categories_section (cognitive 26): figcraft_ui_egui::panels::dev_mode::categories_section has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 4 (5 pts), boolean chains 1, match/switch 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/panels/dev_mode.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0e620700e150f8f563581db5e3e831633658439ab264a77552aeae86b7b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::ready_list (cognitive 26): figcraft_ui_egui::panels::dev_mode::ready_list has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 3, loops 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/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efcda5fcbaf27c777e23e9bc0d81b99fa34e95d00adf84c55bf2a8dad72d9ca"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::paints::variable_modes (cognitive 26): figcraft_ui_egui::panels::right::paints::variable_modes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/paints.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8988491a1208c18be5d5b419888911b5b64372f03a73022c6da669a1e768d39"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::image_presets (cognitive 26): figcraft_ui_egui::widgets::colorpicker::image_presets has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 3 (4 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24e9540cb47368ef896df0347f33f5afc02b9509b69d0db616399158ecd2c23"}},{"ruleId":"D2","level":"warning","message":{"text":"Walker::strokes (cognitive 26): Walker::strokes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vectordrawable/src/walk.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1d36809eb735e358076ae77d0f2743881f87c1f220cf8c2d357caf15e45f87"}},{"ruleId":"D2","level":"warning","message":{"text":"Expr::type_at (cognitive 25): Expr::type_at has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 8 (11 pts), boolean chains 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/proto_expr_parse.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"015473ba96ae29a0398778d45dd5842c8ba30ae57c9b7cae27df7432537e6349"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::split_loops (cognitive 25): VectorNetwork::split_loops has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/vector_faces.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8dc9ea347119ba25fb08bcd089bbb38dfe6819ddc2368bbba11d29a592b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Roles::new (cognitive 25): Roles::new has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 6 (10 pts), boolean chains 1 (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/assets/token_roles.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bfb39a6ada42d0e18d5a3abf3300fde468357ec78eb56d40387caf171aeac9"}},{"ruleId":"D2","level":"warning","message":{"text":"Targets::gather_in (cognitive 25): Targets::gather_in has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 5 (9 pts), boolean chains 3, 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/engine/src/canvas/snap.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"172554bcb1ba678f6b86c4b35de524d51654f95839eed71bbab60a8065b70803"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::record_overrides (cognitive 25): figcraft_engine::assets::components::patch::record_overrides has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, loops 3 (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/engine/src/assets/components/patch.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806f248098de0b7b2f9b7cb5732960c0306ca961d8b599fd4820c67b429ed9e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::automation::inspect::text_props (cognitive 25): figcraft_engine::automation::inspect::text_props has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (24 pts), loops 1 (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/engine/src/automation/inspect.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e91e6f31c2c143308b739754fced8d6bfddacf6cf1af8dd6ad18c913b2abd5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::join (cognitive 25): figcraft_engine::canvas::vectoredit::ops::join has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c43fbdb738040137351f2799c9a6026e2ff1d18c8c396e9c14bf330c31d81ca"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::instance::push_changes (cognitive 25): figcraft_engine::cmd::component::instance::push_changes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/component/instance.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b88d25ad576f63042ba659e185f298ecf8f09062dea5c6fe5a32081f01b6d6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::set (cognitive 25): figcraft_engine::cmd::edit::props::set has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 5 (7 pts), boolean chains 2, match/switch 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/engine/src/cmd/edit/props.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"08076ce0040277ae41228bc034bfbd68852f314e07ac19df8e6ab71cd45e8fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::open::append_pages (cognitive 25): figcraft_engine::cmd::file::open::append_pages has cognitive complexity 25 (threshold 15). Drivers by points: loops 10 (14 pts), if/else 6 (11 pts) (nesting depth added 9). 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/cmd/file/open.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"516dfd8c82713f7185a0a164fc656b7dfb457cb82f58033f3d470cf66518dd86"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_geometry (cognitive 25): figcraft_engine::cmd::props::apply_geometry has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e7f4513c55b8a11d26795276d63c944eb546b9269cd7997d09d896f988c58c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::layout_add (cognitive 25): figcraft_engine::cmd::structure::layout_add has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 7, match/switch 1 (3 pts), 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/engine/src/cmd/structure.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"817ce710dafdefed90ea88746d4968075f1658deec19d93cc902a1acf49390b7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::arkui::arkui_layer (cognitive 25): figcraft_engine::dev::codegen::arkui::arkui_layer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (6 pts), boolean chains 3, match/switch 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/engine/src/dev/codegen/arkui.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"613b70c9e50115812f7bb7e211d5c5541abab003dd7b0181a7923e935e155797"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::connector_snapshot_children (cognitive 25): Mapper::connector_snapshot_children has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 3 (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/format/src/fig/map/connector.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4bc7eae7721b7e9947bc1a29ff54f97c8ca8edc14941f88f3e7a025c909e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::page_json (cognitive 25): Exporter::page_json has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 5 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/export.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"5322e4bb2fb4be02609af3d8a2268dbd336f18ec67e7a25dfc806451e7c43357"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::strokes (cognitive 25): Exporter::strokes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, match/switch 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/export.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"001b627280629d65cb42f55d6c142f016543c7cd34ebb773419610ca506e64cb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::svg_gradient (cognitive 25): figcraft_format::penpot::svg_gradient has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2, match/switch 2, 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/format/src/penpot.rs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a4c3fcaa4cfd97b9a0c0c2deab3af17f73ff91f62252bdea7a85b277bab78b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::rest::import_parts (cognitive 25): figcraft_format::rest::import_parts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 5 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d100d33a7f5d0406ba0e576354529dc8e87cff20a2231359e29433aeb02254"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::symbols::instance (cognitive 25): figcraft_format::sketch::symbols::instance has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 8, loops 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/sketch/symbols.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3666d69cc1f5c66851244a6ef758b13e9dbff11d780e719c997bc15056a629f"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::layer (cognitive 25): Exporter::layer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 4, loops 1 (2 pts) (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/pdf/src/draw.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14d13ce9f27b00b0d41e92ae05e50aaa460a31f93ef9e423a07f277b802272d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pdf::text::glyph_runs (cognitive 25): figcraft_pdf::text::glyph_runs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 3, 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/pdf/src/text.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3bf866275d6dd54d2eb2a06079a0453d7ccaaf0125fedcc8fecca82e28f673"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::glass::nearest_sites (cognitive 25): figcraft_render::glass::nearest_sites has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (8 pts), boolean chains 1 (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/render/src/glass.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9d4de971065d15cd584f08b4f066e0c8cf908c7a814513b91176953b1c71e"}},{"ruleId":"D2","level":"warning","message":{"text":"W::layer (cognitive 25): W::layer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16, boolean chains 8, match/switch 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/svg/src/lib.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d972158f0b34aa0bceb2a0f1aa27528124b4db4c9718441019c382aab86585b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::path (cognitive 25): figcraft_svg::import::path has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (5 pts), boolean chains 2, match/switch 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/svg/src/import.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a344f99234e34bd059bee7cc8ba99997f0607740ff75190e26a11dbe59a225f2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_comments (cognitive 25): figcraft_ui_egui::control::ui_set_comments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (19 pts), match/switch 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/control.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e771b373d0580b08a21590311d62bab087188fd2b9e4fa95c9de650f8ba5eed"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::export::export_dialog (cognitive 25): figcraft_ui_egui::dialogs::export::export_dialog has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (19 pts), loops 2 (3 pts), match/switch 2, boolean chains 1 (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/ui-egui/src/dialogs/export.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3324a944f77efebb291f27a2721f542da9b13d88f79136f739f159fcb8f1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::inspect::inspect_assets (cognitive 25): figcraft_ui_egui::panels::right::inspect::inspect_assets has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/inspect.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92c27a063af5dc98e346f9bf7b4e888646a1f2770b86892697e3a0cea8f71f0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::scale_panel::anchor_picker (cognitive 25): figcraft_ui_egui::panels::scale_panel::anchor_picker has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (3 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/ui-egui/src/panels/scale_panel.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1834d21e61a81c032ff656ee6a6a5b393508fd59e3ca14b25ac572f1264d8df9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::player::options_menu (cognitive 25): figcraft_ui_egui::present::player::options_menu has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, 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/ui-egui/src/present/player.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"046d18c4e82964a750ad9314e3f67439e00283eb85a91c180bc9742c8c198a08"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft::recovery::recover_all (cognitive 24): figcraft::recovery::recover_all has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 4 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft/src/recovery.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ed882ccd59c9033a9a291c04b27d1a146ae1a37e12bcba903438baf14c87b"}},{"ruleId":"D2","level":"warning","message":{"text":"Document::validate (cognitive 24): Document::validate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/doc/src/lib.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffa0244e8a92010c88bd4e5419d49396048e42c843709044dc74e61821b98b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Document::repair (cognitive 24): Document::repair has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 4 (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/doc/src/lib.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e81d106ae58d5e12641d88baac3856e81bf197bf2edc6201155c64322724bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::shape_builder_pointer (cognitive 24): Session::shape_builder_pointer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 1 (2 pts), match/switch 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/engine/src/canvas/shapebuilder.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"78481627611d64c403377cdd720aead1c59ed76bf8c9952cefa47222bb3af68d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::instances::path_map (cognitive 24): figcraft_engine::assets::components::instances::path_map has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (3 pts), boolean chains 2 (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/engine/src/assets/components/instances.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eda265d7c860a7ebd74dc56dcd76acb9158e1c9a61ecb0c1cfae7f79d2326e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::rebuild_instances (cognitive 24): figcraft_engine::assets::components::patch::rebuild_instances has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 5 (8 pts), boolean chains 2 (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/engine/src/assets/components/patch.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9d8b36211814428d0e72041a9a6bc1e98286048ab8dec79013f24c2ad39be"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::localize (cognitive 24): figcraft_engine::assets::library::localize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 4 (8 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/engine/src/assets/library.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"a234b9ba3a94aac884ee8b0e0a7229330a7414110a63e0315157e442d4d975cb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::open::open (cognitive 24): figcraft_engine::cmd::file::open::open has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5, 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/engine/src/cmd/file/open.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"52468ad4027a0befac8f6afd0f79aeb6e29652931ab8bbb44d5bfbbd568f8382"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::proto::set (cognitive 24): figcraft_engine::cmd::proto::set has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 1 (3 pts), boolean chains 1, 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/engine/src/cmd/proto.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec344a962f12300ae1784caf969b43c1c66494d47bec2437933349c3bbcba61"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::styles::sync_text_styles (cognitive 24): figcraft_engine::cmd::styles::sync_text_styles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 3 (4 pts), match/switch 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/engine/src/cmd/styles.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d614c6746346737be36bc6f7984d6bf4b9a9db37d4c0880acfa6d417b21affb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::derived::mark_dev_changes (cognitive 24): figcraft_engine::derived::mark_dev_changes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 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/engine/src/derived.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f00c193fca4c1e75cb7ee2ce901f14a987b7f2977210e392c4e26a217ccd4"}},{"ruleId":"D2","level":"warning","message":{"text":"Schema::decode (cognitive 24): Schema::decode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (6 pts), boolean chains 2, 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/format/src/fig/kiwi.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"95525d56798d1ac8d9be7a88086fa850166712edeb0b38123eae825665c16ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::map_layer_children (cognitive 24): Mapper::map_layer_children has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (7 pts), match/switch 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/format/src/fig/map/layer.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"341fb4aa5529f50feeb0863b1ad4c1fade5e7915b9a735a33984f38e6569735f"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::assign_ids (cognitive 24): Exporter::assign_ids has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/export.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7db268de013347d723ca2bf290726105b483a6f7445a3604f2026151caa08"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::resolve_instances (cognitive 24): Ctx::resolve_instances has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 5 (6 pts), match/switch 1 (2 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/format/src/rest.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"938046616436618357aee84fabf83f18efdafe26f79950b9e698a917d0968c96"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::import_document_colors (cognitive 24): figcraft_format::penpot::import_document_colors has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (5 pts), boolean chains 3, loops 1 (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/format/src/penpot.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"be831749d94cec3ed6f3202657611b8b5acf028c098b5c46f8f27841432d675c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::referenced_font_refs::visit (cognitive 24): figcraft_format::penpot::referenced_font_refs::visit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, 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/format/src/penpot.rs"},"region":{"startLine":3492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0bc11d8dd87991c22ca4c1728929768119a1ca62d3ade4021ba0b8861cafc0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_geom::rounded_polygon (cognitive 24): figcraft_geom::rounded_polygon has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/geom/src/lib.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1310742b01b4a30b9fe3e348981e533614b601671c79ce21860791ede43291"}},{"ruleId":"D2","level":"warning","message":{"text":"Recents::refresh (cognitive 24): Recents::refresh has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, 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/home/home_recents.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5010d04bf2c6eda2ffe6ddd1982f78e65225ad7625881730067094bfd1b309"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::widget_bar::item (cognitive 24): figcraft_ui_egui::canvas::widget_bar::item has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 2, 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/ui-egui/src/canvas/widget_bar.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea905de885aa72ee25b578ef34c8f142220ba612fff835a20e07be6c4ede095f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::background (cognitive 24): figcraft_ui_egui::control::background has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 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/ui-egui/src/control.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b8afb0f3fd8a013b1b634aeae0f67c1e810c727bdc181127f79eb866213f12"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::collection_row (cognitive 24): figcraft_ui_egui::dialogs::variables_panel::collection_row has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 5 (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/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a74dc54e82067d02e4a942f3a903f49b05fd2bca3b578fb11fd08d219b0fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_compare::show (cognitive 24): figcraft_ui_egui::panels::dev_compare::show has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 3 (5 pts), boolean chains 4 (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/panels/dev_compare.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31760cdaf436102954a1413953608c50f9414c04f6619a018f306a66129a007"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::rail (cognitive 24): figcraft_ui_egui::panels::layers::rail has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 1 (3 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/ui-egui/src/panels/layers.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4381a0fa2b66a1fc20446f0dde47456ef22d9e346f8140e2bea090860dad506"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::layers::check (cognitive 24): xtask::layers::check has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, 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":"xtask/src/layers.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ff1067729561abaf73d5f4373a2142b7af47f80fc702808af55ceb0107614"}},{"ruleId":"D2","level":"warning","message":{"text":"Recovery::write (cognitive 23): Recovery::write has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 1 (2 pts), boolean chains 1, 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":"apps/figcraft/src/recovery.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aeb1b9b37a89a0d4b91c264edd53f00af5e1295738e9b8c2fcea1c67005928"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_server::cli::run (cognitive 23): figcraft_server::cli::run has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 12 (23 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-server/src/cli.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d737b54bb9f967fd286c81d02292b7c6752ef2b35bd5924b4ec075dc7330710"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::fixes (cognitive 23): Server::fixes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (7 pts), match/switch 1 (2 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/collab/src/server.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e609c83c64df27968e6a7d51ac50878ffeb1b7505461be63b2c495e37a92aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::region_path (cognitive 23): VectorNetwork::region_path has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/vector_regions.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd223458dd3b6453b8bf6d67ff70ddf7ec865713fd87fc9007147d2e2f24b56"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::patch::override_groups (cognitive 23): figcraft_engine::assets::components::patch::override_groups has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, loops 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/engine/src/assets/components/patch.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f437aa3ce3acbaf094fe23cef7c26c991e15ec509cf0a979cb499bfa18c2be38"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::prune (cognitive 23): figcraft_engine::assets::library::prune has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, loops 3 (5 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/engine/src/assets/library.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"385c3fa0d9307397724d0996d43c4114af897d0777c21ad72469eef8c8382b81"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::wrap (cognitive 23): figcraft_engine::cmd::structure::wrap has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, match/switch 2, 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/engine/src/cmd/structure.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"343efd434d35d393fccbd5f0f261ba442cb08d50abb276fa1b5b1b394da7f7ed"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::collect_flatten_parts (cognitive 23): figcraft_engine::cmd::structure::collect_flatten_parts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, loops 1 (2 pts), 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/engine/src/cmd/structure.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e284c6489d2de8d0a8c6feb72116bf86da0c6988286c25c1dfae336b63599"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::styles::propagate_style (cognitive 23): figcraft_engine::cmd::styles::propagate_style has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (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/cmd/styles.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"b778fe7a19b0bd64b0846c59c0bd5b6de32a31c9cabebf2cc7e5572f51fded68"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::variables::update (cognitive 23): figcraft_engine::cmd::variables::update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 4 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/variables.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad3c13c732fbce3c691d30c5b10f1bf6c0e03947af6b027671abaf09ce15d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::css::css_decls (cognitive 23): figcraft_engine::dev::codegen::css::css_decls has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (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/engine/src/dev/codegen/css.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"df104a333e2fb6c54f2856a500a7e22c6986951ae4c9ae682c33e100c10f1d23"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::arkui_definition (cognitive 23): figcraft_engine::dev::component_codegen::arkui_definition has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (7 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/dev/component_codegen.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"816a70a87251f5dac0c2e35d0bdb76e469cdf0c65691a62b38eb53ca4bff7744"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::keymap::display (cognitive 23): figcraft_engine::keymap::display has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 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/engine/src/keymap.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5b5620c65cb84671e4c10d8b489210a44495fb88ef86faae4efc1f34543ee9"}},{"ruleId":"D2","level":"warning","message":{"text":"Schema::parse (cognitive 23): Schema::parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 pts), match/switch 2 (6 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/format/src/fig/kiwi.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95af90e5cd62329f4857dc41ef2207ceb9aed91003e3628db6bdfad4576e9fd"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerImport::add_layer (cognitive 23): LayerImport::add_layer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (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/format/src/penpot.rs"},"region":{"startLine":3319}}}],"partialFingerprints":{"codehealthFindingId/v1":"760e75b44aaa921c9163daebafe359c4f6c0e22e9dee36fa82e371cb961cfe3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::common (cognitive 23): Ctx::common has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, match/switch 3 (4 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4b921abbb7aa867e9390e3715feb20fffee284809b7c0c81010db9fede03f9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::arc_to_cubics (cognitive 23): figcraft_format::penpot::arc_to_cubics has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 6, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ade24be5bdcc134d754ad7609b1ab7e6166239c98f79375a6307d2fccd94641"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::rest::props::child_layout (cognitive 23): figcraft_format::rest::props::child_layout has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 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/format/src/rest/props.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccdd259399199d6d10541a62c9ea603ad7b7669ca0cbb52e0d07c8daccbb946"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::rest::proto::device_name (cognitive 23): figcraft_format::rest::proto::device_name has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2, match/switch 2 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest/proto.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8535cf1b2524be8f3b1a9ea0656dc3b2db0baa78ffb1a294f801e663adbfc98b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::rest::text::type_style (cognitive 23): figcraft_format::rest::text::type_style has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 4 (5 pts), boolean chains 3 (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/format/src/rest/text.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f4dd7a95312f6a3f901097f934ca1f4283f5931890ed1038a248f626953cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::track_content (cognitive 23): figcraft_layout::track_content has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts), boolean chains 4 (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/layout/src/lib.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dee1b2bf51abc676119e0eb431d54acf85247a461eb67a99792cdc3bdc7d61"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::draw::node_outline_at (cognitive 23): figcraft_render::draw::node_outline_at has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/draw.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac5ed14ffebe2681c0b45d7b508299b93af257626f88ee4fc3d7afabf31d6dc"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::draw::subtree_outline_at (cognitive 23): figcraft_render::draw::subtree_outline_at has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, loops 1 (2 pts), 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/render/src/draw.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3371ac59d50274bd2fc93f317a9a220e415c3ec90eb80229364c930aa0b6ecbf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::nesting (cognitive 23): figcraft_svg::import::nesting has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), match/switch 1 (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/svg/src/import.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ce09f139a037bbace53824e260448481b502b04621b64cd12ea99bc00e80a5"}},{"ruleId":"D2","level":"warning","message":{"text":"TextLayout::selection_rects (cognitive 23): TextLayout::selection_rects has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/layout.rs"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dc760f1150b0965ce922bf72140e004c70edd106e68fce727915ac9df0c0df"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::layout::ink_cuts (cognitive 23): figcraft_text::layout::ink_cuts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (5 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/text/src/layout.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c33dc3f93e18ec1f34297008aeb43b3026ec62625c908f038c73fb03b95e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::frame_labels::draw (cognitive 23): figcraft_ui_egui::canvas::frame_labels::draw has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2 (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/canvas/frame_labels.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a09b6339cfa9fa124912b572a9d0569dd0da7447e02c7a9338d93426987eef9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::handles::draw (cognitive 23): figcraft_ui_egui::canvas::handles::draw has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, loops 3, match/switch 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/canvas/handles.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c13ff8f7effcc706e58024640ed0b430f764289402152060fa9398c866ceb6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_input (cognitive 23): figcraft_ui_egui::control::ui_input has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 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/ui-egui/src/control.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f72d80ebbccc4609a045adefa1df53cca0eb5a1b924e3cebda65389cab2f246"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layout_panel::layout_section (cognitive 23): figcraft_ui_egui::panels::layout_panel::layout_section has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 5 (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/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d9517803ddb94236cd5104f965d9e6af257951de111510345e290ffe4df408"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::right::inspect::inspect (cognitive 23): figcraft_ui_egui::panels::right::inspect::inspect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right/inspect.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62447adb55517ec845ac6c1db4c887e8e480c4b83e7d41ecc8df52cb2c271ea"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::device::device_body (cognitive 23): figcraft_ui_egui::present::device::device_body has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/device.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0605d494223171b996f61ae6fab77ffd7e50f9160f5eccd94524248537e029fb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::layout::layout (cognitive 23): figcraft_ui_egui::present::layout::layout has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, boolean chains 4, match/switch 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/present/layout.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9387bb4527a193f67c1d649ca7492659fe2457a2167f31818aef1f5a87221b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::shortcuts::handle_input (cognitive 23): figcraft_ui_egui::shortcuts::handle_input has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/shortcuts.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9941f29d3abf942294f87ee9bc116b78f1cfa644f93ae1773f3cdcabc6ac364"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_cli::files::export (cognitive 22): figcraft_cli::files::export has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (4 pts), match/switch 3 (4 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":"apps/figcraft-cli/src/files.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65728ad80865a61c1306f84350b09c39eea450e2dfb292843cb752c444b043e"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::load (cognitive 22): Store::load has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), match/switch 4 (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":"apps/figcraft-server/src/store/journal.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c8c4f41c088f53f0c9536692281dc73ec085f4d384e96f02bd0a67034ac4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_web::web::start (cognitive 22): figcraft_web::web::start has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 3). 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":"apps/figcraft-web/src/web.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adda83cebbeb64eb7436efc81afb43c04425d0b6c8f4cd4e1b25cc1ecbf31d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Client::travel (cognitive 22): Client::travel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (2 pts), 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/collab/src/client.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6256e13755c70328f82722e72265d4ef3c24de0d79a92fa4681937f56cbaaf28"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::receive (cognitive 22): Server::receive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab/src/server.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38121321fab4cd40693a398c6b82e968cac09347c1c8356a827d8c22217dad2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_doc::geometry::layers_at (cognitive 22): figcraft_doc::geometry::layers_at has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to one function item inside it that branches (rec). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/geometry.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a33aec487a47ba2cee7fa9f54521fab693987ed94c6ae87f4827a2102599e34"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::vector_up (cognitive 22): Session::vector_up has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, 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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5f9e5e1722f8b469a65c48ad6f6075820c69c9ba39b98de130a875486650a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::sync::follow_geometry_overrides (cognitive 22): figcraft_engine::assets::components::sync::follow_geometry_overrides has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, 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/engine/src/assets/components/sync.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b0f3f2663066ffd1283b2766bc805e90993bf314ae0631f7217b7a055b1c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::boards::board_table::edit_cmd (cognitive 22): figcraft_engine::boards::board_table::edit_cmd has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), match/switch 2 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/boards/board_table.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e671e97868204685ccfc639143bce1df115a1f4853a035fbbf7f7ad541f91747"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::tools::handles::resized_box (cognitive 22): figcraft_engine::canvas::tools::handles::resized_box has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 4 (5 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/canvas/tools/handles.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2322a569ef7c3ab6e869d4296d453d5cb954e1a8f4753d38c51610af18228755"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::arrange::spacing (cognitive 22): figcraft_engine::cmd::arrange::spacing has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/arrange.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f5994ff87bbf91d888ed12627b504171eed8950c8dfcac29ede57c1177aa10"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::open::import (cognitive 22): figcraft_engine::cmd::file::open::import has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (6 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/engine/src/cmd/file/open.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"415c869eff6d9642c24d21f4f036aa7161abe530e81a0054b1cfaa4999cf31f9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::layout::set_track (cognitive 22): figcraft_engine::cmd::layout::set_track has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 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/engine/src/cmd/layout.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"689bc6e1357cf6d7bbf712b9eae6e8bd9ac068b6ab88415c55670a5d5b64da2a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_text_style (cognitive 22): figcraft_engine::cmd::props::apply_text_style has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5e57d23542ed1675bad1fcd43ae87c55e1296d8122b0bf0f26222296054ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::resize_to_fit (cognitive 22): figcraft_engine::cmd::structure::resize_to_fit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 3 (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/cmd/structure.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7bd535941cced2e6fab507da2f12aa62a7aaa43a09ebcc6e8b8f279e1915d7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::variables_io::css (cognitive 22): figcraft_engine::cmd::variables_io::css has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 3 (12 pts), loops 3 (6 pts), if/else 4 (nesting depth added 12). 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/cmd/variables_io.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bedb8ea501e7bc419f2a500eead7827b8cccac689d4077c14c88fc625099d6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::devinspect::auto_layout (cognitive 22): figcraft_engine::dev::devinspect::auto_layout has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 4 (5 pts), boolean chains 2 (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/dev/devinspect.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12ca42f39804707fc8c878181c7b285c1b5e5e1743a596d60a17c31fd32b54a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::tailwind::padding (cognitive 22): figcraft_engine::dev::tailwind::padding has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/tailwind.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d976f3c68583e6beea6193a45ccc434e9e8ab8e1642de63e21c8e6babdf7e66"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::selection::selection_colors::bind_variable (cognitive 22): figcraft_engine::selection::selection_colors::bind_variable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/selection/selection_colors.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d27c1815a7533ffa6b0d4e3a9a2df64881bca01d846f1965d3aad0c84bb371"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::path::network (cognitive 22): figcraft_format::sketch::path::network has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/sketch/path.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c75f2e365643515d51c74ee7ae24ea95eed61754f43175ea7880c621ac91f1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::path::combined (cognitive 22): figcraft_format::sketch::path::combined has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 3 (7 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/sketch/path.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2029b27f82ad293a3372123071294243f7c5cd14dacf21ace7be11de79d33070"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_mcp::tools::get_node (cognitive 22): figcraft_mcp::tools::get_node has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, 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/mcp/src/tools.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"57259430450559faecb0ae6eb4b1d5aca5adab01a093808bf575827d18b0bec1"}},{"ruleId":"D2","level":"warning","message":{"text":"W::paint_attr (cognitive 22): W::paint_attr has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 3 (5 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/svg/src/lib.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd50a453304b93c96d364baf018f04cadbe13b585660f95f7c50c52a37d073e6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::display::shape_arabic (cognitive 22): figcraft_text::display::shape_arabic has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/display.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cecbd8217f547ebffedfb0ee42683675f5157bbb57f63653cc572ef5eef636"}},{"ruleId":"D2","level":"warning","message":{"text":"Popover::show (cognitive 22): Popover::show has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, match/switch 2 (3 pts) (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/popover.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"32caad3637aee69fc369e714bf9a31b8126a2fc52d46113fcf4c5f42c41f9a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_styles (cognitive 22): figcraft_ui_egui::control::ui_set_styles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 3 (6 pts), loops 1 (2 pts) (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/ui-egui/src/control.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c18397a7edd118d82fa168667e168865cdd7fe84d046d0ef931402e6fa27b77"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::branch_ui::show (cognitive 22): figcraft_ui_egui::dialogs::branch_ui::show has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 3, 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/ui-egui/src/dialogs/branch_ui.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"07069bc1c92c557feb1b7c1520416106e64a7e793d2ffd6e2cdd5a7f061d06c1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::frame_presets::panel (cognitive 22): figcraft_ui_egui::panels::frame_presets::panel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (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/ui-egui/src/panels/frame_presets.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5cfcfa5baa4eb8acb3c3d4f2c22e4feac3058dc5d2cffcd5b74bc1a80f715e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::settings (cognitive 22): figcraft_ui_egui::panels::proto_panel::settings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 3, loops 1, 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/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5a52f285467d89a136344c270e99f30693388908799ffa3a1378dbaea6ff65"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::versions::act (cognitive 22): figcraft_ui_egui::panels::versions::act has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/versions.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cd9eb95ebc92eaf5eb51ee13440b52172721009452f9f1ae9af3fe67d8427e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::editor (cognitive 22): figcraft_ui_egui::widgets::style_picker::editor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (6 pts), boolean chains 3, 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/widgets/style_picker.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"de060776fb02049edcbcc8e28ddf8b542cf20cb0e376800af63a8f86c4418865"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft::main (cognitive 21): figcraft::main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4, loops 1, 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":"apps/figcraft/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bf4f42e8ef87d7eec592561fad8a46c11b01fc700b6cab59fb08fec0ce536a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab::frac::midpoint (cognitive 21): figcraft_collab::frac::midpoint has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 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/collab/src/frac.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab58dd752bb8af567222251a246016fd0e9800b7dacc4a244b1e2738575b3a59"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_doc::proto_expr::apply (cognitive 21): figcraft_doc::proto_expr::apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 5 (9 pts), loops 1 (2 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/proto_expr.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fbb53059172945074c691e601df982e6b607ffa284078233771c9b4e8cef5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Markup::instance_call (cognitive 21): Markup::instance_call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, 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/engine/src/dev/codegen/html.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9381dc067fbffc6438dc64b4bdcfbe860fa147a875ab09780727b36122ffc514"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::pen_update (cognitive 21): Session::pen_update has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, 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/canvas/tools/pen.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1cb439cdb85f1b14b89ba0e362adad588e96dea26ab6a26a605d152d60fc70"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::automation::inspect::dev_props (cognitive 21): figcraft_engine::automation::inspect::dev_props has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 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/engine/src/automation/inspect.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"234716d690252e5bf7f37fa9c478b2e103889893761e8b82d2bcef0327695722"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::boards::board::derived::settle_routes (cognitive 21): figcraft_engine::boards::board::derived::settle_routes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 3, 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/engine/src/boards/board/derived.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"693a74144fab813cccf359816759d754a47cb3e8c8cbfbe7618d84cd47ca09aa"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::booleans::apply (cognitive 21): figcraft_engine::canvas::booleans::apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (6 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/canvas/booleans.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce85d27b612209d3510d9c472a25ce48c84f610afca190add005bea670850ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::split_segment (cognitive 21): figcraft_engine::canvas::vectoredit::ops::split_segment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 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/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc9ebc54c2c7f9d670073fd6d51f106aaff340a0677aa3bbd964a065cb17edf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::regions::clip_to_area (cognitive 21): figcraft_engine::canvas::vectoredit::regions::clip_to_area has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), match/switch 2 (4 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/engine/src/canvas/vectoredit/regions.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dc231a052679af162746d43dbe36bbb94948bbff1e10422d7c2ceb026894bb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::comment::frame_at (cognitive 21): figcraft_engine::cmd::comment::frame_at has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/comment.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6c74600ffa1fc91ff6d6c9492128325f792ce65ee16cd6f9a765d896cd04c1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::instance::reset_instance (cognitive 21): figcraft_engine::cmd::component::instance::reset_instance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, 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/engine/src/cmd/component/instance.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc77b0eed2b7bee1ef78678d956e79100ce9c6d9d4af192c0f0feb871d625382"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::styles::unfold_imported_bound_alpha (cognitive 21): figcraft_engine::cmd::styles::unfold_imported_bound_alpha has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (7 pts), boolean chains 2, match/switch 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/styles.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cd2247e95aa05a769542e3f129237b453ee9550699aaff1aa7f91222605409"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::content::textfit::fit (cognitive 21): figcraft_engine::content::textfit::fit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/content/textfit.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfcbb1813ffc81fdf0f68b97d404305d33c922138e7b9c9bd981c882cc94819"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::code_connect::check (cognitive 21): figcraft_engine::dev::code_connect::check has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/code_connect.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"691271635d6ae1e9897f45b9d2a9a4233602288aa13161717c17203aadca3503"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::proto_run::hotspots (cognitive 21): figcraft_engine::proto_run::hotspots has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (7 pts), boolean chains 3, 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/engine/src/proto_run.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1534dc90e925f4f26f94c7a9540ee3f1489446e1d09da76207176d1771f74d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::paint (cognitive 21): Exporter::paint has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 3 (5 pts), boolean chains 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/format/src/fig/export/paint.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c03c3f300b49dbcbd5404fc41900815860403ef0dc90f28dceee1978df0fca7"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::geometry (cognitive 21): Mapper::geometry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 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/format/src/fig/map/layer.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7970adf09b194ce61620417465d1eff0a6b95ac17830c5ad1e7d4d5790bbe64"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::text_path (cognitive 21): Mapper::text_path has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, 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/format/src/fig/map/text.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31e54882b2db5668f0b06c5498bc63b18f64bd30b65a9f6fa1e6198107349f6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::finish_layout (cognitive 21): figcraft_format::penpot::finish_layout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, 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/format/src/penpot.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef17c42c38999fb5a5b738eac5a2055e5cfd87102c5f7e4c4783d3157cd4d9a7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::text_style (cognitive 21): figcraft_format::penpot::text_style has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 4 (5 pts), boolean chains 4 (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/format/src/penpot.rs"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daa99e6dd3ce955d84bd50f75f4619b57c053c18241eeeff49989de868b6598"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::rest::text::runs (cognitive 21): figcraft_format::rest::text::runs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (7 pts), loops 3 (4 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/format/src/rest/text.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ec879ecc9f4009f6d652cbad236b8bb1b5080f1b16a115ffb1796e63c5e1af"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::stack::apply (cognitive 21): figcraft_format::sketch::stack::apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/sketch/stack.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d73ad1ad6d4bd9ae5da4b91db0a8430aaa14cd06af8db1318cd8678ce9a78c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::fontdb::index_bytes (cognitive 21): figcraft_text::fontdb::index_bytes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 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/text/src/fontdb.rs"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0232e01e7bafeb154a4dd26e34e21754e3cfcacaedda5292bc367da7ffec8f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::board_connect::show (cognitive 21): figcraft_ui_egui::canvas::board_connect::show has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, 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/ui-egui/src/canvas/board_connect.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f9ae6ce374f1bbb5ee42732be421e93d145bd69f4516793fc30e708db65367"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::comments::input (cognitive 21): figcraft_ui_egui::canvas::comments::input has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, match/switch 1 (2 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/ui-egui/src/canvas/comments.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"08716eaadf21559683b0b45e1ecde6759f94d03fde6b83c5889210a6c6a3fa02"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::plugins_ui::browse_tab (cognitive 21): figcraft_ui_egui::dialogs::plugins_ui::browse_tab has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/plugins_ui.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b7204c9c9f621b0d354b576ca04299f0ce0b39d2317fbaba0935bf2b7cd36f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::scroll::fling_axis (cognitive 21): figcraft_ui_egui::present::scroll::fling_axis has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/scroll.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd27e690d9baa33e8fc41c1fec2fdb89dc2808672af2e3ee88a2430b0f2bf42"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::scroll::apply_scroll (cognitive 21): figcraft_ui_egui::present::scroll::apply_scroll has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/scroll.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4b6fc5eab55690ae4dce06c4bf353a7e3721ee0f56e73fc1556db1908d8ef7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::style_grid (cognitive 21): figcraft_ui_egui::widgets::style_picker::style_grid has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (6 pts), loops 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/widgets/style_picker.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9858beae7a6c16fdf62803c72d75ff8fe19e8cd4b1d20abb9fcc7f1977e33671"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub::handle (cognitive 20): Hub::handle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab-net/src/hub.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a94d7db00b751a04921338679a7e92a554a8f6db960f220b5eb31d18ae94fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::draw_drag (cognitive 20): Session::draw_drag has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 2, 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, 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/canvas/tools/draw.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be4186d8c586f769a63a72b64a00414a8add1155edddcb92b21a9dd5f6e8a53"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::execute (cognitive 20): Session::execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/session/exec.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a28d15fcc143e60cfb9c69b170faee025a011379fe5e6417ccaf3a83e26932"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::sync::copy_layers (cognitive 20): figcraft_engine::assets::components::sync::copy_layers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, 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/engine/src/assets/components/sync.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e3636548475c905cd4ab1ec8d244c8d9c6e791b4d89d0c0ed8d2bb176b3a91"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::automation::batch::walk (cognitive 20): figcraft_engine::automation::batch::walk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/automation/batch.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8aa1b256509a65e13ff4fd67f7c5848959b299e27c534c5129e8b35da5dae5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::boards::board::derived::settle_stamps (cognitive 20): figcraft_engine::boards::board::derived::settle_stamps has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, match/switch 2 (4 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/engine/src/boards/board/derived.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc74f51b493510dde03696dfb88c09756fc9a16767c5707a78329a8051b87fc5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::edit::props::paint_list (cognitive 20): figcraft_engine::cmd::edit::props::paint_list has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 1 (3 pts), boolean chains 2, 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/engine/src/cmd/edit/props.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"171c3408a95c718ea32a9646e8becfb17703487b50394d598d809c99e9bf67fc"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::reverse_loop (cognitive 20): figcraft_engine::cmd::structure::reverse_loop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 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/engine/src/cmd/structure.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b1ad6a278d5daf196257398f805a5243f9def011323ad484b7b9db03cfcf84"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::content::synthetic_ds::design_system (cognitive 20): figcraft_engine::content::synthetic_ds::design_system has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), match/switch 5, loops 2, boolean chains 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/engine/src/content/synthetic_ds.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c27669b98f25820ffee85757132d4375fd4ac61f6cba5ea6ce2cb193518764"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::compose::compose_layer (cognitive 20): figcraft_engine::dev::codegen::compose::compose_layer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 4 (6 pts), boolean chains 2, loops 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/engine/src/dev/codegen/compose.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"486cf4e491f0bbed3983e23394d5e1fdb7a94af05f0a212b0ce273f6fc8bb329"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::devcompare::layer_changes (cognitive 20): figcraft_engine::dev::devcompare::layer_changes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), loops 2 (3 pts), boolean chains 2 (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/engine/src/dev/devcompare.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1f4eea5e585d7810bf66ddb702c9700ea6aaaf48fe6b5d3120639746c2423e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::devinspect::assets (cognitive 20): figcraft_engine::dev::devinspect::assets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, match/switch 1 (3 pts), 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/engine/src/dev/devinspect.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fe75463c0c07307501ef45f76dc68e5e5a7a9d126c823f47ac93a9fee5c87c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::tailwind::code (cognitive 20): figcraft_engine::dev::tailwind::code has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/tailwind.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c927fb97d962a4a633fece141bb03f47bbf933f8eb074fe128e2c3528188f1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::fonts::missing (cognitive 20): figcraft_engine::fonts::missing has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 5 (9 pts) (nesting depth added 10). 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/fonts.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"127680fd1214a25ee6540fc7d9a85e9b93ec2380c74ddff7042b19b5ceea91b8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::selection::selection_spacing::selection_spacing (cognitive 20): figcraft_engine::selection::selection_spacing::selection_spacing has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, 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/engine/src/selection/selection_spacing.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa28ab9c0d6436e6a0256b6f5af9142ed74c18fa6e5f66134c14f4bd76ab27b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::sharing::branches::combine (cognitive 20): figcraft_engine::sharing::branches::combine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2 (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/engine/src/sharing/branches.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f9fc3ac88e674bbac9f667d9b5203c7dd4cfcd23d4b0c68b08b6130c1bce46"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::connector (cognitive 20): Mapper::connector has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 6 (7 pts), boolean chains 2, 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/format/src/fig/map/connector.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b68484f1bbe1db61d0e4d02d915b8c2ae776d90d4173c1d7c5930f35225214"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::trigger (cognitive 20): Ctx::trigger has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest/proto.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578776a02259a28db83e040e6a20ab421eac3284f4a5084b46f440b1be1d254"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::drop_dangling_aliases (cognitive 20): figcraft_format::penpot::drop_dangling_aliases has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (8 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/format/src/penpot.rs"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ba0f91f5d6b32c9677a439bda3aa8a5f6253d2427b2df7a69cae5973a1399b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::prototype::resolve_destinations (cognitive 20): figcraft_format::penpot::prototype::resolve_destinations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/prototype.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e86c538ca1a08156035da00f3294cdae53eccac58b11951ee782fc0da8b016"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::flow_items (cognitive 20): figcraft_layout::flow_items has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, 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/layout/src/lib.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2123e42af5ae0029ad8c0adb007ec74dca31838579876d1acbd56002ea6ea74"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pathops::width::dashes (cognitive 20): figcraft_pathops::width::dashes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pathops/src/width.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f70311b3becf4ffb475dfdf7d7febf95339ce312b85aed404de3d5efa53a27"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pdf::export_groups (cognitive 20): figcraft_pdf::export_groups has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pdf/src/lib.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e96ffc1b530a20887d98c5530d8ee2780b22f187db0b2af5010e91043acdc7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::draw::stroke_area (cognitive 20): figcraft_render::draw::stroke_area has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/draw.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571c7ca33a80533b3c89d411359dd7ad21234f6734a88e24b29b708581ad290"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::glass::inside_distance (cognitive 20): figcraft_render::glass::inside_distance has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/glass.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e619cd8ff85e2a82055aed395d804ec43cafb459bf7ef232352038c3f448a822"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::grain::grains (cognitive 20): figcraft_render::grain::grains has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/grain.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d0d640799e16d16dd1f6ab3e96fd8f4481c51edd5c0c2e3e377e6d9f65f030"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::grain::texture (cognitive 20): figcraft_render::grain::texture has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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/render/src/grain.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7834209eba276b06f76d7d6ddb6b335b6055b6f794ae27332465d0ff4f311b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::paint::pattern (cognitive 20): figcraft_svg::import::paint::pattern has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, match/switch 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/svg/src/import/paint.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c49042cf8f9759eeafbe3a7e00028bd2bce2cc2e128b1517d71e238d575b451"}},{"ruleId":"D2","level":"warning","message":{"text":"TextLayout::caret (cognitive 20): TextLayout::caret has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/text/src/layout.rs"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56e261be45025c80c8ac7a9eb2510f54a96a8fbdf9b799fd64de457332b257c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::invoke (cognitive 20): figcraft_ui_egui::menus::invoke has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, 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/menus.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a90217a329012e4bbde92d36fff12f51d707789edf0cae30632fce1de8bf866"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::palette::command_sections (cognitive 20): figcraft_ui_egui::menus::palette::command_sections has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (4 pts), loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus/palette.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52369ab1aebd8b51db907dd6ca39a18582e0b7a5fd4812188dfd097de6d6a7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::tabs::window_buttons (cognitive 20): figcraft_ui_egui::tabs::window_buttons has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 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/ui-egui/src/tabs.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"058b0aa576bbbd21e33c1f17a7daad44de406b505bf696738b3fb68dc902bc83"}},{"ruleId":"D2","level":"warning","message":{"text":"Walker::fill (cognitive 20): Walker::fill has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 4 (7 pts), boolean chains 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, 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/vectordrawable/src/walk.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"9451341a52a46a318bb444ff3cc5f7ecaea20b5da13c8397474396360731cc28"}},{"ruleId":"D2","level":"warning","message":{"text":"Color::parse_css (cognitive 19): Color::parse_css has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/color/src/lib.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abc51ddcf9b15ded66ebc8c293dd1562e976483d7cb400c20e0a879cc4ce852"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_doc::geometry::hits_node_itself (cognitive 19): figcraft_doc::geometry::hits_node_itself has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 1 (3 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/geometry.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21ac65915321bd5e37e1d9935cbcc1600b92205d0115f7bd6d61ff52782febc"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::live_welcome (cognitive 19): Session::live_welcome has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 3 (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/engine/src/sharing/live/events.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c630044cdec4dd4ca7f1b57899679a9ef263c883b69ba12fc9e2f9562c3585e4"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::automation::inspect::paint_props (cognitive 19): figcraft_engine::automation::inspect::paint_props has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 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/engine/src/automation/inspect.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"549009499ef8b7e2ed17242e6bfc75e40b58da2a83824b679d3e1854d396d807"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::boards::board::derived::settle_text (cognitive 19): figcraft_engine::boards::board::derived::settle_text has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/boards/board/derived.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f59051e68ff1ed33acb627e91ead3d8d073ecde075c26cec8967de57618175b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::arc_handles::drag (cognitive 19): figcraft_engine::canvas::arc_handles::drag has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, 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/engine/src/canvas/arc_handles.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3115715387aa3772367eba95faacd2cee0ca1da763a57504fc3f5fc8ba461"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::distance::from_guide (cognitive 19): figcraft_engine::canvas::distance::from_guide has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/distance.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4067596b0be03224976f1e52890a5f7096d62516b3fb8a7048987df98f80b55"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::transform_vertices (cognitive 19): figcraft_engine::canvas::vectoredit::ops::transform_vertices has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 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/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a52a9a7d09bf19e07fd7ccc3bc295dba23b02f62886b7dc9bae60011c53b32"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::width::width_point (cognitive 19): figcraft_engine::canvas::vectoredit::width::width_point has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/vectoredit/width.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa135140caa6c254ba62c1d3960490aba1606607f7bc68c04474381857474be"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::comment::prompt_text (cognitive 19): figcraft_engine::cmd::comment::prompt_text has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 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/engine/src/cmd/comment.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2171480d59cb19510232d13ac0ffdb4e811722d5991562034e7f9207d3a00504"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::instance::restore_main (cognitive 19): figcraft_engine::cmd::component::instance::restore_main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/component/instance.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b70ed2f5bc0e864dae626f1ead2a5a38db83e71a0edd6fc0d398367446e6a6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::apply_prop_bindings (cognitive 19): figcraft_engine::cmd::component::props::apply_prop_bindings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 2 (3 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/engine/src/cmd/component/props.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"080b18356f2cf17b0856a03a1f3f52cdecc7229fa7f27f2726b061318301caad"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::props::describe_props (cognitive 19): figcraft_engine::cmd::component::props::describe_props has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/component/props.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6420dd016c8691f66bee5d8874d4341542b5945b8070d3cf3e2ee9c9aa4a5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::props::apply_look (cognitive 19): figcraft_engine::cmd::props::apply_look has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eea74e3b82aab0cdd35d519da03b63720c5256bfebfc6afafa4fd957ce660e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::structure::outline_stroke (cognitive 19): figcraft_engine::cmd::structure::outline_stroke has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/structure.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f1e1bbfa9826f5b638e77ec9216584a21e8c34dae796cd7bd2fa95ece09492"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::styles::sync_list_styles (cognitive 19): figcraft_engine::cmd::styles::sync_list_styles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/styles.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aea4af86180533e87b69582a5cb2f805b1ad1fb2d03a433c7ed32aa43a3405a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::flutter::flutter_children (cognitive 19): figcraft_engine::dev::codegen::flutter::flutter_children has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/codegen/flutter.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0229f6381b1ec49ea767dad1495d93bb580f5566d7b95d1710905afc8b0a6b25"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::sharing::live::host::share (cognitive 19): figcraft_engine::sharing::live::host::share has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 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/engine/src/sharing/live/host.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"48de6e85a1792fd01d55ef05fabd5a2741246261ca835d4286c4b773eca9e946"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::component (cognitive 19): Mapper::component has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (5 pts), 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/format/src/fig/map/component.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"31603ecf0e10290dac5d3b9c75f26867eedc4f407028e3bedff01ad68c109c51"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::text_content (cognitive 19): Exporter::text_content has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3 (6 pts), boolean chains 2, match/switch 2 (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/format/src/penpot/export.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb94da7a39537a80f5a7186085cbf68f9c09a0a27b471767f3a148879b0e09"}},{"ruleId":"D2","level":"warning","message":{"text":"Sources::source (cognitive 19): Sources::source has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/format/src/rest/fig_sources.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69935bb67df02396ca0a3aeb852a8955981a65fa131b802f15fc9d5e02ef5e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::rename_props (cognitive 19): Ctx::rename_props has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), match/switch 3 (5 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/format/src/rest.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ed7c114d085b768f31e9ce02f432c4ed49ccc270ab9fa18b060122fe89610c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::fig::map::layer::child_layout (cognitive 19): figcraft_format::fig::map::layer::child_layout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/layer.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"3063e1c563cfee33e4d34b7ce9fe0c665a41969689eaeec1a92cf9df0457c143"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::fig::map::text::text_style (cognitive 19): figcraft_format::fig::map::text::text_style has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/text.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9bd40f1f60d98d79f9dbbddd0eba0fffe481b86783061b06f4da3bd657430"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::import_typography_styles (cognitive 19): figcraft_format::penpot::import_typography_styles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ce14d9f7b784b40f44fc807a12e82b7eb44817e912050aae6ce2070f707c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::tree::children (cognitive 19): figcraft_format::sketch::tree::children has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, 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/format/src/sketch/tree.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beb595b11912fc82b3e8b071b1c064fb11f0d6fb0117d9237d9de0a58e68cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::distribute (cognitive 19): figcraft_layout::distribute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), boolean chains 4 (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/layout/src/lib.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ef724feba9cae10baa17825255f75eac20e2c0beff72cb70c866c001ace6c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_mcp::tools::refuse_unknown_args (cognitive 19): figcraft_mcp::tools::refuse_unknown_args has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 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/mcp/src/tools.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cac9007edd846e72ecbbedca2e27e137b395827b8904d686a8d0ac5952359f8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::glass::max_pass (cognitive 19): figcraft_render::glass::max_pass has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 3 (5 pts), boolean chains 1 (nesting depth added 10). 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/glass.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb719b8436d845e5515d9be600e256c1f4ff516c0b2f77944dfc9605d374fbbd"}},{"ruleId":"D2","level":"warning","message":{"text":"FigApp::mobile_buttons (cognitive 19): FigApp::mobile_buttons has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 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/ui-egui/src/app/frame.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a61d41a168b33a22ae8625b7af77176312847216d45ebeba97315d965d56fef"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::board_bar::grid_settings (cognitive 19): figcraft_ui_egui::canvas::board_bar::grid_settings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 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/ui-egui/src/canvas/board_bar.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e45163fcaba0868d79103e1c84c94874d584d25a33a3b0298a542e3902ab2f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::plugins_ui::confirm_window (cognitive 19): figcraft_ui_egui::dialogs::plugins_ui::confirm_window has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/plugins_ui.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab81c4fd2c7d8496b2229176ffd279f187d8269303b9a36e56c9922c1cdccee6"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::table (cognitive 19): figcraft_ui_egui::dialogs::variables_panel::table has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, 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/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f01fb5c16c0e5effc073fcc35b02c78a306fca86a57ed78c99d0dade4c54e53"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::vector_panel::points (cognitive 19): figcraft_ui_egui::panels::vector_panel::points has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 3, 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/ui-egui/src/panels/vector_panel.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c18b859f256434bd0d414fa70744506e438a28f1f922a367d217f7e7aedc7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::pending_open::pending_opens (cognitive 19): figcraft_ui_egui::pending_open::pending_opens has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 2 (3 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/ui-egui/src/pending_open.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc9cbb0b3690a865d524eb1745f372e4a9fb799cb81f9de7161ffe08f16820"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::chrome::navigation_bar (cognitive 19): figcraft_ui_egui::present::chrome::navigation_bar has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2, loops 2 (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/present/chrome.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ae01511f613c501a8ebbd38e8b1dbf1ef718003db57f553e0800d71eca45e4"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::windows::begin (cognitive 19): figcraft_ui_egui::windows::begin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (5 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/ui-egui/src/windows.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19a44783daf5aba16d4ec960e370ae799d1600b38b52e75b6e4c7c83eb9639e"}},{"ruleId":"D2","level":"warning","message":{"text":"Step::toward (cognitive 18): Step::toward has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 3 (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/collab/src/history.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"336e58c74b960f1457ad26098e18c97e7fc92aa7049fd4e0f04ac7d946a5e140"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::join_as (cognitive 18): Server::join_as has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, 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/collab/src/server.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1d0bb8951630954883a734d146b3dc4aff9e978ea9cb605761f5052dc6ca40"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub::run (cognitive 18): Hub::run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 3 (6 pts), loops 3 (4 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/collab-net/src/hub.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8027015f8a1b897bcabcd7a9bdb14b013d2f78949a2f01004824084903d40f62"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::al_keys::move_into_neighbour (cognitive 18): figcraft_engine::canvas::al_keys::move_into_neighbour has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 2, loops 1, match/switch 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/canvas/al_keys.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1424d24fa540de4a128e52d1520dd824daf7eb42b6590c8451db7ff78186fa4e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::shapebuilder::compute (cognitive 18): figcraft_engine::canvas::shapebuilder::compute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/shapebuilder.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aef564e490256a99a1f9a5f84bd6b19a79a0e7a2ffc262f4bdc99004288800"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::set_handle (cognitive 18): figcraft_engine::canvas::vectoredit::ops::set_handle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 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, 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/canvas/vectoredit/ops.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba0e422e23f8bfafda85e75d75dde8c8ad4ca8284eece75ceb60c7b92773df5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::inside_ranges (cognitive 18): figcraft_engine::canvas::vectoredit::ops::inside_ranges has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 2, match/switch 1 (2 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, 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/canvas/vectoredit/ops.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"280f82c181a30377ef0e9b2b44e506195dde7578ae704b4957d4240af7004dde"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::reflow_overridden_text (cognitive 18): figcraft_engine::cmd::file::load::reflow_overridden_text has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 2 (5 pts), boolean chains 2, loops 2 (nesting depth added 8). 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/cmd/file/load.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab626767573e575ac4cf05be4ec1db49c0a6a516c5da14399fb740fa000556fa"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::load::sketch_line_heights (cognitive 18): figcraft_engine::cmd::file::load::sketch_line_heights has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), boolean chains 3 (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/engine/src/cmd/file/load.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"998335f4de4a22dfc04a6b64be19f815bb86ff64004388671bdb6e604d98340a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::props::fills_available_space (cognitive 18): figcraft_engine::cmd::props::fills_available_space has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d6d3d2956531189d9bae4c0cd712a7c380a59a5ebd8fb6fbaae6d8c0ba94bf"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::extensions::plugins::refusal (cognitive 18): figcraft_engine::extensions::plugins::refusal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. 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/extensions/plugins.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3cfc01bed7126bdc397d8f055c9c91ef2dc662749c7fb13387c2216834c7bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::override_scope (cognitive 18): Mapper::override_scope has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/component.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6849ed99ca9926c93efd2f578adf35b57f00331749898d8db1bd4737d2603c5a"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::variables (cognitive 18): Mapper::variables has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/document.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87e562399d7b4a3e15eacc5b86b06dfad02f644dfab717d2bdbcaffa25eea56"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::auto_layout (cognitive 18): Mapper::auto_layout has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/format/src/fig/map/layout.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1ee325f627196cbc10f5d9eeb6e3b3446c413169a4800c47f7cf10bcf83000"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::build_layer (cognitive 18): Ctx::build_layer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69f69a48c9914e6e81e8ac510ea305937aba9cd2bdd1a78230415a89a9515e0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::fig::map::paint::effect (cognitive 18): figcraft_format::fig::map::paint::effect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5, 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/format/src/fig/map/paint.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd675f03e6da11d627c6f160f0add8dac937c2fd91606c636b524b0ddb47c78e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::import_composite_token_styles (cognitive 18): figcraft_format::penpot::import_composite_token_styles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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/format/src/penpot.rs"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"42312e7624c462255fbd57d5dc052d719150207ca9c769a8b3cf37895642cc6a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::flatten_tokens (cognitive 18): figcraft_format::penpot::flatten_tokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c08c894f2c8b762d0d49818eaf9991f7ce1e0144dd8cb14e324f71636d1945"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::filled_network (cognitive 18): figcraft_format::penpot::filled_network has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 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/format/src/penpot.rs"},"region":{"startLine":3904}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e2e3742acd1d9f52eaf2acdffc24203873ba8e0d60e29699a1d8f7286fda55"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::coherent_own_sizing (cognitive 18): figcraft_layout::coherent_own_sizing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/layout/src/lib.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbfd5a2669d0be8a0750149ba1e786c06e05b3449783af152cc8eb5fc67d2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::place_flow_line (cognitive 18): figcraft_layout::place_flow_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/layout/src/lib.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dd353da3416612e87b5360a845818bcd47079779bc6e04f808571eacba4e24"}},{"ruleId":"D2","level":"warning","message":{"text":"Headless::key (cognitive 18): Headless::key has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 3 (5 pts), boolean chains 3 (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/mcp/src/headless.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f08f5fc43176fd48c353af9c6cf174971a1bb1fe74060c2b4377c62bffc03ea"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_mcp::tools::inspect_document (cognitive 18): figcraft_mcp::tools::inspect_document has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (3 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/mcp/src/tools.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cf623deef4d0b8f4f76b4f7d81b8ccc5423aa0f91e420d64c150be8af51fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pathops::stroke_outline_of (cognitive 18): figcraft_pathops::stroke_outline_of has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, loops 1 (2 pts), match/switch 2 (nesting depth added 3). 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/pathops/src/lib.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2354f8fd7e8bc04e74f6d6070699ee3e46a8ec9a97d9d222e82a4cdc995dd2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_plugin::widget::check_menu (cognitive 18): figcraft_plugin::widget::check_menu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 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/plugin/src/widget.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b411b486c559739ede20967c923881a32508509b69aeb851b634d424969946"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::dots::draw (cognitive 18): figcraft_render::dots::draw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/dots.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b8d8938e0c2b2a7176a438a2604ae888bd5cd895b827ac119aa1ccc329b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::glass::edt_1d (cognitive 18): figcraft_render::glass::edt_1d has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (6 pts), boolean chains 2 (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/render/src/glass.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ce2b47a7a613647abbf1dd0bbedfdaa0764216e927354280333e14a3afd4e"}},{"ruleId":"D2","level":"warning","message":{"text":"W::drop_shadows (cognitive 18): W::drop_shadows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, 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/svg/src/lib.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46ce1ed7d3b89fd7b8951078f8b3a73498a3db9619247b9c2a9a9d8d91782e1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::live_text::draw (cognitive 18): figcraft_ui_egui::canvas::live_text::draw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 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/ui-egui/src/canvas/live_text.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c83608dd3ea6faeea410265e038a8423f0d6ed8c8d02e4934470c3aed4350"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::pen_overlay (cognitive 18): figcraft_ui_egui::canvas::overlays::pen_overlay has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (6 pts), match/switch 1 (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/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c69b904ba4b765b82fd82874158d60e7557271a886fb91bdc53349e7d3da096"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::constraint_lines (cognitive 18): figcraft_ui_egui::canvas::overlays::constraint_lines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), boolean chains 3, 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/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3654cfce5ba5370c69612eb551027b3a75bc2e2172ccea0702e1b028e04f16"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::batch_rename::batch_rename_dialog (cognitive 18): figcraft_ui_egui::dialogs::batch_rename::batch_rename_dialog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, loops 2 (3 pts), match/switch 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/dialogs/batch_rename.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e9762eb88b599b2211c4e113f2e8df09e7bd493686a070738458fbb93bf6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::menus::palette::plugin_rows (cognitive 18): figcraft_ui_egui::menus::palette::plugin_rows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus/palette.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b52df2461d00419a82f6af1ccdad135730bc38a61eca2eb91c38a14ce1b593"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::connect_section (cognitive 18): figcraft_ui_egui::panels::dev_mode::connect_section has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, 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, 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/panels/dev_mode.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f3d4375127d4c37c79a942fb4b6a8873a4d355e12adae8b9e56d04aa5e8d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::dev_mode::measurements_section (cognitive 18): figcraft_ui_egui::panels::dev_mode::measurements_section has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, 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/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"913c1133ef084b23cae4d7c8a63af673ad4847fc08fe6fa3a2072bf925d93a90"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::layers::select_clicked (cognitive 18): figcraft_ui_egui::panels::layers::select_clicked 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/ui-egui/src/panels/layers.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"87228d227c4bba26ff057a4a181aae7e6301f0267994c640471b860f2c982643"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_editor::set_variable_fields (cognitive 18): figcraft_ui_egui::panels::proto_editor::set_variable_fields has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (4 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/panels/proto_editor.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"38936abcc697d1a0150eb7708b856d06479dec4cfccb0be1e68e85498b6b8357"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::interactions (cognitive 18): figcraft_ui_egui::panels::proto_panel::interactions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, 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/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"01da784e4e36e3e228e2616a7cbd95949cc9ad6e97fb6eb727b809de8559c395"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_panel::scroll_section (cognitive 18): figcraft_ui_egui::panels::proto_panel::scroll_section has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"423d91868de605ca6f96406e5d8fb737d87f07d526d3cf76a4890d2d5b28f898"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::scale_panel::section (cognitive 18): figcraft_ui_egui::panels::scale_panel::section has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/scale_panel.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"728f8d7ff403f979c12db112721f39ff7daba5c950df9750069560f76fdb5421"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::target_styles (cognitive 18): figcraft_ui_egui::panels::typography::target_styles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (7 pts), boolean chains 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/panels/typography.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa906652484272f51633ea59df77b845e428e0752e99394f8065066caed5fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::shortcuts::text_key_event (cognitive 18): figcraft_ui_egui::shortcuts::text_key_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (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/shortcuts.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f9abe84061e7a022b69cf0eb02bac4a08d9cb6519e1d06456759afaf2cbfc3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::theme::install_fonts (cognitive 18): figcraft_ui_egui::theme::install_fonts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/theme.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7821d3f7c66619a5336792036bb52b5d2f055187302843bf290a1ec4b6575b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"xtask::docs_check::repeats (cognitive 18): xtask::docs_check::repeats has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), match/switch 1 (3 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":"xtask/src/docs_check.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"109e7365b96333a5208f5ae5a6d0cd0ada47879aa5d17b4a196f1bfa115a4814"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::check (cognitive 17): Config::check has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-server/src/config.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff1109cf6381bea19aca5689f2592172b0b6ba749b9b5edccfbf90c0031758e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab::frac::between (cognitive 17): figcraft_collab::frac::between has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (3 pts), boolean chains 2, 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/collab/src/frac.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a7285940fd493733b6f66f532a2ba7b43ab00bb8cb2ae87c60a9fa2b618dc2"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub::join (cognitive 17): Hub::join has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab-net/src/hub.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce13d77fe76197f4314a77ecf52c70856e63323da308387e06fed6f3506c34"}},{"ruleId":"D2","level":"warning","message":{"text":"Variables::flattener (cognitive 17): Variables::flattener has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 5 (7 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/doc/src/styles.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b514d0690328acd616843a6302421cef6a3d68062c658f4b9f120cd695f6909"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_doc::geometry::hit_rec (cognitive 17): figcraft_doc::geometry::hit_rec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, loops 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/doc/src/geometry.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bebe7a446f556687d4354d95e02a0de15efc915953f88f6a223fb4b0962f45"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::escape (cognitive 17): Session::escape has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 3). 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/canvas/tools/keys.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c27d8bf83b3608b4d4a0344abec883afeba7cac057de0b5fb7f6ad0d670f58"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::pointer (cognitive 17): Session::pointer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/tools/pointer.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"53054575fe05a64ae453eb0f57724f352748ce68f76c9480573c0f83cf026c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReorderLayout::new (cognitive 17): ReorderLayout::new has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (5 pts), boolean chains 3, 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/engine/src/selection/selection_reorder.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e25f635a8c3e32283209a2f4429f90603e06ce493b03845c66f869f49b9e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::instances::copy_group (cognitive 17): figcraft_engine::assets::components::instances::copy_group has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (4 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/engine/src/assets/components/instances.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6e01bb55709e7caeb0f3308a81266a167ce00a797072a6dfc0a7cb23a167cd"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::library::import_styles (cognitive 17): figcraft_engine::assets::library::import_styles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/assets/library.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1fcbb451196072dfa92a7f89d0beda0f6039464db5956008c72ddb7d277398"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::key (cognitive 17): figcraft_engine::canvas::vectoredit::key has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2, 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/engine/src/canvas/vectoredit.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48fd57453c26ec7e1c317f288305fadc1ad70e0669dd7f8e5d02ef820904675"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::vectoredit::ops::erase (cognitive 17): figcraft_engine::canvas::vectoredit::ops::erase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, 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/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dab5e57be5952913cfe1e7d55d8d5132ff380b2fdeb862eb48eb695b34b05d0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::arrange::distribute (cognitive 17): figcraft_engine::cmd::arrange::distribute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1, loops 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/engine/src/cmd/arrange.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"207cb9c10e5c52ccef23207e9e5617303ba8c179fc8be47b17148e698106bad2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::component::variants::add_variant (cognitive 17): figcraft_engine::cmd::component::variants::add_variant has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/component/variants.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacaa7a2eb8cbbd6ea5b6e8b7688a676b1f1ab4d5bc3c42a2740c3b681f2b1d2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::file::export::export_layers (cognitive 17): figcraft_engine::cmd::file::export::export_layers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/file/export.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc32a72dc431f616bedc04e54ffcfe714222117eaff106d5c3ec4230e13ad57"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::proto::settings (cognitive 17): figcraft_engine::cmd::proto::settings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 5, boolean chains 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/engine/src/cmd/proto.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cd92f9cd82bce338c25f01334b2d068d309a7402d08d91e80100feef8b72ac"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::derived::binding_scope (cognitive 17): figcraft_engine::derived::binding_scope has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/derived.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76865cc7173f015ee4da43527e2f36a0523a1394479a2d46f63d37775aeb6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::code_connect::import (cognitive 17): figcraft_engine::dev::code_connect::import has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (4 pts), match/switch 2 (4 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/engine/src/dev/code_connect.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"171c764f8369fc28d9b110cc522febf206636273ab1529378fa8cf5ab2c3dd6d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::codegen::css::decoration_decls (cognitive 17): figcraft_engine::dev::codegen::css::decoration_decls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/codegen/css.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68c06bd48110a2248b1e4a63be9f7d2cae441354dd4be3ecaaffb00e59a9118"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::web (cognitive 17): figcraft_engine::dev::component_codegen::web has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 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/engine/src/dev/component_codegen.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a19cf11fe39c6e2933ee5b40b0f27940a77ff9594e1746d5abc42cf2fe192d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::devcompare::list_changes (cognitive 17): figcraft_engine::dev::devcompare::list_changes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (4 pts), boolean chains 3, 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/engine/src/dev/devcompare.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb5306caffecc8cb6a383ec17af360e339f07962f75c13a02eb73b3fa29145c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::extensions::widgets::props (cognitive 17): figcraft_engine::extensions::widgets::props has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (3 pts), loops 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/engine/src/extensions/widgets.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b40f16f114442bf57f32ba78ad4537744fff1443b69c4e735bb33713ac68bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::selection::rename::expand (cognitive 17): figcraft_engine::selection::rename::expand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (5 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/selection/rename.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b762e9b183ba458a22aa65b781f7870266e6f7b94e0802018ecb13ace55a7c37"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapper::map_grid_tracks (cognitive 17): Mapper::map_grid_tracks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 2 (5 pts), loops 2 (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/format/src/fig/map/layout.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c0718ca7f4fc31eb17fe84c904e55a7f3d9dc77911d83ee5b69a0b1a7d305e"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::layout (cognitive 17): Exporter::layout has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 5 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/export.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a177c10406b1f586f156265a606269affa5b2bb99f01cf016071c9c3bcb44475"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::grid_cells (cognitive 17): Exporter::grid_cells has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 2 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 7). 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/format/src/penpot/export.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1d80e289c9a1c0852c227556a5c1da937e3618a447489b27843d2c54ebb9f"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::rest::variables::export (cognitive 17): figcraft_format::rest::variables::export has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (13 pts), loops 3 (4 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest/variables.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"92109aa7ca9c002f3ab4b3e2d441bf309c08406c1e90a115dfc1fdb1ed23673c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::sketch::text::node (cognitive 17): figcraft_format::sketch::text::node has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/sketch/text.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d02001a3c8d0f4a52d90ada8f992ed1394bc1018bb7f3b60ae0b137bc42e8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_layout::grid_place (cognitive 17): figcraft_layout::grid_place has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/layout/src/lib.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1e8ee0b4938b6c81771c90527e01c6f6df60c240786887b5a6b5a31cf0cf1c"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::shadows (cognitive 17): Exporter::shadows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pdf/src/raster.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7898af80124582801017dd2000205ede15359d42ebfffd1ebadcc578b92b4792"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::dots::lines (cognitive 17): figcraft_render::dots::lines has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). 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/dots.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e229caf1d4b9537bbc99d6c71ac7b3caa766d75d28b2854235295e12741390d7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::fx::morph (cognitive 17): figcraft_render::fx::morph has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 4 (6 pts), boolean chains 2 (nesting depth added 5). 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/fx.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf55dfe6c664bb2fd1810d8aa24bb9e0d5c046f3c5b01d363395a169490e1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::lod::splattable_within (cognitive 17): figcraft_render::lod::splattable_within has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1 (2 pts), 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/render/src/lod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa389de76af6e6f8dde15b3fc04f61ab625af3b73b5109abdd4e9e5d912971"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::lod::splat_subtree (cognitive 17): figcraft_render::lod::splat_subtree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, loops 2 (3 pts), 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, 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/lod.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b74ea97b1ad4dad2c57d1aeee73f681dba650ea4c4ee7659bb3e277c6ba1a5a"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::lod::splat (cognitive 17): figcraft_render::lod::splat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/lod.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"21beb9a03e81736f897166a63394bd5e113e4291a835b6011b5a5d679b4aa5fe"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::retained::changed_areas (cognitive 17): figcraft_render::retained::changed_areas has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/retained.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fba10c806fefacba2628852eae2f7f2bb1a310ea010080f0fbfb7d68bbfd58"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::closed_for_fill (cognitive 17): figcraft_svg::import::closed_for_fill has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/svg/src/import.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68717dcc0b30e59a0b881308c2cb7176c85d5a8950f565ccd5534f63b579e55"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::dash_offset (cognitive 17): figcraft_svg::import::dash_offset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 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/svg/src/import.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63233a8cd099ab9cd3ab54ee9b59cd77749af77f71bc20a507da624aa7a3802"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::too_deep (cognitive 17): figcraft_svg::import::too_deep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 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/svg/src/import.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a33240529c758fdeb771303f8f8866a418a868f4a756dfd58146e2a433eeb7b"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_text::display::visual_line (cognitive 17): figcraft_text::display::visual_line has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), match/switch 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/text/src/display.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5db82ca75bd11e23974536434e8568cec3f8d3c13928dae5a9b572bdca3151"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::overlays::width_overlay (cognitive 17): figcraft_ui_egui::canvas::overlays::width_overlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 3 (4 pts), boolean chains 3 (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/canvas/overlays.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3601f9b5ecb099d90eb27cdd808fc13c97272706ed46d374a4dd3a523643b8"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::variables_panel::details (cognitive 17): figcraft_ui_egui::dialogs::variables_panel::details has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/variables_panel.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d55f3d395fd6d1f7160fc3e8bb7f4748f22110d3e34a22e93c07adb9ad60fb"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::home::template_grid (cognitive 17): figcraft_ui_egui::home::template_grid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 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":"crates/ui-egui/src/home.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d90e96617997e332dc62b52a5bdf3447478b26ba8e0b126b4dea5f342b17898"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::home::home_recents::grid (cognitive 17): figcraft_ui_egui::home::home_recents::grid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/home/home_recents.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a4a27e97449d55bae2971e7f756e9c08936ea2fa7f87356ddc9959acc2ec66"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::component_panel::comp_rows (cognitive 17): figcraft_ui_egui::panels::component_panel::comp_rows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/component_panel.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"522400b967978dcc14474027c8bec06676ec76f735b3ff856cc194cb1f1edf4d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::typography::spacing::lead_field (cognitive 17): figcraft_ui_egui::panels::typography::spacing::lead_field has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, 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, 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/panels/typography/spacing.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5473e9f43137296365bc75fa1ed1d6d272cf787a161255f4fa090cb62d698f3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::present::scroll::scroll_range_in (cognitive 17): figcraft_ui_egui::present::scroll::scroll_range_in has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/scroll.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5fe9d72cfd1ec3d2022a0e736765fe1485a656668f1853d8be66a536224ace"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::board_picker::picker (cognitive 17): figcraft_ui_egui::widgets::board_picker::picker has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/board_picker.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b968a97586f1deeb37fa8d2bde78611b384a6db840e7adfd2d45ec0bdc12b"}},{"ruleId":"D2","level":"warning","message":{"text":"Walker::children (cognitive 17): Walker::children has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vectordrawable/src/walk.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"936f627b17acf9c7f96c17bdfbbbe5b22d77b58333c7a11e43dc4dfcb9427d62"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_cli::perf::measure_components (cognitive 16): figcraft_cli::perf::measure_components has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 3). 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":"apps/figcraft-cli/src/perf.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1921f0bcd8c92d38eb12a16de70bc8706b0f7b15c03cccddb18c401ca5366d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Client::flush (cognitive 16): Client::flush has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 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/collab/src/client.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d565eb6facb91a0c894c71b517d8af2d23f9a5a1105979d594559188782962af"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::check_entries (cognitive 16): Server::check_entries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 2 (4 pts), boolean chains 3, loops 2 (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/collab/src/server.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c97b85cbfec1042f4120bd05750e229d2f74fb6a02389c88e6563f52f08dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Sim::step (cognitive 16): Sim::step has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 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/collab/src/sim.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7983210df007fd53bc4d2379cf942579218aa751e9799d68b336838d2d37c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub::message (cognitive 16): Hub::message has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 4 (7 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab-net/src/hub.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f00d53799d018497d5a154e067ed14ad7342edbdcb84b7cb05c9f2cf10ee77"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab_net::guest::session (cognitive 16): figcraft_collab_net::guest::session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (4 pts), boolean chains 2, 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/collab-net/src/guest.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93d948bc95df58473a8ef17d1025ddb93a3b3dfc25face2d0cd0026ec97a9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_collab_net::hub::conn::read_loop (cognitive 16): figcraft_collab_net::hub::conn::read_loop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 1 (2 pts), boolean chains 1, 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/collab-net/src/hub/conn.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1b9e2a0e6bce7ed17ebf571e407558475aea73e622532f688d2fb372ee28df"}},{"ruleId":"D2","level":"warning","message":{"text":"Node::outline_reach (cognitive 16): Node::outline_reach has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 1 (2 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, 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/doc/src/node.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd11313c8c3f47e53f0cfa920f73b815214ab57bc0b0cf015778107080affa87"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorNetwork::sanitize (cognitive 16): VectorNetwork::sanitize has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 3 (6 pts), boolean chains 1 (nesting depth added 7). 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/doc/src/vector.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a06e5a851e7ecab58770ea9c4e63428589a5f9ea7c7f628dcd3dc863523732"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_doc::geometry::level_target (cognitive 16): figcraft_doc::geometry::level_target has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, loops 2 (3 pts) (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/doc/src/geometry.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"92adeb5cf5d936cfe398cb4e94e52dd866045bd02136f2054267edd705c790a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::width_drag (cognitive 16): Session::width_drag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/vectoredit/width.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f15ac78823070d0edba2e805fd4dc7684a77a372fadbb669a81f9eeb640ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::sync::sync_instance_depth (cognitive 16): figcraft_engine::assets::components::sync::sync_instance_depth has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, loops 3 (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/assets/components/sync.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f8afd773d1e35d2daddb635154824532bed112a68571231ef97a8aa71447f5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::assets::components::sync::apply_enclosing_props (cognitive 16): figcraft_engine::assets::components::sync::apply_enclosing_props has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 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/engine/src/assets/components/sync.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"caceeb8541a1a131e8abc1b5f684c4de2be5e13e9abea04c37406c6f6c585ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::canvas::tools::handles::scale_factor (cognitive 16): figcraft_engine::canvas::tools::handles::scale_factor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, 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/engine/src/canvas/tools/handles.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae6a4ad672bf0e3bd728f9fe698bfd9fc3bcb7e0acd61712a3fa90bf36fc3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::item_names (cognitive 16): figcraft_engine::cmd::item_names has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (6 pts), boolean chains 5, if/else 2 (3 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"32499aaff870c1f6508637dfd098c84eb7ce991cf42ff9fb240bd72634dfef6d"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::comment::follow_anchors (cognitive 16): figcraft_engine::cmd::comment::follow_anchors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 1 (3 pts), loops 2, 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/cmd/comment.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"966f4ff842174973f0bc6676afd50d973b760d0d57723ce23bb654764cf40cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::edit::clipboard::paste_into (cognitive 16): figcraft_engine::cmd::edit::clipboard::paste_into has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/edit/clipboard.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0a4faf005b27759a677406f170ef7d1de34b77b4230c0614409f1aa87e8468"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::cmd::image::replace (cognitive 16): figcraft_engine::cmd::image::replace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/image.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5053b6248b1e94d09a190a4d9146a80d48434ba8bdd5b680b6b56229d15f77"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::dev::component_codegen::slot_content (cognitive 16): figcraft_engine::dev::component_codegen::slot_content has cognitive complexity 16 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 1, match/switch 1 (nesting depth added 7). 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/dev/component_codegen.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7ea3382bb9331ba24401029d7014ac5eccfa048ce6c998b584af97eab4b6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_engine::sharing::branches::sync (cognitive 16): figcraft_engine::sharing::branches::sync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 2 (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/sharing/branches.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"011cd26811299890f2f3024a61b30e5af8c1255f011dd1a90858b6f28d05354d"}},{"ruleId":"D2","level":"warning","message":{"text":"Exporter::child_layout (cognitive 16): Exporter::child_layout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, 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/format/src/fig/export/layer.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fe5d12c3d3e27b57bdfa89166415819315c13c9240ed12e889ab55a2646576"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerImport::add_children (cognitive 16): LayerImport::add_children has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 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/format/src/penpot.rs"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8797a22df2bf6a6bb71e1df9c028a42e5f6be368dbdfba00db79b84fb46280"}},{"ruleId":"D2","level":"warning","message":{"text":"Ctx::image_key (cognitive 16): Ctx::image_key has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe93ea33728a622cbad6fd6ae624384b8fc7f021b5cf7d4d4a4d875478a1ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_format::penpot::record_fingerprints (cognitive 16): figcraft_format::penpot::record_fingerprints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 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/format/src/penpot.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6764b1eadd5e1c0c6eadd1d69ed2a55818255e7b10dcf556180cc792b328e5"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pathops::arrange (cognitive 16): figcraft_pathops::arrange has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 2 (6 pts), boolean chains 1 (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/pathops/src/lib.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf617db92d0ba74d48fa785def9c9364e03db920612f59b80289ec7bf667c9"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pathops::path_end (cognitive 16): figcraft_pathops::path_end has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (4 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/pathops/src/lib.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cadc7bd8f149e90b6d0450c5fce2d26485cb990b584615760f8d3d718be1b03"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_pdf::write (cognitive 16): figcraft_pdf::write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pdf/src/lib.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c4508d9c21c89d52e6a423ccec977135626311c4bb6fcae5b1d5d9bdbe658"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::lod::greek_text (cognitive 16): figcraft_render::lod::greek_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (6 pts), boolean chains 2 (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/render/src/lod.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"040148e1a979d4804ea23e4a83c15f90a498f3ae682771519b9500f14cbee952"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::retained::merge (cognitive 16): figcraft_render::retained::merge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/retained.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c822961a5d0fe5481b3077b154dac747c6dca178258eb4b7148f39a8ca514"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_render::shadow::spread_alpha (cognitive 16): figcraft_render::shadow::spread_alpha has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 2 (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/shadow.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc159eb2a3a8e9fd8909131bedab0ef6e2d5b4ee959c91b1c46a3db8d058911"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_svg::import::doctype_end (cognitive 16): figcraft_svg::import::doctype_end has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/svg/src/import.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fcec7b583cb23247eda065b592faa0749950a9d1ebdbd66b58f2a072f6b616"}},{"ruleId":"D2","level":"warning","message":{"text":"TextLayout::hit (cognitive 16): TextLayout::hit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, 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/text/src/layout.rs"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e95a6b9fcce73d23b10360cb55680564fe79a0f4c29926c1754cb77d16420"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::board_bar::dots (cognitive 16): figcraft_ui_egui::canvas::board_bar::dots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, match/switch 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/canvas/board_bar.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0c112ae032db915ef96e8edab6cdb54560bdec9a500c1b406e3a67124fd3c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::canvas::proto_canvas::noodles (cognitive 16): figcraft_ui_egui::canvas::proto_canvas::noodles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/proto_canvas.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c7d9b2446b3409c73841061dd00452d23250f29025698b81d31eaddac275af"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::request_paint (cognitive 16): figcraft_ui_egui::control::request_paint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/control.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf79bb688813a5c5a1dae9885255904bd39bdaa55754580233d7c7d421bb142"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::control::ui_set_view (cognitive 16): figcraft_ui_egui::control::ui_set_view has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 2 (3 pts) (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/control.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dff2f215277abc5573535eeee4d0c0ed23ae382340c4072f12d77976c73da1"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::interface_size (cognitive 16): figcraft_ui_egui::dialogs::interface_size has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab46269bb7621ce35a95736ca42d52bdb0516e8f20e43b63c51b98559c5961f0"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::credits::contributors_in (cognitive 16): figcraft_ui_egui::dialogs::credits::contributors_in has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/dialogs/credits.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3529e492b8df6339fbbd68cfe465c128f02c80d26016f98d23fa53ee0d3756"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::dialogs::plugins_ui::menu (cognitive 16): figcraft_ui_egui::dialogs::plugins_ui::menu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/plugins_ui.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e3545cdfe14cc7cd6b092369278fbd9be04a900c38aae1343972d6e718f561"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::home::search_results (cognitive 16): figcraft_ui_egui::home::search_results has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 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/ui-egui/src/home.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3348f47d6219c21edeb38fb210054f516f9bac2cdfa54baa46a3f2b1a054820"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::home::home_recents::card (cognitive 16): figcraft_ui_egui::home::home_recents::card has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/home/home_recents.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cc16aca673d67f56107d6462905530c0440a14ee880ee8c937a338dc8ec98c"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::live::publish_dialog (cognitive 16): figcraft_ui_egui::live::publish_dialog has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 6, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/live.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b65b654735875681bcc1aa834ae06370e3bd3601573a9441900eb9a16513511"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::proto_editor::literal_field (cognitive 16): figcraft_ui_egui::panels::proto_editor::literal_field has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_editor.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a50a9cd2cc0629768e5d4cad6abe85f47d7b499c37803858328fc1da6bce2"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::panels::versions::form (cognitive 16): figcraft_ui_egui::panels::versions::form has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/versions.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d10c87cba1f11d89c6bbdd6747d1c761ae48272b08b7beb5d51fd6fb2133e"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::tabs::paint_tab (cognitive 16): figcraft_ui_egui::tabs::paint_tab has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (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/tabs.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"839c76d66af8a31487f669689a299c39e94e5c477acaa3e03f5e0bf68e549c31"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::text_field_in (cognitive 16): figcraft_ui_egui::widgets::text_field_in has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"659fdcb05ce54ccdd01cf7aa012336349c55da7166c6c53667cc1a4ec06878ac"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::colorpicker::pattern_controls (cognitive 16): figcraft_ui_egui::widgets::colorpicker::pattern_controls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"390ead65535f579e96d1f976a3458c50bded43b7a2539b55685cda1d7624e225"}},{"ruleId":"D2","level":"warning","message":{"text":"figcraft_ui_egui::widgets::style_picker::style_row (cognitive 16): figcraft_ui_egui::widgets::style_picker::style_row has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 3, boolean chains 2 (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/style_picker.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"333b72985773e9366bc0d17fa31766c00b5ac730dc86619d86b9428fec2a4158"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 235 methods, declared across 28 files: vectoredit/pointer.rs (25), live/events.rs (23), session/undo.rs (18), live/sync.rs (18), \u002B24 more file(s). The bar is 30 methods; this is 205 over it, 7.83\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/lib.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b0d67fb54554ce74da041cde1cfe31aae167ba806179b77228a7a14fc2fd87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::icons::draw::draw: FunctionTooLong \u2014 figcraft_ui_egui::icons::draw::draw runs 598 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 498 over it, 5.98\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/icons/draw.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"560a5c99c3bd4becf4a95e45f128d87e8094f2fba87ea20ed34d97fe7a7a3e21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/penpot.rs: FileTooLong \u2014 2984 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 108 free functions. The bar is 500 significant lines; this is 2484 over it, 5.97\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/format/src/penpot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d8d8872322dcf8b43a06a49da938a4d1f2dd55d8f4cf055a4d43ac39291267"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: UiState: TooManyFields \u2014 110 stored fields beside 2 methods. The bar is 30 stored fields; this is 80 over it, 3.67\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/ui-egui/src/lib.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5144251d5aea9467a6e9c8183ec8eee3b04686a807c7823cdf58044932d5fd23"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::text::specs: FunctionTooLong \u2014 figcraft_engine::cmd::text::specs runs 336 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 236 over it, 3.36\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/cmd/text.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aacc24c6a60aa5aed365cc66435c55c20dc93090072cb4653c8ee9353031aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Document: TooManyMethods \u2014 96 methods, declared across 6 files: src/lib.rs (73), src/ids.rs (8), src/library.rs (5), src/comments.rs (4), \u002B2 more file(s). The bar is 30 methods; this is 66 over it, 3.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/lib.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3868277fac9bf944a52176a994b6eac0f44c2d89a908f09318b7d3dd6fd82dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::canvas::vectoredit::specs: FunctionTooLong \u2014 figcraft_engine::canvas::vectoredit::specs runs 316 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 216 over it, 3.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/engine/src/canvas/vectoredit.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6a0dbbacfc6feb83f08ccd33f532194345f44f7022fb6066d0f7fd69a0fe3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::edit::specs: FunctionTooLong \u2014 figcraft_engine::cmd::edit::specs runs 314 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 214 over it, 3.14\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/cmd/edit.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d4af061994ccae970f30aa37d9202a244da3cd11e8c4a9349cc277a5c4f972"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::view::specs: FunctionTooLong \u2014 figcraft_engine::cmd::view::specs runs 306 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 206 over it, 3.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/engine/src/cmd/view.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f235e6fe79ef6ef35682a68da49390f8dc62a3fbc64ecfc3340d235ef48fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Exporter: ClassTooLong \u2014 1081 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 32 methods, 2 blocks, lines 135-1794. The bar is 400 significant lines; this is 681 over it, 2.70\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/format/src/penpot/export.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fffbb37599b78b15476e3bd523f066eec762388573cf2be0695ddc119236dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: penpot/export.rs: FileTooLong \u2014 1303 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 83% of them inside a single declaration: Exporter (2 blocks, 135-1794). The bar is 500 significant lines; this is 803 over it, 2.61\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/format/src/penpot/export.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a9de4af76a8201b619b88d6fd6284013ab5b4e4a5ac743cd5034ee6e6b9b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/layout.rs: FileTooLong \u2014 1272 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 772 over it, 2.54\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/text/src/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7a58ce14912a143d9e7ff4be2547f9c932b136cb3cd767703f7d2235a11049"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FigApp: TooManyMethods \u2014 75 methods, declared across 12 files: app/frame.rs (20), app/files.rs (16), app/commands.rs (13), src/app.rs (5), \u002B8 more file(s). The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/lib.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de5438e601e893df826eade4c8c1575118d4468c56bac0494df906e99374e36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::comment::specs: FunctionTooLong \u2014 figcraft_engine::cmd::comment::specs runs 246 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 146 over it, 2.46\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/cmd/comment.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc2519a75656214546e3bf31e85ae1bda276fb7b7f3efcf2c24bb87ce7551f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Store: TooManyMethods \u2014 73 methods, declared across 7 files: store/files.rs (18), src/store.rs (17), store/library.rs (14), store/links.rs (10), \u002B3 more file(s). The bar is 30 methods; this is 43 over it, 2.43\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":"apps/figcraft-server/src/store.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"513faa1b1600da80dbccb53764d41d70473230528fc53463aeadb553fae67ea0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::file::specs: FunctionTooLong \u2014 figcraft_engine::cmd::file::specs runs 237 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 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/file.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3c06f5a1d48c7b9dce6818bbc6a69303c05e5a108b7bbba3d307b2680c4274"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/props.rs: FileTooLong \u2014 1022 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 52 free functions. The bar is 500 significant lines; this is 522 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b796e4615d05a9ab83dc64aee84285bc2b290b7e4d3968d08e3740a73daf27"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.drag: MethodTooLong \u2014 drag runs 204 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 104 over it, 2.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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afcd5c88700c7b3d0e0e2f17325e56f05bb21c70063f6ca1097b52b21aeb3ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.vector_down: MethodTooLong \u2014 vector_down runs 204 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 104 over it, 2.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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66490e8d98885ac709ec778d100c59b5df72e3a24bcd4bb7b4294639ab1a763"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::layers::layers: FunctionTooLong \u2014 figcraft_ui_egui::panels::layers::layers runs 203 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 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layers.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046f2aaae828462953ccd5e3369fa8cebbe5136556f4d42d9c77740ee2d20a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_format::penpot::import: FunctionTooLong \u2014 figcraft_format::penpot::import runs 200 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 100 over it, 2.00\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/format/src/penpot.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b55594e379e484cb10ced879c1d8093e2d9629ca127e3dec6e17ed70590431"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fontdb.rs: FileTooLong \u2014 995 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 495 over it, 1.99\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/text/src/fontdb.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf668bbd60c2a46d5dcaccc1d0530e8a2abfa2b07640392618cd33879ec6e52f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_mcp::tools::tools: FunctionTooLong \u2014 figcraft_mcp::tools::tools runs 199 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 99 over it, 1.99\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/mcp/src/tools.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"846e313ea7ede4fa5b9991f110e70ee166b2ba5008aae0f2bba112432e8bb58b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/colorpicker.rs: FileTooLong \u2014 978 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 43 free functions. The bar is 500 significant lines; this is 478 over it, 1.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/widgets/colorpicker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace716b8ac89964b32a9fa56e347e792041c9409be0485a1880b437580685f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rest.rs: FileTooLong \u2014 972 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 62% of them inside a single declaration: Ctx (2 blocks, 416-1323). The bar is 500 significant lines; this is 472 over it, 1.94\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/format/src/rest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a549695c7c69cdc074ca3d2013004f183a3e51664b5a63a4eb76a77af65eed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/props.rs: FileTooLong \u2014 968 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 468 over it, 1.94\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/doc/src/props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca1e385c402a4d847d14764203882071bbd83ef7931480531ecd797f6eaf1c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::component::specs: FunctionTooLong \u2014 figcraft_engine::cmd::component::specs runs 191 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 91 over it, 1.91\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/cmd/component.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"477687d540e612dc3b10c5060fc0131fe37924c14775ce3593a7f01ef1ea3ef0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/live.rs: FileTooLong \u2014 941 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 56 free functions. The bar is 500 significant lines; this is 441 over it, 1.88\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/live.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e241f70be6beee316e85d7b924f9eb4a17fa926102c91eaf8accb214ccb2cdd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/styles.rs: FileTooLong \u2014 937 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 42 free functions. The bar is 500 significant lines; this is 437 over it, 1.87\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/cmd/styles.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c55e521b0345b7bbb6f99060d44b8596684db626610f27ad40c9c65c3f0bc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/proto_panel.rs: FileTooLong \u2014 919 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 42 free functions. The bar is 500 significant lines; this is 419 over it, 1.84\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/panels/proto_panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714531954d0c254f3eeaaadde533ef6bd1ffeeefd722c67d0708ab2b3e0cc941"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/control.rs: FileTooLong \u2014 916 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 38 free functions. The bar is 500 significant lines; this is 416 over it, 1.83\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/control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dbe8a9e15d10a2fc3286735ef45f7bddfec47502dea6236febb85918080947"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::menus::popups: FunctionTooLong \u2014 figcraft_ui_egui::menus::popups 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/menus.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c155fcd7d5b8ecb8e0450bd7d2bf0d13a7a5b9ef391f502998dae056350d32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/vectoredit.rs: FileTooLong \u2014 892 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 392 over it, 1.78\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/canvas/vectoredit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"defe1c3a890fb2ecee3a941a2276dbff81a0734ff5c292b3378d7d2db1be3fba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/style_picker.rs: FileTooLong \u2014 877 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 46 free functions. The bar is 500 significant lines; this is 377 over it, 1.75\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/widgets/style_picker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6504620273f43e31346357e9a9514bfa50a9046a5e6ff0ad90bd92cdde921eed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/library.rs: FileTooLong \u2014 875 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 55 free functions. The bar is 500 significant lines; this is 375 over it, 1.75\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/assets/library.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69cef62aa2b354d474f7a829d58256bd6ba4b52314878efdf1171c0dd45dedf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/assets_panel.rs: FileTooLong \u2014 853 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 34 free functions. The bar is 500 significant lines; this is 353 over it, 1.71\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/panels/assets_panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7d86a428cff5ee7b64279ef21c24769ff3e14aeb0cfed5e5f321aab1d833c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/structure.rs: FileTooLong \u2014 852 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 352 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/structure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6e4edb2fafeba52c77e9b7a4e698bb0c4f1312db62334e1265a5948ef0790f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Mapper: TooManyMethods \u2014 51 methods, declared across 10 files: map/connector.rs (10), map/layer.rs (10), map/component.rs (9), map/document.rs (7), \u002B6 more file(s). The bar is 30 methods; this is 21 over it, 1.70\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/format/src/fig/map.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c37966b31f2e99f418d7241a2af48f8551d409ad04cc404c469cd824f06e280"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::content::synthetic_ds::design_system: FunctionTooLong \u2014 figcraft_engine::content::synthetic_ds::design_system runs 170 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 70 over it, 1.70\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/content/synthetic_ds.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"139321c23746ce3402eeabe40b42b3239332ecff2b248132830deaad115571ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_text::layout::layout: FunctionTooLong \u2014 figcraft_text::layout::layout runs 170 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 70 over it, 1.70\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/text/src/layout.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df02596fb5ba9611901e5c6225862165a3a0e29a5de8b09a1290cf3af6a33a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tools.rs: FileTooLong \u2014 847 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 49 free functions. The bar is 500 significant lines; this is 347 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/mcp/src/tools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4bb1db99c703daff39c20f78ea2edf364a8f210f52462ffe81091fababb36d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/widgets.rs: FileTooLong \u2014 847 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 63 free functions. The bar is 500 significant lines; this is 347 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/widgets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a991800f734f8d3b0b9c16934d8d1047bc7d84b460e68ad7a52550673119d5df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/layers.rs: FileTooLong \u2014 839 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 39 free functions. The bar is 500 significant lines; this is 339 over it, 1.68\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/panels/layers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0184531e1d186496116ca7c89fa19566aa40ac92a0f1ed3cead3112d4705ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Document: ClassTooLong \u2014 669 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), 96 methods, 3 blocks, lines 192-1289. The bar is 400 significant lines; this is 269 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/lib.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a25ae144a02a74b03e9f3eaf54a47a4029bde7feecd6090b10aaa7fdd55d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/comments.rs: FileTooLong \u2014 831 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 331 over it, 1.66\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/canvas/comments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd2e3864a79da7982120f4576d8b388a9c2fe1a017fd58fe4bea3c03f8245ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vectoredit/pointer.rs: FileTooLong \u2014 826 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 87% of them inside a single declaration: Session (187-1181). The bar is 500 significant lines; this is 326 over it, 1.65\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/engine/src/canvas/vectoredit/pointer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d26e00588f3d04a7df95d68647cc7ccfc7bd14e6e0c8980116e1b580d84a2bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::dev::annotations::specs: FunctionTooLong \u2014 figcraft_engine::dev::annotations::specs runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/annotations.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0950657eba22cb6dcd87310929d48bf5f1f0d9b14f043dc8a64a00b2cd027a76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_format::penpot::import_themed_tokens: FunctionTooLong \u2014 figcraft_format::penpot::import_themed_tokens runs 164 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 64 over it, 1.64\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/format/src/penpot.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f90f9563f6199869630cafe10e474bc80a5974b57e8756143c7091904566dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: W: ClassTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 23 methods, 2 blocks, lines 76-1108. The bar is 400 significant lines; this is 253 over it, 1.63\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/svg/src/lib.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff9507b4a8afef42428f9002500b7d626db32fdac9eb4e5f2503419e1ff60a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: W (2 blocks, 76-1108). The bar is 500 significant lines; this is 316 over it, 1.63\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/svg/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63f827a8b2c49102c48df2da57cce10dbbe5289e1abe782dd07caeff14ec10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: icons/draw.rs: FileTooLong \u2014 803 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 303 over it, 1.61\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/icons/draw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aede4d2f8f801543b44cdf582458ccf6307e73e831ad0d3663343ed955328d65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/layout/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb2b2733b5c34dad36896b61ddb8a44c8fd8f2625c49ac63778555cd2678eab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Node: TooManyFields \u2014 47 stored fields beside 25 methods. The bar is 30 stored fields; this is 17 over it, 1.57\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/doc/src/node.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ccdd08738a520e9c28e8aa773cc1b4f30cacefac2ff7f5073579261cd02d70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Document (3 blocks, 192-1289). The bar is 500 significant lines; this is 283 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/doc/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17351ce3c2225d136a376cef44ee67ee68ff6e2a59723120c94c7d0613ab7959"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::styles::specs: FunctionTooLong \u2014 figcraft_engine::cmd::styles::specs runs 155 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 55 over it, 1.55\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/cmd/styles.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c6e58f3cb809b64af885a2960eb12de5a072e2bb0e1f6d15181919fcfeaf47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::proto_panel::action_fields: FunctionTooLong \u2014 figcraft_ui_egui::panels::proto_panel::action_fields runs 155 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 55 over it, 1.55\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/panels/proto_panel.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9558311897524aada365a7aa22090d8b18c815bd66357fbac62687def1d565"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proto.rs: FileTooLong \u2014 765 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 265 over it, 1.53\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/doc/src/proto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c61883835e0f6fd2aa1d4293624d8eb091b1eb85593d4f72e87239e74dc0db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/dev_mode.rs: FileTooLong \u2014 760 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 260 over it, 1.52\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/panels/dev_mode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aab4c132ec954477069d99ca86fd02e48ec63737a6f137271d111981fe5945e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::page::specs: FunctionTooLong \u2014 figcraft_engine::cmd::page::specs 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/engine/src/cmd/page.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"840497c83aaf61244dfeb5a116f23985b9418890cd06c827ef7d0260caf00000"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ctx: ClassTooLong \u2014 601 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), 45 methods, 2 blocks, lines 416-1323. The bar is 400 significant lines; this is 201 over it, 1.50\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/format/src/rest.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56418c7ad07bb1e718e0e6827f55cb159cb0e02665949bd1aed64123a51144c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ctx: TooManyMethods \u2014 45 methods, declared across 3 files: src/rest.rs (26), rest/proto.rs (13), rest/variables.rs (6). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/rest.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34a5ba74c8b905b572755bbf0648287c68cdc9144c8d8df0ec3efcdf4219a55"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Presenter: TooManyFields \u2014 45 stored fields beside 34 methods. The bar is 30 stored fields; this is 15 over it, 1.50\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/ui-egui/src/present.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad5f7c845f7041ac2f8c856300a42e9e2a1bb8d99498f313cdaa6af652abb21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::dialogs::show: FunctionTooLong \u2014 figcraft_ui_egui::dialogs::show runs 150 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 50 over it, 1.50\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/dialogs.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"121a8b0824da026eed0be7f9d95487a2a046f8af33110453966c33e9f032f65c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VectorNetwork: TooManyMethods \u2014 44 methods, declared across 3 files: src/vector.rs (25), src/vector_faces.rs (12), src/vector_regions.rs (7). The bar is 30 methods; this is 14 over it, 1.47\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/doc/src/vector.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7164bee826639f0f739a388949e1c9eb2142958140e27ef175487aed5fa72f09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::present::input::input: FunctionTooLong \u2014 figcraft_ui_egui::present::input::input runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/present/input.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1682cce885da1eff66769840afb92fac0a20ceebac07facc9ade23b6ef08ea5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 43 methods. The bar is 30 methods; 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/collab/src/client.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbfd1434c8bb80be7d3b5307e1c4d293c6169c1ff3536648f21057641dc129"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::widgets::number_field_impl: FunctionTooLong \u2014 figcraft_ui_egui::widgets::number_field_impl runs 143 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 43 over it, 1.43\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/widgets.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f006dc96011bf789d30c2b28f349337f9e36f8eb206e9eea426aa7fc2542999d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::right::effects::effect_settings: FunctionTooLong \u2014 figcraft_ui_egui::panels::right::effects::effect_settings runs 142 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 42 over it, 1.42\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/panels/right/effects.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec81bbef392d832142adac6c321cebb6d5a94248ce7edcef4b518b35d5ea64d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dialogs/variables_panel.rs: FileTooLong \u2014 704 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 204 over it, 1.41\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/dialogs/variables_panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"771a0ce013b6571d9f0c6cba541ab3f401a3ab35c5787efdbea0801193074210"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Kit: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/content/templates/kit.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0de8b9f4d244e68014759ee5df04b96b9cf0fbd54c5f2a793ba3d361aafe18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/draw.rs: FileTooLong \u2014 694 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 46 free functions. The bar is 500 significant lines; this is 194 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/draw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad82cdecdac02088f6ac94a7c87ab47335dd7c26335c2f7bc7b93305b9b7142"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::typography::fields::type_settings: FunctionTooLong \u2014 figcraft_ui_egui::panels::typography::fields::type_settings runs 138 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 38 over it, 1.38\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/panels/typography/fields.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae198259a13b398e7d30c3390e4b697a269d6970884372850b243b69656bccd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::widgets::colorpicker::show: FunctionTooLong \u2014 figcraft_ui_egui::widgets::colorpicker::show runs 138 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 38 over it, 1.38\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/widgets/colorpicker.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ead51ec8bae18645bd09fc3b6b0289d4e8a66d9638b5eff5bd4f3b0998e443"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dev/component_codegen.rs: FileTooLong \u2014 686 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 43 free functions. The bar is 500 significant lines; this is 186 over it, 1.37\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/dev/component_codegen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba581bc26f9a170a01cf7562a45457021ba7520b601e8f2768ee16049e543b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::assets::library_swap::swap_library: FunctionTooLong \u2014 figcraft_engine::assets::library_swap::swap_library runs 135 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 35 over it, 1.35\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/assets/library_swap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d647439b0ef306d433ab9b3c6d8d23d239def901fcd1c8cb9e5b42832852ea77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::tabs::tab_bar: FunctionTooLong \u2014 figcraft_ui_egui::tabs::tab_bar runs 135 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 35 over it, 1.35\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/tabs.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca9911c953bc4b91c8464c61b744907b3174801efcd98e901c1147e2f91584"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/comment.rs: FileTooLong \u2014 672 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 40 free functions. The bar is 500 significant lines; this is 172 over it, 1.34\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/cmd/comment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5afe454c5091d39122b33f8fdb8b2f0eb4d5786ea9cf07431762c21ec42570"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_cli::perf::measure_components: FunctionTooLong \u2014 figcraft_cli::perf::measure_components runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-cli/src/perf.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac56c3c7814e05981b16fa27abed6be92f646ea802da8e9822a10ce34dbeef3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::layers::pages: FunctionTooLong \u2014 figcraft_ui_egui::panels::layers::pages runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layers.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"963a2ebe788a082c23c52272fd01700dfa659708b09f960f0e54603b57ab6029"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 667 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 32 free functions. The bar is 500 significant lines; this is 167 over it, 1.33\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/format/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedc3d3ade4c891fa0ff29687f96f98fdceecdb3f030b8166f72662d782e49a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Exporter: TooManyMethods \u2014 40 methods, declared across 7 files: fig/export.rs (8), export/component.rs (7), export/layer.rs (7), export/paint.rs (5), \u002B3 more file(s). The bar is 30 methods; this is 10 over it, 1.33\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/format/src/fig/export.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcee4cb27180f30a05cbc3e3c8733168a6bd062ac5220b8dfa279f62e3f0066a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::library::specs: FunctionTooLong \u2014 figcraft_engine::cmd::library::specs runs 133 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 33 over it, 1.33\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/cmd/library.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea617d51f678ebe8fbe6c361568387795ed4d8102aa2cc3652a21ac873b4f029"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Mapper.network: MethodTooLong \u2014 network runs 133 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 33 over it, 1.33\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/format/src/fig/map/layer.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"3005defd8326b89c3479f29e656e59f55a609e1bf45107674dd74ddb2f24bdd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::typography::picker::font_picker: FunctionTooLong \u2014 figcraft_ui_egui::panels::typography::picker::font_picker runs 130 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 30 over it, 1.30\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/panels/typography/picker.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc09ba32c557b75e4f9ea0a6a348c8618aea04065ba7a5af4857c05c94ce3dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: map/layer.rs: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: Mapper (83-781). The bar is 500 significant lines; this is 147 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/map/layer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"262abceb07103ce583bf8d921e5f5c6a1970c95f3e90e309824d383d232a66db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/home_recents.rs: FileTooLong \u2014 644 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 144 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/ui-egui/src/home/home_recents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0150527fc3d2c2dca4394d0d1854f203280e22248e67b5ef5754ca14c95a1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::canvas::input::input: FunctionTooLong \u2014 figcraft_ui_egui::canvas::input::input runs 128 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 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/input.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9019792daec7b015c970684e21ef2201ae4ac1fedc1a9f963fb52c4daa7ae9af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/component_panel.rs: FileTooLong \u2014 635 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 135 over it, 1.27\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/panels/component_panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99e8206d089f7cc071a9118ce678be606effdc25626e7c1691d5f96a50055d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FontDb: 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/text/src/fontdb.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd00f99122d34b90afaff231c65e31cd27b7c6258041ccd4d00f253abab90d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/node.rs: FileTooLong \u2014 633 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 133 over it, 1.27\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/doc/src/node.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2503efcbc620b96c0813fff463c666f938f5e168df5e56d47bc46731b25f8b2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::proto::specs: FunctionTooLong \u2014 figcraft_engine::cmd::proto::specs runs 125 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 25 over it, 1.25\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/cmd/proto.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5471a5c6ef84fdccec587883abe7317513b9fbb35b714c4e343c397241173b06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::component_panel::properties_ui: FunctionTooLong \u2014 figcraft_ui_egui::panels::component_panel::properties_ui runs 125 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 25 over it, 1.25\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/panels/component_panel.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9639e2e30970c9362da41fa3a7a677baa1186002a7def28926b94ebd71526b4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FigApp.handle_ui_requests: MethodTooLong \u2014 handle_ui_requests runs 124 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 24 over it, 1.24\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/app/commands.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf685ce00efbf0c784c6fe38456611cc879b8ce8c5a6f748bcddce5596a492c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Mapper.layer_filtered: MethodTooLong \u2014 layer_filtered runs 123 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 23 over it, 1.23\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/format/src/fig/map/layer.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2d18c3e0ea83fa82557017aef29496dd4ec6b93815cfac9486746310b119f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/library.rs: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 111 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/cmd/library.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30ce40091961b8b06df0fb4ed02cb24cdea2b5adc8e5240fc185d17c81fdf68"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_cli::perf::measure: FunctionTooLong \u2014 figcraft_cli::perf::measure runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-cli/src/perf.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad9c7d4f24b45633e526c3249219d93af1885c90771d4eaa87f861b20ceae41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/a11y.rs: FileTooLong \u2014 593 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 62 free functions. The bar is 500 significant lines; this is 93 over it, 1.19\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/a11y.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e38e7f1ea4dc6da46e21f17b82d324904ce29cb91c8f53fcf8720a7d72cb54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Exporter.assets: MethodTooLong \u2014 assets runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/assets.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd261518f50a217b70769b8a3930a4694dc52889ecb2d243f33ed32367ba3733"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::assets::library::publish: FunctionTooLong \u2014 figcraft_engine::assets::library::publish runs 117 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 17 over it, 1.17\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/assets/library.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0583e48e89ea0c139bcca946f821e685100ba0a1c8b8af963e92da7de1a1a917"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.vector_drag: MethodTooLong \u2014 vector_drag runs 117 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 17 over it, 1.17\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/canvas/vectoredit/pointer.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4714b71f12ffb64163aa926236daddf3e6aed6052f2299526505f672cdde640"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Tokens: TooManyFields \u2014 35 stored fields beside 3 methods. The bar is 30 stored fields; this is 5 over it, 1.17\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/ui-egui/src/theme.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c786de3df5865ad8c5e20320bae2aa6cd7e6ee9307e41021fb3994dc98fa718c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/shortcuts.rs: FileTooLong \u2014 583 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 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/shortcuts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c912dacbf363f81475f4b8e3ba1ce77466f95b79616ee42e6b7568bef09ca65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vectoredit/ops.rs: FileTooLong \u2014 580 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 31 free functions. The bar is 500 significant lines; this is 80 over it, 1.16\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/canvas/vectoredit/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"111499669bdafc1173fa7e80bb04a978cdf3cb77ea400e7424cfe09ff1bfcd4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.move_down: MethodTooLong \u2014 move_down runs 115 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 15 over it, 1.15\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/canvas/tools/drag.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"62931ad9a8d9912183191b21c907f487ebee4589432acac0e7a3efd388c37ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::cmd::structure::specs: FunctionTooLong \u2014 figcraft_engine::cmd::structure::specs runs 115 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 15 over it, 1.15\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/cmd/structure.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9c8d06f1c593f76c177b36b9c2cd0d56ef6fad4ed93c7e091b62bdeaa4b0cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft::main: FunctionTooLong \u2014 figcraft::main runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"969df2b8f1fcf8c2e26626539d980f86766a89e54a85ed93b7dee434cf6eb821"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/import.rs: FileTooLong \u2014 569 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 69 over it, 1.14\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/svg/src/import.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a28c865d443aa0e5f0182a09e53dade05a871581fc22ed6c8402bafc82d66ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: FigApp: TooManyFields \u2014 34 stored fields beside 75 methods. The bar is 30 stored fields; this is 4 over it, 1.13\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/ui-egui/src/lib.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee4cdeed3d708a1e2520a77b236b5cf0d9ab97e35edfffbc3fa1b93704b7d4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextData: TooManyMethods \u2014 34 methods, declared across 2 files: src/text.rs (33), src/colors.rs (1). The bar is 30 methods; this is 4 over it, 1.13\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/doc/src/text.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dbe953074f4c0a1f202b8323343f421e0c5dc78f5874ac3403528827fe266b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_render: TooManyFunctions \u2014 34 free functions. The bar is 30 free functions; this is 4 over it, 1.13\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/lib.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e19b422e446a1dac94fd58e17a965c7856fa31ce9e1e93d7e24dbcf1cb8da4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Presenter: TooManyMethods \u2014 34 methods, declared across 4 files: present/navigate.rs (13), present/actions.rs (8), present/scroll.rs (7), src/present.rs (6). The bar is 30 methods; this is 4 over it, 1.13\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/ui-egui/src/present.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a4c7357174263c28b4a261b35ce39bab114ef38c35e6852be20a7a5a462f40"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.resize_drag: MethodTooLong \u2014 resize_drag 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/engine/src/canvas/tools/drag.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a74b55809799b33e24c3d876548a05e8fd10ad8b2f1d18edd32a63784c44438"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Presenter.perform_at: MethodTooLong \u2014 perform_at runs 112 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 12 over it, 1.12\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/present/actions.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"507b26824c61c78aacec26283fe4927a6ed9d5fcdd92e9a87cf6afd36b6a2b32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panels/right.rs: FileTooLong \u2014 556 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 56 over it, 1.11\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/panels/right.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd7aaf58206808c3099801651d6a9bc609fb9e74f6f2fdc77feaf520edcf692"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Exporter.text: MethodTooLong \u2014 text runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/shape.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"34beb7eec36610ca28ccec51d7e2203ffa5454790a0b49e79a248fea5f4b10ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::canvas::comments::message: FunctionTooLong \u2014 figcraft_ui_egui::canvas::comments::message runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/comments.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec06b381f28b27854cd354a568d56cd333827065341e7d3b3384e4bccd2edba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_engine::canvas::textedit: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\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/engine/src/canvas/textedit.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9950fbf69bcf535602c847b3731d0b4ef7203c0f0f428bb846d46b1ff50ee5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_engine::dev::code_connect: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\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/engine/src/dev/code_connect.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe80218faa01fdb5ca0cf1dbffcd8c10bad1741b7ca8116083d2e09b0b03247a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_engine::sharing::branches: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\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/engine/src/sharing/branches.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e6d680bcff285fc5713c8084faba8fbd379ac8d767cf581e260a6d2cbf1513"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_format::rest::props: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\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/format/src/rest/props.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32384ea2d87f93e55bd0f0b1e020ec396c39ed544842e637b48ed760549cc80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::canvas::comments::panel: FunctionTooLong \u2014 figcraft_ui_egui::canvas::comments::panel runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/comments.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac5574ed68af230113dd81c759a60b635d3afecd841b3e8ce431ea2aa557924"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Prefs: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\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/prefs.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73b967a3bcf583b5bcdc1bba647e2dcfa6852858dd193fa537b74081fd2665f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/glass.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/render/src/glass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aeaa5b888c70c155d75ca07f1a303d3ea0ebb83dc1a8ba7ffdb228e22dc351a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Mapper.instance: MethodTooLong \u2014 instance 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/format/src/fig/map/component.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a220cce066ddf49b95a7068e98486cd82b97e5501cb757bfa408aa8eaf9a017"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::right::paints::paints: FunctionTooLong \u2014 figcraft_ui_egui::panels::right::paints::paints 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/panels/right/paints.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ad768bdb6b8a0bd2eed1754fe6220e7579e9f79673236632d7f500bac8bbf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/text.rs: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 44 over it, 1.09\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/doc/src/text.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77c851a220a0b3e94b4a1b7f0fc4d557beee746ec0e3c8188f21b0b492e74e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/handles.rs: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/handles.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba431c976267071c0a169b6c133221c7871131adae75b31cb619f3ca95f8732"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_engine::cmd::variables: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/variables.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3198db583d422c7868725f5304e32a1427fde8c58aeebd6c6a2f58d190967879"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Exporter: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot/export.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"601ba82cdc15db023447b30ed529b8c1351cde899d1c3a407afb66203245f5ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_ui_egui::tabs: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/tabs.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd21557a30c4e0a2e2a4ff626f1a1d542cf658b659c67015e2ee6d9d2c128da6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_engine::content::synthetic_ds::place_instances: FunctionTooLong \u2014 figcraft_engine::content::synthetic_ds::place_instances runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/content/synthetic_ds.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbca3fb7e72b02b40378dfbdf3be9293da8ce0766dd6e9d7ff33a330b1f7c79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::panels::right::right_panel: FunctionTooLong \u2014 figcraft_ui_egui::panels::right::right_panel runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/right.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a02c53af096a359e9ac67df155c0f81b92cefbd4b4d82b18ec87e98e203088"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/message.rs: FileTooLong \u2014 527 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 27 over it, 1.05\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/collab/src/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0470e18b3b1b4a830f59854b3e3ad33734661f2819923d254ce35be101c31655"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::canvas::show: FunctionTooLong \u2014 figcraft_ui_egui::canvas::show runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca8990cba804b1c04829d3384c94cabddf40dc0f0c0b8d8723faf9225e96000"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: content/synthetic_ds.rs: FileTooLong \u2014 522 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 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/content/synthetic_ds.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ca80021669fa41dd6a237f56419cf5f113c8c0bad86cf93a9acfbb56c67ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_collab_net::hub::conn::serve: FunctionTooLong \u2014 figcraft_collab_net::hub::conn::serve 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/collab-net/src/hub/conn.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"107b11816100a991df9514d1e4fc4c8dda179e916222f17908d7f1a1e04cc800"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.up: MethodTooLong \u2014 up 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/engine/src/canvas/tools/draw.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c2d59c18483f25ef9254f20a86a741d220cec4ea36ee46ada68e23f752ed4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_plugin::sandbox::linker: FunctionTooLong \u2014 figcraft_plugin::sandbox::linker 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/plugin/src/sandbox.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de1abc76361cfe71803284e83054441f0900f098a937b8e2802cd4ebc96c81f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_text::layout::shape_segment: FunctionTooLong \u2014 figcraft_text::layout::shape_segment 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/text/src/layout.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1d2ba1774d3d03386cf0b3d4bbfe670f7dafbdda7b1ee9b39a446f0c3eca1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::canvas::handles::input: FunctionTooLong \u2014 figcraft_ui_egui::canvas::handles::input 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/ui-egui/src/canvas/handles.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ad4cee31e1bc9056b949c36fd43caad5463fc43d39273c2e911fff068c7c5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dialogs/plugins_ui.rs: FileTooLong \u2014 517 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 17 over it, 1.03\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/dialogs/plugins_ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f38693968c9d3234f06b6c51a65dc44ab882e85ba2d5e619c0fa3dfc8f27ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: figcraft_engine::extensions::plugins: TooManyFunctions \u2014 31 free functions. The bar is 30 free functions; 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/engine/src/extensions/plugins.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c929f280e215fedeec34e7cc6542d50175727b872641c3fcef98c2abb6d672c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Face: TooManyFields \u2014 31 stored fields beside 23 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/text/src/fontdb.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"115af302be7cd528609f8006c4175583cad3e9f17b1385105452cd31d8dfc44d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/overlays.rs: FileTooLong \u2014 512 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 12 over it, 1.02\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/canvas/overlays.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e05465e8489606c87f9f1b743f7c2fb26225d1832acc5262869691e4bfe023"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: figcraft_ui_egui::menus::invoke: FunctionTooLong \u2014 figcraft_ui_egui::menus::invoke runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0831528cbb28a7bb736c0ac2983b87263583e3aab969b5039625c3b56219bff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/pdf/src/draw.rs:69-85 | crates/render/src/draw.rs:108-121 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pdf/src/draw.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3810f5af880157d0af155fd060e8791193a96f1bfee9d3f15d77ba67d2fe27"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/figcraft-cli/src/files.rs:92-103 | crates/engine/src/cmd/file/save.rs:7-38 | crates/mcp/src/headless.rs:324-348 | crates/mcp/src/headless.rs:350-365 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-cli/src/files.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d55e54b8215ec3870840ede02d2ece737dd8dc9201c2bdedaadc57bc9c77a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/format/src/penpot.rs:3663-3680 | crates/format/src/penpot.rs:3713-3730 | crates/format/src/penpot.rs:3731-3748 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/penpot.rs"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab6f1f84e1fdb0cfff122040a89dac66152cee8b38146378e85912118cdca14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): crates/engine/src/cmd/file/export.rs:177-190 | crates/engine/src/cmd/file/export.rs:212-219 \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/cmd/file/export.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd2380f1249fc889d120817247759ad916e604d12d028b0031662233a4802e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/engine/src/cmd/file/load.rs:244-257 | crates/engine/src/cmd/file/load.rs:289-301 \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/cmd/file/load.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a619deea60d0143bba63318f33b209f237b2f8cd911f08878ee8eb58ab395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/ui-egui/src/theme.rs:119-130 | crates/ui-egui/src/theme.rs:159-170 \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":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ab5333c9a9c7d552a5be043e6025875c6792d6d7d977bab51d716ba64becda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/engine/src/canvas/shapebuilder.rs:155-165 | crates/engine/src/canvas/vectoredit/regions.rs:204-214 \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/engine/src/canvas/shapebuilder.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd1fcbe508cdacf38e9448aa776fb0dd4d10d7d977ddb5eef47312753569a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/engine/src/cmd/lists.rs:143-153 | crates/engine/src/cmd/lists.rs:224-234 \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/cmd/lists.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d05427b5be600b9c44b70c5a7588de9f741e715bfe4ca428747d3114743c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/mcp/src/headless.rs:81-91 | crates/ui-egui/src/control.rs:1532-1542 \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/mcp/src/headless.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a54900faff900c36c88354363e02b4ab6067f87dffb739e7ee46c049e31bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/ui-egui/src/theme.rs:107-117 | crates/ui-egui/src/theme.rs:148-157 \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":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d546bedbbbb8a2e008847ad8383eb98c233834bdd2d1b4e952a0b3bb1ae16083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/figcraft/src/control_server.rs:165-174 | crates/mcp/src/server.rs:145-154 \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/figcraft/src/control_server.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7b76cf4bf87d96f520e9df384b3134b9b912043c6aa2ddd0fac0e172c4b3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/engine/src/canvas/drop.rs:153-162 | crates/engine/src/cmd/create.rs:140-148 \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/engine/src/canvas/drop.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b278fab8ddf8f4235eafa4f72cebbf8eb7e17fe3b89b9533ab91bed2d7b81fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/engine/src/cmd/file/load.rs:497-506 | crates/engine/src/cmd/file/load.rs:609-618 \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/cmd/file/load.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7841b614f5ae83fe1e9025dfa78c287ac2e65d87957e7724a91be6693d96bae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:563-572 | crates/ui-egui/src/icons/draw.rs:1026-1035 \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/icons/draw.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4647ced0399069040ed4c01c4c543a14218e99573efaeb794545e57019840e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): crates/ui-egui/src/panels/typography/spacing.rs:131-140 | crates/ui-egui/src/widgets.rs:610-619 | crates/ui-egui/src/widgets.rs:1247-1249 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/typography/spacing.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"727e74f231d633005d279fee5574bd8608a071641ad6fc238b1e9cebdeca812b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/engine/src/dev/annotations.rs:132-140 | crates/engine/src/dev/dev_measurements.rs:70-78 \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/dev/annotations.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d007301a95291d2c9944ea6dd46cb5089f3013d23dbab772322114927c5fd964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/mcp/src/headless.rs:177-185 | crates/ui-egui/src/control.rs:998-1006 \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/mcp/src/headless.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce074ea802b6cf20ab7a59b0432c7a60d2bd7c985fd1924b456ec1d3d2e05e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:547-555 | crates/ui-egui/src/icons/draw.rs:971-978 \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/icons/draw.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab1f90fd6f9c80ffb896c5889b161dcb9b97f48153925dff495a21b8b22aec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:583-589 | crates/ui-egui/src/icons/draw.rs:771-779 \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/icons/draw.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cc4bde7b3064bfa63fece71bb3cab5aed8d6f6bfe16361e0f666de491b9b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/collab/src/change.rs:338-345 | crates/collab/src/change.rs:377-384 \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/collab/src/change.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4929659264d5d6934849a08d73622d2f0ec09fc9510930542b720b436f16ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/engine/src/canvas/snap.rs:89-96 | crates/engine/src/canvas/snap.rs:154-161 \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/canvas/snap.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e264d9c5b50092d93810084545284d0fc35b925693ca19fe791f5476ba57d413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/engine/src/canvas/textedit.rs:569-577 | crates/engine/src/canvas/textedit.rs:602-609 \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/canvas/textedit.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b195e05902ac0d319308552ec3d6033749e9d9f21f37e960785bf735c08d988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/engine/src/dev/codegen/compose.rs:71-78 | crates/engine/src/dev/codegen/swift.rs:47-54 \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/dev/codegen/compose.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30140bb65135232cf94a6e2c42fce148d7cccb9c077e7b09cd3e37f3ac76ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/svg/src/lib.rs:1181-1188 | crates/vectordrawable/src/text.rs:17-24 \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/svg/src/lib.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda9d7c2e495eb544846c091d1c272affa25a0a63fa5063897de4afd51b81f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:685-692 | crates/ui-egui/src/icons/draw.rs:759-766 \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/icons/draw.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b641dcb428b64069d5a5563ab6ce18b2e037ddfec8a1f9af374832bdbc6c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:978-985 | crates/ui-egui/src/icons/draw.rs:986-993 \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/icons/draw.rs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c166d357ebf0c40c6cb039cb5d4f1f628ad794f06d2c5626238d491b567975eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/ui-egui/src/panels/versions.rs:454-461 | crates/ui-egui/src/panels/versions.rs:508-515 \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/panels/versions.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed09ca238fba6f5ce1ad22eb2f26c747628394382631beb1207499f808e37c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/engine/src/assets/components.rs:245-251 | crates/engine/src/assets/components/variants.rs:128-134 \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/engine/src/assets/components.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881355aa515121409cf2c33faab3c5b21c78dd9d786e329b954052a480e33dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/engine/src/canvas/distance.rs:92-98 | crates/engine/src/canvas/distance.rs:106-112 \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/canvas/distance.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b6b5534afffd5fd29e2164a01fe819ec64f175f9a07485e97b01b70b1bbcce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/engine/src/cmd/structure.rs:621-627 | crates/engine/src/cmd/structure.rs:767-773 \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/cmd/structure.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b4e8352eee904b1356de7e50312d484d9d0ba0690aca8c78b28b47661b345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/ui-egui/src/icons/draw.rs:302-307 | crates/ui-egui/src/icons/draw.rs:550-555 | crates/ui-egui/src/icons/draw.rs:973-978 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/icons/draw.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4a92d2a4588822cf3b860dca8249d14de8bdf346f45f03cbd02bc29d76dc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/ui-egui/src/icons/draw.rs:368-373 | crates/ui-egui/src/icons/draw.rs:563-568 | crates/ui-egui/src/icons/draw.rs:1026-1031 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/icons/draw.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db60a64813aeb5d5842c42d89e3ee69e3db18996613fc42b0f55a5648c5622b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/collab-net/src/manage.rs:39-44 | crates/collab-net/src/manage.rs:73-78 \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/collab-net/src/manage.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ac23d37c1ee1e148d1e3ce9311fc45c0ef076d3294326aa2d2b4825de5c7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/engine/src/assets/components/patch.rs:317-322 | crates/engine/src/assets/components/patch.rs:417-422 \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/assets/components/patch.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45779469113caaa6e1c5252bedd5b1fae7738e51a2689566274847ccdf42af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/engine/src/content/synthetic_ds.rs:365-370 | crates/engine/src/content/synthetic_ds.rs:427-432 \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/content/synthetic_ds.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e356010ac5b295c625e0e2ff8ecf27d62f54c54c80b45ce34a6795193c79efca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/engine/src/dev/annotations.rs:300-305 | crates/engine/src/dev/dev_resources.rs:187-192 \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/dev/annotations.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"730a11c8efe785a6285a94c667160382ad0786a8709e8a85b27e6ee080c38822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/svg/src/lib.rs:1189-1194 | crates/vectordrawable/src/text.rs:25-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/svg/src/lib.rs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4c35dc6554a422184c07912b0d371a3c5d23299d95e4e2fe9c4431ceb41648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:370-376 | crates/ui-egui/src/icons/draw.rs:894-899 \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/icons/draw.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dcbdd3d5948572b97f00d90027cb63c748015faab15ef488101d9422548947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:667-672 | crates/ui-egui/src/icons/draw.rs:674-679 \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/icons/draw.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a057d55a73e3185bdfb1f16ac7aa5c47729a3cfa4b8efad84a55193637dc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:768-774 | crates/ui-egui/src/icons/draw.rs:961-966 \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/icons/draw.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1350020f9b18218fe4266b428b7d0c80e540295d641832b4772bc269cb94f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:767-773 | crates/ui-egui/src/icons/draw.rs:967-972 \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/icons/draw.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca80b43f1735633874166424425839bb8110da9c9433fbf9fe3657181c6a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/panels/proto_panel.rs:374-379 | crates/ui-egui/src/widgets.rs:963-968 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e125e2046dc870f10133918c83d571404cff5a3d0ca5a41d838f7c696c341f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/ui-egui/src/icons/draw.rs:368-372 | crates/ui-egui/src/icons/draw.rs:550-554 | crates/ui-egui/src/icons/draw.rs:973-977 | crates/ui-egui/src/icons/draw.rs:1026-1030 \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/ui-egui/src/icons/draw.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f6c03c0370f027682969f47d53d58bf45872fd0ba64daadcb866e15ad63ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/engine/src/canvas/vectoredit/ops.rs:572-576 | crates/ui-egui/src/menus/palette.rs:309-314 | crates/ui-egui/src/widgets/style_picker.rs:345-349 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/canvas/vectoredit/ops.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a6296de2f492f5c7a1594fc5a4d1056166aea5486f9caff030802db51cb4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/engine/src/content/synthetic_ds.rs:364-368 | crates/engine/src/content/synthetic_ds.rs:426-430 | crates/engine/src/content/synthetic_ds.rs:459-463 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/content/synthetic_ds.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c4973101318eff386fd5decc4b5e8c4761b8a58c0afc3c7e8c8cb7dccc0518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/collab-net/src/hub.rs:535-539 | crates/collab-net/src/hub.rs:555-559 \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/collab-net/src/hub.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5337e35d5664776d504d7ddc3d296dab3d4e16be46e72664907c06f846049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/collab/src/message.rs:940-944 | crates/ui-egui/src/home/home_recents.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":"crates/collab/src/message.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7719f08ae03bdb1e896d2dd307a694f2620946892f8f12fbe9c765ad786cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/assets/library.rs:431-435 | crates/engine/src/assets/library.rs:446-450 \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/assets/library.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc37ea88bcbf4bb0f40c7ff0c722fe19753b35b974fd62d780ebe2112703db05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/canvas/vectoredit/transform.rs:67-71 | crates/engine/src/canvas/vectoredit/transform.rs:87-91 \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/canvas/vectoredit/transform.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb709f2b47a18e032617f93bf126ccd0660c847429a961a5374a6f7d8fddc4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/component/instance.rs:84-88 | crates/engine/src/cmd/component/instance.rs:129-133 \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/cmd/component/instance.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b3b89523a68526d8fc9865df9d8321d7d367182794a016f1705ec78ba1f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/file/load.rs:489-493 | crates/engine/src/cmd/file/load.rs:603-607 \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/cmd/file/load.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b15300e0f846fa0bbac3e73f35258311818655fbb57279473ce8d6a69f912b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/file/open.rs:107-111 | crates/engine/src/cmd/file/open.rs:143-147 \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/cmd/file/open.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8041418398efa8859c431757e8aa1df2c6721b8e5d29ba839dd7f0adde3cecd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/image.rs:101-105 | crates/engine/src/cmd/image.rs:155-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd/image.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8e4a9295d9843fd489d8602a17cf049302747ee7ab6b24779cd5743aea9df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/structure.rs:250-254 | crates/engine/src/cmd/structure.rs:313-317 \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/cmd/structure.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba117408ca8fcc26323f87f2bf13e57d46a6aecbba7aa25ed44704cc5b15ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/structure.rs:862-866 | crates/engine/src/cmd/structure.rs:882-886 \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/cmd/structure.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5115fe90b135503ee7f82223ffac775bde9d349c42f7a9b40af9298979ce558a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/pdf/src/draw.rs:81-85 | crates/render/src/draw.rs:117-121 \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/pdf/src/draw.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e93c479a67ccb5e0edea4e7f71f7367023d69d6106cad658ba668be50e4e1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:440-444 | crates/ui-egui/src/icons/draw.rs:570-574 \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/icons/draw.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d743aef2766f8c6ee1f69352f17a4e69a796f19de13061cff064ff76dc076707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/icons/draw.rs:885-890 | crates/ui-egui/src/icons/draw.rs:964-968 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/icons/draw.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a59e303f91e52a602e463c45ba410cc6948c36cd5767736abb42a618e2b5d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/panels/right/effects.rs:532-536 | crates/ui-egui/src/panels/right/effects.rs:548-552 \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/panels/right/effects.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"737543a7fa9439e233e233aa3a640c4c6e33bb43ddfb19754836d536ce175666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/panels/versions.rs:441-445 | crates/ui-egui/src/panels/versions.rs:496-500 \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/panels/versions.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"53656d1efa36dc3550d65193db9760432a6794906a4ab018771d42da3191323f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/widgets/style_picker.rs:385-389 | crates/ui-egui/src/widgets/style_picker.rs:1274-1278 \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/style_picker.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b77a4965d7c970c06fc24d1345aabac0bf4e016baeb3703f861b3236c0c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/collab-net/src/link.rs:285-289 | crates/collab-net/src/web.rs:253-257 \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/collab-net/src/link.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d526a6639853c98dcf8104b19bd880f7c3de3b90852244de9a0c3df4e3b910a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pdf/src/draw.rs:131-137 | crates/render/src/draw.rs:298-304 \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/pdf/src/draw.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3d273262540427d1c89801288005a4ab71c84f627eb209ccd4987ad3510022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/ui-egui/src/panels/layout_panel.rs:507-515 | crates/ui-egui/src/panels/proto_panel.rs:1322-1330 | crates/ui-egui/src/panels/proto_panel.rs:1342-1352 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/layout_panel.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e6855472fbdb8d6484a34acd85466f60825eb1d8b795af44fd2fcdc09b235a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/ui-egui/src/widgets/style_picker.rs:840-849 | crates/ui-egui/src/widgets/style_picker.rs:872-881 \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/style_picker.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8b5d0edf771ae6f8da2a8f939c79f418529fccc16a085da387535c6c482967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/engine/src/dev/codegen/compose.rs:117-125 | crates/engine/src/dev/codegen/swift.rs:105-113 \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/dev/codegen/compose.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed5677e98ba0a18468f464abe754a16a375644df050e0e3de52dbeb8a094914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/ui-egui/src/toolbar.rs:384-390 | crates/ui-egui/src/toolbar.rs:430-436 \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":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf161836818b649eb1e72cf2e19a5ba2e45696ba5727b6474a7b298d001d926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/engine/src/session/undo.rs:118-124 | crates/engine/src/session/undo.rs:156-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/session/undo.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1442e8a6f8cf85649c603359d6e66fc882eac405eef41be9b3d39387d5c4d9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/format/src/lib.rs:892-897 | crates/format/src/lib.rs:954-959 \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/format/src/lib.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f3f7c462f7f14fd8b51b0411b461ebc8f863817069b3394e300ed7021538c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/panels/assets_panel.rs:692-697 | crates/ui-egui/src/panels/assets_panel.rs:718-723 \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/panels/assets_panel.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cf67f81962ff74c5df15d4f13720cf6d8bfc6c32950c48cdd43f490f5fb9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/ui-egui/src/panels/dev_mode.rs:596-601 | crates/ui-egui/src/panels/dev_mode.rs:614-619 \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/panels/dev_mode.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"513d62814f428744a6416139dde16508b3b6daa6ed0088acc265678c854f969a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/engine/src/dev/codegen/arkui.rs:105-110 | crates/engine/src/dev/codegen/swift.rs:119-124 \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/dev/codegen/arkui.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7702d61961a766484ff652fbd23a2dff4b87fd6a69f700ea4fa6c634fe39e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/variables.rs:225-229 | crates/engine/src/cmd/variables.rs:273-277 \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/cmd/variables.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"63326b5a0d3db9bb11cba3f08da40397d51813f1a00bf33781035b2aec4adbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/engine/src/dev/codegen/arkui.rs:30-34 | crates/engine/src/dev/codegen/compose.rs:57-61 | crates/engine/src/dev/codegen/swift.rs:28-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/dev/codegen/arkui.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c0aa5a082db1dc47b1f1e10d87f88fe149e676142a0713027a916b8f28482b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/dialogs/variables_panel.rs:822-826 | crates/ui-egui/src/dialogs/variables_panel.rs:843-847 \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/dialogs/variables_panel.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e2f6b0f6bc21759e851152084248468594617216a1f88735dfa3f3bab86b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/file/export.rs:123-127 | crates/engine/src/cmd/file/export.rs:134-138 \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/cmd/file/export.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb06531900044b39f5274c15f0b75b87df7f1954afee29ba656a0c4e45b37d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/format/src/lib.rs:902-906 | crates/format/src/lib.rs:965-969 \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/format/src/lib.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"9314cde57b2f26148be8a2a314b4f8241782b8e723447d1e4c022b6bd68e269f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/plugin/src/sandbox.rs:540-544 | crates/plugin/src/sandbox.rs:578-582 \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/plugin/src/sandbox.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d69f0c7518a9283275c61ede36bb6e49bc81dfa08ddade2ae6dea9ee6718f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/boards/board/items.rs:141-145 | crates/engine/src/boards/board/items.rs:201-205 \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/boards/board/items.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a5fb45a9aace2c501585e984885aac8b03eda73a39e5b66f6b422ab06b3474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/ui-egui/src/dialogs/plugins_ui.rs:592-596 | crates/ui-egui/src/home/online.rs:364-368 | crates/ui-egui/src/present/chrome.rs:319-323 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/dialogs/plugins_ui.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beff9e96fb151f4d0894bba92c52c3b1cb02efc11db45e9aecbc25ac96c5451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/dev/component_codegen.rs:1027-1031 | crates/engine/src/dev/component_codegen.rs:1118-1122 \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/dev/component_codegen.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"204fc5f141a83673d5664aa4faec38bead4551cc7b4e976486a135c7ccc9ecc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/library.rs:257-261 | crates/engine/src/cmd/library.rs:274-278 \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/cmd/library.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd9d50ac1e7086cc628da48b0b6e0a81083a602ebfee0d4c00fd2dfd3ae9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/file/open.rs:94-98 | crates/engine/src/cmd/file/open.rs:197-201 \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/cmd/file/open.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"794439a2bfafd1e79f7a392e4fc62162eabb9f3feac4045c57b36cb8804dff7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): apps/figcraft-cli/src/files.rs:96-101 | crates/engine/src/cmd/file/save.rs:10-15 | crates/mcp/src/headless.rs:340-345 | crates/mcp/src/headless.rs:357-362 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-cli/src/files.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16a095ef86d1b39bed2aed87137b1721e1bf3b413afe6cbbefe8ac7f53b49a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/doc/src/lib.rs:861-865 | crates/doc/src/lib.rs:876-880 \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/doc/src/lib.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a07f5d67c050dca7909d2f63df8fbd44ef9aaf97daf4f920709ef8d6af1e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/props.rs:748-752 | crates/engine/src/cmd/props.rs:754-758 \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/cmd/props.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7165eeff2c223559bf38cd41d660f4a0c9cd3d43da75a6c0502e00d0c47b8c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/proto_actions.rs:87-91 | crates/engine/src/cmd/proto_actions.rs:302-306 \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/cmd/proto_actions.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd92553b654ed0481711f5dbda0aa4fea0365fc4eee8b42bda8d8cb59cf37b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/engine/src/cmd/structure.rs:874-878 | crates/engine/src/cmd/structure.rs:917-921 \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/cmd/structure.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"e994f19d02b536639f4855571025895234ecd70f7453b7b187ff622f7ee6af20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/format/src/fig/map/layer.rs:55-59 | crates/layout/src/lib.rs:105-109 \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/format/src/fig/map/layer.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"831db7fdd571647d2a270a12842c5b6a0e05a71a4d68015bcacd3cd8f6703bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/format/src/penpot.rs:1443-1448 | crates/format/src/penpot.rs:2505-2510 \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/format/src/penpot.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4fb9b8ac18a0b0d52c413df0ec3242bae601d3c5c2adb2417e5eb30d2cadf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/layout/src/lib.rs:128-133 | crates/layout/src/lib.rs:988-993 \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/layout/src/lib.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"994283d85d8e0ce14c50ce69afc5f218f465b85ccce90389ec5ad7a1433e6061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/ui-egui/src/home/online.rs:179-183 | crates/ui-egui/src/home/online.rs:301-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/home/online.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f44dbb3e30fd1132334e2ffee756c4775270c5d8e8da9056b098c470f19337"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project figcraft-pdf: figcraft-pdf has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a752bada6ac9b383cfba599dc868f6ac3aac2adffa0ca77895a52687373f836"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project figcraft-vectordrawable: figcraft-vectordrawable has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e199f3d3cdcfb6290cb97dccf035dce3353d62ec0452cb306f4fb283593913d4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: figcraft-color: figcraft-color: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b0c4f59aa4d8bb3a36bfc4fed9f23c95f361b49f53f85e2bb44caccadc621fc0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: figcraft-doc: figcraft-doc: abstractness 0.00, instability 0.13, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 14 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f890d501d4afa3beda9d8ab4febfd1c837c8259b208a8634306764f7003c4fbb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: figcraft-text: figcraft-text: abstractness 0.00, instability 0.18, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7368fee3c318160cda156944b1021ae250f6a76f62172e8cf5a90b2392886707"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: figcraft-pathops: figcraft-pathops: abstractness 0.00, instability 0.22, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"19c8f6808bd7315c96071ab2fa88d31d421348f0e9df4e2b9f3428d8a0334f06"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: figcraft-collab: figcraft-collab: abstractness 0.04, instability 0.25, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57d50f9e2369abca7b83e78c5f5c3667bc6270874262234567b4c41245cb37cc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Desktop (LCOM4 8): Desktop\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft/src/services.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ccafb9980854884ee9d7d4dee2ff5f3396e9957a48a41771311f7db1da28e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebServices (LCOM4 6): WebServices\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-web/src/web.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"956dafdf30c89dc37aced21122b031a4009be207a7c564fff35d2d755ccf96c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/layers.rs: crates/ui-egui/src/panels/layers.rs changed 55 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in figcraft_ui_egui::panels::layers::layers at line 974. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/layers.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/panels/layers.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4efd51f1fa6fa3c700e973bce1b1ee72b5ef5c53d9c605acc64399645bd4ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/right.rs: crates/ui-egui/src/panels/right.rs changed 107 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in figcraft_ui_egui::panels::right::header at line 372. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/right.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/panels/right.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"022bf2fbd4a4f2bba3ebe4ce107c984598c4f7e8ff06dc6b43cc77670ced0c01"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/menus.rs: crates/ui-egui/src/menus.rs changed 75 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in figcraft_ui_egui::menus::invoke at line 74. 10 of those changes were fix/bug commits, and the other 65 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/menus.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/menus.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"908155fc2f25410e89668828c1905869c8a1ff3f766540e60bcdab891e506b00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas.rs: crates/ui-egui/src/canvas.rs changed 111 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in figcraft_ui_egui::canvas::show at line 196. 15 of those changes were fix/bug commits, and the other 96 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2607ea2e67a9695fb58c8eb3e00516a8f39a85db76e0ee5eb8deeff9817a65e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/render/src/draw.rs: crates/render/src/draw.rs changed 57 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in figcraft_render::draw::draw_layer at line 646. 8 of those changes were fix/bug commits, and the other 49 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/render/src/draw.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/draw.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed981a23431c9ed9e25bc925feb0c51483a797ae8f2128b6e2362363a0358b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/widgets.rs: crates/ui-egui/src/widgets.rs changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in figcraft_ui_egui::widgets::number_field_impl at line 241. 7 of those changes were fix/bug commits, and the other 45 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/widgets.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/widgets.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4423d329882bbf746cb1a693baa9935ecb930d8eaf7e8991c94378ab4ef92d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/text/src/layout.rs: crates/text/src/layout.rs changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in figcraft_text::layout::layout at line 1153. 7 of those changes were fix/bug commits, and the other 40 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/text/src/layout.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/text/src/layout.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"65956e9ff67112a55d381f66a8c6d52353e774aefb196413381aed8b61a36a5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/props.rs: crates/engine/src/cmd/props.rs changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in figcraft_engine::cmd::props::apply_shape at line 996. 8 of those changes were fix/bug commits, and the other 44 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/props.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/cmd/props.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef0b203a54ceb21940969df60af32dd94750fe6d2ce89974383b2bacf7d014e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/widgets/colorpicker.rs: crates/ui-egui/src/widgets/colorpicker.rs changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in figcraft_ui_egui::widgets::colorpicker::show at line 936. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/widgets/colorpicker.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/widgets/colorpicker.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0dda435ffc6cbb909e67afcf24f8917d5da6156bd242b4b6912873a459891a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/dialogs.rs: crates/ui-egui/src/dialogs.rs changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in figcraft_ui_egui::dialogs::show at line 208. 5 of those changes were fix/bug commits, and the other 49 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/dialogs.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/dialogs.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf377cc60dbc0671566dc3d8df12d03904d8f50e5cdf4bc1c77d26382c726eb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/shortcuts.rs: crates/ui-egui/src/shortcuts.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in figcraft_ui_egui::shortcuts::key_event at line 419. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/shortcuts.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/shortcuts.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcad524415877e3b5fc0ed7ef83b7a93066099842283fd2dc9404d46cf42d3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/proto_panel.rs: crates/ui-egui/src/panels/proto_panel.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in figcraft_ui_egui::panels::proto_panel::action_fields at line 888. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/proto_panel.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/panels/proto_panel.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7c06675f65b0a69c1e568908679d38266470ebaf6c85c2a1c8e973a2ac0874"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/styles.rs: crates/engine/src/cmd/styles.rs changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in figcraft_engine::cmd::styles::bound_field at line 1046. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/styles.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/cmd/styles.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f77c79916483fe5a1a28fa0d630383db37be05c785d820a2516b4f33859ea8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/control.rs: crates/ui-egui/src/control.rs changed 61 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in figcraft_ui_egui::control::ui_key at line 970. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/control.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/control.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a424162c07fe6f84b32b3c40c0ad77e1afea25d36dc1e01f7a7e4d0d8ac92d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/fig/map.rs: crates/format/src/fig/map.rs changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Mapper::new at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/fig/map.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/format/src/fig/map.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4669e28786a469a1aa5bb58a493faf47b4ce5976e08d794a81b01fb39c8c975"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/doc/src/lib.rs: crates/doc/src/lib.rs changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Document::paste_nodes at line 889. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/doc/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/doc/src/lib.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db8c00ff0c36c639ada410c95a1283876f6e150525d0185e988f52736bc3681"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/component_panel.rs: crates/ui-egui/src/panels/component_panel.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in figcraft_ui_egui::panels::component_panel::properties_ui at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/component_panel.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/panels/component_panel.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b389eee433845484324a02d060e10ea37accd839a42b44684e316afaf8ce69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/widgets/style_picker.rs: crates/ui-egui/src/widgets/style_picker.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in figcraft_ui_egui::widgets::style_picker::listing at line 520. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/widgets/style_picker.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/widgets/style_picker.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc95d26afb065e9585facf11464a6178342f83bf25cce4f76760edc7d7b04f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/textedit.rs: crates/engine/src/canvas/textedit.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in figcraft_engine::canvas::textedit::key at line 425. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/textedit.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/canvas/textedit.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7504347a471e98a85b5538ba6413a00f47517df0002abd8dc65806a1349fe6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft/src/main.rs: apps/figcraft/src/main.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in figcraft::main at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9928862da30978d8c854bb7301c8cf0d1b7677bd27283504203d2ba054cab1fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/assets_panel.rs: crates/ui-egui/src/panels/assets_panel.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in figcraft_ui_egui::panels::assets_panel::publish_form at line 840. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/assets_panel.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/panels/assets_panel.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c27706a48a53f80f40233906bda0d2645a19a8dfdf7e97fea9985fa5e44d0c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/create.rs: crates/engine/src/cmd/create.rs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in figcraft_engine::cmd::create::create at line 267. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/create.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/cmd/create.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd10a49ea185874ea75e4557a8d69ad6d0e1e6eeab330f93b908c8636fcad01"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/mcp/src/tools.rs: crates/mcp/src/tools.rs changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in figcraft_mcp::tools::call_tool at line 537. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/mcp/src/tools.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/mcp/src/tools.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"258dedc5cda308b1667663dd3bd2ea0aceca810597dd3f41e46fd7ff49a39679"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/rest.rs: crates/format/src/rest.rs changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Ctx::kind at line 616. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/rest.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/format/src/rest.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ced5d10392eb66ce7c4517489ec9bc878cbd41674d73ff0160fd9f3b5e0c8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/svg/src/lib.rs: crates/svg/src/lib.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in W::render_node at line 517. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/svg/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/svg/src/lib.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a534c5e166841cff2f6c4a1936e77eb934b95d30b0104daf06d82837510f4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/tabs.rs: crates/ui-egui/src/tabs.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in figcraft_ui_egui::tabs::tab_bar 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/tabs.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/tabs.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a425df46ce3a5b93ff9fa074ab0e5d4ddbc4b1b0a2dd2df8a35451a0e9523b70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/dialogs/variables_panel.rs: crates/ui-egui/src/dialogs/variables_panel.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in figcraft_ui_egui::dialogs::variables_panel::value_cell 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/dialogs/variables_panel.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/dialogs/variables_panel.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49db5731c7112f2a95e238ce8ac8dc3a099c2f8e582c32662428fabc2fdea11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/sketch/tree.rs: crates/format/src/sketch/tree.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in figcraft_format::sketch::tree::layer at line 170. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/sketch/tree.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/format/src/sketch/tree.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"65388bb7489d2ec03a4c66b73244d8d9abce7dc632ac980dd5a936eab0c1c403"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/arrange.rs: crates/engine/src/cmd/arrange.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in figcraft_engine::cmd::arrange::scale_node at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/arrange.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/cmd/arrange.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0e10c7de2ffc05c59d99539079b0f22906c810e532954f9fd186d05195c33a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/layout_panel.rs: crates/ui-egui/src/panels/layout_panel.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in figcraft_ui_egui::panels::layout_panel::alignment at line 298. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/layout_panel.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/panels/layout_panel.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a268e49dcae85db8fc7461f78630f6282c7089991ecd91b3575a396ef40b26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/automation/inspect.rs: crates/engine/src/automation/inspect.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in figcraft_engine::automation::inspect::dev_props at line 322. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/automation/inspect.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/automation/inspect.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"47736d4fe0f8f45067f8286114883b5b0a81e8e402b93c980c38a0b609921405"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/icons/draw.rs: crates/ui-egui/src/icons/draw.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 183 in figcraft_ui_egui::icons::draw::draw at line 279. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/icons/draw.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/icons/draw.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"047733dc10acf7a2209e2b61b7c06ed07f7f74317d7450046c72170b1115e1e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab/src/change.rs: crates/collab/src/change.rs changed 15 times in last 90 days, max cyclomatic complexity 45 in Prop::differs at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab/src/change.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/collab/src/change.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c202e864e424fa1957ae842e9d4fa4c2b46a08616fee3f117bad3718d2e77bf6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/toolbar.rs: crates/ui-egui/src/toolbar.rs changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in figcraft_ui_egui::toolbar::edit_toolbar at line 401. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01: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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9aa921b752961ffd6756428b8563520ce4f8fe01be9583985e7d0ad780c595"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/variable_ui.rs: crates/ui-egui/src/panels/variable_ui.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in figcraft_ui_egui::panels::variable_ui::picker at line 388. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/variable_ui.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/panels/variable_ui.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0ab01ded75e7c072a08b134ec2aec07778e840771939b5748c77e28a1934dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab-net/src/hub.rs: crates/collab-net/src/hub.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Hub::handle at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab-net/src/hub.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/collab-net/src/hub.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ec63d1e18e99a84fc5d2b9176f3b960a179c44190f5d0a1684df6bb4f0b369"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/layout/src/lib.rs: crates/layout/src/lib.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in figcraft_layout::layout_frame at line 495. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/layout/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/layout/src/lib.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c04777b4e64eaf3da52961075d92491a77e22365f056a7b185a5dc0aa5f1c24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/handles.rs: crates/ui-egui/src/canvas/handles.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in figcraft_ui_egui::canvas::handles::input at line 535. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/handles.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/canvas/handles.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a080d38e4ceb20ae92eda570f2aff5d311257bb652d0e5d7af2f1abd95f889"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/live.rs: crates/ui-egui/src/live.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in figcraft_ui_egui::live::people_bar at line 473. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/live.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/live.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cfa100076c84f1a7a971c6bb16d0796648fdd14ed9af8a816f26b9b50c7bad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/structure.rs: crates/engine/src/cmd/structure.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in figcraft_engine::cmd::structure::wrap at line 184. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/structure.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/cmd/structure.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dde59aa4b4822da3ebf116dbe25f9b057cf3ae73c50928a9088e07788d086c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/codegen.rs: crates/engine/src/dev/codegen.rs changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_engine::dev::codegen::px_to_rem 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/codegen.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/dev/codegen.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"497728af103c15521a9bb107065b69e47db077aa9a87d322a723b583f9831915"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/tools/drag.rs: crates/engine/src/canvas/tools/drag.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in Session::drag at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/tools/drag.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/canvas/tools/drag.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f149ac7a2a26fb2ebe51f2c2c54d6c82580e4832961c04d08153d9bbef1b7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft-web/src/web.rs: apps/figcraft-web/src/web.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in figcraft_web::web::start at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft-web/src/web.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/figcraft-web/src/web.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2f8a885baaa456c8f6e2c973f5329ce2b1eef5dc9a91fe6a2185ccc08462a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/input.rs: crates/ui-egui/src/canvas/input.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in figcraft_ui_egui::canvas::input::input at line 146. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/input.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/canvas/input.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6993c07e914aab5add316b6e46cd181a1dba1580425e490d26a84a9f870f3370"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/dev_mode.rs: crates/ui-egui/src/panels/dev_mode.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in figcraft_ui_egui::panels::dev_mode::dev_resources_section at line 634. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/dev_mode.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/panels/dev_mode.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"473a2ca0649204dbbd02b5c82a6c9c2508b48e2982e33172808fb1605f589dcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/assets/library.rs: crates/engine/src/assets/library.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in figcraft_engine::assets::library::merge_components at line 1157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/assets/library.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/assets/library.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a364b1babddbf1621dc15438a45953f44be0c6113f53885f576f35f1380cddae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/vectoredit.rs: crates/engine/src/canvas/vectoredit.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in figcraft_engine::canvas::vectoredit::key at line 740. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/vectoredit.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/canvas/vectoredit.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e91eada6b2e9297d1085a88664d0c0e105d886ba03fb6c723ca440facfc87bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/component_codegen.rs: crates/engine/src/dev/component_codegen.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in figcraft_engine::dev::component_codegen::value_expr at line 564. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/component_codegen.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/dev/component_codegen.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b5ea69810acb88a1bb6d768945ea898087f3966bb09ed53d110516757612d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/devinspect.rs: crates/engine/src/dev/devinspect.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in figcraft_engine::dev::devinspect::auto_layout at line 557. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/devinspect.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/dev/devinspect.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65cd641cbe1fe65503d00bbbcd81deec53bd9a2c468751b346f0ffa54e5a041"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab/src/server.rs: crates/collab/src/server.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Server::receive at line 406. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab/src/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":"crates/collab/src/server.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"384c7ac224f2e4e74e1614bc332f0a25c75b3f66989852069991efc899a99478"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/render_worker.rs: crates/ui-egui/src/canvas/render_worker.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Worker::new at line 420. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/render_worker.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/canvas/render_worker.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4097f0d00c01105d3f7554180880efc206a5c2db46a77794eddf40ef57393e53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/comments.rs: crates/ui-egui/src/canvas/comments.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in figcraft_ui_egui::canvas::comments::composer at line 497. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/comments.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/canvas/comments.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cb128a6b33624b8676463d92c03d1cd4a973083e2f04d86ecf03951bb8411d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pathops/src/lib.rs: crates/pathops/src/lib.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in figcraft_pathops::stroke_outline_of at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/pathops/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/pathops/src/lib.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2c6d64790b580b01e40fa78e8229665f9d8226645626a0d78edfc1bf2113ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/overlays.rs: crates/ui-egui/src/canvas/overlays.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in figcraft_ui_egui::canvas::overlays::overlays 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/overlays.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/canvas/overlays.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5893ccb3ccfc311964754aac2628e612b7a1f5a7ce0c548b39be876958410e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft-cli/src/files.rs: apps/figcraft-cli/src/files.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_cli::files::export at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft-cli/src/files.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/figcraft-cli/src/files.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f659669d98b8a5a3921c0e662623d8dacfa24750e2532e52cd1ecd20e31b8ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/app/commands.rs: crates/ui-egui/src/app/commands.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in FigApp::handle_ui_requests at line 119. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/app/commands.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/app/commands.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"735ee27fce4f87a53401c29ccc8e888e2c3305ca35d406b5a91da709178e8561"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/proto.rs: crates/engine/src/cmd/proto.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in figcraft_engine::cmd::proto::set at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/proto.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/cmd/proto.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ae57628d22895c654fb77f59b0db332f98507a1c0ddf5724ba27a71b254dfd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pdf/src/draw.rs: crates/pdf/src/draw.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Exporter::content at line 316. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/pdf/src/draw.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/pdf/src/draw.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61510ad4fe3a602aa4f99424f81cbfda8a92d8de746df82158f6299db0439ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/render/src/retained.rs: crates/render/src/retained.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in figcraft_render::retained::patch at line 391. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/render/src/retained.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/retained.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51f6f18eeab70eaf799fc737b85b15a2d04c6c5156c140bb352d5917a22ec9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/rest/text.rs: crates/format/src/rest/text.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in figcraft_format::rest::text::type_style at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/rest/text.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/format/src/rest/text.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf4239b555e085cc2ffd1a3486b261cedad511378df08a9cfad531b96b85f40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/rest/props.rs: crates/format/src/rest/props.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in figcraft_format::rest::props::stroke_props at line 321. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/rest/props.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/format/src/rest/props.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fb2db3ac02e04c3333b5224d354f1d9f96908c13cf31f6dbf051823726bd89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/rest/proto.rs: crates/format/src/rest/proto.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Ctx::expr at line 385. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/rest/proto.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/format/src/rest/proto.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fea0f7c2c87b180e3865d58830ca30900893d09afcd4c3c218677f0ecf779"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/extensions/plugins.rs: crates/engine/src/extensions/plugins.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in figcraft_engine::extensions::plugins::refusal at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/extensions/plugins.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/extensions/plugins.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e648ad323dbaac791f72286fcdaae2bb9058bf5a82f4e8ec1a7aed078808889"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/app.rs: crates/ui-egui/src/app.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in FigApp::frame at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/app.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/app.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dc82d7266c5c38c0b8d2f8e02477602e2da0f59468c29ff161ca7b5f621b90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/right/paints.rs: crates/ui-egui/src/panels/right/paints.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in figcraft_ui_egui::panels::right::paints::paints at line 285. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/right/paints.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/panels/right/paints.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa9c81543b21bdf24ce276e7af032286e156b2eed1cfdae82160ec6edfafa2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/dialogs/plugins_ui.rs: crates/ui-egui/src/dialogs/plugins_ui.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in figcraft_ui_egui::dialogs::plugins_ui::browse_tab at line 359. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/dialogs/plugins_ui.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/dialogs/plugins_ui.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"71afe0b8e324728032033d42980cca1c60379bf564bb66d7350340a876a94ba1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/selection_spacing.rs: crates/ui-egui/src/canvas/selection_spacing.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in figcraft_ui_egui::canvas::selection_spacing::input at line 212. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/selection_spacing.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/canvas/selection_spacing.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fbaa63a98da16acd2d9fc9c2a7fcf41596e5d560763d685abdff338f038a4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/sketch/symbols.rs: crates/format/src/sketch/symbols.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in figcraft_format::sketch::symbols::apply at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/sketch/symbols.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/format/src/sketch/symbols.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9c1048745d0da0554bfbb8e2cef9c6cfa993c8aab55163e0c7b575f616903"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/variables.rs: crates/engine/src/cmd/variables.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in figcraft_engine::cmd::variables::field_scope at line 625. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/variables.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/cmd/variables.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c918d2d7fb2f43fd94533b6d303d9027ae073bc7d7b49d5c726863f1f6506595"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/home/home_recents.rs: crates/ui-egui/src/home/home_recents.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in figcraft_ui_egui::home::home_recents::list at line 899. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/home/home_recents.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/home/home_recents.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74d6d186768528b38f0b5e888f36268f808b58512e5cf543ba7ab11f6a75479"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/proto_editor.rs: crates/ui-egui/src/panels/proto_editor.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in figcraft_ui_egui::panels::proto_editor::action_item at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/proto_editor.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/panels/proto_editor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d6b6ff8fcb929e202c16d5aebba1add7233cdad127c3315e032cd0318c4c58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/versions.rs: crates/ui-egui/src/panels/versions.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in figcraft_ui_egui::panels::versions::act at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/versions.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/panels/versions.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"01baf4063293c5084df51269a5588a69d833ccf3020666b24dd69c73c169f216"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/doc/src/geometry.rs: crates/doc/src/geometry.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in figcraft_doc::geometry::layers_at at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/doc/src/geometry.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/doc/src/geometry.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed654846e028f421e567b62f5c50c1608a6fbe3316c10fc7dcfa062d216f4db1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/guides.rs: crates/ui-egui/src/canvas/guides.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in figcraft_ui_egui::canvas::guides::input at line 186. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/guides.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/canvas/guides.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d27454e10807962597e41a9acbedc626ebd1f494408d281225f08cb6fd07ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab/src/docprops.rs: crates/collab/src/docprops.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in figcraft_collab::docprops::apply_indexed at line 408. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab/src/docprops.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/collab/src/docprops.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337c051bd561427ac0fcc5834e1a70c47d38b80d52f1b9e687d6ce6d352c9fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/i18n.rs: crates/ui-egui/src/i18n.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in figcraft_ui_egui::i18n::plural at line 173. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/i18n.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/i18n.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb15c6054e24cb36ac4dec68833648c2a9dfd89061c973da2b1990c6691a675"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/mcp/src/headless.rs: crates/mcp/src/headless.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Headless::key at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/mcp/src/headless.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/mcp/src/headless.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a154a64baf759d9e4f6b5500da8f4b19541845ba8d2837be89ac067848544b10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/section_panel.rs: crates/ui-egui/src/panels/section_panel.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in figcraft_ui_egui::panels::section_panel::section at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/section_panel.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/panels/section_panel.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e02fe4e9d8bf4e7900139974e252a6441b73583732b474871c9385af52def5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/code_connect.rs: crates/engine/src/dev/code_connect.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in figcraft_engine::dev::code_connect::check at line 470. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/code_connect.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/dev/code_connect.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"331588fd4ddfc823a7b54864d7e6f9f7fd08238eac2d42b5a3ec723ec8498290"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/plugin/src/manifest.rs: crates/plugin/src/manifest.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Manifest::check at line 338. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/plugin/src/manifest.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/plugin/src/manifest.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b5b8bf32e7c7e4f2b3a1a971d044a2b19d6f8f934f49074430866e7815a042"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/variables_io.rs: crates/engine/src/cmd/variables_io.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_engine::cmd::variables_io::css at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/variables_io.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/cmd/variables_io.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bbddee0490d9e3b3faddad9fab36ee2d777d5db659be551242e24597fdcdb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab-net/src/join.rs: crates/collab-net/src/join.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in figcraft_collab_net::join::take at line 204. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab-net/src/join.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/collab-net/src/join.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d09fdd632738198b08fac3ef690cca7dce19b8b4fe633c032c6a4357ecacaa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab-net/src/guest.rs: crates/collab-net/src/guest.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in figcraft_collab_net::guest::session at line 241. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab-net/src/guest.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/collab-net/src/guest.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"42449619f7a5745d7b1c4a1c19cb3ae5b7d1f1619e692de1c3409624a5b1ce1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab/src/client.rs: crates/collab/src/client.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Client::rejoin at line 555. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab/src/client.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/collab/src/client.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"985210e98f3192bd6bfa9ec377187a62e52d966eeb555dfa2d0b1e40922c8a7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/fig/map/layer.rs: crates/format/src/fig/map/layer.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in Mapper::network at line 606. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/fig/map/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/format/src/fig/map/layer.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"206d8d22b3f4b0f7dfad9f56ab9bcf9f1f605056864b2f59d0a0fe91e473b683"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft-server/src/cli.rs: apps/figcraft-server/src/cli.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in figcraft_server::cli::parse 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft-server/src/cli.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/figcraft-server/src/cli.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b32d24406f02b9a89f3c72a5ee923506e6732dde5c971a68e6a50bc9b9d10a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft/src/recovery.rs: apps/figcraft/src/recovery.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in figcraft::recovery::recover_all at line 360. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft/src/recovery.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/figcraft/src/recovery.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1531f4e986b49bccc08c047745d787c131890c63a6106de1da76f3b793ad48d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/derived.rs: crates/engine/src/derived.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in figcraft_engine::derived::normalize at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/derived.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/derived.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7138331facf7635c777144d56631467bef3d727f5659640700b67f014129db75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/selection_colors.rs: crates/ui-egui/src/panels/selection_colors.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in figcraft_ui_egui::panels::selection_colors::section at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/selection_colors.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/panels/selection_colors.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d83c0da963b00dc96ad2315a8f7df7f9286f7466a1df818d07fe741e1d20769"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/tools/draw.rs: crates/engine/src/canvas/tools/draw.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Session::up 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/tools/draw.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/canvas/tools/draw.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce7a61c2afa403373ac711bafec3ec2488c5c58a3e3e926a52242b20420fdcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pdf/src/text.rs: crates/pdf/src/text.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in figcraft_pdf::text::draw_text at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/pdf/src/text.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/pdf/src/text.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde5558281f4f3f12b7a8fd838a6a745c412625a7f43749b4dc0d107fb4b473"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft-server/src/store/backend.rs: apps/figcraft-server/src/store/backend.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Store::admin at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft-server/src/store/backend.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/figcraft-server/src/store/backend.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6ad80e5a92eba3db9233a1303aab4374059242047a5eb7fa0bb3185383a77f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/canvas/proto_canvas.rs: crates/ui-egui/src/canvas/proto_canvas.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in figcraft_ui_egui::canvas::proto_canvas::input at line 232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/canvas/proto_canvas.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/proto_canvas.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b848cacf2efb8f88d5f9411f20e272fd120f6c2c7a36b69513776969cdc2c21a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/vector_panel.rs: crates/ui-egui/src/panels/vector_panel.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in figcraft_ui_egui::panels::vector_panel::points 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/vector_panel.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/panels/vector_panel.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f929ad8ec230f7f5da0c9d29d87b34184502cbc03875eaa32e3810e6cabde4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/session/exec.rs: crates/engine/src/session/exec.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Session::execute at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/session/exec.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/exec.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0394a04b38e890a81226c592bbc9f7e5296afca3f474efdedc3cd3f92f3e57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/svg/src/import.rs: crates/svg/src/import.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in figcraft_svg::import::path at line 392. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/svg/src/import.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/svg/src/import.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51b01024b0c7f7888923dc4d0cdc4243dfbf467402b045a0e169d84a2f3312"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/snap.rs: crates/engine/src/canvas/snap.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Targets::gather_in at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/snap.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/canvas/snap.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45783db6aa8b47bf9e6afef96d9d9ed013b7e2ee066698ce1450aaf50bfefc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/fig/export/layer.rs: crates/format/src/fig/export/layer.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in Exporter::layer at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/fig/export/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/format/src/fig/export/layer.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"24816de1a9c99022b057f911bb791554a8a61dc6836d5fdad112dd17844f4e2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/shapebuilder.rs: crates/engine/src/canvas/shapebuilder.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in figcraft_engine::canvas::shapebuilder::apply at line 407. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/shapebuilder.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/canvas/shapebuilder.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35ecc551e212092237f53b0a5024628e209b6a2e47d8f026342d82334de37ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/vectoredit/pointer.rs: crates/engine/src/canvas/vectoredit/pointer.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in Session::vector_down at line 545. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/vectoredit/pointer.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/canvas/vectoredit/pointer.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7271206d484ddd45816f91f509c0296ae3d7c4c19e0b7e2bc19c14297798fb72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/tools/pointer.rs: crates/engine/src/canvas/tools/pointer.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Session::hover at line 196. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/tools/pointer.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/canvas/tools/pointer.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0828f975ad53e8b466cf65fefeea8025914fa4c63fad70a5de228b9446ce0da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/assets/library_swap.rs: crates/engine/src/assets/library_swap.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in figcraft_engine::assets::library_swap::swap_library at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/assets/library_swap.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/assets/library_swap.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78c7d3847a93224ed7efbd08a5b8402c9886256731f0ba168ce508759f7db88"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/doc/src/vector.rs: crates/doc/src/vector.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in VectorNetwork::rounded at line 384. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/doc/src/vector.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/doc/src/vector.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fdda9146d737dedd994554ee7c645b84fe97525875cd5f452c263b23b5fe67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/figcraft-server/src/config.rs: apps/figcraft-server/src/config.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Config::check at line 225. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- apps/figcraft-server/src/config.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-server/src/config.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"39133bc54a4a96c1f6ffa6f4286c4dafec94caae2d6d08d411289c13e44dc4a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/sharing/live/events.rs: crates/engine/src/sharing/live/events.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in Session::live_event at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/sharing/live/events.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/sharing/live/events.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b78625608b396b70eedeb1469546b169f7f522b4f1a2d66311239cc449bdc61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/collab/src/replica.rs: crates/collab/src/replica.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Replica::apply_one at line 218. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/collab/src/replica.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/collab/src/replica.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d99536d095f6168d0741e16e95820e2c5ada61ae7575e4ba85ede5d7c4c5cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/present/actions.rs: crates/ui-egui/src/present/actions.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in Presenter::perform_at at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/present/actions.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/present/actions.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"47db48c925791a60e8a058357ea1d78e53e7617648b3d8310f431025c77bc76d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/fig/map/component.rs: crates/format/src/fig/map/component.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Mapper::instance at line 295. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/fig/map/component.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/format/src/fig/map/component.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5255e8a07a222ebd33d24be9d4a7abaf1ddcf1765a54c53e3159bb87f6c07dd3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/penpot/export.rs: crates/format/src/penpot/export.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Exporter::tokens_json at line 1709. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/penpot/export.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/format/src/penpot/export.rs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce419358428e456112d54387e11e004ff7ddced6581c76170c829083b73d932b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/doc/src/proto_expr.rs: crates/doc/src/proto_expr.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Expr::display_at at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/doc/src/proto_expr.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/doc/src/proto_expr.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5b36d7be5242216062440f6b24d89ae4d5d74e98d67c72c0656d7f8b9a8d74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/render/src/lod.rs: crates/render/src/lod.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_render::lod::splat_subtree 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 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/render/src/lod.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/lod.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a1bc622e42626970592417f00bd2e52696912b662deb04a15d9e752ef8eb76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/sketch/path.rs: crates/format/src/sketch/path.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_format::sketch::path::network at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/sketch/path.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/format/src/sketch/path.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bd4c2aa7c3c914d8e3014cc39b4a84df845016adebef224dc61019bc8ffb2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/canvas/tools/click.rs: crates/engine/src/canvas/tools/click.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Session::double_click at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/canvas/tools/click.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/canvas/tools/click.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78fa1f7ec87217bd4f106e27d32709399987a643d2791755d5e74466d2cc7fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/codegen/css.rs: crates/engine/src/dev/codegen/css.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in figcraft_engine::dev::codegen::css::css_decls at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/codegen/css.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/dev/codegen/css.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae599105ee9bc60d1c180d2052618f8a6b346db527a4cd521e290e6a6ae8b84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/cmd/edit/props.rs: crates/engine/src/cmd/edit/props.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in figcraft_engine::cmd::edit::props::paint_paste at line 369. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/cmd/edit/props.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/cmd/edit/props.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a7f2f7b5da9e2763830b6b1c9452cbd9a81be7ea72395b1f4affb5bce2fc7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/menus/clipboard.rs: crates/ui-egui/src/menus/clipboard.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in figcraft_ui_egui::menus::clipboard::paste at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/menus/clipboard.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/clipboard.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b0297caeca0be5873db1aeb661452ced3db73a2b5e86abbb50f9cc3d394e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/codegen/html.rs: crates/engine/src/dev/codegen/html.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Markup::element at line 293. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/codegen/html.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/dev/codegen/html.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f8f650ed8d44ce84e9d44a3df73dfe2b6135277b3ae51328d11d605671f09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/sketch/style.rs: crates/format/src/sketch/style.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_format::sketch::style::paint at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/sketch/style.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/format/src/sketch/style.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e9c3a3cae34473d5c9b813881c6bfb73a2157a2d054af7260618d81075a8b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/fig/map/connector.rs: crates/format/src/fig/map/connector.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Mapper::connector at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/fig/map/connector.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/format/src/fig/map/connector.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8790e59a9894d4bd3539e16ac610c4bae283c8bf3cb207a1832e7ac8f100b3aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/doc/src/proto_expr_parse.rs: crates/doc/src/proto_expr_parse.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Expr::type_at at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/doc/src/proto_expr_parse.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/doc/src/proto_expr_parse.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"50228ba43826afeff4a78e9abf8140aeb2a8b4a7f9a003e5fa2cb2d89be57385"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/mcp/src/server.rs: crates/mcp/src/server.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Server::request at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/mcp/src/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":"crates/mcp/src/server.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c423c64e06afdb71fe291d5adc6f6999971de625ea8dd9cdb3b1aec0d410637c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/panels/dev_compare.rs: crates/ui-egui/src/panels/dev_compare.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in figcraft_ui_egui::panels::dev_compare::show at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/panels/dev_compare.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/panels/dev_compare.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"165d68f4746642c4f9382d561445eda45b87af3c8c5a9bec00b92b08de6eede6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/format/src/penpot.rs: crates/format/src/penpot.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in figcraft_format::penpot::layer_kind at line 2987. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/format/src/penpot.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/format/src/penpot.rs"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df335a37301e99d34322494d12d9e17432480ec281bd0a38276cc1ff1bbfc3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/dialogs/branch_ui.rs: crates/ui-egui/src/dialogs/branch_ui.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in figcraft_ui_egui::dialogs::branch_ui::show at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/dialogs/branch_ui.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/dialogs/branch_ui.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ad7741f2b4193da3165059e0f9c5a0f901d9009e1aef2cc96a08fc36dbe2e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/present/player.rs: crates/ui-egui/src/present/player.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in figcraft_ui_egui::present::player::player at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/present/player.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/present/player.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"903755051cc2212b83731d729a6b1b32ac135a958652b20e417afcec33c52038"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/ui-egui/src/popover.rs: crates/ui-egui/src/popover.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Popover::show at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/ui-egui/src/popover.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/popover.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfe297510ce14073eb2b2f07fef8ddfd7bfcfa86c90b2826055c34b14bb9a76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/assets/components/sync.rs: crates/engine/src/assets/components/sync.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in figcraft_engine::assets::components::sync::sync_instance_depth at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/assets/components/sync.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/assets/components/sync.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6f4837f3ef1dbed67d0746a189c916323f46e6dc6d9cb832e6818a3acbe25e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/dev/codegen/arkui.rs: crates/engine/src/dev/codegen/arkui.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in figcraft_engine::dev::codegen::arkui::text_layer at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 14:59:45 \u002B01:00\u0027 --until=\u00272026-11-06 14:59:45 \u002B01:00\u0027 --full-history --no-merges -- crates/engine/src/dev/codegen/arkui.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/dev/codegen/arkui.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9804538c5b76259b7d57fc84e1a4ee4119c577989075575cccff23bb8498ff"}},{"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":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 23 project(s) overshoot their size bounds, lowering Project Cohesion to 7.4/10. The most over is \u0060crates/engine\u0060 (60913 LoC, 306 module-visible types across 23 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"a6ae9fea4afc08d827c7e2c67f4205de9b45ebfb47b8804a7e63c9abe106284f"},"properties":{"commitSha":"b36fd771abf25a80b9e9ea7317926ae9dc2b1d1f"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"3afa1ff8a3ee9cb449b7febc07a96407bfc8ca35cb0e97e4045bdde6cc4c83eb"},"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":"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":"87448f2d37c3ffb118ef73cd2267d08a2841734a519eb400dd5bff77bd6a7ae1"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"520f6d88432ec0c7196c3a6f8b46edd1127b7e63fd943b340895474a5340d5ed"},"taxa":[{"id":"CWE-444","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"2.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c356dafc2d2f879539349393edf47ceccc3e0771bf15e4dae816abd8594fd25c"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","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":"be12c71023c43937a607a177a93163e0581c742a3255ef7103051bf074226b53"},"properties":{"dependency":{"package":"rustybuzz","version":"0.20.1","advisory":"RUSTSEC-2026-0206","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d4d5d4357ce0a5ade8f6f76c84914f1a2c80f9fe7358d9854254b760de650a"},"properties":{"dependency":{"package":"zvariant","version":"5.15.1","advisory":"RUSTSEC-2026-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f6329e2b29fe1ee1dd724766af980b151618490b720201bbdc1839704210c3e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.5","advisory":"RUSTSEC-2026-0371","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f67f0700e108bacf2f3dfd2008273e31f01b0ea1f2d5f9ef71c4f46ace73bbe9"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.15.1","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf7412e8bd7ecb0e6f5d8aca2628a46e66b76ae4ff498344b28c18dd92991e05"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b43b18c65a762b4d9e609c686a53a49c517c27b8c662e0e6886d3abec860b8f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"ff4f8dd37bff70958dbc0186b0ef101bce2349ae46f6f8d5053c9d8820902895"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: store.rs \u2194 link.rs: \u0060apps/figcraft-server/src/store.rs\u0060 (context figcraft-server) and \u0060crates/collab-net/src/link.rs\u0060 (context crates) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006087254913\u0060 M3: library analytics list how each style and variable is used (#1730); \u00602d784c36\u0060 M3: library analytics count insertions and show them over time (#1704); \u0060be6a7af2\u0060 M3: team library analytics count detached instances (#1668) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/figcraft-server/src/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e83607ae6d72b4f6dd52296d0941fd9f83299a6056e3df11b53086741eda134"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: catalog.rs \u2194 lib.rs: \u0060crates/engine/src/catalog.rs\u0060 and \u0060crates/ui-egui/src/lib.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00607ba22fb2\u0060 M1: Crop image from the Object menu, the right-click menu and the ima\u2026; \u0060cf6bd4ee\u0060 M7: list the fonts a file uses that aren\u0027t installed (#752); \u0060825cb1e7\u0060 M7: list the fonts a file uses that aren\u0027t installed (#752) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8609d63ce5780a537cedd0fce2076f12385aa9bad72c6c36d39807348fc9dc54"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: proto_panel.rs \u2194 present.rs: \u0060crates/ui-egui/src/panels/proto_panel.rs\u0060 and \u0060crates/ui-egui/src/present.rs\u0060 change together 54% of the time (13 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00604b12a828\u0060 M7: refresh FigCraft brand colors and wordmark (at that commit the file was still \u0060crates/ui-egui/src/proto_panel.rs\u0060); \u00601768be29\u0060 #772: leave the presentation backdrop as the file sets it (owner deci\u2026 (at that commit the file was still \u0060crates/ui-egui/src/proto_panel.rs\u0060); \u00601fe78aec\u0060 M7: respect theme in presenter controls and backdrop (at that commit the file was still \u0060crates/ui-egui/src/proto_panel.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/proto_panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e3a32c629f6a80c7bbac9889350f8e2ed1403090646c29b5da9d6079edb87f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cmd.rs \u2194 lib.rs: \u0060crates/engine/src/cmd.rs\u0060 and \u0060crates/ui-egui/src/lib.rs\u0060 change together 50% of the time (11 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060cf6bd4ee\u0060 M7: list the fonts a file uses that aren\u0027t installed (#752) (at that commit the file was still \u0060crates/engine/src/cmd/mod.rs\u0060); \u0060825cb1e7\u0060 M7: list the fonts a file uses that aren\u0027t installed (#752) (at that commit the file was still \u0060crates/engine/src/cmd/mod.rs\u0060); \u00607a5885cd\u0060 M3: add Selection colors for mixed selections (#403) (at that commit the file was still \u0060crates/engine/src/cmd/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/cmd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f281e560532c68c71ea8a51049d18ebf803a474e60d1797ee72369546854211"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: hub.rs \u2194 link.rs: \u0060crates/collab-net/src/hub.rs\u0060 and \u0060crates/collab-net/src/link.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006089529b3d\u0060 #889: drop the hub write-cap and core-limit changes (neither is read); \u0060fbb4a22e\u0060 fix(collab-net): allow live sessions above 64 MiB and report accurate\u2026; \u00608bcb0f78\u0060 #338: drop the start/end feat marker comments \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/collab-net/src/hub.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f199c5976621eac9f1da87412141ead235a10cd175f112d156c2930ed2b0ca"}},{"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":"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 9/11 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060apps/figcraft-cli\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":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3150f28edb0174c4caf3790b0ea8dd7e5e440d4dc20d6c309f9a38ff3328045"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!n.visible || n.locked || n.is_board_atom()\u0060 appears character-identically in 2 files \u2014 crates/engine/src/canvas/drop.rs, crates/engine/src/cmd/create.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/engine/src/canvas/drop.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"01343eb7d6801e41922ba9c1ecc64065734378242b29da24e67a04e315265202"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!r.has_focus() \u0026\u0026 !crate::a11y::field_focused(ui.ctx())\u0060 appears character-identically in 3 files \u2014 crates/ui-egui/src/panels/variable_ui.rs, crates/ui-egui/src/widgets/colorpicker.rs, crates/ui-egui/src/widgets/style_picker.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/variable_ui.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93573a34ed87c8073c9833b8233298ce60107e5cbb3575ce6a4895404a9dc2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(a.0 - b.0).abs() \u003C 1e-3 \u0026\u0026 (a.1 - b.1).abs() \u003C 1e-3\u0060 appears character-identically in 2 files \u2014 crates/format/src/penpot.rs, crates/render/src/glass.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/format/src/penpot.rs"},"region":{"startLine":5863}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f25f498080dd2c4db9a3362baa9d81e10def6d6cfbfcedb3e908b45aa92b9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060figcraft_text::auto_size(n) \u0026\u0026 ((w - n.width).abs() \u003E 1e-6 || (h - n.height).abs() \u003E 1e-6)\u0060 appears character-identically in 2 files \u2014 crates/engine/src/assets/components/sync.rs, crates/engine/src/derived.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/engine/src/assets/components/sync.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea3d7e36c6ae326489052f56ac39eed0959026e1b0dfe6463b6eba1e351d19a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get(p, \u0022ids\u0022).is_some() || get(p, \u0022id\u0022).is_some()\u0060 appears character-identically in 2 files \u2014 crates/engine/src/canvas/vectoredit/transform.rs, crates/engine/src/dev/annotations.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/engine/src/canvas/vectoredit/transform.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f374e475cf55b937d7e021b91e71eefb4de41040a309573d56625717d3b4cf80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060k.is_frame_like() || matches!(k, NodeKind::Group)\u0060 appears character-identically in 4 files \u2014 crates/engine/src/dev/codegen/arkui.rs, crates/engine/src/dev/codegen/compose.rs, crates/engine/src/dev/codegen/flutter.rs, crates/engine/src/dev/codegen/swift.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/engine/src/dev/codegen/arkui.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9cc435e3cc86fb07ae5cc5eeb88a078964027bb3435762ff9b808c4922c8bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060n.stroke.sides.is_some() || (n.stroke.dashes.is_empty() \u0026\u0026 closed \u0026\u0026 n.stroke.align != StrokeAlign::Center)\u0060 appears character-identically in 3 files \u2014 crates/pdf/src/draw.rs, crates/render/src/draw.rs, crates/vectordrawable/src/stroke.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/pdf/src/draw.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ec85c3e4871df04c2accfeb13ae873c5a75adef757dded15daed7a08abd91b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060out.len() \u003E= MAX_LISTED || visited \u003E 200_000\u0060 appears character-identically in 2 files \u2014 crates/engine/src/dev/annotations.rs, crates/engine/src/dev/dev_measurements.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/engine/src/dev/annotations.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317a7370a8b2ccbaef9a08dd8dba199f7663ba46705799abe660eca1c3ab461"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.layout.is_none() || n.child_layout.absolute\u0060 appears character-identically in 2 files \u2014 crates/ui-egui/src/canvas/overlays.rs, crates/ui-egui/src/panels/right.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/canvas/overlays.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb841293df939bf7642d7d1c0186b80aa42e6c5d2784da487baf3ffd9a376d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.x0.is_finite() \u0026\u0026 r.y0.is_finite() \u0026\u0026 r.x1.is_finite() \u0026\u0026 r.y1.is_finite()\u0060 appears character-identically in 2 files \u2014 crates/engine/src/cmd/structure.rs, crates/pdf/src/lib.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/engine/src/cmd/structure.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"774abe660810ada62d75729fe11c641669e097e031e08f3cacac837b2ba607ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.dragged() || resp.clicked() || resp.drag_started()\u0060 appears character-identically in 2 files \u2014 crates/ui-egui/src/widgets.rs, crates/ui-egui/src/widgets/colorpicker.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/widgets.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"099354bdac0a40be09cc32d859331a93c3903b0e2871b09b8ab1b499892fac9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.is_empty() || s.eq_ignore_ascii_case(\u0022auto\u0022)\u0060 appears character-identically in 2 files \u2014 crates/ui-egui/src/panels/typography/fields.rs, crates/ui-egui/src/panels/typography/spacing.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/panels/typography/fields.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b73ec128f9969b9d1b28912baaef1727c853c2f300569472f79775adca11402"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060w.is_finite() \u0026\u0026 h.is_finite() \u0026\u0026 w \u003E 0.0 \u0026\u0026 h \u003E 0.0\u0060 appears character-identically in 3 files \u2014 crates/color/src/lib.rs, crates/engine/src/cmd/view.rs, crates/vectordrawable/src/lib.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/color/src/lib.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"530793d2eb9bed562082f862162074b98b405a007aa10f4f6eb95ae558626e94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060held\u0060 turns every \u0060Err\u0060 into \u00600\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":"apps/figcraft/src/gamepad.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"03070427f26aa495ec0eacc73d55cf78ceacdf8f26d128c54f11e28c811c11b9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060shape_handles\u0060 turns every \u0060Err\u0060 into \u0060vec![]\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/canvas/tools/keys.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9467f83142b261994de287970619ba192f41c2f5a38c6ebea4cc33f48ce83f5f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060vector_region_hatch\u0060 turns every \u0060Err\u0060 into \u0060Vec::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/canvas/vectoredit/regions.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d8c3dafe8efed335564ba12ab9ddc29c221299ca6b409f9d9b30a5d367076c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060undo_labels\u0060 turns every \u0060Err\u0060 into \u0060Vec::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/session/undo.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b898a74a4828cae1795588726d763d969e42dc1836b12b36a8503c5bcad9f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060js_string\u0060 turns every \u0060Err\u0060 into \u0060\u0022\\\u0022\\\u0022\u0022.into()\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/dev/component_codegen.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e0027d47cbe7828156524480c0d6989dcc2f63bbd6c6090f63e90ef8017115"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060refit_open\u0060 turns every \u0060Err\u0060 into \u0060Vec::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/fonts.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94191d4e5518f0fb036cb365a603d4bf30f7f3bf0008c0e001ea9b6d9251295"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060file_preview\u0060 turns every \u0060Err\u0060 into \u0060Preview::default()\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/format/src/thumbnail.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"398188172e171be24ea7314cbbfdc15e355836cc8c5619e3a03be3a606be20c8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060archive_preview\u0060 turns every \u0060Err\u0060 into \u0060Preview::default()\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/format/src/thumbnail.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c343cbf30625e66dbaf5780988adfdf64927be647f3c8b60f5b989e568916a17"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060from_icc\u0060 turns every \u0060Err\u0060 into \u0060Source::default()\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/render/src/image_profile.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aea3850ef9e275af50ba624081c65e516d6ea8afc6a70e5beae879a55d8af57"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060png_chunks\u0060 turns every \u0060Err\u0060 into \u0060Source::default()\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/render/src/image_profile.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e61a6aa2605d2b62074936184c8c52b73c6ba277f04d6974111ac7e44984fed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060describe\u0060 turns every \u0060Err\u0060 into \u0060String::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/ui-egui/src/canvas.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a1bd62b08e0b0c54da075379cf010a153aae2f7afc9b0a05b26296a23faad"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060pins\u0060 turns every \u0060Err\u0060 into \u0060Vec::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/ui-egui/src/canvas/comments.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d520817085c1df6bf79bb9871596949fb09426468da2cfa2ebed5dbcc846d086"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060placed_guides\u0060 turns every \u0060Err\u0060 into \u0060vec![]\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/ui-egui/src/canvas/guides.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd3872b8391d3c719b7e6e366a0a65209abad1e38998a8c0b4419aad8da9cdc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060handles\u0060 turns every \u0060Err\u0060 into \u0060vec![]\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/ui-egui/src/canvas/selection_spacing.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d747d61e82f4a2d87eec5617645c3aacfae5ac8f48bca788aafee26406955e4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060asset_sections\u0060 turns every \u0060Err\u0060 into \u0060Vec::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/ui-egui/src/menus/palette.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb1c72ed0151d4ea5772124a2747dc9bf3b09bfb1f9d5a75c3e8e05894ed5b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060code\u0060 turns every \u0060Err\u0060 into \u0060String::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/ui-egui/src/panels/dev_mode.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f389d612821ba73fecbf6842118d8d0971330dedd23e5d9d25a111fa1aa0d16"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060page_colors\u0060 turns every \u0060Err\u0060 into \u0060vec![]\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/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b28d58c489adfff88a5c375fcf9da6dceb5a7c88646beded48e7147bc567a9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060pattern_sources\u0060 turns every \u0060Err\u0060 into \u0060Vec::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/ui-egui/src/widgets/colorpicker.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0528c167b76bbf2db923af67802952f4344f0aeb3bdf3e69e9559427ed10df36"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060error.contains(\u0022fields\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060error.contains(\u0022fields\u0022)\u0060 also satisfies \u0060error.contains(\u0022field\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ui-egui/src/inspect_fields_tests.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0a35f092466ae117844e7b78007f98cb929efd20fb03ed8275be09259c3846"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060k.starts_with(\u0022strokes/\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060k.starts_with(\u0022strokes/\u0022)\u0060 also satisfies \u0060k.starts_with(\u0022stroke\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/format/src/fig/export/common.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af26fb7a7c9fc47d6f44dbbbe65574b0873514e14c8882e177185e98045b020"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060err.contains(\u0022offset\u0022)\u0060 can never decide this \u0060\u0026\u0026\u0060 \u2014 every value satisfying \u0060err.contains(\u0022offsetX, offsetY\u0022)\u0060 also satisfies \u0060err.contains(\u0022offset\u0022)\u0060, so the \u0060\u0026\u0026\u0060 chain is already decided by the former. The expression is equivalent to the chain without it, which means it is narrower than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/effects_tests.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"80534a257ea0e60f5877098c893c132dff1250e56eb677e8401c41401375a7c0"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060e.contains(\u0022Theme/palette/surface\u0022)\u0060 can never decide this \u0060\u0026\u0026\u0060 \u2014 every value satisfying \u0060e.contains(\u0022Other/Theme/palette/surface\u0022)\u0060 also satisfies \u0060e.contains(\u0022Theme/palette/surface\u0022)\u0060, so the \u0060\u0026\u0026\u0060 chain is already decided by the former. The expression is equivalent to the chain without it, which means it is narrower than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/variable_props_tests.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"95216e7e319b541bd2ce41094ffe99c96115700ab4cb420d283cb403bf6f997c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"Authentication Bypass by Spoofing","shortDescription":{"text":"Authentication Bypass by Spoofing"},"helpUri":"https://cwe.mitre.org/data/definitions/290.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-444","guid":"8989da48-caaf-a955-b9ef-53767db527d8","name":"Inconsistent Interpretation of HTTP Requests (\u0027HTTP Request Smuggling\u0027)","shortDescription":{"text":"Inconsistent Interpretation of HTTP Requests (\u0027HTTP Request Smuggling\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/444.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-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":27,"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."]}]}