{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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":"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TextBox::handle_routed_message (cyclomatic 99): TextBox::handle_routed_message has cyclomatic complexity 99 (threshold 15). Of this number, 96 points are the body\u0027s own statements and 3 belong 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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"237008f53280b6663e7d95a10596a5fdb7d50e38e36e6a2063bf81025d38de57"}},{"ruleId":"D1","level":"warning","message":{"text":"Window::handle_routed_message (cyclomatic 90): Window::handle_routed_message has cyclomatic complexity 90 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/window.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c694a7e034a60664202e78da8a4af9ddac826457d180282ce1a455de2ff60c95"}},{"ruleId":"D1","level":"warning","message":{"text":"CurveEditor::handle_routed_message (cyclomatic 80): CurveEditor::handle_routed_message has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea6fb92c892ceaec0a87d90f076b162d6543106f7e309f4f5267006b35626f2"}},{"ruleId":"D1","level":"warning","message":{"text":"UserInterface::process_os_event (cyclomatic 70): UserInterface::process_os_event has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc33ef9f1c026f0912a78cc70e15376b242f5115664bd91335883a0d06c7e86"}},{"ruleId":"D1","level":"warning","message":{"text":"Tile::handle_routed_message (cyclomatic 69): Tile::handle_routed_message has cyclomatic complexity 69 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 2 belong 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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"195bf0fcf4b0864a6da5e2d2894d5c02f172452fc39a4a9c31f637542d727a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::update (cyclomatic 60): Editor::update has cyclomatic complexity 60 (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":"editor/src/lib.rs"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f67233221a68cf7700d6321f10cf6ac2ecb33a4bde134888b7abdf58720e33"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackList::handle_ui_message (cyclomatic 60): TrackList::handle_ui_message 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd0e94d99938c92bfb03cca3d59a8600675afbce284d8ad6c20271c67d8a4f5"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiReader::read_field (cyclomatic 59): AsciiReader::read_field has cyclomatic complexity 59 (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":"fyrox-core/src/visitor/reader/ascii.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ac1a66b7d2e7763f3d7717b29d61888e9bbcb51533069e0e975b57053d20bb"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneViewer::handle_ui_message (cyclomatic 55): SceneViewer::handle_ui_message has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"109cba303064c12040d6b4bf9226a3c730be34ef2fda89644d7377158cd3065c"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiWriter::write_field (cyclomatic 55): AsciiWriter::write_field has cyclomatic complexity 55 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"fyrox-core/src/visitor/writer/ascii.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5cf050005be7ec560ae11d4845de39e6815dde68e03470666775d7391db76e"}},{"ruleId":"D1","level":"warning","message":{"text":"UserInterface::poll_single_message (cyclomatic 53): UserInterface::poll_single_message has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91b45d0491232ab00519e23734519ed32adc5be981ac7d50fdbef973743761c"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackValue::apply_to_any (cyclomatic 52): TrackValue::apply_to_any has cyclomatic complexity 52 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"fyrox-animation/src/value.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"41146e761f5e5ecb0e0dfca78c969089947f32d2b42465b306afe4ca25905f74"}},{"ruleId":"D1","level":"warning","message":{"text":"AssetBrowser::handle_ui_message (cyclomatic 48): AssetBrowser::handle_ui_message has cyclomatic complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong 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":"editor/src/asset/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0e6ae1e9077a0d16bd90e622eeec92a99bb2838c3f570ab49fff9536be11d"}},{"ruleId":"D1","level":"warning","message":{"text":"fyroxed_base::plugins::animation::track::type_id_to_supported_type (cyclomatic 47): fyroxed_base::plugins::animation::track::type_id_to_supported_type has cyclomatic complexity 47 (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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"265853e8655f496b6e71e145687c0e4e31d59b7d196c67ab9dbcf86db9772002"}},{"ruleId":"D1","level":"warning","message":{"text":"AbsmCanvas::handle_routed_message (cyclomatic 45): AbsmCanvas::handle_routed_message 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":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfa31c2db51067fc8eb4f07afdce7270f3cecfa2faf50ba1d74e32ee0586ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::handle_hotkeys (cyclomatic 44): Editor::handle_hotkeys 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":"editor/src/lib.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd8db232e04379cc6cc13068d41368eded28f0aa64f5fb5300a9a3e2972b650"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuItem::handle_routed_message (cyclomatic 43): MenuItem::handle_routed_message 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"837dd9c1c31d733b5ef52e114500af80a94033aa9498ecefd553fb19554cf6a5"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteWidget::draw (cyclomatic 40): PaletteWidget::draw 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1815356e791adfb2af154889610a4f62d84294b7158771482b17c858ad4d0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"DeferredLightRenderer::render (cyclomatic 40): DeferredLightRenderer::render 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":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"99daef93db5d67a9ccdd8ed197dc14accfb286831766057f3554c061e5e60fb7"}},{"ruleId":"D1","level":"warning","message":{"text":"Texture::load_from_memory (cyclomatic 39): Texture::load_from_memory has cyclomatic complexity 39 (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":"fyrox-texture/src/lib.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"b608a552ee2a9b55f52425b4d23e6b3eea5ca1da6567e186665e991dc3d3ead3"}},{"ruleId":"D1","level":"warning","message":{"text":"Tree::handle_routed_message (cyclomatic 38): Tree::handle_routed_message has cyclomatic complexity 38 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 5 belong 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc6a09a07dcb386bf1202841d5b359b927b4197559e49f62ee75b8691f115de"}},{"ruleId":"D1","level":"warning","message":{"text":"NumericUpDown::handle_routed_message (cyclomatic 37): NumericUpDown::handle_routed_message has cyclomatic complexity 37 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 6 belong 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":"fyrox-ui/src/numeric.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebadf6895e1a91b2a45c1a223f2ed6b3c249eba24a69044f9ce46f6d7f24ff87"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollViewer::handle_routed_message (cyclomatic 37): ScrollViewer::handle_routed_message 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":"fyrox-ui/src/scroll_viewer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb99182e8d5a4d65f62dbf9e238c0199b0bc76681ef4d44aaa76dbf79dd266be"}},{"ruleId":"D1","level":"warning","message":{"text":"AssetItemContextMenu::handle_ui_message (cyclomatic 36): AssetItemContextMenu::handle_ui_message 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":"editor/src/asset/menu.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f5f675d558ced431981d4c636ae34244fe056fac92cd2baea154d4c56fd13c"}},{"ruleId":"D1","level":"warning","message":{"text":"StateViewer::sync_to_model (cyclomatic 33): StateViewer::sync_to_model 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":"editor/src/plugins/absm/state_viewer/mod.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d3ba2d1ea6635eb76261defb3ac02f6e06b7967f0d34a25374783f5a627b16"}},{"ruleId":"D1","level":"warning","message":{"text":"GlShader::new (cyclomatic 33): GlShader::new has cyclomatic complexity 33 (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":"fyrox-graphics-gl/src/program.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bff4cdf5530138fb5f96c1796c9f560b1e644928bb721581979774867ec6e48"}},{"ruleId":"D1","level":"warning","message":{"text":"WgpuFrameBuffer::do_draw (cyclomatic 33): WgpuFrameBuffer::do_draw 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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"027f9633d63574a6c09fe05e016755ac37ee6bb4b775e68c0a6720e62c6574ad"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::create_materials (cyclomatic 32): fyrox_impl::resource::fbx::create_materials 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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4aa962a1fea879e03e2a3e77a053f6f9d9982c33bbfdf70e827ebbf3d06cef"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackList::sync_to_model (cyclomatic 31): TrackList::sync_to_model 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7108957e971f7684f674d57fdb3e70e53410407e0070fc24b23f74578767166b"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneNodeContextMenu::handle_ui_message (cyclomatic 31): SceneNodeContextMenu::handle_ui_message 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":"editor/src/world/menu.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73d18cb18dd40b57ca58178d354e74be53bc9ebdc2e5964201d9e6dfefd4704"}},{"ruleId":"D1","level":"warning","message":{"text":"Popup::handle_routed_message (cyclomatic 31): Popup::handle_routed_message 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":"fyrox-ui/src/popup.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf87b14e79d46ca3cb9a1fd6adfab87cf083ba0f2e96154aa19f85cd69f16599"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationEditor::handle_ui_message (cyclomatic 30): AnimationEditor::handle_ui_message 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":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d4abe4bf69ff08aca399f3193e400b43fefb585d6084f71e7d40fd55eabf66"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine::reload_plugin (cyclomatic 30): Engine::reload_plugin 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec2497c5717ad2e76eec68725665de8abbb2c6e2a4f8c3a5b0209abbd634480"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptProcessor::handle_scripts (cyclomatic 30): ScriptProcessor::handle_scripts 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb53bf76268f18e0dcd5151d817eb9f050e4a8b12b618011f8b675800d6630ac"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesTab::handle_ui_message (cyclomatic 28): PropertiesTab::handle_ui_message 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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e4f9e799b2029ac11c4af83fda16989ac6075d5057fad08ee3713ea3548b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorPicker::handle_routed_message (cyclomatic 28): ColorPicker::handle_routed_message 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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67c2bc77bdd9b4b29c2b8079f37ff8aaf932c966e8915634102c0c2e6952c23"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollBar::handle_routed_message (cyclomatic 28): ScrollBar::handle_routed_message 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":"fyrox-ui/src/scroll_bar.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb1a7ed5fb9f2958af49b0ba538119d0fbf99082b9aef0fc0cda71a1431cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"CurveEditorWindow::handle_ui_message (cyclomatic 27): CurveEditorWindow::handle_ui_message 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":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1293b7d2c5e7097be1ad966a9d6b7d7144ecafa9b17e1feda0a8e5374798db"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteWidget::handle_routed_message (cyclomatic 27): PaletteWidget::handle_routed_message 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83476ce99c58407fd68fc8e8aad3d59b01d8d7af0184dcc9022cd715a81bdb6"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::renderer::bundle::write_with_material (cyclomatic 27): fyrox_impl::renderer::bundle::write_with_material 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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"463367765d46dbbb215fc57337a70c37d36347a30c3fe855905b649b7b56bdbc"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackList::on_add_key_pressed (cyclomatic 26): TrackList::on_add_key_pressed 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f62506802637b7886a78a88d3fc16aca1361d167b65f1cf6950c0ae50e2103"}},{"ruleId":"D1","level":"warning","message":{"text":"Animation::update_root_motion (cyclomatic 26): Animation::update_root_motion has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 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":"fyrox-animation/src/lib.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbcadc28ba2805cdd60010a14c06d10a895c1f7e29062ad6b113c262794feac"}},{"ruleId":"D1","level":"warning","message":{"text":"FormattedText::arrange (cyclomatic 26): FormattedText::arrange 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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c7a7a5c9e8aece707030945ebad8f975d3750c11e5ccc756900c9b9c94e95"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeRoot::handle_routed_message (cyclomatic 26): TreeRoot::handle_routed_message 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"7523e71bb6576afbe66acddd2fc606055cda827a2c6bbcae59bf36a8b1216051"}},{"ruleId":"D1","level":"warning","message":{"text":"FileMenu::handle_ui_message (cyclomatic 25): FileMenu::handle_ui_message 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":"editor/src/menu/file.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d82bab548f3facefcce4cb69f8d45a7fda6899d73504debcd633258d7c4558"}},{"ruleId":"D1","level":"warning","message":{"text":"AbsmEditor::handle_ui_message (cyclomatic 25): AbsmEditor::handle_ui_message 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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffba761b44b6633c5d907645c679232c9f5827519b361cc0b5508d22ff8b871"}},{"ruleId":"D1","level":"warning","message":{"text":"StateGraphViewer::sync_to_model (cyclomatic 25): StateGraphViewer::sync_to_model 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":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66e03cb48a2cc1a3952f92d7cae43620bf3f81962ad14a3efbb5fad79c34cd0"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolbar::handle_ui_message (cyclomatic 25): Toolbar::handle_ui_message 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"26762f74c89f5dba3df19832f7194af3465425dc6f4f11eed14de10999f41bbf"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialEditor::sync_to_model (cyclomatic 25): MaterialEditor::sync_to_model 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":"editor/src/plugins/material/mod.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7cc410d2012879007a2e7a20a927935f47730fcd02bf2c8ea99710a6e571e9"}},{"ruleId":"D1","level":"warning","message":{"text":"TileSetEditor::handle_ui_message (cyclomatic 25): TileSetEditor::handle_ui_message 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":"editor/src/plugins/tilemap/tileset.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"486cf384d177803bf8dd2bff4be3751b8dc2c81baafd8f4e6d5c93b9c5c59a3a"}},{"ruleId":"D1","level":"warning","message":{"text":"Decorator::handle_routed_message (cyclomatic 25): Decorator::handle_routed_message 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":"fyrox-ui/src/decorator.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"999b25e05a9ef8b61080b4f328bc1652ebf61ee89c6a7ec9a1d25bb08e558c28"}},{"ruleId":"D1","level":"warning","message":{"text":"Text::handle_routed_message (cyclomatic 25): Text::handle_routed_message 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":"fyrox-ui/src/text.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5a13a45ff0b278bb6a3737b3cc489149f0c3a024dda368dc00303aec598b0"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_project_manager::main (cyclomatic 25): fyrox_project_manager::main 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":"project-manager/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd728e4c13caff1c5cbc771b5b89a38e9bfd4a6358ce4652abd083f696202d"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolbar::handle_ui_message (cyclomatic 24): Toolbar::handle_ui_message 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":"editor/src/plugins/absm/toolbar.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa971f409b5eccf335ec2d14cb13009c8ee12b4d01cbaaf8b1c46413c4fddfbe"}},{"ruleId":"D1","level":"warning","message":{"text":"WorldViewer::sync_graph (cyclomatic 24): WorldViewer::sync_graph 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":"editor/src/world/mod.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d01f23922de6191620a483755af5ca19bfe2a9806f8815a564dceeaf855fafe"}},{"ruleId":"D1","level":"warning","message":{"text":"Tile::preview_message (cyclomatic 24): Tile::preview_message 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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c9beadd227b411708a89282c1d07026a114ab15b7b09b9b86e65503acd3163"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyAction::apply_on_result (cyclomatic 24): PropertyAction::apply_on_result 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46c6bbe09dba67a63ded4f82600ebd6d2121791d0bc22e50aa6fd1a5cdf45e4"}},{"ruleId":"D1","level":"warning","message":{"text":"TabControl::handle_routed_message (cyclomatic 24): TabControl::handle_routed_message 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":"fyrox-ui/src/tab_control.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e7c8558647933a9ce135e352b3a0d240b6bb3860bdee8f767d59779cc754c4"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_ui::transform_size (cyclomatic 24): fyrox_ui::transform_size 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":3871}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97701b095aa62720b6f7197c5c3e235a30586c64957477b2ea27a3207d7d8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::run (cyclomatic 23): Editor::run 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":"editor/src/lib.rs"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8735b33755c3310b61393b748fb94b76029c0ea829bc94cc049e06fb2f204d"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationEditor::sync_to_model (cyclomatic 23): AnimationEditor::sync_to_model 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":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1489b73e8d7b9c4e24718cdbf4d5b3511f1233bd6d8a6e2ee52802a26427805"}},{"ruleId":"D1","level":"warning","message":{"text":"TileInspector::handle_ui_message (cyclomatic 23): TileInspector::handle_ui_message 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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d86bb9bf05b8e517c8299110c27cb8fc0371e09fb640e434e1fa588895529d"}},{"ruleId":"D1","level":"warning","message":{"text":"GlGraphicsServer::new (cyclomatic 23): GlGraphicsServer::new 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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"c410c87475f775a432d51ee29b5723b339162836191e12e6a7ca21145a4e005a"}},{"ruleId":"D1","level":"warning","message":{"text":"WgpuFrameBuffer::get_or_create_pipeline (cyclomatic 23): WgpuFrameBuffer::get_or_create_pipeline 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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70e2cd123a55f8df36f78858c50e54b1e8ca7a4b41e9319e620681fa75e73e"}},{"ruleId":"D1","level":"warning","message":{"text":"FbxScene::new (cyclomatic 23): FbxScene::new 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":"fyrox-impl/src/resource/fbx/scene/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d079fe417943a82ee2f69b40d65a0f7592feae8e76cd6e9ad0a38c112de3f48"}},{"ruleId":"D1","level":"warning","message":{"text":"Chunk::set_height_map (cyclomatic 23): Chunk::set_height_map 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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a6db9e5b446952e58e4ce2c83c56327639da8f9c669f64720161c2ddaa59b9"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert_model (cyclomatic 23): fyrox_impl::resource::fbx::convert_model has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong 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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1b3b55af5a0fb58a142b9bec111f4064bb82e2e11dfb996f7ea7c216fd18e3"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectManager::handle_ui_message (cyclomatic 23): ProjectManager::handle_ui_message 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":"project-manager/src/manager.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ecbceb5650a93e0f2321a1297916ff84941f58522d40e1419cd99405fb9f86"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioPanel::handle_ui_message (cyclomatic 22): AudioPanel::handle_ui_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":"editor/src/audio/mod.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4bc9fa1289901be65b4c2593e8ac8520258d4ce6720abdae23b31509ee4815"}},{"ruleId":"D1","level":"warning","message":{"text":"BlendSpaceField::handle_routed_message (cyclomatic 22): BlendSpaceField::handle_routed_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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfea95f25646e2923fc57b0c9e7ffacc047915d5386427930a4898e0812ae57"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruler::handle_routed_message (cyclomatic 22): Ruler::handle_routed_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":"editor/src/plugins/animation/ruler.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"27316ae4ff496885ef6d42b65c715a34d29d9d0455fed43a1b32b6c8bcde6247"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteWidget::sync_to_state (cyclomatic 22): PaletteWidget::sync_to_state 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aef2de6ec7e6ddf693f1ac772b0de0dc43a07f2bbe92c0ac9e1dd522744b8b"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeHandleMap::remap_inheritable_handles_internal (cyclomatic 22): NodeHandleMap::remap_inheritable_handles_internal 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5466ec8a28161d819575978123adb5d253e020215911a7b65e63e9f0b70ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderDataBundle::render_to_frame_buffer (cyclomatic 22): RenderDataBundle::render_to_frame_buffer 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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b178c218c6d9383fbee31e7a4da1f9e4c496be3e4dee2bc2bc7f59d5544c162"}},{"ruleId":"D1","level":"warning","message":{"text":"PhysicsWorld::sync_to_rigid_body_node (cyclomatic 22): PhysicsWorld::sync_to_rigid_body_node 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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f6095b52e5180dd25bf9b3f52082fb62d1c1466ce5667ad77809b2d60aed60"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::document::ascii::read_ascii (cyclomatic 22): fyrox_impl::resource::fbx::document::ascii::read_ascii 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":"fyrox-impl/src/resource/fbx/document/ascii.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"167e257948ac7e47a8e0e3b2dffb3034a71b335642b80222d6c37c5c2d7e8592"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::scene::link_child_with_parent_component (cyclomatic 22): fyrox_impl::resource::fbx::scene::link_child_with_parent_component 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":"fyrox-impl/src/resource/fbx/scene/mod.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4066677d090ddf9cb72d9adf83fab5521317dcfdc47eceedcdfbb5851a3840c4"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteWidget::draw_tile_colliders (cyclomatic 21): PaletteWidget::draw_tile_colliders 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"8167b8426636387870891e7639d4ffdb02019d36d7f7694ccdc31e6364f27ef8"}},{"ruleId":"D1","level":"warning","message":{"text":"fyroxed_base::update (cyclomatic 21): fyroxed_base::update 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":"editor/src/lib.rs"},"region":{"startLine":3183}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f63993c27cab6e9ce16bfa5ad468adfd5a85c1ac9484937a109b054ca8daf"}},{"ruleId":"D1","level":"warning","message":{"text":"MachineLayer::evaluate_pose (cyclomatic 21): MachineLayer::evaluate_pose 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":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e856cb388afc6c3a303214fda97884f261e0dbe7a010dd57b99d8785c0f9c0"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeHandleMap::remap_handles_any (cyclomatic 21): NodeHandleMap::remap_handles_any 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"33baf7459714cb41e8a73ffed2832e95a60b396762f3ad7c6f494fc16727b5f5"}},{"ruleId":"D1","level":"warning","message":{"text":"Selector::handle_routed_message (cyclomatic 21): Selector::handle_routed_message 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":"fyrox-ui/src/selector.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d4118c222844e35a0529a3799ea218b96ce70757dec4ffbae1a011b7c18f2c"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraController::pick_recursive (cyclomatic 20): CameraController::pick_recursive 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":"editor/src/camera/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fbe89016be261c52c0c0542b75c3bcccd0caa1d77841b7683aea42159372d3"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::handle_modes (cyclomatic 20): Editor::handle_modes 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":"editor/src/lib.rs"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5822ffcbb0ef51722085148d8f39ba6e57975f9bfac92af4342d8220df27d9"}},{"ruleId":"D1","level":"warning","message":{"text":"RootMotionDropdownArea::handle_ui_message (cyclomatic 20): RootMotionDropdownArea::handle_ui_message 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"29581d38a34cdbf1743bd6cb1d0b18b537447532641b4721c576f5ee0af1759c"}},{"ruleId":"D1","level":"warning","message":{"text":"GameScene::draw_auxiliary_geometry::draw_recursively (cyclomatic 20): GameScene::draw_auxiliary_geometry::draw_recursively 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":"editor/src/scene/mod.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b58ad411b1244aebb06ee235b6fd7113f8db9fbe4d210b69b30faadd70facd"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetContextMenu::handle_ui_message (cyclomatic 20): WidgetContextMenu::handle_ui_message 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":"editor/src/ui_scene/menu.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc79bb6f01be8fa03fdaec7f7833478fa4e875ee73a5e2621b711ff4973e3c5"}},{"ruleId":"D1","level":"warning","message":{"text":"WorldViewer::handle_ui_message (cyclomatic 20): WorldViewer::handle_ui_message 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":"editor/src/world/mod.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a770c52cd5267de261c43bcd0abe4f78c5739f34ec1158d035337f4a63f2d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Ragdoll::update (cyclomatic 20): Ragdoll::update 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":"fyrox-impl/src/scene/ragdoll.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b90dbf2a41a27b120af9d459c9c3ee18e8e698d9746c14792ad8478ca2b61"}},{"ruleId":"D1","level":"warning","message":{"text":"LightmapInputData::from_scene (cyclomatic 20): LightmapInputData::from_scene 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":"fyrox-impl/src/utils/lightmap.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5d4d1249170c1e1848820a62e7513abda3916f6fe86dbc3d30722c8a9ec9de"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckBox::handle_routed_message (cyclomatic 20): CheckBox::handle_routed_message 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":"fyrox-ui/src/check_box.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"568364336b69abf11875335f704031628602c621f7b305669898064e0a0546ba"}},{"ruleId":"D1","level":"warning","message":{"text":"FormattedText::measure (cyclomatic 20): FormattedText::measure 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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e508603c61a3950f4a95030b97356c48e7e554b6624e2338e650266c69497"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeRoot::move_selection (cyclomatic 20): TreeRoot::move_selection 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"788202fb5f93be9f271beabff8fb9c9aa4d0a6495e3243bcc81b01d2486cbfcc"}},{"ruleId":"D1","level":"warning","message":{"text":"AbsmNode::handle_routed_message (cyclomatic 19): AbsmNode::handle_routed_message 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":"editor/src/plugins/absm/node.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdda510cfe6c09e8e3c8658bd4f144d3c9262edbea7e8c483cdda310a408b3c"}},{"ruleId":"D1","level":"warning","message":{"text":"MacroPropertyValueField::on_ui_message (cyclomatic 19): MacroPropertyValueField::on_ui_message 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":"editor/src/plugins/tilemap/brush_macro.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"58053da1466700cf8ba28759c33318fc05479acef0c10b21dc667d313bb79a20"}},{"ruleId":"D1","level":"warning","message":{"text":"TileMapEditorPlugin::on_message (cyclomatic 19): TileMapEditorPlugin::on_message 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":"editor/src/plugins/tilemap/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc423689b6e7374f2c5b4e74a2f7b187b06c043a987a2ec21194f83ee7b89b"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_core::variable::try_inherit_properties (cyclomatic 19): fyrox_core::variable::try_inherit_properties 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":"fyrox-core/src/variable.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4419a318fa738c93ac4a56b8ffdbb557cfbdb994a4cc67480a7718bd2bac839b"}},{"ruleId":"D1","level":"warning","message":{"text":"GlTexture::set_data (cyclomatic 19): GlTexture::set_data 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: PixelDescriptor::from (cyclomatic 36) 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":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0b8d378fba022c556460e853f7cd290a1c84310eaa88873e5c1906646d4d73"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderDataBundleStorage::from_graph (cyclomatic 19): RenderDataBundleStorage::from_graph has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong 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. This is NOT this file\u0027s highest cyclomatic complexity: fyrox_impl::renderer::bundle::write_shader_values (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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef03f0382e3d152fee8de6c5233d7cb61edbd1880dd057583f29764fa9680a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"PhysicsWorld::sync_to_rigid_body_node (cyclomatic 19): PhysicsWorld::sync_to_rigid_body_node has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da967b03a25defbcb8b86d43bba57fb894a5d3ed47b8c63c8c0b8f3e6826243"}},{"ruleId":"D1","level":"warning","message":{"text":"ListView::handle_routed_message (cyclomatic 19): ListView::handle_routed_message 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":"fyrox-ui/src/list_view.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3189e446f4f87be7855b278672f2e5b6eb4ff416f9ad3e3648ffe7ef0bde386"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_template_core::upgrade_project (cyclomatic 19): fyrox_template_core::upgrade_project 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":"template-core/src/lib.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff415213dab128efb3a4de2820f5a5b113c1942701078e25dc7b28752ca230d"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraController::update (cyclomatic 18): CameraController::update 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":"editor/src/camera/mod.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e5c50ff9defbde8a3ea1e654ff058f860e3181d36cfa88c8b68c04e2a2efc2"}},{"ruleId":"D1","level":"warning","message":{"text":"SurfaceDataPropertyEditor::handle_routed_message (cyclomatic 18): SurfaceDataPropertyEditor::handle_routed_message 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":"editor/src/plugins/inspector/editors/surface.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9a874ed6de8c54d04d01da397c58e92c368ae31a8c7e30930d21b785bd581e"}},{"ruleId":"D1","level":"warning","message":{"text":"InspectorPlugin::on_ui_message (cyclomatic 18): InspectorPlugin::on_ui_message has cyclomatic complexity 18 (threshold 15). Of this number, 17 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":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"19308194555f85620abd694aa04240783815d4071c25149a9757c08fd0aa30ed"}},{"ruleId":"D1","level":"warning","message":{"text":"WfcMacro::on_instance_ui_message (cyclomatic 18): WfcMacro::on_instance_ui_message 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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa1f47beef65b0a815d8d3204098c103ecc5b0e804cd927e52df6fed62ff101"}},{"ruleId":"D1","level":"warning","message":{"text":"Mesh::collect_render_data (cyclomatic 18): Mesh::collect_render_data 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":"fyrox-impl/src/scene/mesh/mod.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ffb9e45d4f404e87dabd9f3cfcde885fd01ced5592df95968f58d2156f0ad0"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert_mesh (cyclomatic 18): fyrox_impl::resource::fbx::convert_mesh 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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a607f7337ec8b90ce1c5cfae04858ece778604405a7e742dcc288e300f0cda4"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::engine::executor::run_normal (cyclomatic 18): fyrox_impl::engine::executor::run_normal has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/executor.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe03541b4117ac404a77ee47ffa05333050119b6b846aff8ef04d8be8225b6e0"}},{"ruleId":"D1","level":"warning","message":{"text":"BitField::handle_routed_message (cyclomatic 18): BitField::handle_routed_message 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":"fyrox-ui/src/bit.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8faf119d568fc084ab5b32ea02e63ca2b46ad26f9fc30adf59cd6e7b323d015"}},{"ruleId":"D1","level":"warning","message":{"text":"Button::handle_routed_message (cyclomatic 18): Button::handle_routed_message 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":"fyrox-ui/src/button.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"50283bddf7f8e3402a5d32054692a1ea311985e4a5ae5f804b3e0c448d1b012c"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector::handle_routed_message (cyclomatic 18): Inspector::handle_routed_message 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c78315fc10bf95b59dbcc5ecacd2410849056ca94b46de066fda68d86eba3"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::handle_ui_message (cyclomatic 17): Editor::handle_ui_message 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":"editor/src/lib.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bfb80e7d43485433da506510662bb338231f56ba4c10f82e61ee271255f1e8"}},{"ruleId":"D1","level":"warning","message":{"text":"HandlePropertyEditor::handle_routed_message (cyclomatic 17): HandlePropertyEditor::handle_routed_message 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":"editor/src/plugins/inspector/editors/handle.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4864621d11bede0a9d7752b8bb9cd3320de505e5e212d5791929cd19cae3cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"UiSceneWorldViewerDataProvider::icon_of (cyclomatic 17): UiSceneWorldViewerDataProvider::icon_of 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":"editor/src/ui_scene/utils.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8e8dd666eec1e06adf9e8ebe8546e41f6459dbbcd15e82b77df800b70878c"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneGraph::restore_integrity (cyclomatic 17): SceneGraph::restore_integrity 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d4e51a43ab948fd82593136565b763910e920dc13ba312fdcb543d6a7fbc4"}},{"ruleId":"D1","level":"warning","message":{"text":"UiRenderer::render (cyclomatic 17): UiRenderer::render has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51c7ff36bcb92fd43ef98d14684deef638f76aa6130e1717c803c607c50aa34"}},{"ruleId":"D1","level":"warning","message":{"text":"TileDataUpdate::swap_with_data (cyclomatic 17): TileDataUpdate::swap_with_data 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":"fyrox-impl/src/scene/tilemap/update.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f9a58c405b7848025ca57abd8eef6970e6afeddb293b56a52dde3b5fa2f572"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::document::binary::read_binary_node (cyclomatic 17): fyrox_impl::resource::fbx::document::binary::read_binary_node 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":"fyrox-impl/src/resource/fbx/document/binary.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aac7d51bb09b2114bd4b7bcfb15fd1a45c06d45ec5b590348f5bdca0654077"}},{"ruleId":"D1","level":"warning","message":{"text":"BitField::draw (cyclomatic 17): BitField::draw 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":"fyrox-ui/src/bit.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe75597ca1aace5159261cf068aad98e33894a981fe9711b4e1384b6f73b43f"}},{"ruleId":"D1","level":"warning","message":{"text":"DockingManager::set_layout (cyclomatic 17): DockingManager::set_layout 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":"fyrox-ui/src/dock/mod.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f94ea9d7491b02aecc04b72aa11cb4fc9fbda6fb6c160d2a629d6fdd40f81a"}},{"ruleId":"D1","level":"warning","message":{"text":"Tile::measure_override (cyclomatic 17): Tile::measure_override 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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"63196abbe58933dbbc047cd94b22015a2358ab465b1b34ec647abea2dec71bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioPanel::sync_to_model (cyclomatic 16): AudioPanel::sync_to_model 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":"editor/src/audio/mod.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d69abe4ca3507598d024da15ee30ff50e2a52ef751a7b83db746c0afb6b7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"MeshControlPanel::handle_ui_message (cyclomatic 16): MeshControlPanel::handle_ui_message 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":"editor/src/mesh.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69e074a48d50eb6d2cc538f281e0729491bdcb7a1141572f703b2c9197c02d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolbar::post_handle_ui_message (cyclomatic 16): Toolbar::post_handle_ui_message 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fe1cc7794321777afa317b28e1a9d386ea4a6b2b9f47034cf07b47d084c513"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsWindow::handle_ui_message (cyclomatic 16): SettingsWindow::handle_ui_message 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":"editor/src/plugins/settings.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa645dfe7d8a3b41f5579820186074494e4a726cc2d72c4407502168e1e8d051"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneItem::handle_routed_message (cyclomatic 16): SceneItem::handle_routed_message 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":"editor/src/world/item.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c890570076bd6eb6b4e0fc2a6573f696ffc9c865bfae9b02aaabcd09e3d38405"}},{"ruleId":"D1","level":"warning","message":{"text":"HashConstraintMap::fill_from (cyclomatic 16): HashConstraintMap::fill_from 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":"fyrox-autotile/src/auto.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbc46307f916f88babc24f437ca5384c44170510871057a4cba46416d7592a3"}},{"ruleId":"D1","level":"warning","message":{"text":"GlFrameBuffer::clear (cyclomatic 16): GlFrameBuffer::clear 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":"fyrox-graphics-gl/src/framebuffer.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"97244d314233ac74a94131be289739831e88afd6ca6c8fc5899217420b93f32c"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph::process_node_messages (cyclomatic 16): Graph::process_node_messages has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong 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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46f8894fd7d7b66278d1cbc2bc3671a446ee233058ea900890f6b364991d6fe"}},{"ruleId":"D1","level":"warning","message":{"text":"PhysicsWorld::sync_to_joint_node (cyclomatic 16): PhysicsWorld::sync_to_joint_node 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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcbbc862a5c27377e466210ef977acdeb52e1cae97ff9e8de9446171264a952"}},{"ruleId":"D1","level":"warning","message":{"text":"BehaviorTree::tick_recursive (cyclomatic 16): BehaviorTree::tick_recursive 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":"fyrox-impl/src/utils/behavior/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabe50be0c2a75dc3e6a671860a9d3757869665f92d503d98fe800ed0d435f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::renderer::ui_renderer::write_uniform_blocks (cyclomatic 16): fyrox_impl::renderer::ui_renderer::write_uniform_blocks 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":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef1bea8c0d3aa8ce50123b24b38cdae0bed051289a5661dc35fc76174e11b57"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert (cyclomatic 16): fyrox_impl::resource::fbx::convert has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5190392ce1d9d0389725d1f16a8b3554f9bea73159a4e2327d6644ee3d950e3"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_resource::collect_used_resources (cyclomatic 16): fyrox_resource::collect_used_resources 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":"fyrox-resource/src/lib.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd14d1b7e58c5ece42d6f82e8cf5c6a9079af615081abfd632305df0ef95827"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector::handle_context_menu_message_ex (cyclomatic 16): Inspector::handle_context_menu_message_ex 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe888534f1ae3415879dc7aa5685bed199559443d039087bdcb140117bad6609"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectManager::on_button_click (cyclomatic 16): ProjectManager::on_button_click 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":"project-manager/src/manager.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"4772b114714b49ae7537bcdcca573e22480867317c274f4dce72b8b32717dcc9"}},{"ruleId":"D2","level":"warning","message":{"text":"CurveEditor::handle_routed_message (cognitive 289): CurveEditor::handle_routed_message has cognitive complexity 289 (threshold 15). Drivers by points: if/else 46 (188 pts), loops 10 (55 pts), match/switch 9 (45 pts), boolean chains 1 (nesting depth added 223). 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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50a565207f50714c1d25ef3454e8df837557835e9db01d702ebbb9ef043f870"}},{"ruleId":"D2","level":"warning","message":{"text":"TextBox::handle_routed_message (cognitive 266): TextBox::handle_routed_message has cognitive complexity 266 (threshold 15). Drivers by points: if/else 56 (232 pts), match/switch 5 (19 pts), loops 2 (10 pts), boolean chains 5 (nesting depth added 198). Of this number, 247 points are the body\u0027s own statements and 19 belong to one function item inside it that branches. 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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0477f5f7290352799115a5472a299268bb66b3d05c46983fe91e0fec003b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Window::handle_routed_message (cognitive 237): Window::handle_routed_message has cognitive complexity 237 (threshold 15). Drivers by points: if/else 53 (192 pts), match/switch 7 (23 pts), loops 3 (14 pts), boolean chains 8 (nesting depth added 166). 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":"fyrox-ui/src/window.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ae1c6ee827e7b29d226a266f8e02c9ab83dd4ec608da32a2313265eebfec2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Tile::handle_routed_message (cognitive 216): Tile::handle_routed_message has cognitive complexity 216 (threshold 15). Drivers by points: if/else 30 (114 pts), loops 11 (64 pts), match/switch 10 (35 pts), boolean chains 3 (nesting depth added 162). Of this number, 205 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. 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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0473152a053dd79e4eaace7e06704c16c0ec50621a0ddf23772c9e59a4a319ab"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::process_os_event (cognitive 196): UserInterface::process_os_event has cognitive complexity 196 (threshold 15). Drivers by points: if/else 46 (148 pts), loops 7 (26 pts), match/switch 7 (19 pts), boolean chains 3 (nesting depth added 133). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13b2fdbbdff5eccf7bc0f594266d1037278d3a3befca8934f61b70d2f99e99"}},{"ruleId":"D2","level":"warning","message":{"text":"Tree::handle_routed_message (cognitive 140): Tree::handle_routed_message has cognitive complexity 140 (threshold 15). Drivers by points: if/else 28 (108 pts), loops 4 (21 pts), match/switch 3 (10 pts), boolean chains 1 (nesting depth added 104). Of this number, 100 points are the body\u0027s own statements and 40 belong to one function item inside it that branches. 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dc1a25dd8f3da95f61c998c966ce348c776897a9c963405cdb6218fa37b59c"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetItemContextMenu::handle_ui_message (cognitive 137): AssetItemContextMenu::handle_ui_message has cognitive complexity 137 (threshold 15). Drivers by points: if/else 34 (129 pts), match/switch 1 (8 pts) (nesting depth added 102). 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":"editor/src/asset/menu.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"766066f2155954e4d67b372e1dc3c29df102bdc75dbcdecce0d2f295642bba17"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackList::handle_ui_message (cognitive 137): TrackList::handle_ui_message has cognitive complexity 137 (threshold 15). Drivers by points: if/else 49 (106 pts), match/switch 4 (17 pts), loops 3 (12 pts), boolean chains 2 (nesting depth added 79). 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c058bc98a93f5735571e95f427ed2b4d09f26a5b67944101a2e074ba3b450e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetBrowser::handle_ui_message (cognitive 122): AssetBrowser::handle_ui_message has cognitive complexity 122 (threshold 15). Drivers by points: if/else 41 (107 pts), loops 3 (9 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 74). Of this number, 115 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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":"editor/src/asset/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"408021e6ed763b48caff38808a9531498f34dba1d220ddf63d1940ff20dfb28f"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneViewer::handle_ui_message (cognitive 113): SceneViewer::handle_ui_message has cognitive complexity 113 (threshold 15). Drivers by points: if/else 31 (79 pts), match/switch 7 (31 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 73). 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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3f0abf423c1dbffcf203d8717cb10cdd030aafc146232bd4fbeafc09337029"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::create_materials (cognitive 110): fyrox_impl::resource::fbx::create_materials has cognitive complexity 110 (threshold 15). Drivers by points: if/else 21 (78 pts), loops 4 (19 pts), boolean chains 7, match/switch 1 (6 pts) (nesting depth added 77). 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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9115fea4353bdb6baea32e29bd1cf6b02be788edeeb1231e81d71c737bf44e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::handle_hotkeys (cognitive 106): Editor::handle_hotkeys has cognitive complexity 106 (threshold 15). Drivers by points: if/else 44 (105 pts), boolean chains 1 (nesting depth added 61). 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":"editor/src/lib.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aac8814c947bbd4f52902cbbf46e9a32cb51dde067e50556065c72bd627e046"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptProcessor::handle_scripts (cognitive 103): ScriptProcessor::handle_scripts has cognitive complexity 103 (threshold 15). Drivers by points: if/else 21 (65 pts), loops 11 (31 pts), match/switch 1 (5 pts), boolean chains 2 (nesting depth added 68). 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee1d4b5acd9a80840facd82b5aa0b0a85f2d3435d24ad9a7467715eedd8ddd5"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItem::handle_routed_message (cognitive 101): MenuItem::handle_routed_message has cognitive complexity 101 (threshold 15). Drivers by points: if/else 27 (78 pts), loops 3 (11 pts), match/switch 3 (8 pts), boolean chains 4 (nesting depth added 64). 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b8b934ca81e77c1af820ae95e1a383ac86f82b614d3890a38fc9189ab2b31"}},{"ruleId":"D2","level":"warning","message":{"text":"StateViewer::sync_to_model (cognitive 98): StateViewer::sync_to_model has cognitive complexity 98 (threshold 15). Drivers by points: if/else 27 (71 pts), loops 7 (17 pts), match/switch 3 (9 pts), boolean chains 1 (nesting depth added 60). 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":"editor/src/plugins/absm/state_viewer/mod.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"398707f2f4a8d8379d73ac4da48675072e1f80d686d7d0b511c1a3aa05c308d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Animation::update_root_motion (cognitive 98): Animation::update_root_motion has cognitive complexity 98 (threshold 15). Drivers by points: if/else 30 (87 pts), boolean chains 4, match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 62). Of this number, 94 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. 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":"fyrox-animation/src/lib.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"acee052d8d90966bf561850ef67106475c5ca6139bd667c2a54048f6dc3c68fe"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_template_core::upgrade_project (cognitive 98): fyrox_template_core::upgrade_project has cognitive complexity 98 (threshold 15). Drivers by points: if/else 19 (96 pts), boolean chains 1, match/switch 1 (nesting depth added 77). 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":"template-core/src/lib.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7738e509a9a6ed29373602a123a14cb220d8aac331d7d81bfecdd01e16cb168"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsmCanvas::handle_routed_message (cognitive 90): AbsmCanvas::handle_routed_message has cognitive complexity 90 (threshold 15). Drivers by points: if/else 28 (63 pts), match/switch 5 (16 pts), loops 2 (7 pts), boolean chains 4 (nesting depth added 51). 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":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a102911de2e2c936a0c1be59b6fed0d1f3a0d6409fd181b016563a9166485ef"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneNodeContextMenu::handle_ui_message (cognitive 88): SceneNodeContextMenu::handle_ui_message has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (82 pts), loops 1 (5 pts), boolean chains 1 (nesting depth added 57). 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":"editor/src/world/menu.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"181802d2cca93a77edba08faff9b57f129f0b074b74d234864ff47489af75aea"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackList::on_add_key_pressed (cognitive 86): TrackList::on_add_key_pressed has cognitive complexity 86 (threshold 15). Drivers by points: if/else 25 (72 pts), loops 4 (10 pts), match/switch 1 (4 pts) (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/track.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90c5c0aea1767fc48373f639e7da07264d17f0678417dc09a89d45e0c22f6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::poll_single_message (cognitive 83): UserInterface::poll_single_message has cognitive complexity 83 (threshold 15). Drivers by points: if/else 25 (59 pts), match/switch 5 (12 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 45). 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec36590b71bf1e6cdee5f8cce19cd55362fd4c3a69fb7d4049ff3bd988fddd1"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackList::sync_to_model (cognitive 82): TrackList::sync_to_model has cognitive complexity 82 (threshold 15). Drivers by points: if/else 17 (53 pts), match/switch 6 (20 pts), loops 4 (9 pts) (nesting depth added 55). 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacbd2cd09cbbd16ad5a84b82d8b71513def0c84e988c1237fce519dc490331d"}},{"ruleId":"D2","level":"warning","message":{"text":"UiRenderer::render (cognitive 80): UiRenderer::render has cognitive complexity 80 (threshold 15). Drivers by points: if/else 11 (65 pts), match/switch 2 (10 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 64). 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":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8c2f0dac07c7073fe842ca2dee040558b3f17cccb85e93857fe2bcb57cfd85"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollBar::handle_routed_message (cognitive 76): ScrollBar::handle_routed_message has cognitive complexity 76 (threshold 15). Drivers by points: if/else 21 (63 pts), match/switch 4 (13 pts) (nesting depth added 51). 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":"fyrox-ui/src/scroll_bar.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3a7e88218aa7e2305b552959e904e39f4d78f1d2aa5102d8746663f5698b79"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::draw (cognitive 72): PaletteWidget::draw has cognitive complexity 72 (threshold 15). Drivers by points: if/else 29 (50 pts), loops 7 (17 pts), boolean chains 5 (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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c02c7fcb39f8f96b5889c0f876de6ed9c561307e3356433128b4b16e723eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsmEditor::handle_ui_message (cognitive 71): AbsmEditor::handle_ui_message has cognitive complexity 71 (threshold 15). Drivers by points: if/else 16 (51 pts), match/switch 3 (11 pts), loops 2 (9 pts) (nesting depth added 50). 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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f388ba1d02bc6bf81f1e41bb9269235c2220f2332bbc50e4af5622c223ba36"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::handle_modes (cognitive 70): Editor::handle_modes has cognitive complexity 70 (threshold 15). Drivers by points: if/else 17 (59 pts), match/switch 4 (10 pts), boolean chains 1 (nesting depth added 48). 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":"editor/src/lib.rs"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd0a8d3824d00ba0e330181a5dce2d028e5c130011a6adce3cdd71bc4fc1a36"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationEditor::sync_to_model (cognitive 70): AnimationEditor::sync_to_model has cognitive complexity 70 (threshold 15). Drivers by points: if/else 16 (48 pts), loops 4 (16 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 47). 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":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a473db1ce20038ca55da43fdc7850bb075e9c072406415a978f48fdc996115c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollViewer::handle_routed_message (cognitive 70): ScrollViewer::handle_routed_message has cognitive complexity 70 (threshold 15). Drivers by points: if/else 20 (51 pts), match/switch 3 (9 pts), boolean chains 6, loops 1 (4 pts) (nesting depth added 40). 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":"fyrox-ui/src/scroll_viewer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"48168d48a8e03cb42c4ac56e536311d6c92c3533a6e73f2be845c9944ed9be93"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldViewer::sync_graph (cognitive 69): WorldViewer::sync_graph has cognitive complexity 69 (threshold 15). Drivers by points: if/else 16 (49 pts), loops 7 (18 pts), boolean chains 2 (nesting depth added 44). 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":"editor/src/world/mod.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a9ed63d2dcafb44ed309527d441dba9e7033fd4908b348a354adbce60f8ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineLayer::evaluate_pose (cognitive 69): MachineLayer::evaluate_pose has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (50 pts), loops 4 (17 pts), boolean chains 2 (nesting depth added 48). 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":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebcfd38c4247f5d7377aa79fd692b26d5f308fa6c218fd7025c55a6202b08ae"}},{"ruleId":"D2","level":"warning","message":{"text":"WgpuFrameBuffer::do_draw (cognitive 68): WgpuFrameBuffer::do_draw has cognitive complexity 68 (threshold 15). Drivers by points: if/else 29 (49 pts), boolean chains 8, match/switch 3 (8 pts), loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c771e0330ddc5f5bc6c1250f3ca1e3765a5454351a52099c760b5d986da15669"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert_mesh (cognitive 67): fyrox_impl::resource::fbx::convert_mesh has cognitive complexity 67 (threshold 15). Drivers by points: if/else 9 (42 pts), loops 7 (20 pts), match/switch 1 (5 pts) (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e471a66def0649910e4bb0f1fd9d4556501b8b084f3180f8445b68b114aa6770"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyAction::apply_on_result (cognitive 67): PropertyAction::apply_on_result has cognitive complexity 67 (threshold 15). Drivers by points: if/else 32 (62 pts), match/switch 2 (5 pts) (nesting depth added 33). 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1399cdd4ac9f4a52fbf2c7f971ff5c69bd9763756919ef0c7eacaa26aa3031"}},{"ruleId":"D2","level":"warning","message":{"text":"DeferredLightRenderer::render (cognitive 66): DeferredLightRenderer::render has cognitive complexity 66 (threshold 15). Drivers by points: if/else 25 (46 pts), boolean chains 9, match/switch 3 (8 pts), loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eceff79c51f8b1841201a207dff4676b8e9a0dd39522147e42fafb813ccc0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Tile::preview_message (cognitive 66): Tile::preview_message has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (38 pts), loops 3 (17 pts), match/switch 2 (10 pts), boolean chains 1 (nesting depth added 44). 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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ad67f90fb3c9919be7fa5ffe6a0a904d3f17895c0abf0498d3dc0b89152aec"}},{"ruleId":"D2","level":"warning","message":{"text":"FormattedText::arrange (cognitive 65): FormattedText::arrange has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (41 pts), loops 6 (16 pts), match/switch 3 (7 pts), boolean chains 1 (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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"65185383f8b591de247adfa1e039d18bfbafd5b74f85dec85f8bd07ed09a131c"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendAnimationsByIndex::collect_animation_events (cognitive 64): BlendAnimationsByIndex::collect_animation_events has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (53 pts), loops 1 (6 pts), match/switch 1 (5 pts) (nesting depth added 48). 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":"fyrox-animation/src/machine/node/blend.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"546beedd232e9470a562df1da89cec03c1f09d034bfb77494d893a2eb0a94349"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar::handle_ui_message (cognitive 62): Toolbar::handle_ui_message has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (47 pts), loops 3 (15 pts) (nesting depth added 37). 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":"editor/src/plugins/absm/toolbar.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f7990089400aabd5d6a803592ad23b8943059c53b67fb9c528639ecf86a7a0"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeRoot::move_selection (cognitive 61): TreeRoot::move_selection has cognitive complexity 61 (threshold 15). Drivers by points: if/else 16 (50 pts), loops 2 (8 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 41). 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ef03331a2ebf90bdc3fe910765109e2ea391e94d4f6d242707634e6eba1e02"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericUpDown::handle_routed_message (cognitive 60): NumericUpDown::handle_routed_message has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (41 pts), match/switch 4 (11 pts), boolean chains 8 (nesting depth added 29). Of this number, 51 points are the body\u0027s own statements and 9 belong 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":"fyrox-ui/src/numeric.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0479a00d2332e58fa67ec93fcad2e56ff4d01330bad19bfdf10a801ee1fc734"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeRoot::handle_routed_message (cognitive 59): TreeRoot::handle_routed_message has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (44 pts), loops 3 (10 pts), match/switch 2 (5 pts) (nesting depth added 41). 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1322006bda90ba369b9adf4f6aea10514ba6024476713108b4110d0fb265d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Popup::handle_routed_message (cognitive 58): Popup::handle_routed_message has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (50 pts), match/switch 2 (6 pts), boolean chains 2 (nesting depth added 37). 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":"fyrox-ui/src/popup.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"35126ca0a836bd962269693f2ad52f5c04d00853ec82be40899c83a01db058d8"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::update (cognitive 57): fyroxed_base::update has cognitive complexity 57 (threshold 15). Drivers by points: if/else 12 (35 pts), loops 6 (20 pts), match/switch 1 (2 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":"editor/src/lib.rs"},"region":{"startLine":3183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de735f4e1dbbcea31607780adbbf8778601f7942914c717339110d1fa78b47a"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruler::handle_routed_message (cognitive 56): Ruler::handle_routed_message has cognitive complexity 56 (threshold 15). Drivers by points: if/else 11 (41 pts), match/switch 3 (10 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 40). 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":"editor/src/plugins/animation/ruler.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3abb788c1689dc4a3eb616b9fe917249a308b804beb45c7bfb789ee0b8c0b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetContextMenu::handle_ui_message (cognitive 56): WidgetContextMenu::handle_ui_message has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (56 pts) (nesting depth added 37). 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":"editor/src/ui_scene/menu.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a0ea1a1d5b572f48b2bc29bdd5d8f033671d1fcb59fac23bfd43553fbafd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraController::pick_recursive (cognitive 53): CameraController::pick_recursive has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (47 pts), boolean chains 5, loops 1 (nesting depth added 31). 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":"editor/src/camera/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"c917c1211919e8c0f4c5210642600bd64f7161685f403bf0d34e6f6d463a2167"}},{"ruleId":"D2","level":"warning","message":{"text":"StateGraphViewer::sync_to_model (cognitive 53): StateGraphViewer::sync_to_model has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (40 pts), loops 5 (9 pts), match/switch 3, 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":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c186a6cd806654682f78bfbced8996242fb58b53254aede2a3820818e82058a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationEditor::handle_ui_message (cognitive 53): AnimationEditor::handle_ui_message has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (41 pts), match/switch 3 (9 pts), loops 1 (3 pts) (nesting depth added 35). 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":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb5cbb597ebae740683974eebe0096043d1b68aa121f4b0dd645f64365c2dc"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneGraph::restore_integrity (cognitive 52): SceneGraph::restore_integrity has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 32). 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"215f2b26e8e641cd1b3f7fe13d4e69da93d6cfd48f77cc88499f398bf2206829"}},{"ruleId":"D2","level":"warning","message":{"text":"GlTexture::set_data (cognitive 51): GlTexture::set_data has cognitive complexity 51 (threshold 15). Drivers by points: if/else 21 (44 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a677e70d2ba873bb4ffcb827400a471425727a1d8de930f167453963328143"}},{"ruleId":"D2","level":"warning","message":{"text":"Selector::handle_routed_message (cognitive 51): Selector::handle_routed_message has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 3 (10 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 33). 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":"fyrox-ui/src/selector.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c31299b1723c2a4f86c28530afa91e63f7cff363dc18a1465cc41f34cac15c"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_core::variable::try_inherit_properties (cognitive 49): fyrox_core::variable::try_inherit_properties has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 31). 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":"fyrox-core/src/variable.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfcb916dab095b3d6eb7f3ba51ab2dafbc773a715cac24e83a31b4025eb58cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar::post_handle_ui_message (cognitive 48): Toolbar::post_handle_ui_message has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (36 pts), match/switch 2 (7 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 31). 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1910e37683b863b090d2ffdb5bae29ffa56f097c158c1a9755445253c0080"}},{"ruleId":"D2","level":"warning","message":{"text":"CurveEditorWindow::handle_ui_message (cognitive 48): CurveEditorWindow::handle_ui_message has cognitive complexity 48 (threshold 15). Drivers by points: if/else 27 (44 pts), boolean chains 2, 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":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6b084d3da817b2c4a3050854a597491121ba6484bf4c5dc46c4dbaa16f2c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"Decorator::handle_routed_message (cognitive 48): Decorator::handle_routed_message has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (41 pts), match/switch 2 (5 pts), boolean chains 2 (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":"fyrox-ui/src/decorator.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c3aadae9b7f7d976be46d6ae07d3eda6aa45f8fbcda09425a7058a75108e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ListView::handle_routed_message (cognitive 48): ListView::handle_routed_message has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (38 pts), match/switch 3 (10 pts) (nesting depth added 30). 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":"fyrox-ui/src/list_view.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfe513102498faa1f3c7ba752cbbb85dbe81bab18a364190e853613d1d65497"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::update (cognitive 47): Editor::update has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (32 pts), loops 3 (7 pts), match/switch 2 (7 pts), boolean chains 1 (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":"editor/src/lib.rs"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8747d7d3e6fb4851b52b7f0d8f37e699e05db67fb33fefa9adfb764309f9769b"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMenu::handle_ui_message (cognitive 47): FileMenu::handle_ui_message has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27 (47 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":"editor/src/menu/file.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b961a374b9c0b0944deb354475d23384f06c6781525219d97058a3ca2c5b9"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::plugins::animation::track::type_id_to_supported_type (cognitive 47): fyroxed_base::plugins::animation::track::type_id_to_supported_type has cognitive complexity 47 (threshold 15). Drivers by points: if/else 47. 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3151289b6bc17e9985abf7a5659bd34c0e4c24e28d0b7c23f5e284c9448766"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::handle_async_tasks (cognitive 47): Engine::handle_async_tasks has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (46 pts), loops 1 (nesting depth added 36). 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"1409779522f6a311d51ad44a704cd34d10fa14d00e15e47c90fb8d77e2f3ca2f"}},{"ruleId":"D2","level":"warning","message":{"text":"TabControl::handle_routed_message (cognitive 47): TabControl::handle_routed_message has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 2 (5 pts), match/switch 2 (5 pts), boolean chains 2 (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":"fyrox-ui/src/tab_control.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a095f3ab4930fb99962ec0f8a2fbb69c5a2db5675263d08f0f7bf3bcfc95cc"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_project_manager::main (cognitive 47): fyrox_project_manager::main has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 2 (7 pts), match/switch 2 (3 pts) (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":"project-manager/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8a10eb6a1125050d56b131b0dea962790a300f0ae267733857f03dc89e60e"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetBrowser::on_message (cognitive 46): AssetBrowser::on_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (36 pts), loops 3 (10 pts) (nesting depth added 33). 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":"editor/src/asset/mod.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb37f687fffe3c07ffa2362b522cdb001f69f7eaad4cb27eaa4910560de991e"}},{"ruleId":"D2","level":"warning","message":{"text":"SurfaceDataPropertyEditor::handle_routed_message (cognitive 46): SurfaceDataPropertyEditor::handle_routed_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (44 pts), loops 1 (2 pts) (nesting depth added 28). 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":"editor/src/plugins/inspector/editors/surface.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"077bbf3b27f49f016476a15270d82279d8e28745493a3ded22f123aa18cbf7e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::reload_plugin (cognitive 46): Engine::reload_plugin has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 15 (16 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9efda53d424eb199d009c5633a5c7d2c5f51aef0810c15460129341e027c78"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::renderer::ui_renderer::write_uniform_blocks (cognitive 46): fyrox_impl::renderer::ui_renderer::write_uniform_blocks has cognitive complexity 46 (threshold 15). Drivers by points: match/switch 6 (24 pts), loops 4 (13 pts), if/else 4 (9 pts) (nesting depth added 32). 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":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fe8a54f9de3204da9e2d972f3afaa2f66c674b33365c0def8506b2e95c4e5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Text::handle_routed_message (cognitive 46): Text::handle_routed_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (43 pts), match/switch 1 (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":"fyrox-ui/src/text.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6085658a0b34928412320e479c3856f162af53e887b4c130b7118e55b4c702ca"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderDataBundleStorage::from_graph (cognitive 45): RenderDataBundleStorage::from_graph has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 26). Of this number, 39 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. 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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeed6b030d752e8af8d3b73afe85e974da9086dc3f375d163b77455dcbb4192"}},{"ruleId":"D2","level":"warning","message":{"text":"CurveEditor::draw_keys (cognitive 45): CurveEditor::draw_keys has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (24 pts), match/switch 4 (18 pts), loops 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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f2278c02922335c501019a9b4d2c54dead353b8c62346a5c49da54e18ddf51"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector::handle_context_menu_message_ex (cognitive 45): Inspector::handle_context_menu_message_ex has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (39 pts), loops 1 (5 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c40dee09962d3432af7183f070a918c228eb91fa2c8b9b1a53ac55abb20f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNavmeshMode::on_left_mouse_button_down (cognitive 44): EditNavmeshMode::on_left_mouse_button_down has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 4 (16 pts) (nesting depth added 29). 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":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"434394c78af5e76e90bbe8ad813f96fbfeaae0ddbde01011683196a058bf2f09"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendSpaceField::handle_routed_message (cognitive 44): BlendSpaceField::handle_routed_message has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 3 (9 pts), loops 2 (8 pts) (nesting depth added 29). 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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b373e583680c6356ae3f80c5b3dd40df9f035c0421330a4ea51af5af1b1f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptMessageDispatcher::dispatch_messages (cognitive 44): ScriptMessageDispatcher::dispatch_messages has cognitive complexity 44 (threshold 15). Drivers by points: if/else 5 (20 pts), loops 4 (15 pts), match/switch 3 (9 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff991f081831fe3c8750a3152925a0eb6f2abb615919994d70d7b2890a0392b4"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert (cognitive 44): fyrox_impl::resource::fbx::convert has cognitive complexity 44 (threshold 15). Drivers by points: loops 9 (29 pts), if/else 6 (15 pts) (nesting depth added 29). 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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ed971aa131675ab743f69d39d373caffb4482f4857b5170f7b04ba70a9dc20"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_math::triangulator::triangulate (cognitive 44): fyrox_math::triangulator::triangulate has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (39 pts), loops 2 (5 pts) (nesting depth added 27). 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":"fyrox-math/src/triangulator.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb328b0ee8ff661dfe05aabba4a011bc10025e742a580675d8814dd97e22c232"}},{"ruleId":"D2","level":"warning","message":{"text":"DockingManager::set_layout (cognitive 44): DockingManager::set_layout has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 3 (9 pts), match/switch 1 (4 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":"fyrox-ui/src/dock/mod.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"94032d9c5da9d2fa88bea154f40c1a92be56799c2acea598b1cab4c6e6390ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"RootMotionDropdownArea::handle_ui_message (cognitive 43): RootMotionDropdownArea::handle_ui_message has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (43 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee9acccfd030d7ef93ee70a781eac430c5c2f5a56abd30e0c8efda4ca3825ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorPicker::handle_routed_message (cognitive 43): ColorPicker::handle_routed_message has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (32 pts), match/switch 2 (6 pts), boolean chains 5 (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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a892fd8f00d6f9953b137b886c7732a61a87e689c30e84246b8abb8b430583"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector::handle_routed_message (cognitive 43): Inspector::handle_routed_message has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 27). 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bafb760e5abe37577ec0a5efd9b07a13fb0f19c8fadfcdf57e35ec79f0bf8a"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScene::draw_auxiliary_geometry::draw_recursively (cognitive 41): GameScene::draw_auxiliary_geometry::draw_recursively has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 4 (11 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":"editor/src/scene/mod.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5dc22c1948785c25897f3c456a41aeab0c7132cd5b1a9502e9ca4402c76bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"Terrain::raycast (cognitive 41): Terrain::raycast has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 4 (15 pts) (nesting depth added 29). 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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5020da52cdb0ccacb4519e7ca299841a6d0c0f43ca97d6d38f8df7070af88c"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_ui::transform_size (cognitive 41): fyrox_ui::transform_size has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 8 (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":"fyrox-ui/src/lib.rs"},"region":{"startLine":3871}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a9d3d7c2663d0cdd3aa91e5cd9c2d899c6e706034a2ffd7e9ed8636e824606"}},{"ruleId":"D2","level":"warning","message":{"text":"UiSceneWorldViewerDataProvider::on_change_hierarchy_request (cognitive 40): UiSceneWorldViewerDataProvider::on_change_hierarchy_request has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (29 pts), loops 2 (7 pts), match/switch 1 (4 pts) (nesting depth added 30). 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":"editor/src/ui_scene/utils.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"13856521f476504085ccdc7fbae0141aea696134de6506b0a26eab486f393e28"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorSceneWrapper::on_change_hierarchy_request (cognitive 40): EditorSceneWrapper::on_change_hierarchy_request has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (29 pts), loops 2 (7 pts), match/switch 1 (4 pts) (nesting depth added 30). 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":"editor/src/world/graph.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3d1bd572584d5d1ac50b81c134868c94c565ba1007ee14589f584669577e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Ragdoll::update (cognitive 40): Ragdoll::update has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/ragdoll.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5260a01875715fded26be050fc2f35f0fda3f037e96f704616250456fc7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Texture::load_from_memory (cognitive 40): Texture::load_from_memory has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (26 pts), match/switch 3 (7 pts), loops 2 (6 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":"fyrox-texture/src/lib.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1174e304155cab78e102285f13242882964afe6357cff5fb52649612b2168"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::draw_tile_colliders (cognitive 39): PaletteWidget::draw_tile_colliders has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"601b3caf76958babaef9ec5486b46d27bfcc64720be385f48aa5a5a7716a4c69"}},{"ruleId":"D2","level":"warning","message":{"text":"Mesh::collect_render_data (cognitive 39): Mesh::collect_render_data has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 3 (8 pts), match/switch 2 (6 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":"fyrox-impl/src/scene/mesh/mod.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab3861fcd019554cd37558bda01345cca923b793922b238ab7f51c4178bf5e8"}},{"ruleId":"D2","level":"warning","message":{"text":"TileInspector::handle_ui_message (cognitive 38): TileInspector::handle_ui_message has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (34 pts), loops 2 (4 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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78952cad2b17fb64e9f056f6c2ef73a041bffe859f9cc682e03cf2bc31485a7"}},{"ruleId":"D2","level":"warning","message":{"text":"HashConstraintMap::fill_from (cognitive 38): HashConstraintMap::fill_from has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 6 (11 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-autotile/src/auto.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b3b37be2dc4ae0a25edd085954c27663805906037d176ce03606040a353fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_rigid_body_node (cognitive 38): PhysicsWorld::sync_to_rigid_body_node has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (14 pts), loops 1 (4 pts), boolean chains 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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7d3bd0f0c9f3465d3fd19f4e93c6010b5fed5125ddbfaa1f36d78b9d4942a"}},{"ruleId":"D2","level":"warning","message":{"text":"BitField::handle_routed_message (cognitive 38): BitField::handle_routed_message has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 2 (8 pts), boolean chains 2 (nesting depth added 21). 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":"fyrox-ui/src/bit.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d771e4f37f524ebd10ec8e0d32c144726212f6dda726fd5919188810491efd1"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationLayer::handle_routed_message (cognitive 38): NavigationLayer::handle_routed_message has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (32 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 25). 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":"fyrox-ui/src/navigation.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5748081202c481e15722b87901ee34788e269096d0d20cec5b62aa48c00ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectManager::handle_ui_message (cognitive 38): ProjectManager::handle_ui_message has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (38 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":"project-manager/src/manager.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fa64a1922eed357c17dc2aa6a2d6e21946e6c00d27aeb887bca834f10ffa12"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::document::ascii::read_ascii (cognitive 37): fyrox_impl::resource::fbx::document::ascii::read_ascii has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 6, loops 3 (5 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":"fyrox-impl/src/resource/fbx/document/ascii.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4137f19207953659d4a32382472f9909a1638f766f47b8d757633cd80557f06f"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPanel::handle_ui_message (cognitive 36): AudioPanel::handle_ui_message has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 2 (8 pts), loops 2 (6 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":"editor/src/audio/mod.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a3806c5b5565f912642776d221b5184d321b1d993aab24192bc1269814cb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNavmeshMode::on_mouse_move (cognitive 36): EditNavmeshMode::on_mouse_move has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (10 pts), match/switch 1 (4 pts), boolean chains 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":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4f477c9c35c3dab30daf00b29c6c1444e6f1443db49c1d29f75143f8ecc321"}},{"ruleId":"D2","level":"warning","message":{"text":"GlShader::new (cognitive 36): GlShader::new has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 4 (7 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/program.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f23378d3c5916bf6c199c971a56af2ba6657b6e0b9d3a1f415977a97bd31e09"}},{"ruleId":"D2","level":"warning","message":{"text":"WgpuTexture::upload (cognitive 36): WgpuTexture::upload has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (29 pts), loops 2 (5 pts), match/switch 1 (2 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":"fyrox-graphics-wgpu/src/texture.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ebfac120efefa540e4008e6040571607b16dd09ed5d5975571f8fb52e5966"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSetPropertyOptionValue::intersect (cognitive 36): TileSetPropertyOptionValue::intersect has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (32 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/property.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"541a84a5a6dc7269726ce1405fb808eba4f3b68ee9ca8ec21cddc79dc9f480cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptPropertyEditor::preview_message (cognitive 35): ScriptPropertyEditor::preview_message has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (29 pts), match/switch 1 (6 pts) (nesting depth added 25). 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":"editor/src/plugins/inspector/editors/script.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aa5952726ecf936a36cf8d0dc282c4ea504ac895292dddb8253a9edfa537fb"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderDataBundle::render_to_frame_buffer (cognitive 35): RenderDataBundle::render_to_frame_buffer has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 5 (13 pts), loops 3 (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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3ad815c3c25c14f4170480471ce258588addbb9349860aadfd7a5f54e6ebb2"}},{"ruleId":"D2","level":"warning","message":{"text":"LightmapInputData::from_scene (cognitive 35): LightmapInputData::from_scene has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 4 (6 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":"fyrox-impl/src/utils/lightmap.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8edd0b533b6a1780c8da146247596333819c70e48ce0ea8d53b849359849c"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar::handle_ui_message (cognitive 34): Toolbar::handle_ui_message has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25 (34 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d423de614d9a8f228bd2c52ac05fe815552db748e63abba2e9fad8a00bc997"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorPlugin::on_ui_message (cognitive 34): InspectorPlugin::on_ui_message has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 3 (11 pts), boolean chains 2 (nesting depth added 19). Of this number, 33 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":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3c6d0b0a3f477583db0aa351981a60c4c83a4cd38db46341839aea97e0628"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapEditorPlugin::on_message (cognitive 34): TileMapEditorPlugin::on_message has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (33 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":"editor/src/plugins/tilemap/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37165cc82579b70ff9aedf457dcfc82ea802feacb64b46f22431d0e10884784"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesTab::handle_ui_message (cognitive 34): PropertiesTab::handle_ui_message has cognitive complexity 34 (threshold 15). Drivers by points: if/else 27 (34 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c566122976432489d76ccba5255955083639fc56f5533612afe214bd12d92b"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineLayer::collect_active_animations_events (cognitive 34): MachineLayer::collect_active_animations_events has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 1 (4 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":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e73225dd4b36b637651c4a908b9b1066fc5c34afe57e918dc3b5bf3e90b27bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::set_lightmap (cognitive 34): Graph::set_lightmap has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 4 (12 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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"136275b494fd549d96fd7addf799fb3f0a150ece9c9fac62bf43bcf4519122ab"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::update_tooltips (cognitive 34): UserInterface::update_tooltips has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 2 (4 pts) (nesting depth added 20). 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118af14c8ef0cffd168c58760b53bae64d3c571b80a6b1bd351b9961b7608e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectManager::handle_modes (cognitive 34): ProjectManager::handle_modes has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (29 pts), match/switch 2 (5 pts) (nesting depth added 20). 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":"project-manager/src/manager.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3e5be2e0faf9c29a846e57e361ecac3f80c4b51fd50f72ad59f525164419fb"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::handle_routed_message (cognitive 33): PaletteWidget::handle_routed_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (28 pts), match/switch 1 (3 pts), boolean chains 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77ef21522bbdf59998227c345fb7c4c88be54c82c8b04aa46e297691bb3767c"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSetEditor::handle_ui_message (cognitive 33): TileSetEditor::handle_ui_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (30 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":"editor/src/plugins/tilemap/tileset.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a67b4da5cf1418b19a555010ebfa4dc56d5c79cf4253d0c30f82950edffa18"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSet::rebuild_animations (cognitive 33): TileSet::rebuild_animations has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (9 pts), match/switch 1 (3 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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf619bcbc59d658e2ee1db67e86b0c09b002c90cb08fd9d42cfb8ddb1dee3bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"SaturationBrightnessField::handle_routed_message (cognitive 33): SaturationBrightnessField::handle_routed_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 2 (8 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c1dfc2ed2e48a9bf8c30495d0b12bdceb0c8f6fc24c54e6e3994d8fd1b8c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu::handle_routed_message (cognitive 33): Menu::handle_routed_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 1 (4 pts), match/switch 1 (2 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba8256727691aa8480f84d5609399f97f5bd928b41a534b9e01a132a7db3259"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshControlPanel::handle_ui_message (cognitive 32): MeshControlPanel::handle_ui_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 5 (15 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":"editor/src/mesh.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8705085879135be4636a7026a1ae6c944b485c3bdbe8616695167f26c99a93"}},{"ruleId":"D2","level":"warning","message":{"text":"WfcMacro::on_instance_ui_message (cognitive 32): WfcMacro::on_instance_ui_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 2 (5 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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a976042f2a7ea896103cad3bfb794283bdea4458c9c0aa11feb562776a76c5"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::scene::property::object_to_property_tree (cognitive 32): fyroxed_base::scene::property::object_to_property_tree has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (8 pts), match/switch 2 (5 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":"editor/src/scene/property.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"30219b9b48bfbcf34c4bbafc01f16adfd62aedf7ab687707f6c1023937e67770"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPreviewPanel::handle_ui_message (cognitive 31): AudioPreviewPanel::handle_ui_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 2 (6 pts) (nesting depth added 17). 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":"editor/src/audio/preview.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc264e46a6852153092b65f437d0a1d3fe9f5461c290458fa7af8fc4806f159"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::handle_ui_message (cognitive 31): Editor::handle_ui_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (29 pts), 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":"editor/src/lib.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297fb7063b53e46c1dc394dcdbba281c929d414df47a3fd374fd9378f0cc102"}},{"ruleId":"D2","level":"warning","message":{"text":"HandlePropertyEditor::handle_routed_message (cognitive 31): HandlePropertyEditor::handle_routed_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (29 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/handle.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e50ca7e47a7b98dbbc13199b413268c5816798753a3564130abcbe5fe09e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Chunk::set_height_map (cognitive 31): Chunk::set_height_map has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 1 (5 pts), boolean chains 1 (nesting depth added 19). 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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0778b614c897cc93c8f9f0fb199c2bf4c92b35eaba8f7ba2c4b465cc6bbd62"}},{"ruleId":"D2","level":"warning","message":{"text":"FormattedText::measure (cognitive 31): FormattedText::measure has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 4 (8 pts), match/switch 2 (3 pts), boolean chains 2 (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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed21ec4eb543420c2e4d567a447125ac106ca111067f6b036476ddc8855322c"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorContext::from_object (cognitive 31): InspectorContext::from_object has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 2 (7 pts), loops 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e351fb743077bde5c841f8b809c52346619187e3c4b6528c377106808fc074"}},{"ruleId":"D2","level":"warning","message":{"text":"TerrainInteractionMode::on_left_mouse_button_down (cognitive 30): TerrainInteractionMode::on_left_mouse_button_down has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 1 (nesting depth added 18). 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":"editor/src/interaction/terrain.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"94657b827021ab4238fa4cfe17d10b512f0789fe27c5f0e048b047828456c4f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialEditor::handle_ui_message (cognitive 30): MaterialEditor::handle_ui_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (4 pts), boolean chains 2, 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":"editor/src/plugins/material/mod.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2da43adcc7d13696f4ea20101c6b592d6e73c2818548868fcb290f1a09cb1a"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneItem::handle_routed_message (cognitive 30): SceneItem::handle_routed_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 2 (5 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":"editor/src/world/item.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbb998a9b4aea84cac0517c7a31c54c7c88a16b184dff5ec8ea3103fcb77b74"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldViewer::handle_ui_message (cognitive 30): WorldViewer::handle_ui_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (28 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":"editor/src/world/mod.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a15a0aa585cbe4705fca849e3c7033b16410f96a8cc428e53517cd985fab4c"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeHandleMap::remap_inheritable_handles_internal (cognitive 30): NodeHandleMap::remap_inheritable_handles_internal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 3 (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":"fyrox-graph/src/lib.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a55b69a88522ea9843e880ac5357c9ed73beb19b2f83f3d739cfadefd8d4df6"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::handle_os_events (cognitive 30): Engine::handle_os_events has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (17 pts), match/switch 5 (11 pts), loops 1 (2 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbbd81343fee643ec8c22b8fd1b80b4d361d993db07d070cc09b30f919be845"}},{"ruleId":"D2","level":"warning","message":{"text":"Mesh::accurate_world_bounding_box (cognitive 30): Mesh::accurate_world_bounding_box has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 4 (11 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":"fyrox-impl/src/scene/mesh/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68ad0386517dbba5d5a1828e78e0155d76b2ef9edaeb2696c3b8c0dafab3889"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckBox::handle_routed_message (cognitive 30): CheckBox::handle_routed_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 5, match/switch 2 (5 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":"fyrox-ui/src/check_box.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0c6fe5f3275831bc1d29b1a8d123332ef541a352985078ec2150c43b45aac8"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendSpaceEditor::handle_ui_message (cognitive 29): BlendSpaceEditor::handle_ui_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (22 pts), match/switch 1 (6 pts), boolean chains 1 (nesting depth added 21). 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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1c856a4fac1889e8daf0afa7675d4a4d569ed778cb72caa3af41e740a924d2"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapInteractionMode::on_left_mouse_button_down (cognitive 29): TileMapInteractionMode::on_left_mouse_button_down has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (4 pts), 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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66dcc5c818bdd96241bd42ba8fbd9b1e790d03493a12168452e600f5808fcd2"}},{"ruleId":"D2","level":"warning","message":{"text":"GlGraphicsServer::new (cognitive 29): GlGraphicsServer::new has cognitive complexity 29 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f863bc4c74a947ebf6c9eb9fcf8066d6e04602947b4b7bb3f38cab1d725637"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_rigid_body_node (cognitive 29): PhysicsWorld::sync_to_rigid_body_node has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (5 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 17). 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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8b0c1cede09602fc169c3b8c0a23c108758e82c064dafc311f4cdc0879212f"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::apply_lightmap (cognitive 29): Graph::apply_lightmap has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 5 (14 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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c386c4c6f3ce3a02c0e11b64d9a45a47b6f9a98eac03e91063a166282bb38d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::process_node_messages (cognitive 29): Graph::process_node_messages has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 15). Of this number, 24 points are the body\u0027s own statements and 5 belong 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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bff7ccd23a74bdac9c3ebd5e838f8f0a09e49f69b8574306c00061555e486cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SkyBox::validate (cognitive 29): SkyBox::validate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (27 pts), boolean chains 1, loops 1 (nesting depth added 19). 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":"fyrox-impl/src/scene/skybox.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed966ce52e210069d18f09f76f95b2099456956724c1c35dbad3c2ea3d7c0a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Terrain::collect_render_data (cognitive 29): Terrain::collect_render_data has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (12 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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a6e83532467868eee538b7f54d9f3d548f05a91f58ecbe30ca269aea142195"}},{"ruleId":"D2","level":"warning","message":{"text":"Ray::cylinder_intersection (cognitive 29): Ray::cylinder_intersection has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 2 (7 pts), loops 2 (6 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":"fyrox-math/src/ray.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e30e538da7096a9307c5c05dfbf8ca46fa40dc56d348861129d020e45ce5db"}},{"ruleId":"D2","level":"warning","message":{"text":"AlphaBar::handle_routed_message (cognitive 29): AlphaBar::handle_routed_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 2 (8 pts), boolean chains 1 (nesting depth added 19). 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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"94814ed6ca3ccedd458e3ab854fda39898a9d358ec3a0fb61dc1f2af50126915"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItem::preview_message (cognitive 29): MenuItem::preview_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 1 (3 pts) (nesting depth added 19). 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea997b9e289e714a2557afebfc863a2f2b1130da8a5d79cd99017262772a7bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPanel::sync_to_model (cognitive 28): AudioPanel::sync_to_model has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (7 pts), match/switch 2, 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":"editor/src/audio/mod.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de65834accd6c5c3830df8f050ac501f07480345b7844867cfe2e850ef1a577"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsWindow::handle_ui_message (cognitive 28): SettingsWindow::handle_ui_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (28 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":"editor/src/plugins/settings.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27e58dc4ad094751946f6d035520c0208cc22ea4d8de0ac618541661a4c160"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroInspector::handle_ui_message (cognitive 28): MacroInspector::handle_ui_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/macro_inspector.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6893114486c24ec55a467a2f7e88c66a02eaf4ec8739b303d33ee37da2ddf"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScene::update (cognitive 28): GameScene::update has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (5 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 3 belong 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":"editor/src/scene/mod.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a327c7bded4b4b5fb6be41ead8546ee6bfd09bc6dc79279ebaf00b9ed712740"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeHandleMap::remap_handles_any (cognitive 28): NodeHandleMap::remap_handles_any has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 3 (5 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"50565e2659108eee20e0afc1b0e6785d6e5535bed908e7caf395117631cac1ea"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::document::binary::read_binary_node (cognitive 28): fyrox_impl::resource::fbx::document::binary::read_binary_node has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/document/binary.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a4455ca9d40686b009329e778350e50e9533a15c6011f5da836bc710eb75c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorGradientEditor::preview_message (cognitive 28): ColorGradientEditor::preview_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3, loops 1 (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":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc871e221023e4d3177f7b4f7a6fae89bfd53721b4642105dfaebd127103a7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"HueBar::handle_routed_message (cognitive 28): HueBar::handle_routed_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 2 (8 pts) (nesting depth added 19). 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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a76611eb926267c00989c5c293fc796b3e41cdda8bc400b066e5346d5bdc0b"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetBrowser::refresh (cognitive 27): AssetBrowser::refresh 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":"editor/src/asset/mod.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76688fa78be80ac6c809debb86767bab793c7b6dd66cc8bd4b68dd206b9bc8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::run (cognitive 27): Editor::run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 2 (3 pts), boolean chains 2 (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":"editor/src/lib.rs"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdded77bf7ea1ac6dd0cbaec4deab5b3594de4793aa7789b25da09cd99d3d186"}},{"ruleId":"D2","level":"warning","message":{"text":"LightPanel::handle_ui_message (cognitive 27): LightPanel::handle_ui_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 1 (4 pts) (nesting depth added 16). 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":"editor/src/light.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"245e383b28856ae4a75f80c7ab0cc3c19b26f6d75fee02da68522656b7327819"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceField::handle_routed_message (cognitive 27): ResourceField::handle_routed_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). 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":"editor/src/plugins/inspector/editors/resource.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e9ed2ae14ebf2dc9b64ca5cb1886d7b6054979eb89b4c84b8c058a84b79650"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroPropertyValueField::on_ui_message (cognitive 27): MacroPropertyValueField::on_ui_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, 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":"editor/src/plugins/tilemap/brush_macro.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"375de3d10eca25990532eec5c142e5c82042f2e79cc157f39942e478cfbecd7c"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::sync_to_state (cognitive 27): PaletteWidget::sync_to_state has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 2 (3 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cc86da48bc8f0bc7581a6a99818641b35773515c83421b92407ec6dd4d6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"FsTree::new (cognitive 27): FsTree::new has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/fs_tree.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7140b3b0ba779e47c4a466d92f7d51850d2eaf2696edc30f9e15fba7c38d2bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu::handle_os_event (cognitive 27): Menu::handle_os_event has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 18). 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d4e59e6d2dbe2afe451076a3bf29fb552d52b4704d7495ca982003b5c625f"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraController::update (cognitive 26): CameraController::update has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (24 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":"editor/src/camera/mod.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa937f27fe401de4124df1c8341ebc5e76fb0d739591eabf6913538d3339743"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneGraph::restore_original_handles_and_inherit_properties (cognitive 26): SceneGraph::restore_original_handles_and_inherit_properties has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 17). 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffccf30c1360d06936bc71310c90aa4987ca96a0f31e0fa566d084b3eb99b8"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_collider_node (cognitive 26): PhysicsWorld::sync_to_collider_node has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (26 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"55adaf84a6b02c813dc3bac375b06be4058969cb63ff4c8f1d3dbcab7fbab868"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_collider_node (cognitive 26): PhysicsWorld::sync_to_collider_node has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (26 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cf76d0029653a81411dc2e19e2cd0df5b81dcead6783c40bf6f3bef2db6ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_joint_node (cognitive 26): PhysicsWorld::sync_to_joint_node has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (2 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eb0e975f003f8b0540f3a438346094790717f41bdc73561711192cd392d683"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem::tick (cognitive 26): ParticleSystem::tick has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 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":"fyrox-impl/src/scene/particle_system/mod.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01be58b6e58bb079a8439955e406cfcbdbd8d7a704bcd8f3c06df02a3768151"}},{"ruleId":"D2","level":"warning","message":{"text":"BehaviorTree::tick_recursive (cognitive 26): BehaviorTree::tick_recursive has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 4 (7 pts), loops 2 (6 pts) (nesting depth added 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. 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":"fyrox-impl/src/utils/behavior/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33e11db08359cdfbca9c9883145c15891b9326ba755f64def8dee5f082d4cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::renderer::bundle::write_with_material (cognitive 26): fyrox_impl::renderer::bundle::write_with_material has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4408da1e61d55624840be6554200dba167669beb14f24c82df3d867be5a83eb"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_ui::menu::keyboard_navigation (cognitive 26): fyrox_ui::menu::keyboard_navigation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/menu.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a7e4c0bfb5a789144a2568765f8dd8a6b2e61a1ecaf6ee13d953f69aac400a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystemPreviewControlPanel::handle_ui_message (cognitive 25): ParticleSystemPreviewControlPanel::handle_ui_message has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), 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":"editor/src/particle.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05f7f218473af42a75be5753fffdd72a3bfda6b36de6dadaff27ce3b84b8c18"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsmNode::handle_routed_message (cognitive 25): AbsmNode::handle_routed_message has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (6 pts), match/switch 1 (2 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":"editor/src/plugins/absm/node.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7979a66d1f98a5b4d0e30a7e1377d6bb8086d6cf1a41d9f21bdd41a45641397"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendSpace::collect_animation_events (cognitive 25): BlendSpace::collect_animation_events has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (5 pts), match/switch 1 (4 pts) (nesting depth added 18). 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":"fyrox-animation/src/machine/node/blendspace.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8766a415e494e9f12deff82d372f9beb8f0d63a65eb36ff67c6d68a64f7afc"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeWrapper::revert_inheritable_property (cognitive 25): NodeWrapper::revert_inheritable_property has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 3 (8 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf90bb5733dd1cfbdb348ee380cf72e0be3cf7cfdd51d905e7a0175b1af82ea"}},{"ruleId":"D2","level":"warning","message":{"text":"WgpuFrameBuffer::get_or_create_pipeline (cognitive 25): WgpuFrameBuffer::get_or_create_pipeline has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17, match/switch 5, boolean chains 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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7a622d852ec6dec63e663aa9468ce1f38f869567f9473192468abf8f7cc9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"TileDataUpdate::swap_with_data (cognitive 25): TileDataUpdate::swap_with_data has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (6 pts), match/switch 3 (6 pts) (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/update.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ade9d6b5c4477afa069216c3fd1024bc0d419b3fad5d83ecdef4336e14498"}},{"ruleId":"D2","level":"warning","message":{"text":"NavmeshAgent::straighten_path (cognitive 25): NavmeshAgent::straighten_path has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (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":"fyrox-impl/src/utils/navmesh.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74578d411f2c83420c95108f81365ebadf651786c810b00ce8328790572bcef"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::engine::executor::run_normal (cognitive 25): fyrox_impl::engine::executor::run_normal has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (6 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/executor.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eca73830032ad70bd51d2e0ebeb1acdf13acdaa2afa4afd29a43fd29410dc62"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_ui::markdown::markdown_to_visual_tree::traverse_ast_recursively (cognitive 25): fyrox_ui::markdown::markdown_to_visual_tree::traverse_ast_recursively has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (9 pts), match/switch 2 (3 pts) (nesting depth added 15). 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":"fyrox-ui/src/markdown.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c84e89e8564a06c6791a852017be8e2e207e6f320d4ec4ef045f9d2698199"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceCreator::handle_ui_message (cognitive 24): ResourceCreator::handle_ui_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 13). 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":"editor/src/asset/creator.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80bfff0b96abd018a4394b080b9772979346d8b1e5ae8b5742b25acb904fba"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetItem::open (cognitive 24): AssetItem::open has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 2 (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":"editor/src/asset/item.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea10ed5e3f2d64506361616df8e2216cb4d84674a7b319d4e561b09baec7aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundPreview::generate_preview (cognitive 24): SoundPreview::generate_preview has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (13 pts), if/else 4 (11 pts) (nesting depth added 16). 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":"editor/src/asset/preview/mod.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50c1bfd90b37e3b18da60bbbb9a7534f5ea4cac3f2c55645ea22041e56f0150"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsmCanvas::sync_transitions_ends (cognitive 24): AbsmCanvas::sync_transitions_ends has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 4, loops 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":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c376a9ec8416e0539fed80c547ba65ccb047333f5f7909b9e17a289da5a7404"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeContextMenu::handle_ui_message (cognitive 24): NodeContextMenu::handle_ui_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 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":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d639717b8f773bc7492bd6d9587fb88c71b670292caf00b3f066ee8316172775"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::camera::precise_ray_test (cognitive 24): fyroxed_base::camera::precise_ray_test has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (18 pts), loops 3 (6 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":"editor/src/camera/mod.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f17dbaf855554be0ff0ba1065b2e9eba5f12f85dbc0cea36235c722e0b6793a"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPassContainer::run_pass (cognitive 24): RenderPassContainer::run_pass has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/cache/shader.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6e31bc4dacc329f5a5e1c188eabe35564788d665853e548a1e34169e71212d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationSource::retarget_animations_directly (cognitive 24): AnimationSource::retarget_animations_directly has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (8 pts), match/switch 1 (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":"fyrox-impl/src/resource/model/mod.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6056f7a9e45fe6ec78b44a4271e7848b4e2aaddab6eae083b06f9364471034"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_joint_node (cognitive 24): PhysicsWorld::sync_to_joint_node has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a62cb7addcac80870ae7b2eac9594106ebf9a24b1bc908b6bd38a8afa5f6a8"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert_model (cognitive 24): fyrox_impl::resource::fbx::convert_model has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (39 pts), loops 3 (10 pts), match/switch 1 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (fyrox_impl::resource::fbx::convert_model::fill_track) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7b47a6255b903f1cd719e194c2f472501bb518547d412b96fe28039980c622"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorPoint::handle_routed_message (cognitive 24): ColorPoint::handle_routed_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (8 pts) (nesting depth added 16). 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":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc5a6315e0fe51b040d2c958a8233fe29f3bcf6eca8a6db4b6d017f42dbdfec"}},{"ruleId":"D2","level":"warning","message":{"text":"Tile::measure_override (cognitive 24): Tile::measure_override has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (5 pts), match/switch 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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0b489e57c07746651cd342d1b2a364ed189fae38234f825949fac729fe08d"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorContext::sync (cognitive 24): InspectorContext::sync has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 1 (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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"26df18905e483287af2703c6eb74e46b804cc3008d30f5566081ae2f679b884a"}},{"ruleId":"D2","level":"warning","message":{"text":"SpriteSheetFramesEditorWindow::handle_routed_message (cognitive 23): SpriteSheetFramesEditorWindow::handle_routed_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (22 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":"editor/src/plugins/inspector/editors/spritesheet/window.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5674b02c2f15186785593a07f8b59f8c369b199704dd0414dcca22d3d50e4fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapPanel::handle_ui_message (cognitive 23): TileMapPanel::handle_ui_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 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":"editor/src/plugins/tilemap/panel.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"5205c89f42e95dff04498bddb9bff0806418f38ab0c5021d7032169f46d7818e"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScene::on_drop (cognitive 23): GameScene::on_drop has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (23 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/mod.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeeb41158e6b6a2e4673d417482a2667e952eacdb700ae01ba1ae972ed0cb87"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneState::try_create_from_plugin (cognitive 23): SceneState::try_create_from_plugin has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (4 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":"fyrox-impl/src/engine/hotreload.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb9cb50a675b697f654e6bf7ce034212ce53e6ee233682972e2ba32d4ed435c"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::scene::graph::physics::make_heightfield (cognitive 23): fyrox_impl::scene::graph::physics::make_heightfield has cognitive complexity 23 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 4 (8 pts) (nesting depth added 13). 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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2ad8c1fff4888069610356a2dfbd8074e63043913f7d24812892015bfa2496"}},{"ruleId":"D2","level":"warning","message":{"text":"BitField::draw (cognitive 23): BitField::draw has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 5, boolean chains 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":"fyrox-ui/src/bit.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2805c9eb141b55856884c37f456a3e500586e0bf86752f14e2174a339e4ded"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::handle_layout_events (cognitive 23): UserInterface::handle_layout_events has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). Of this number, 16 points are the body\u0027s own statements and 7 belong 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedbaa0a3e0e234ecb01571f4bd275fab05d0465901e2251331791b27c8c9a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeEditor::handle_routed_message (cognitive 23): RangeEditor::handle_routed_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2 (nesting depth added 11). 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":"fyrox-ui/src/range.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43b4b14dc623bd154f5920d904d8334ca27cbad5338c8e37566e961c1b99cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"TextBox::move_caret (cognitive 23): TextBox::move_caret has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (22 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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"c264b3ea4465fc0264b1e12d872d11716daa168d932541b1df74623a45d03c08"}},{"ruleId":"D2","level":"warning","message":{"text":"TextBox::draw (cognitive 23): TextBox::draw has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/text_box.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6842f4e4bddbf1c730db6c395f3a1a070eb71a82fa33e70da7890b7a3ec8cd"}},{"ruleId":"D2","level":"warning","message":{"text":"VecEditor::handle_routed_message (cognitive 23): VecEditor::handle_routed_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 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":"fyrox-ui/src/vec.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d185a1c0fb3cbc7801620c9407021369c7472fe2ac01ccb959c7888cced81da"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_ui::file_browser::fs_tree::find_tree_item (cognitive 23): fyrox_ui::file_browser::fs_tree::find_tree_item has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/fs_tree.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"255c3bd6111e571aab9f689846a59763f88c510ccf14bf5fddf315e00d9df0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNavmeshMode::update (cognitive 22): EditNavmeshMode::update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (8 pts), match/switch 1 (4 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":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ce8b451df0e21a190165ce3b78631d51274ec117bfe7a8ee49548c876d63e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TerrainInteractionMode::on_mouse_move (cognitive 22): TerrainInteractionMode::on_mouse_move has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (5 pts) (nesting depth added 14). 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":"editor/src/interaction/terrain.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa742e82b3bff85506b0ff14691cd6a26099bfd757c25e074f834bae05eae66"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoTiler::is_pattern_legal (cognitive 22): AutoTiler::is_pattern_legal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, loops 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":"fyrox-autotile/src/auto.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8112a6da59c08057ba8200fd5c12093262a352c717ebf363021948b2c98c9f24"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphTraverseIteratorRef::next (cognitive 22): GraphTraverseIteratorRef::next has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 1 (4 pts), match/switch 2 (3 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (GraphTraverseIteratorMut::next) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"65470a4d11e741a48db5eb5470d2bf5408dc96cb0d5e9d3a89cf0dea2000cd3d"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphTraverseIteratorMut::next (cognitive 22): GraphTraverseIteratorMut::next has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 1 (4 pts), match/switch 2 (3 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (GraphTraverseIteratorRef::next) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ab9e0341e4699c740f9c1ac270f2900f02d5208f40e17dfb7e70f9917f0ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"GlFrameBuffer::clear (cognitive 22): GlFrameBuffer::clear has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (8 pts), 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":"fyrox-graphics-gl/src/framebuffer.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3144901524f7ed6e30a486f96529459fe0f29a34e83803c1343b4ffc4c211ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorGradingLut::new (cognitive 22): ColorGradingLut::new has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (9 pts), boolean chains 1, match/switch 1 (nesting depth added 11). 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":"fyrox-impl/src/scene/camera.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"4203678424d05ea4143f5e58a9ecd3ee57ec02a286e862367f444648fad93a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::build_indexed_path (cognitive 22): Graph::build_indexed_path has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 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":"fyrox-impl/src/utils/astar.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb6db5cfaab0a76be8b9650cae781d4e1aa561a3bf7730ea05981b68810b8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"Navmesh::query_closest_internal (cognitive 22): Navmesh::query_closest_internal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (5 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":"fyrox-impl/src/utils/navmesh.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdc368f2c49f33231d3dad02161c77ff17818ffb085ccbbf896aadf5e42e52a"}},{"ruleId":"D2","level":"warning","message":{"text":"UpgradeTool::handle_ui_message (cognitive 22): UpgradeTool::handle_ui_message has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (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":"project-manager/src/upgrade.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411a5fcab22827cbbdc41469e98a82546c8fe27272c2f2ec10cfb35649f2e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPreviewPanel::enter_preview_mode (cognitive 21): AudioPreviewPanel::enter_preview_mode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/preview.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7343846327ef8ed78f8be4a92bee1d6c0e04687c64646326d3753973dcb70e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandStack::do_command (cognitive 21): CommandStack::do_command has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 11). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"editor/src/command/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a14aa7e899e2ec43bd3a45aa064e1a63a3a3e8212781bb094f8d4b2f82dcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"StateViewer::handle_ui_message (cognitive 21): StateViewer::handle_ui_message has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (9 pts), boolean chains 1 (nesting depth added 14). 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":"editor/src/plugins/absm/state_viewer/mod.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ab655cc81e32312b7aafa55df9a33ed7ba78399a1182329c0338c229c6976f"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendAnimationsByIndex::eval_pose (cognitive 21): BlendAnimationsByIndex::eval_pose has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (21 pts) (nesting depth added 13). 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":"fyrox-animation/src/machine/node/blend.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"491602652ac980443601963e3f8f609e912a260484cc03623cad1682dc0326b3"}},{"ruleId":"D2","level":"warning","message":{"text":"FbxScene::new (cognitive 21): FbxScene::new has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 4 (8 pts), loops 2, boolean chains 1 (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":"fyrox-impl/src/resource/fbx/scene/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a41b64d35ca2dd0559c24d5676ec3bef6d468ecb029e586c40f965e6ecb8175"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert_model::fill_track (cognitive 21): fyrox_impl::resource::fbx::convert_model::fill_track has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (6 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (fyrox_impl::resource::fbx::convert_model) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b71f97988e889aa6c77f3115883d1a03a4a12e575bfe02046477de31bce4318"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_resource::collect_used_resources (cognitive 21): fyrox_resource::collect_used_resources has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 3 (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":"fyrox-resource/src/lib.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"669854b95414d865ea70d805d1ba44df753b5e6721a1a2c16287bfabe98dcc40"}},{"ruleId":"D2","level":"warning","message":{"text":"Button::handle_routed_message (cognitive 21): Button::handle_routed_message has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (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":"fyrox-ui/src/button.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"479955d3296e9e0e9e80d2853c45b59e9c00ea631e73044efee0fd9c32065497"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::measure_node (cognitive 21): UserInterface::measure_node has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (20 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a83ba30fbe322661551adfcf18f06a79af01455065cd2e507d444661f6d08"}},{"ruleId":"D2","level":"warning","message":{"text":"EditMenu::handle_ui_message (cognitive 20): EditMenu::handle_ui_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (20 pts) (nesting depth added 11). 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":"editor/src/menu/edit.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2353dce72f996041b4d1d01d32b4735ffe91665be15cbfba70e6b1b5f072aa01"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialFieldEditor::handle_routed_message (cognitive 20): MaterialFieldEditor::handle_routed_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 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":"editor/src/plugins/material/editor.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4cf7df6e1c8f05525a5e6e4b995eaf8d8fc17ea660dd2a1103612205286a70"}},{"ruleId":"D2","level":"warning","message":{"text":"TileHandleField::handle_routed_message (cognitive 20): TileHandleField::handle_routed_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 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":"editor/src/plugins/tilemap/handle_field.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cbefa3af19c06d6040280eedcbee190975301326280bda778c7b115b3a721b"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::send_update_tiles (cognitive 20): PaletteWidget::send_update_tiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"6490de91733a077d586597c8d3427e5e93221b4a60e84e1145b122a50411a94f"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneViewer::sync_to_model (cognitive 20): SceneViewer::sync_to_model has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f0b8d7ae00545a3a5567469ff3fe3ad67077d6c56769b1bd027e0a26f9282b"}},{"ruleId":"D2","level":"warning","message":{"text":"UiSelectInteractionMode::on_left_mouse_button_up (cognitive 20): UiSelectInteractionMode::on_left_mouse_button_up has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 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":"editor/src/ui_scene/interaction/mod.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a28c9af7d0f4943ff513aef4398c8d372575cdbe59e3ebfa9e5df0b9d14fa12"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneGraph::remap_handles (cognitive 20): SceneGraph::remap_handles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 3 (5 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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"35beb60718f3ca0b8030efc3ffb375d080654951c0807dfbb5e79d867588a9e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Sprite::collect_render_data (cognitive 20): Sprite::collect_render_data has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, loops 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":"fyrox-impl/src/scene/sprite.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb128a3af25877f11fb9b1e7ee0e9305c976d91e670909594abb45abb575e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMap::collect_render_data (cognitive 20): TileMap::collect_render_data has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 4 (6 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":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a12b70f93b076e8ba11d37a900b76aea727ace5e215acceefc20bf2cf013e53"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::gltf::material::search_for_path (cognitive 20): fyrox_impl::resource::gltf::material::search_for_path has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (5 pts), 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":"fyrox-impl/src/resource/gltf/material.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06a293a435634a7491b6fac404803a00c549d0a6f8e509e7fc22b77ce961d66"}},{"ruleId":"D2","level":"warning","message":{"text":"HashMapPropertyEditorDefinition::create_message (cognitive 20): HashMapPropertyEditorDefinition::create_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), 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":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b16fe6d5151e6c91592706651d024715f1c325822c866b722acd9cf406bc35"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureSliceEditorWindow::handle_routed_message (cognitive 20): TextureSliceEditorWindow::handle_routed_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (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":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"384c75d244a5f65e9562057939c43798774503a0d641898a0a5cc8dfa8cb6050"}},{"ruleId":"D2","level":"warning","message":{"text":"Configurator::handle_ui_message (cognitive 19): Configurator::handle_ui_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 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":"editor/src/configurator.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecab642fc752a837088f151196ae706f0eb25ac5d0219c99815738852d34be1"}},{"ruleId":"D2","level":"warning","message":{"text":"ColliderControlPanel::handle_ui_message (cognitive 19): ColliderControlPanel::handle_ui_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/panel.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2827f44a5f4447c9da6555370574212295194f568664b438ef6c5f91099eb262"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapInteractionMode::on_left_mouse_button_up (cognitive 19): TileMapInteractionMode::on_left_mouse_button_up has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf05836240660320871eef28f3f57c13544d2ca47769e1786323f575375fe52"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroTab::handle_ui_message (cognitive 19): MacroTab::handle_ui_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 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":"editor/src/plugins/tilemap/macro_tab.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96eed9cd89ddbfb5b7402386bf3f2a0adac470fe40010df88e67b76e9fc1b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::draw (cognitive 19): PaletteWidget::draw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f314277d834e75a6dac28a4239f04820b60971672e109e97f09826cd4dc6e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"TileBoundsEditor::handle_routed_message (cognitive 19): TileBoundsEditor::handle_routed_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 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":"editor/src/plugins/tilemap/tile_bounds_editor.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eae254f978a4b855794dce4854e5898685e23bf6c296b0517a6204532ec2f35"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_build_tools::export::export (cognitive 19): fyrox_build_tools::export::export has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (6 pts), loops 2 (3 pts) (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":"fyrox-build-tools/src/export/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"902ca7395b7ef420ed45c0beac87e6b8c7f5089af82a57393317c037bb0f210d"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_graphics_gl::texture::desired_byte_count (cognitive 19): fyrox_graphics_gl::texture::desired_byte_count has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 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":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4db099994d50bdcb6702faae2b4a4f25c678edd656f577fe0fc3d2fba010dab"}},{"ruleId":"D2","level":"warning","message":{"text":"ObserversCollection::from_scene (cognitive 19): ObserversCollection::from_scene has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (5 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":"fyrox-impl/src/renderer/observer.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e09af8efe224a2cb63f500087f5a8a37dbd5752c1db3cbac007a6c83036f33"}},{"ruleId":"D2","level":"warning","message":{"text":"Rectangle::collect_render_data (cognitive 19): Rectangle::collect_render_data has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, loops 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":"fyrox-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"039c8ba2bbe57c4c1e28bb6522a3fa2a2cf93742a703d77711b2abbc2d44d2dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Terrain::resize (cognitive 19): Terrain::resize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (5 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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a53fc13eb4a1d4529f313cd07a3aafc95fa8b6a95419ecbaa5bf94be3d0303"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceRegistry::scan (cognitive 19): ResourceRegistry::scan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 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":"fyrox-resource/src/registry.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"42263c46b714afda7e6204463203dd6c331177a76c1906009eee158f28c9923e"}},{"ruleId":"D2","level":"warning","message":{"text":"DropdownList::handle_routed_message (cognitive 19): DropdownList::handle_routed_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/dropdown_list.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f2a6205a7d34e1b35b74747484f45583b91186c7504ce9295316f78b7153f8"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::update (cognitive 19): UserInterface::update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dcd8cad17032f3cbf857649c6d8b037482e12d89657bcfeeb32748cf0ce29e"}},{"ruleId":"D2","level":"warning","message":{"text":"ListViewBuilder::build (cognitive 19): ListViewBuilder::build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 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":"fyrox-ui/src/list_view.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0577095f8aa17da84e0e43ffcf59107877a91d4699ddf139f827abbb802a3c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TextBox::select_word (cognitive 19): TextBox::select_word has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"93be0d090dd7fd92b5617230c27fccc2b6d488e9b3fd6f7bdfe0f2c8f8fe5409"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraController::pick (cognitive 18): CameraController::pick has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (2 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":"editor/src/camera/mod.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5f10670f524fcbd3dd52d02822f843419034e6e607f51207bc361c9f45be8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportWindow::handle_ui_message (cognitive 18): ExportWindow::handle_ui_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (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":"editor/src/export/mod.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7f9c3251acc1e917de8b3c4380d48d43500ca29950e0aac244e9f83754c0da"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScene::on_drag_over (cognitive 18): GameScene::on_drag_over has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 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":"editor/src/scene/mod.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da12c1cc334b3f8114ca24c30c12f14b325f703a2b0f163a970f2309af67158"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeSelectorWindow::handle_routed_message (cognitive 18): NodeSelectorWindow::handle_routed_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 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":"editor/src/scene/selector.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e8deecf1b8549f6b5fa10cb01bf7411a25748df8f6200778d6325b71f63432"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendSpace::fetch_weights (cognitive 18): BlendSpace::fetch_weights has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (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":"fyrox-animation/src/machine/node/blendspace.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08fd8366a835f3fee1dced8e81f45129fa7a8216d0cf17d3da3d27ae81c6a83"}},{"ruleId":"D2","level":"warning","message":{"text":"WgpuGeometryBuffer::new (cognitive 18): WgpuGeometryBuffer::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 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":"fyrox-graphics-wgpu/src/geometry_buffer.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01c75ba6f6c749242762580abbe5ec022f0979dfcd76734fdbef1236d995360"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_graphics_wgpu::program::create_bind_group_layout_with_formats (cognitive 18): fyrox_graphics_wgpu::program::create_bind_group_layout_with_formats has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 4 (8 pts), loops 1 (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":"fyrox-graphics-wgpu/src/program.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed17e27a19532217b527a0dc7bec48bdbc9ea4c36a8529375fe40ea3ff49d2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginContext::load_scene (cognitive 18): PluginContext::load_scene has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 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":"fyrox-impl/src/plugin/mod.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d864e0c811a778203be259ecaa171dc21d9c993a8f64bc252b6a9aab3afb02d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::update_node (cognitive 18): Graph::update_node has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 1 (nesting depth added 11). 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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"735dc72c3618163f9ebfd9e06b862dfbbd7f449991f5455e0759a326ba04504d"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::scene::link_child_with_parent_component (cognitive 18): fyrox_impl::resource::fbx::scene::link_child_with_parent_component has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/scene/mod.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7184f2b5645a1f148a3d5265f1c1466248f1ae7025d5934f91341835d02a9bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"CurveEditor::preview_message (cognitive 18): CurveEditor::preview_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"43744935390ce53801f8b0820d96da7f3cb48db5b308f5c414d8af8a00b36d11"}},{"ruleId":"D2","level":"warning","message":{"text":"Tile::arrange_override (cognitive 18): Tile::arrange_override has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca46c47c18e4356aad3e695120a4b369f0ac35a072d76570957f7caa2869b08"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionEditor::handle_routed_message (cognitive 18): CollectionEditor::handle_routed_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (8 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":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c0ce3cdf3747bc78fa3baf3f7609b5f6a298c9aba0ae0978f94cc4c0529fe"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::is_node_clipped (cognitive 18): UserInterface::is_node_clipped has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcf1b035eb6c7b8f27f33d38b3ea04569ddc2041c910b6b33b544f1f6232c80"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixEditor::handle_routed_message (cognitive 18): MatrixEditor::handle_routed_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 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":"fyrox-ui/src/matrix.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"108f1851e5db0981fba4e120185acd7fcbac22f15754b7bad7aa3fbfb085b7bf"}},{"ruleId":"D2","level":"warning","message":{"text":"WrapPanel::arrange_override (cognitive 18): WrapPanel::arrange_override has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (6 pts), loops 3 (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":"fyrox-ui/src/wrap_panel.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aaa8b8fb708470cce926c5ebb1a2f08f771b60760c918afc02d8e5e39b8979"}},{"ruleId":"D2","level":"warning","message":{"text":"RotateInteractionMode::on_left_mouse_button_up (cognitive 17): RotateInteractionMode::on_left_mouse_button_up has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6857ce6c15c767aff20efe2d59f1c6554f85db473949526972f8182884bb30"}},{"ruleId":"D2","level":"warning","message":{"text":"ScaleInteractionMode::on_left_mouse_button_up (cognitive 17): ScaleInteractionMode::on_left_mouse_button_up has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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":"editor/src/interaction/scale_mode.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"536bccfe4881440bfc688d7bc71dabd89a2f56f00bda63ad2cbddc507c9931f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TerrainInteractionMode::on_hot_key_pressed (cognitive 17): TerrainInteractionMode::on_hot_key_pressed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/terrain.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c472731a58bb42c6610865d05616692ec583f4d95a0d461b91fab340e64bafd"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureEditor::handle_routed_message (cognitive 17): TextureEditor::handle_routed_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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":"editor/src/plugins/inspector/editors/texture.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d007b3f89ecaadececf5fa197b7156e7640509205b27f4454734010ad462fc40"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapInteractionMode::on_mouse_move (cognitive 17): TileMapInteractionMode::on_mouse_move has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"455e4a09da62faf10906e5df4dd6f1dc275e75b91f511753358cd41f01e84a9f"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::end_tile_drag (cognitive 17): PaletteWidget::end_tile_drag has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3d12ad0c3a6028e0b2e3e8215dd0ef743eb120cebc2331992540b28ef21138"}},{"ruleId":"D2","level":"warning","message":{"text":"TilePropertyEditor::handle_ui_message (cognitive 17): TilePropertyEditor::handle_ui_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 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":"editor/src/plugins/tilemap/tile_prop_editor.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d1d9f2b6300fe1509f436e1af812910e018c6782a97371d818ee766f95a98"}},{"ruleId":"D2","level":"warning","message":{"text":"UiSceneWorldViewerDataProvider::icon_of (cognitive 17): UiSceneWorldViewerDataProvider::icon_of has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. 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":"editor/src/ui_scene/utils.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac60b29363f4a36b66d77591606d200452725c9f0f50778c7a54990f59988e0"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::plugins::tilemap::palette::send_copy_brush_pages (cognitive 17): fyroxed_base::plugins::tilemap::palette::send_copy_brush_pages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c61c6876f1b99c7ce5557589517c642c712eb00cd662c914abe571b48e379c"}},{"ruleId":"D2","level":"warning","message":{"text":"SpriteSheetAnimation::update (cognitive 17): SpriteSheetAnimation::update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/spritesheet/mod.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"46360c6b1e5d1f5aca78e43a21ff6912671fd5c46b18195ec6692ed223cde76a"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_build_tools::export::build_package (cognitive 17): fyrox_build_tools::export::build_package has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (4 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":"fyrox-build-tools/src/export/mod.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e719d975b41fc0b580249c14738718785a933ee9f6da277fdbaaf7eca9955"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_build_tools::export::pc::copy_binaries (cognitive 17): fyrox_build_tools::export::pc::copy_binaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (3 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":"fyrox-build-tools/src/export/pc.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e463e1ce9af3f21ba9e13a9007b1c83cc4a01c3f25f7d2e5a5002ad4e5053c"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_build_tools::export::android::copy_binaries (cognitive 17): fyrox_build_tools::export::android::copy_binaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (3 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":"fyrox-build-tools/src/export/android.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5ee36ee23849bd33dac42314d032c0f049772538d85a2f9018cea5925c0052"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiReader::read_field (cognitive 17): AsciiReader::read_field has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (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":"fyrox-core/src/visitor/reader/ascii.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dab39cbb538768ad74e2f5933c8a692161bb1cfc48b5e9a7cf84f3c4f41a03"}},{"ruleId":"D2","level":"warning","message":{"text":"WgpuShader::new (cognitive 17): WgpuShader::new has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (14 pts), 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":"fyrox-graphics-wgpu/src/program.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5689b05ba7d7e04d89e17d48105422b4191d79a7438de3c7328ae36ad0f601ed"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_graphics_wgpu::framebuffer::create_bind_group (cognitive 17): fyrox_graphics_wgpu::framebuffer::create_bind_group has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 2 (7 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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3364b9cf2e65fb9bab14b9c4b58d2ce02021b86f70520f8c96e49632cf06448"}},{"ruleId":"D2","level":"warning","message":{"text":"OcclusionTester::try_query_visibility_results (cognitive 17): OcclusionTester::try_query_visibility_results has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (8 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":"fyrox-impl/src/renderer/occlusion/mod.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7768e2747c473db2562e726600d0245343b83a924085b9056684edaef27d1f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Terrain::align_chunk_margins (cognitive 17): Terrain::align_chunk_margins has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 4 (8 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Terrain::align_chunk_edges) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0a1b7561044a40a22345e22ebee603e20f128dc3d17264d6763018ec1dc9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Terrain::align_chunk_edges (cognitive 17): Terrain::align_chunk_edges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 4 (8 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Terrain::align_chunk_margins) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4daac7f1cad50cfe38daaf757aab4d9cb9a8f7f5195531efa30b02ce774cc27"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapBrush::palette_render_loop (cognitive 17): TileMapBrush::palette_render_loop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 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":"fyrox-impl/src/scene/tilemap/brush.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee5d5494c3039cb664bb8f24b05934b621e0d174a82ec138139c213360b57b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Ray::box_intersection (cognitive 17): Ray::box_intersection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 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":"fyrox-math/src/ray.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e638484de88bbc06b82d6b0b83f2bc8c2e66eee91eebb1de5b59308f2e1da6d"}},{"ruleId":"D2","level":"warning","message":{"text":"CurveEditor::pick (cognitive 17): CurveEditor::pick has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (14 pts), 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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5b3bc051dc74d4933d7a6b3261fd40e27baf1005ed85ac490555c928101ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ItemContextMenu::preview_message (cognitive 17): ItemContextMenu::preview_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (17 pts) (nesting depth added 9). 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":"fyrox-ui/src/file_browser/menu.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc8d48b9074fbb3829b307974db119a39b28b4e499e0fd21bc5666ef43a137"}},{"ruleId":"D2","level":"warning","message":{"text":"FileBrowser::handle_routed_message (cognitive 17): FileBrowser::handle_routed_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), 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":"fyrox-ui/src/file_browser/mod.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dafd285da9c06ad7847b118999849021648f66ddafb3ed22d7e5cf6512c07d4"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureSliceEditor::on_thumb_dragged (cognitive 17): TextureSliceEditor::on_thumb_dragged has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87be2a08e35c431ab0bfea8b6094244c51ee303aa2610967bf161299432232a"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBox::handle_routed_message (cognitive 17): MessageBox::handle_routed_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (5 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":"fyrox-ui/src/messagebox.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"776063ed6c69c35d88b50a6f27f28ff237d4c6deadc29e2f261960a34d8810c2"}},{"ruleId":"D2","level":"warning","message":{"text":"SetPropertyCommand::swap (cognitive 16): SetPropertyCommand::swap has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 2 (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":"editor/src/command/mod.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4d6722e0e77e0d1aa1436358b8853e72aeb18cf810172f17dd9ea4ed34b3e4"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNavmeshMode::on_left_mouse_button_up (cognitive 16): EditNavmeshMode::on_left_mouse_button_up has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 1 (5 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":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ce6646db41f4da29e43ecf5c43bd5fbdf69d1fb313549309518f7bf0c7431e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNavmeshMode::on_key_down (cognitive 16): EditNavmeshMode::on_key_down has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 1 (4 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":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f9889e242fb8e16c931fc8d6c613d7a0714474a6bb5933d31321b9058ce8f"}},{"ruleId":"D2","level":"warning","message":{"text":"RotateInteractionMode::on_mouse_move (cognitive 16): RotateInteractionMode::on_mouse_move has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"089ad9682f7f2d1bf36b2b03c9e93a755bec353432d2143908532789c3bd67d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::set_play_mode (cognitive 16): Editor::set_play_mode has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 5, match/switch 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9b6f31906aad385611cdb9d040abdaef5276a0f8fbe9113f9f24e2bd474013"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::load_scene (cognitive 16): Editor::load_scene has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 3 (7 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":"editor/src/lib.rs"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d91e852189e6bdd26a3343c575d2c84fcbbe8bd2010d070908e3b26d1900c"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasContextMenu::handle_ui_message (cognitive 16): CanvasContextMenu::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c5e2e6f1fe8b1c22d5a1eb36e99e2aae101af763b2f3f373b9a0843e0457e"}},{"ruleId":"D2","level":"warning","message":{"text":"StateGraphViewer::handle_ui_message (cognitive 16): StateGraphViewer::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (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":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758496a13bf478d33bff74f04c1ea113fae203b694b16ea0407a33af592d104"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackView::handle_routed_message (cognitive 16): TrackView::handle_routed_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (5 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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8890c4cd730305b578bbd3bf5627a0d454271ed830799d96eb605092627b3c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionProbePreviewControlPanel::handle_ui_message (cognitive 16): ReflectionProbePreviewControlPanel::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (4 pts) (nesting depth added 10). 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":"editor/src/plugins/probe.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"611e95a502ebfd6fb4148332b23bb4cfc3c114185c7c295f664951661efcdcb5"}},{"ruleId":"D2","level":"warning","message":{"text":"TileColliderEditor::handle_ui_message (cognitive 16): TileColliderEditor::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/collider_editor.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ae8102498eeab5de5638ba977fd7c5ad4fb00946a92f6129b9f0626e8b42b"}},{"ruleId":"D2","level":"warning","message":{"text":"CollidersTab::handle_ui_message (cognitive 16): CollidersTab::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 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":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d68ea921c8d0c1559aa415576a5d8e76391173f20bd0046422b77a0e5d63df"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::end_page_drag (cognitive 16): PaletteWidget::end_page_drag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3224a5f038e581a11b544fd829244526b7bdabe2f548336f67294c0280122034"}},{"ruleId":"D2","level":"warning","message":{"text":"WfcMacro::create_command (cognitive 16): WfcMacro::create_command has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d38d89e44ad5976d17efda97887d54f354e410a9667a8f4a8a62e622b0dc8a"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeSelector::handle_routed_message (cognitive 16): NodeSelector::handle_routed_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"editor/src/scene/selector.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39fb0aa139638c25aa3d5b195dec590f80b663a398fbf9aa6e4d332da5db867"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::asset::is_path_in_registry (cognitive 16): fyroxed_base::asset::is_path_in_registry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (16 pts) (nesting depth added 10). 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":"editor/src/asset/mod.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5bcfab1e371ec4400c2f41d2bb5d83977bd0beae941fd2ce0858afaa11d95f"}},{"ruleId":"D2","level":"warning","message":{"text":"fyroxed_base::plugins::tilemap::interaction_mode::draw (cognitive 16): fyroxed_base::plugins::tilemap::interaction_mode::draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d77a1e6ee7a02a7784029855b2d4f631c987284ac3f99c375addf1e35821619"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendAnimations::collect_animation_events (cognitive 16): BlendAnimations::collect_animation_events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), 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":"fyrox-animation/src/machine/node/blend.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"711424f012d0409cf07ef89f409a3538ea9a0751d4c74a591de1a046c86d2414"}},{"ruleId":"D2","level":"warning","message":{"text":"PoseNode::collect_animations (cognitive 16): PoseNode::collect_animations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/node/mod.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"998eb84bd7489bc4fd3f36d254f7bd264462b69dc7130ffe3a344b50b60f4bb3"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorGradient::get_color (cognitive 16): ColorGradient::get_color has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 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":"fyrox-core/src/color_gradient.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8d726dd8945b41101fdbcb50388872e0ef6d69a4d943f37d8956448c4b0298"}},{"ruleId":"D2","level":"warning","message":{"text":"InheritableVariable::visit (cognitive 16): InheritableVariable::visit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 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":"fyrox-core/src/variable.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf328e070c7171e8424e89e21760405f01ae8f924cee588ecab7e671ae0703cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::update_plugins (cognitive 16): Engine::update_plugins has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 2 (5 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f3d1f381c5b3652f879bc514ac47e84abde9f9b02ab9b77753f892e89bf4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::post_update_plugins (cognitive 16): Engine::post_update_plugins has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (5 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fc359c2655987b1934021da89705a3e84c590e802943d77658c2818dfc4f62"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexBuffer::new_with_layout (cognitive 16): VertexBuffer::new_with_layout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 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":"fyrox-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbecef62baf85ee939aa570ae9b81fa29e3f37804041e49e516633c4a1d70a55"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendShapesContainer::from_lists (cognitive 16): BlendShapesContainer::from_lists has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf7663f2eed7ea614f0ce01007580117546310d1f2e7838366f020d67ed4564"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSetWfcConstraint::fill_pattern_map (cognitive 16): TileSetWfcConstraint::fill_pattern_map has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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":"fyrox-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2348e99536b7feae37de9d8c1ca3bab0ecb0cbb35263da744fec775cf1e0e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomTileCollider::from_str (cognitive 16): CustomTileCollider::from_str has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 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":"fyrox-impl/src/scene/tilemap/tile_collider.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb16939749b9e6b17e1d3f7ae3a41bc030e1bbe5b506de865009e46bd2798f34"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenIter::next (cognitive 16): TokenIter::next has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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":"fyrox-impl/src/scene/tilemap/tile_collider.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93ee247f61c020a4cd89c01774bd7428b40de204122754b57fca21110563f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"Navmesh::ray_cast (cognitive 16): Navmesh::ray_cast has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/utils/navmesh.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd960e87e1d4b76f6916aa9750332d2c4c4313a65351b80cdac9cc89992128a8"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::scene::graph::physics::make_trimesh (cognitive 16): fyrox_impl::scene::graph::physics::make_trimesh has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"accc09336e5fc17e3b686f19b56cd3e9c6b3a2e4bbe97635d9c9ace6436edd2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceManagerState::try_move_folder (cognitive 16): ResourceManagerState::try_move_folder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-resource/src/manager.rs"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaa6e75ef8ab22565451306c1f9ecfb2b1634d5671dd29c24c06e59c9514391"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundSource::set_buffer (cognitive 16): SoundSource::set_buffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 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":"fyrox-sound/src/source.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71bc0578626ad95f28458ddcacad80fc73b53b994bec7274203e2d74fd4bf2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundSource::render_until_block_end_resample (cognitive 16): SoundSource::render_until_block_end_resample has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 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":"fyrox-sound/src/source.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"855fbde103da9fc0006b12d86f0423a434884411d8cd6c90d985e3f48b9aad76"}},{"ruleId":"D2","level":"warning","message":{"text":"Image::measure_override (cognitive 16): Image::measure_override has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (16 pts) (nesting depth added 10). 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":"fyrox-ui/src/image.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303b6107925cdcb8de40a6ff0223940ec9cf45dc5486ab2d37bc52bb927d62f"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector::preview_message (cognitive 16): Inspector::preview_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 1 (nesting depth added 10). 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3d0af40ae15f1dba8c4839bcd97a635791b4950d5dbf6ee0fd111fa214fa4d"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::draw (cognitive 16): UserInterface::draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 2 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 4 belong 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bc05893e8a2dbabfd949160bde1123e7e052e73c19ca53a52427bc8b9dd4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::arrange_node (cognitive 16): UserInterface::arrange_node has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b35f1507ad2afffd5fd3383e532eb933fbc0ed974572c76518ce63439c4bd"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItem::handle_os_event (cognitive 16): MenuItem::handle_os_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 1 (nesting depth added 10). 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c32d1d7b56094e23f0e72cf2948768f018ea71a4b6f30fc59bfabd3809a0d15"}},{"ruleId":"D2","level":"warning","message":{"text":"Popup::handle_os_event (cognitive 16): Popup::handle_os_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2 (nesting depth added 8). 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":"fyrox-ui/src/popup.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bfcdbd6dfe574b8fb57f834e3c7299446dc1552545517dedfa5284d10d6801"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeferredLightRenderer.render: MethodTooLong \u2014 render runs 616 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 516 over it, 6.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":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e754d8ffb8e5b8c4a34b65d01e3bcc94a48683ef9077c28c627637877e2f30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 2393 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 74% of them inside a single declaration: UserInterface (12 blocks, 736-4038). The bar is 500 significant lines; this is 1893 over it, 4.79\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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa0e931bc1f8924b90adb3f6d4c41a3ca66a66d5df48f211876be78d291b6e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UserInterface: ClassTooLong \u2014 1762 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), 95 methods, 12 blocks, lines 736-4038. The bar is 400 significant lines; this is 1362 over it, 4.41\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":"fyrox-ui/src/lib.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6bf08da4bda80f16b4b15c6d0d9107929f290c79ceaeb92f764d51f69d7d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RagdollPreset.create_and_send_command: MethodTooLong \u2014 create_and_send_command runs 415 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 315 over it, 4.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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4223fdb2ef48b6f814e50261686a274c0c93f863d537f98cedbb627ce2537299"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProjectManager.new: MethodTooLong \u2014 new runs 389 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 289 over it, 3.89\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":"project-manager/src/manager.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8eab5413251b01b911ad185866fb3067daf521f7b615504016f45ffbb4240d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyroxed_base::plugins::inspector::editors::make_property_editors_container: FunctionTooLong \u2014 fyroxed_base::plugins::inspector::editors::make_property_editors_container runs 385 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 285 over it, 3.85\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":"editor/src/plugins/inspector/editors/mod.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af70df16f18e0204f96d0cbaf2a12412650f201826c12ad63dd787f757824a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Widget: TooManyMethods \u2014 110 methods. The bar is 30 methods; this is 80 over it, 3.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":"fyrox-ui/src/widget.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f090378ec9a8fb7cb63d8977104ed3a8726b0fb68252f1315e2b884537de8f62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/mod.rs: FileTooLong \u2014 1791 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 1291 over it, 3.58\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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf12e2122c03cf3a49c3bf98ee8c2bb8ef56c22d930a842687a2aabd7f87024"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: terrain/mod.rs: FileTooLong \u2014 1630 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 1130 over it, 3.26\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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f52d7961b4112ff0325ff719a61ecf36e2721d60dd28f61fadbc4a525ba42cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserInterface: TooManyMethods \u2014 95 methods. The bar is 30 methods; this is 65 over it, 3.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"848f699d8e96c3d6053bea0c80e7e3dae9e5a47212ac1fd56067699453b3c558"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/palette.rs: FileTooLong \u2014 1582 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 66% of them inside a single declaration: PaletteWidget (4 blocks, 173-1977). The bar is 500 significant lines; this is 1082 over it, 3.16\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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e894ee20ab259fc50d19e02756a0184782b68ac21985c395a8d8550c6eec9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CurveEditor.handle_routed_message: MethodTooLong \u2014 handle_routed_message runs 305 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 205 over it, 3.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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dec732a869512a661cca5e98e3a535a389106f87f17c1f2df5c5f3d5ddfb47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserInterface.process_os_event: MethodTooLong \u2014 process_os_event runs 286 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 186 over it, 2.86\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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"429a0ee690bcfdb81d142e4f9e2c15d02ea0933b19997cbab2276ced0d52f873"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextBox.handle_routed_message: MethodTooLong \u2014 handle_routed_message runs 282 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 182 over it, 2.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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e5f38b35d3bb03af8d7f2018560316307d810073c2f34554876c73c4d82b8f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Graph: ClassTooLong \u2014 1106 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), 73 methods, 10 blocks, lines 130-2201. The bar is 400 significant lines; this is 706 over it, 2.77\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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3fe9427dcab0e5829c1ace84148acbdb00d793db3fe0f96e170a712bccb174"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: curve/mod.rs: FileTooLong \u2014 1336 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 60% of them inside a single declaration: CurveEditor (4 blocks, 426-1731). The bar is 500 significant lines; this is 836 over it, 2.67\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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc3a79b39c352ae1606173605847877169fb512c0046a292f0b45f2744b8245"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Toolbar.new: MethodTooLong \u2014 new runs 265 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 165 over it, 2.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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c727301c4df1e2db5fb4af15659962639c8050fcea1ae2905bb15c796c9de5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Window.handle_routed_message: MethodTooLong \u2014 handle_routed_message runs 262 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 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/window.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"520fb092f02217bc1ec6e1b420027c859be2da52f2cbf494008853a791a4b372"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaletteWidget: ClassTooLong \u2014 1041 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), 49 methods, 4 blocks, lines 173-1977. The bar is 400 significant lines; this is 641 over it, 2.60\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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d31d8b12e1e0119660225d9648294cc4abacfcb763482a5faeb5186dd423803"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PropertyEditorDefinitionContainer.with_default_editors: MethodTooLong \u2014 with_default_editors runs 259 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 159 over it, 2.59\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":"fyrox-ui/src/inspector/editors/mod.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e9dd380990e4d8974af605ece211305eced41b3e5054b4b57e7ff98548613a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: physics/mod.rs: FileTooLong \u2014 1291 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 791 over it, 2.58\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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efee919153efcdb1a97919f856b12fd6f308f8e9e0048c9552973bfe3d209b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Renderer.render_scene_observer: MethodTooLong \u2014 render_scene_observer runs 255 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 155 over it, 2.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":"fyrox-impl/src/renderer/mod.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"889b06034679b662c52a3efa3aa6c5ab08526f84badfe686f82a7ddd20a192b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/tileset.rs: FileTooLong \u2014 1273 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 773 over it, 2.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d4d30940cc5d00cc0fe09f0d18d9d192e349e9c04d3ef84d146b0cba8e3276"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Base: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\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":"fyrox-impl/src/scene/base.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e45fd91a6153d6336a95310f6176cc2145c9cfb183c3e926a63c35995629dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: animation/track.rs: FileTooLong \u2014 1264 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 63% of them inside a single declaration: TrackList (2 blocks, 610-1741). The bar is 500 significant lines; this is 764 over it, 2.53\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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2610a54923b86b1c4c2f96a0d1869847e9108d934c6781fcd41de021c49a71bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graph/mod.rs: FileTooLong \u2014 1252 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 88% of them inside a single declaration: Graph (10 blocks, 130-2201). The bar is 500 significant lines; this is 752 over it, 2.50\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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9be314283e3b7786beed12d6d879c59251bd1bff8c51ad0183148094739e8c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Graph: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dd0bd3e385246a2e983934f28e6a6c8be9b03d7d6ec9bc5fa618ee3d5c2cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FormattedText: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d180e0c079c8d374e0e5f89fa2bdc5432e4889138dae4c5ce82c083e5b4da7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1200 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 700 over it, 2.40\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":"fyrox-texture/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b66c54652322ed8b01d3668883bfc63a9ff629d0d405dd97bd5d730e1b3c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Engine: ClassTooLong \u2014 946 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), 34 methods, 3 blocks, lines 316-2884. The bar is 400 significant lines; this is 546 over it, 2.37\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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"760b95fbd23378f2c12560902156d827ab538b20618c37f41548c23f6ebad790"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneViewer.new: MethodTooLong \u2014 new runs 236 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 136 over it, 2.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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be96ee649289f349b223f5327aa83b79c2720bde20f58403fa31602dd61dc19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileSetEditor.new: MethodTooLong \u2014 new runs 233 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 133 over it, 2.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":"editor/src/plugins/tilemap/tileset.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65cc598373426da634998e7f3bd126cfb4a85cfd39bb08ed255ca67e835b9fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tile.handle_routed_message: MethodTooLong \u2014 handle_routed_message runs 229 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 129 over it, 2.29\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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218119c04e60a8c6fcdddb895329f4d5389f722dc7852f196900c533683dd6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 1123 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 623 over it, 2.25\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":"fyrox-resource/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32848621c1e9e2673bc7192315a531dd63841725be783bcc70eb8b9d76f8b2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PropertiesTab.new: MethodTooLong \u2014 new runs 223 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 123 over it, 2.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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"92513dd020af831566d9124ea10fa39f4cfaf1846091eb65ed768f6d5aac31ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WgpuFrameBuffer.do_draw: MethodTooLong \u2014 do_draw runs 222 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 122 over it, 2.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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb422d461af3e0a3af3c6e407df8523eb5cf378d763280d595607c05492e1ab8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/widget.rs: FileTooLong \u2014 1107 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 607 over it, 2.21\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":"fyrox-ui/src/widget.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"935b01a81251d576f8dd80b44222267360ce55b4b1b205e5a1cb283cc542a1d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileMapPanel.new: MethodTooLong \u2014 new runs 214 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 114 over it, 2.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":"editor/src/plugins/tilemap/panel.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe0f244c802a79542f217571277742ada2d32a78683647d27d1e59e749efe59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inspector/mod.rs: FileTooLong \u2014 1069 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 569 over it, 2.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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c3a06e0cdf14d30a6604843e37fa4826d06121bee2e711b34e1342a0c35b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Terrain: ClassTooLong \u2014 854 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), 64 methods, 8 blocks, lines 1037-2604. The bar is 400 significant lines; this is 454 over it, 2.14\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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"affb1c9652bb5583cb2319213798f9ad25b1a2188acee04d99c56d3a6baf4d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Terrain: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6f73a5960b2a533b8b1fd5d1a5881b63cb9ade0c891352a8c9d0c2fc63298"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/text_box.rs: FileTooLong \u2014 1054 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: TextBox (5 blocks, 432-1536). The bar is 500 significant lines; this is 554 over it, 2.11\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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2ff9ec7f2e15a960a4b9351208b95c3df0e36b278ad8a9564d01167b4cfbee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 1009 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 79% of them inside a single declaration: ProjectManager (2 blocks, 132-1333). The bar is 500 significant lines; this is 509 over it, 2.02\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":"project-manager/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e2991ee0f4fe9b85ae249075dddce2116d94c07432f2230f753aca9ceb8b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectManager: ClassTooLong \u2014 802 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), 26 methods, 2 blocks, lines 132-1333. The bar is 400 significant lines; this is 402 over it, 2.01\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":"project-manager/src/manager.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0a965c7513d062f9b410bc6764e5f4649cd2552b3984dad96494eabf07b94"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Widget: TooManyFields \u2014 60 stored fields beside 110 methods. The bar is 30 stored fields; this is 30 over it, 2.00\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":"fyrox-ui/src/widget.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c4873ada437805e448e27f411a107b9c92385c2fffee9c657440381624699"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrackList: ClassTooLong \u2014 798 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), 8 methods, 2 blocks, lines 610-1741. The bar is 400 significant lines; this is 398 over it, 2.00\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":"editor/src/plugins/animation/track.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"663523fc0480fc5923bb698a3f8ee04a3dc94d5f8c08f2284f75215769fc7ae1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CurveEditor: ClassTooLong \u2014 797 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), 24 methods, 4 blocks, lines 426-1731. The bar is 400 significant lines; this is 397 over it, 1.99\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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ba414d3110da227be1663ec6374b78a84a6f7ec031f288ace253ed36863c74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/mod.rs: FileTooLong \u2014 986 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 64% of them inside a single declaration: Renderer (2 blocks, 414-1511). The bar is 500 significant lines; this is 486 over it, 1.97\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":"fyrox-impl/src/renderer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dfcae6e1d82c44b19faa217f6c568c1ad3f1efcba4897fc7f14aecd5da310e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TileSet: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f5d24e538084ff10eeeef8b646d40b5c08b5f4cd46808d0c4f57df0ebef388"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlGraphicsServer.new: MethodTooLong \u2014 new runs 196 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 96 over it, 1.96\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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c07059a89d9b1219082cecda70c2d0f4b3402631f94b188d42b0e9f3a300ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: physics/mod.rs: FileTooLong \u2014 966 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 65% of them inside a single declaration: PhysicsWorld (6 blocks, 467-1519). The bar is 500 significant lines; this is 466 over it, 1.93\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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e082c3119c619155a12c67d34ba1791cc2c429481565d60bcb0a9e15b11276"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScriptProcessor.handle_scripts: MethodTooLong \u2014 handle_scripts runs 193 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 93 over it, 1.93\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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"786bec6f78b150e2e9a08055efe0b85173c64a2cd1f3df4a2a14bccbbb865342"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/ragdoll.rs: FileTooLong \u2014 959 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 64% of them inside a single declaration: RagdollPreset (3 blocks, 79-1011). The bar is 500 significant lines; this is 459 over it, 1.92\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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dd9688f218fef84eddb9517b081ddbb4cd4d6e10ea8a41e7503c0b229b08da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/tile_inspector.rs: FileTooLong \u2014 955 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 455 over it, 1.91\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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01914b419e546dafed64d9fe36f679d49f228d2f8066ac91a5cd8b40415dd5a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExportWindow.new: MethodTooLong \u2014 new 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":"editor/src/export/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"aede1ed354d9ac402d41aa71e98601a6b57a6dc476d51f8fc5e7a2fd6d1daa56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/mod.rs: FileTooLong \u2014 950 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 450 over it, 1.90\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":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b246dd77904b936a9bf8770ee9f2016b1502ec565dc36b9736a79b3996f3de"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SceneDrawingContext: ClassTooLong \u2014 752 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), 21 methods, 4 blocks, lines 90-1114. The bar is 400 significant lines; this is 352 over it, 1.88\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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"746eb126060532de99e61e88a98e1124222cb4e25d3839903f8652af32fbad3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextBox: ClassTooLong \u2014 746 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), 33 methods, 5 blocks, lines 432-1536. The bar is 400 significant lines; this is 346 over it, 1.87\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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"673a80c38d07f1cda57eafd1f65c0ed2123843cb0dd18ada737c03c98e38dd60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mesh/surface.rs: FileTooLong \u2014 928 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 64% of them inside a single declaration: SurfaceData (4 blocks, 225-1066). The bar is 500 significant lines; this is 428 over it, 1.86\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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce707453866c7076739e3e871c2ac1899fdda72e9eb384559373de4c09569e6e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeferredLightRenderer: ClassTooLong \u2014 742 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), 3 methods, 2 blocks, lines 74-1079. The bar is 400 significant lines; this is 342 over it, 1.86\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":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf044dbd2f60aace67fbca44bb97d5359bf4c306293643a7d2f8f500d1a4b87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 927 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 427 over it, 1.85\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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26907eca5724b53b38ad51bcaf90f38800caec6f225466780511f8cf7aaf7186"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dock/tile.rs: FileTooLong \u2014 926 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 68% of them inside a single declaration: Tile (4 blocks, 264-1216). The bar is 500 significant lines; this is 426 over it, 1.85\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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"361d861b14be7f864989c5da97b570063efe6ad210809a017a161382029d762b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WgpuFrameBuffer.get_or_create_pipeline: MethodTooLong \u2014 get_or_create_pipeline runs 185 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 85 over it, 1.85\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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb7cfdeecd168d394302499074c3291de3c792b5cd2a9132d05c418c1adb81b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/mod.rs: FileTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 73% of them inside a single declaration: GameScene (3 blocks, 134-1130). The bar is 500 significant lines; this is 421 over it, 1.84\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":"editor/src/scene/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e45a69343b3b56ef78d2336a2adf33370acbdc4bd80040b196eabba8b6523b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: GlGraphicsServer (3 blocks, 515-1549). The bar is 500 significant lines; this is 421 over it, 1.84\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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bff06db6000925adcf97020e70da2862ef96e8670e416d73d8a86497f8ce42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/formatted_text.rs: FileTooLong \u2014 901 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 67% of them inside a single declaration: FormattedText (2 blocks, 264-1205). The bar is 500 significant lines; this is 401 over it, 1.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"819e542e26798458b8901b5487133d153707cc5f2043799720d7b0a1669d4b13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/framebuffer.rs: FileTooLong \u2014 895 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: WgpuFrameBuffer (3 blocks, 202-1058). The bar is 500 significant lines; this is 395 over it, 1.79\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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7744f746aaeeff07a281cd55c39e3057e63800d3621871a8b10f0c09be7b75b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mesh/buffer.rs: FileTooLong \u2014 893 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 393 over it, 1.79\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":"fyrox-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b25c9cff9d66187656a607db771f1fceecf0e7c37ac58c74957989c76820b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/wfc.rs: FileTooLong \u2014 889 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 389 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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ce16f72db5ac827a5315b50272f2985070a0ce09a0a1a134c07e9c95371554"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResourceManagerState: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"fyrox-resource/src/manager.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a47368671701a678d7a808d9bd7b9ec8f4c68b64f039984e65192f7d45022a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserInterface.poll_single_message: MethodTooLong \u2014 poll_single_message runs 176 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 76 over it, 1.76\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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d73865c0fbfd0aa130841118b69e53698f02f5c6f3beea9b8816fdaad77e0f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlTexture.set_data: MethodTooLong \u2014 set_data runs 175 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 75 over it, 1.75\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":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f417e11f67bb44ef7a69ddc42f6ba6b33d206794f351ea0a58b52c7f5d303012"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: animation/toolbar.rs: FileTooLong \u2014 872 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 69% of them inside a single declaration: Toolbar (2 blocks, 81-1146). The bar is 500 significant lines; this is 372 over it, 1.74\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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f667f2e7d971e3a996645c9340c442aae4a4a910bf4207a9e2ae08b34ab50362"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: color/mod.rs: FileTooLong \u2014 872 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 372 over it, 1.74\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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c98d90c0705451b723bd312fcc8258f69af2f18c47fc6767e2f6f90e52a038c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pool: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"54329b26b530f5c65cb033c3b242cb94046c9b52c5f42fecf856ff5a947a6a84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssetBrowser.handle_ui_message: MethodTooLong \u2014 handle_ui_message runs 171 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 71 over it, 1.71\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":"editor/src/asset/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da785de46608450392c26e29596b2cb8ab6f7ebe98004ab28239874b1a271a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UiRenderer.render: MethodTooLong \u2014 render runs 171 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 71 over it, 1.71\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":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d05be066a22653689ab29f1701ff059e2f73f1c7919c860e634fa6a498a90cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CurveEditorBuilder.build: MethodTooLong \u2014 build runs 171 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 71 over it, 1.71\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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe0bd4a3a0076c23a02935bd7ec78575208819c26bf7ed0aa04fe5d73ec94c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhysicsWorld: ClassTooLong \u2014 683 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), 21 methods, 5 blocks, lines 916-2043. The bar is 400 significant lines; this is 283 over it, 1.71\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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaed48f6d3b19ae1d23d3191079f757d6650b2bf29e68ac55ce09743535ed96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Texture.load_from_memory: MethodTooLong \u2014 load_from_memory runs 169 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 69 over it, 1.69\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":"fyrox-texture/src/lib.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3eb3bbffa2c727dc476110bbbba9709a1a2bd37c1bc1f6c739aeb6237a2a55"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileSelectorBuilder.build: MethodTooLong \u2014 build runs 168 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 68 over it, 1.68\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":"fyrox-ui/src/file_browser/selector.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f7896d90df7da90842049576aa7eaece62ab3869f0245e8d3a74ade486ce43"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameScene: ClassTooLong \u2014 670 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), 7 methods, 3 blocks, lines 134-1130. The bar is 400 significant lines; this is 270 over it, 1.68\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":"editor/src/scene/mod.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b819bc48dc02cb6e6813f8b439e092b9e5f3884b73fae193ac6a88ec664c9959"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pool/mod.rs: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: Pool (15 blocks, 69-1481). The bar is 500 significant lines; this is 337 over it, 1.67\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":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c0652986361d826849b033b6b7cc547a0a658927df3b76592e677b87833e10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/bundle.rs: FileTooLong \u2014 837 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 337 over it, 1.67\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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e717871bc1065b8a2424868da3ebf2c9d241fec2c46502cf6d35625730705568"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResourceManagerState: ClassTooLong \u2014 665 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), 53 methods, 2 blocks, lines 87-2093. The bar is 400 significant lines; this is 265 over it, 1.66\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":"fyrox-resource/src/manager.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bf650034ae52e9ab1bc0a906ea1224f19bd6a7aeea4768604021de1d02fca7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/window.rs: FileTooLong \u2014 830 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 330 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":"fyrox-ui/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"416359defa3bd94fda81c568cd70480b31296ac856f59abb20fb6dd14072449a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbsmCanvas.handle_routed_message: MethodTooLong \u2014 handle_routed_message 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":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3a6a161dea1f9efe9e12810c385fc22ea09ad2062d15dcbc02df4115b58e49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaletteWidget: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b30e29982270449f2184a596456d817bf1546df91006cf3b8921556ba80eccb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Animation: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 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":"fyrox-animation/src/lib.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2f02f1071dd7dcdba76a9844461ba716ea0a0c6f1d1bff506113f1dc876e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/light.rs: FileTooLong \u2014 810 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 92% of them inside a single declaration: DeferredLightRenderer (2 blocks, 74-1079). The bar is 500 significant lines; this is 310 over it, 1.62\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":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8dbadf84c7fea73c3089279c6ace9cd9d335336906f8ea14a5a1a0e5d89615"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Engine.reload_plugin: MethodTooLong \u2014 reload_plugin runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf6bd084382f20f14bd4409175fa5515ca5e85d00831b769a071e387dfeab5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/draw.rs: FileTooLong \u2014 805 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 305 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":"fyrox-ui/src/draw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7eaedcd4eaa4510aff0b91f5aaf802e13006a0dd50a48a864bd4c5385fe81d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/commands.rs: FileTooLong \u2014 795 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 295 over it, 1.59\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":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f1a94d747e5aa59c71e1cc5ef98a4e85647d5978903916f6a1e50c636f1c47"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Color: ClassTooLong \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), 15 methods, 13 blocks, lines 37-983. The bar is 400 significant lines; this is 233 over it, 1.58\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":"fyrox-core/src/color.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7fa6a3df319d3dd11bd815a67259df7aa82f45ce149961858b73136757010c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InspectorContext.from_object: MethodTooLong \u2014 from_object runs 158 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 58 over it, 1.58\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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"09954763135a79aebe190e03d7e433a6ca24429670a886fda1cb54b2fe592664"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WgpuFrameBuffer: ClassTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 4 methods, 3 blocks, lines 202-1058. The bar is 400 significant lines; this is 231 over it, 1.58\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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd86dffe2fe715a4f199d286c0e172e4e48d9a12a09e8f6a6dadf293ada4fea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tile: ClassTooLong \u2014 630 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), 9 methods, 4 blocks, lines 264-1216. The bar is 400 significant lines; this is 230 over it, 1.58\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":"fyrox-ui/src/dock/tile.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fce1e9d92963a9cf3da6e33db5998aa0a9e9228696345378cacd412cb3dc17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AssetBrowser: ClassTooLong \u2014 628 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), 17 methods, 2 blocks, lines 119-1081. The bar is 400 significant lines; this is 228 over it, 1.57\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":"editor/src/asset/mod.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fa659ce8b4a45b806223a4a4e2af2fc65abec7fa129b0845f1b4c8641eb01f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Renderer: ClassTooLong \u2014 627 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 414-1511. The bar is 400 significant lines; this is 227 over it, 1.57\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":"fyrox-impl/src/renderer/mod.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6276fc8733af75ac1429df29833d5156415ad85d97322157b1a13473207fd25c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OptionTileSet: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"384d9751dffddafd9fc4003b497e67aae674957ccf172da3a7ea004306426bef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhysicsWorld: ClassTooLong \u2014 624 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), 21 methods, 6 blocks, lines 467-1519. The bar is 400 significant lines; this is 224 over it, 1.56\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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"280db690e89417976ee27d764b98ec3fc59af6c63975e2460095c035fc82ea9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/color.rs: FileTooLong \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Color (13 blocks, 37-983). The bar is 500 significant lines; this is 273 over it, 1.55\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":"fyrox-core/src/color.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee05b3a2079af7f077cd6a40ba4353c1fc9a44b705aaec5c9f63ac7f39e15fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Widget: ClassTooLong \u2014 617 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), 110 methods, 2 blocks, lines 572-1655. The bar is 400 significant lines; this is 217 over it, 1.54\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":"fyrox-ui/src/widget.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1072d5b808c9fe20bf51d63b6c0e2f0bbaddc69c27bc905e223ea1ca38011d22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhysicsWorld.sync_to_rigid_body_node: MethodTooLong \u2014 sync_to_rigid_body_node runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82d3dbf8280b05989ba50fa1826583bb6cb5cf889ac63facf4932da4753d03c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: animation/mod.rs: FileTooLong \u2014 769 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 64% of them inside a single declaration: AnimationEditor (2 blocks, 122-942). The bar is 500 significant lines; this is 269 over it, 1.54\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":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dd56f6f49621de0a891605c784b078df1562c8194715f6c07b3151dbf6022c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBody: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"fyrox-impl/src/scene/rigidbody.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69fdb3917f29ba120813c677a4f2706afa56a1e321edf47d20dd02f4ea9d40b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WidgetBuilder: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"fyrox-ui/src/widget.rs"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"326a30cd4f8310a09c8069c075f84ce84c7fb54b8aa2eed8b89bc12d382416d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/debug.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), about 98% of them inside a single declaration: SceneDrawingContext (4 blocks, 90-1114). The bar is 500 significant lines; this is 265 over it, 1.53\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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f33a60a4c2b8846c04d96188d743cea8425cb3277e5160329e4a95d68f475f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneViewer.handle_ui_message: MethodTooLong \u2014 handle_ui_message runs 153 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 53 over it, 1.53\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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec487781416315823439150613fbfc5e9a9f75bb33a1c3692eaf0ca29eecc0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RagdollPreset: ClassTooLong \u2014 610 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), 5 methods, 3 blocks, lines 79-1011. The bar is 400 significant lines; this is 210 over it, 1.53\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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21b4a1005493d727ac33b5255ded621b0a203d81fa38f03f22a8980e4133011"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FormattedText: ClassTooLong \u2014 608 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), 72 methods, 2 blocks, lines 264-1205. The bar is 400 significant lines; this is 208 over it, 1.52\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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5a9cc2585cab8b6038ffad80e6b4f9e5cdd76568bb49fab07ac37ed7b562e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asset/mod.rs: FileTooLong \u2014 756 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: AssetBrowser (2 blocks, 119-1081). The bar is 500 significant lines; this is 256 over it, 1.51\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":"editor/src/asset/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64637ac7db5566e72b7658f14417387dab45f16b836794d3a683296d92c363"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssetItemContextMenu.handle_ui_message: MethodTooLong \u2014 handle_ui_message runs 151 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 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/menu.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3964d89643ce2ba02c1904b8baa661e6b038e625e397801ca118b22f66918c28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderDataBundle.render_to_frame_buffer: MethodTooLong \u2014 render_to_frame_buffer runs 151 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 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1538c210b6a393c26c79cc5aea249e3372ff691e3d13ef7cff954b3e28e4bb92"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pool: ClassTooLong \u2014 603 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), 52 methods, 15 blocks, lines 69-1481. The bar is 400 significant lines; this is 203 over it, 1.51\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":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d53b884303782415f27c08d6cd2be11f65201a3dd84a911ccbae01d72d0b96d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Toolbar: ClassTooLong \u2014 603 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), 7 methods, 2 blocks, lines 81-1146. The bar is 400 significant lines; this is 203 over it, 1.51\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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"311a68ac2470440f63e86d0386acd0e2a6155acdd091cab8f1f2b8c77bfb1352"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GlGraphicsServer: ClassTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 32 methods, 3 blocks, lines 515-1549. The bar is 400 significant lines; this is 202 over it, 1.51\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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbf8017a0557f317906b5e7d06b54f6e438e31141258c818571caef43f4326e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/menu.rs: FileTooLong \u2014 751 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 251 over it, 1.50\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":"fyrox-ui/src/menu.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db21ed318d6d8918a9e49243eb93204fbe1508fedbfe8bcefd7d7721fa02972a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene_viewer/mod.rs: FileTooLong \u2014 750 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 75% of them inside a single declaration: SceneViewer (3 blocks, 263-1063). The bar is 500 significant lines; this is 250 over it, 1.50\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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40860f27bd43476ce32ae68dfb518056498c77b56afb0c3fb929fb35d93a70ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NinePatch.draw: MethodTooLong \u2014 draw 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":"fyrox-ui/src/nine_patch.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc6fc9b148b61b09a5787f326d1a40b2cbecc914f073f9cf9f92ed7a71259da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/properties_tab.rs: FileTooLong \u2014 748 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 79% of them inside a single declaration: PropertiesTab (2 blocks, 58-923). The bar is 500 significant lines; this is 248 over it, 1.50\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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f812a7688d5128e75f3886e0003cdd91fd93f398ab2009db833032b3faf70a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/autotile.rs: FileTooLong \u2014 741 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: AutoTileMacro (2 blocks, 110-768). The bar is 500 significant lines; this is 241 over it, 1.48\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":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdc3708f5aaa51cad00f7a89a08c401163933b437b37ad11428c69d9f7c3642"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WgpuGraphicsServer.new: MethodTooLong \u2014 new runs 148 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 48 over it, 1.48\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":"fyrox-graphics-wgpu/src/server.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"463c5fde76ed6ec32ab9ce58ac0ef8a7a11a1efd0fe279009096fcbaedfad14b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PropertiesTab: ClassTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 19 methods, 2 blocks, lines 58-923. The bar is 400 significant lines; this is 191 over it, 1.48\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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"be869347bc47981a74b567d8fe5b202737280c5fa9f73168591d69d6835473a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SurfaceData: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 15 methods, 4 blocks, lines 225-1066. The bar is 400 significant lines; this is 190 over it, 1.48\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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab8968261d604fd11bdd782f44fc80747b5a57c354e0d9bb0840d9ddf26f60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsciiWriter.write_field: MethodTooLong \u2014 write_field runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/writer/ascii.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a164d39c40279c29566fbe0f8ae4d37cef8683f57defd8a7681fb8b040d6675f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SpriteSheetFramesEditorWindow.build: MethodTooLong \u2014 build runs 146 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 46 over it, 1.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":"editor/src/plugins/inspector/editors/spritesheet/window.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47bd19e63265055f6f89f8183e7f24949701c2c5b3dcf3beee2eb108c44a552"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/base.rs: FileTooLong \u2014 725 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 225 over it, 1.45\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":"fyrox-impl/src/scene/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67e7ad1a7a98954784720de740e64bd25ec224ea033c664b87618c854aa59e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileMenu.new: MethodTooLong \u2014 new runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/menu/file.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b78d48c9b581412753e3a7bb524e3a2fb7840a452782a904c5ac07ab791f868"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CurveEditorWindow.new: MethodTooLong \u2014 new 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":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0169c334e1ffcc585e98e88a22e39297ebc7922feebc9dd12b3974d29d732e81"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Color.from_name: MethodTooLong \u2014 from_name 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":"fyrox-core/src/color.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"37288d18c3916299fd4fe53a5896aa05bbe8140ff56825a4438f99d5f2d2046f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssetBrowser.new: MethodTooLong \u2014 new 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":"editor/src/asset/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a43e5e007b1af6e19c7ba368976f2d12706f6ba68a25d3705dfe1bf329c350"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BinaryWriter.write_field: MethodTooLong \u2014 write_field 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":"fyrox-core/src/visitor/writer/binary.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaba33823b6c3e5dbb46df3a9672b88419be6c8a2b06d66c11f098352fae21b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/mod.rs: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: CameraController (2 blocks, 85-876). The bar is 500 significant lines; this is 207 over it, 1.41\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":"editor/src/camera/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"837619fbf845ba5aa082b43cac55ee0a650706395b2cbc4fc7656ec2526d579c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SurfaceData.make_cube: MethodTooLong \u2014 make_cube runs 141 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 41 over it, 1.41\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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed34f2d4adf30d16f89fb2d517a332f6c34d9f7e77d408cce315ab5ecfe8675"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SceneViewer: ClassTooLong \u2014 563 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), 18 methods, 3 blocks, lines 263-1063. The bar is 400 significant lines; this is 163 over it, 1.41\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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"999dba67ec835e74fd883544c731d9427a2799fd681776d47f23e9d01ec09bfd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileInspector.new: MethodTooLong \u2014 new runs 140 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 40 over it, 1.40\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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b768440edabb8cb77bd3e6b692577902d2166b3fbac97292a9507b12e34755"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tree.handle_routed_message: MethodTooLong \u2014 handle_routed_message runs 140 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 40 over it, 1.40\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":"fyrox-ui/src/tree.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc24234058216aab57ee8ebdb942d3846201b99aacc8379197bc1851a1bf15a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chunk.set_height_map: MethodTooLong \u2014 set_height_map runs 139 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 39 over it, 1.39\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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bdf4f3528035f42335e0da9f68dc1e8412e3d41108c8f5e23f3ad4742f6f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_project_manager::main: FunctionTooLong \u2014 fyrox_project_manager::main runs 139 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 39 over it, 1.39\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":"project-manager/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac0cb60a91c1aaa077e0b1fca578c79ddb779da4955fc285fcf85c6e08894e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Configurator.new: MethodTooLong \u2014 new 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":"editor/src/configurator.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"218efd72a744f51a7f4353a552bb9e0b0710704feb63fdb41058824d8c40a00e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/message.rs: FileTooLong \u2014 689 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 189 over it, 1.38\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":"fyrox-ui/src/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed460cfb6bdf0c5bbc3765470378ee2204177af6219e5cd97efaa9cfddf86aca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: absm/mod.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), about 62% of them inside a single declaration: AbsmEditor (2 blocks, 185-783). The bar is 500 significant lines; this is 186 over it, 1.37\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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae25ce31822a6c6acda4caf5c70b282c25e6a729155377eee6c53a2f227638"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoundSource: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"fyrox-sound/src/source.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aea518a08e4c50bcb01d2711b465463c1de940767c1f7107ace74db9f49c43"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CameraController: ClassTooLong \u2014 540 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), 22 methods, 2 blocks, lines 85-876. The bar is 400 significant lines; this is 140 over it, 1.35\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":"editor/src/camera/mod.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b0a9e06204f30dc282eb049da305157d72a67ec7ee91967b20127ba43c62de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaletteWidget.draw: MethodTooLong \u2014 draw 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"e885695db0ad80d7b18642622bd08d667cf4a243b630c406bcaa847cf3d452bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: absm/blendspace.rs: FileTooLong \u2014 671 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 171 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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4ab1bf4e7f27994b3dbd4520fe38664a2d8c9c8bea9927384e2dee543a925e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreviewPanel.new: MethodTooLong \u2014 new 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":"editor/src/preview.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8bf72aecf0b7d365428688c169e0c23c8c8d5e657648d83aa1cefba2c35e80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBuffer.fill: MethodTooLong \u2014 fill 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":"fyrox-impl/src/renderer/gbuffer.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d393a34d11ced0e8b7619d5f6627e17ea0904aad338a6b05d9ef73f8581135a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MachineLayer: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f064b7af24936a0b8f45e61c66f383f37858fdbabe30f1c9c1a6c07585ffa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/interaction_mode.rs: FileTooLong \u2014 666 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 69% of them inside a single declaration: TileMapInteractionMode (4 blocks, 71-917). The bar is 500 significant lines; this is 166 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ba676aa8bb8708eec073e559d46a4d8676a9907dd49ee9ade881f9cf68302"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fbx/mod.rs: FileTooLong \u2014 658 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 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f847e671e4cd3393266abfba82fecd7c5a6d782dfd8756a6e6751c89b3d4af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: WidgetBuilder: TooManyFields \u2014 39 stored fields beside 46 methods. The bar is 30 stored fields; this is 9 over it, 1.30\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":"fyrox-ui/src/widget.rs"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a685c282688fb8344906e8821037826bdb4aad4d6abaf633302d1db14ca486a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbsmNodeBuilder.build: MethodTooLong \u2014 build 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":"editor/src/plugins/absm/node.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"61888de122d8260dbea5e980e6abe087a2b0106fcc51e895ef13014eab43d249"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioPanel.new: MethodTooLong \u2014 new 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":"editor/src/audio/mod.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc4f5089ae2b580941c8561906709d9fd94d89f57c4a08805ca64fc254061c4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WgpuGraphicsServer: ClassTooLong \u2014 510 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), 5 methods, 3 blocks, lines 161-893. The bar is 400 significant lines; this is 110 over it, 1.28\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":"fyrox-graphics-wgpu/src/server.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a99fd833ddd33de55f7f3e5fffe4e735405aec424c7a9cfbbc12c9de61b2c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editors/mod.rs: FileTooLong \u2014 636 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 136 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":"editor/src/plugins/inspector/editors/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b810eb44075b1f7eab91b4b95a4441c690a9b4027258be3ffbf0d1170e3839c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticleSystemPreviewControlPanel.new: MethodTooLong \u2014 new runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/particle.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b29127fbbaa77fffb77f7f1828f2765cf51d965ba1dc610b7b6e69f56149c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageBoxBuilder.build: MethodTooLong \u2014 build runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/messagebox.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072a143d54c76bc6510a74520832be6ce1d72d8f8d561af6b38281d02419084"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_ui::node::constructor::new_widget_constructor_container: FunctionTooLong \u2014 fyrox_ui::node::constructor::new_widget_constructor_container runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/node/constructor.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a587586e6f520157bf7f7e120310dbf6be01d30477ecb7aefd6259b89c3ac0cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowBuilder.build_window: MethodTooLong \u2014 build_window runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/window.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15557a5265b5595c3ebfbd80564639526df8df53414670eece6277e6c38bfa3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProjectWizard.new: MethodTooLong \u2014 new runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project-manager/src/project.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"90161458e3c71eb5a31d382163d186b74f08fa9e6a4abf9fdf67f18ff5a74ad1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBody: 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":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e5ad622ceb47218ac9d2086e2bf9767b260433674918dd0f0f38e21b9690cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProjectManager: TooManyFields \u2014 38 stored fields beside 26 methods. The bar is 30 stored fields; this is 8 over it, 1.27\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":"project-manager/src/manager.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f8d670e8a0217a7eb83237f47b12a46c9cae67162f39c250de1d384197c426"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 632 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 132 over it, 1.26\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":"template-core/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b4187425191df7ae459079260fcca8947e3bb4ddda15ea02243661b4b1133f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileBrowserBuilder.build: MethodTooLong \u2014 build runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/mod.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a201fdba0ddab969325f389b7478c854ba38a69f49d10465737e16f8df7d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorldViewer.new: MethodTooLong \u2014 new 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":"editor/src/world/mod.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dad28744029940f7988325eaf35855fec5529988b547fd3c1be605a73b0c62d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileSet: ClassTooLong \u2014 499 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), 59 methods, 3 blocks, lines 1337-2130. The bar is 400 significant lines; this is 99 over it, 1.25\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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"18725f63cc10806b6bca14602923b11299c54c9f6b4e91d7b9abd0ce020fd398"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/mod.rs: FileTooLong \u2014 621 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 121 over it, 1.24\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":"editor/src/plugins/tilemap/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a4a9a9c1f5c5627fca0bd4d3b65359ccd53c7c8efd2f0451173433d749128d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: world/mod.rs: FileTooLong \u2014 620 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 75% of them inside a single declaration: WorldViewer (2 blocks, 143-868). The bar is 500 significant lines; this is 120 over it, 1.24\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":"editor/src/world/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897404b7a573f91c95cdb6f435ba92def7e18bf87145fe5f9eab3bb3e3200638"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlendSpaceEditor.new: MethodTooLong \u2014 new 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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2f66090593216574979f626934030e6b759b0743cdb6c718c3654d21ce5088"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LightVolumeRenderer.render_volume: MethodTooLong \u2014 render_volume 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":"fyrox-impl/src/renderer/light_volume.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0ff59c6877adaf426949356c34ac6e953befd823cc1052786474b8038adf3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Texture: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-texture/src/lib.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5db31a4fef9c7ca7b1c6ed5acdb113fba545c45103cdb64be18ad88d531e758"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnimationEditor: ClassTooLong \u2014 493 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), 12 methods, 2 blocks, lines 122-942. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56cd562b6269c9c43bb88d9147c8bd3c228ca7ca813092bfb5297b1f83ff80c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editors/mod.rs: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: PropertyEditorDefinitionContainer (5 blocks, 377-983). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9986604257c8a2aee61f3f3c9c5c25811248bbb5c590555d422e5da28560302"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: command/mod.rs: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/command/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"152fefebe606aaf2305e3d18f8b7e037873298ac90d5834a78c914e75fc531e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CsmRenderer.render: MethodTooLong \u2014 render 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":"fyrox-impl/src/renderer/shadow/csm.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a56051f52d1ca542b670648ee879ab39d6402774489a0d5d333b09898991ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: material/mod.rs: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 106 over it, 1.21\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":"editor/src/plugins/material/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae88a9dece9b8494b90ea2a1a3b301363b29019dbc2f3c25ded091f6ab702b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/camera.rs: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 106 over it, 1.21\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":"fyrox-impl/src/scene/camera.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7faef6b118fc8acbad3c9391b94c869f9765a0417e231aa31c736b7f54e86d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RendererResources.new: MethodTooLong \u2014 new runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/resources.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f07d3654026e5b25d3277de1fd3f51e1ccb98efe30f7d1ced777fa9c92f35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/update.rs: FileTooLong \u2014 603 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 103 over it, 1.21\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":"fyrox-impl/src/scene/tilemap/update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e510219946ce6aea3594c936ea4a8d2075206b38b56e495e6e93492e76c83a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MacroTab.new: MethodTooLong \u2014 new runs 120 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 20 over it, 1.20\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":"editor/src/plugins/tilemap/macro_tab.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ae3a9478c48fd929142ba6ef86bc9869d4d089c067928fea6e8fc9d134664b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScriptMessageDispatcher.dispatch_messages: MethodTooLong \u2014 dispatch_messages runs 120 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 20 over it, 1.20\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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd07f3e1f11234d999afdc0c3e16aefada5b820f597ae181b99830a89f3e08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColorPickerBuilder.build: MethodTooLong \u2014 build runs 120 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 20 over it, 1.20\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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1386281254d6188c7170394cf621a6b2750c58ef93fee6972d99120c369c0c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileInspector: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 16 methods, 3 blocks, lines 723-1331. The bar is 400 significant lines; this is 77 over it, 1.19\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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c5c91048cf8f7641b8326e518076f6fe24cc4dd72e1510b32889c11ba87401"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/brush_macro.rs: FileTooLong \u2014 596 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 96 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":"editor/src/plugins/tilemap/brush_macro.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"806247838d2b6b43830f7e5fae42fc0aa9e6a68854d3a37982aabc1d539dcac7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SceneGraph: ClassTooLong \u2014 474 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), 50 methods. The bar is 400 significant lines; this is 74 over it, 1.19\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":"fyrox-graph/src/lib.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ba31509b910d245298450fe2121918623145279d92c4cac537dabeb5fd803"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editors/texture_slice.rs: FileTooLong \u2014 590 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 90 over it, 1.18\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":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4f146578d8078946fb3e407713e06ab688208f74d1c1a39c8a581b881191e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlShader.new: MethodTooLong \u2014 new 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":"fyrox-graphics-gl/src/program.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6735e39f7b42c698f5ed88b42d3a9602a4b21afa3a71d9d2d30e90e22265a652"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScrollBar.handle_routed_message: MethodTooLong \u2014 handle_routed_message 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":"fyrox-ui/src/scroll_bar.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"303ce4f07bcb2fa78b623b91b97d4c343dac2e11322e80d9db1a68bfa67b6087"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mesh/mod.rs: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/mesh/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8961ffb5653a9f6724a55269a29d3f8e4e11b26015197cd1974446efb8b02a2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TileEditorState: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"15712d74dd4dcc508b6151736ba017c13cba029ab77f2cc033244d3486b639e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.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), about 88% of them inside a single declaration: WgpuGraphicsServer (3 blocks, 161-893). The bar is 500 significant lines; this is 80 over it, 1.16\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":"fyrox-graphics-wgpu/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81f531c730ac74ea61cfcc2aaab5c1ce43a9da8cc3a80f1d145a9ca0692e4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/collider.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). 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":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82731abc7e77847c305dc99826cdabd7d75aa4c32bd9cb41ec9a92c7ef9f2a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneNodeContextMenu.new: MethodTooLong \u2014 new runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/menu.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"713ac060f542cd738debfbb4b26f4cd2545458092c45dc4149da1f07784829f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorldViewer: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 143-868. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/mod.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c24bb9e641baa07e26bc192afdfd6e3cfa9b7e249efa1add30a7d32ed562b46"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileMapPanel: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 16 methods, 2 blocks, lines 110-747. The bar is 400 significant lines; this is 62 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/panel.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b63786ae0e342432514530ebec1bb036d75a772e065f65b449402c798cda0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file_browser/mod.rs: FileTooLong \u2014 577 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 77 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f0f67286a9573841cf27285611cd5a3bb09b0fbb16168dbfa5b2c8bf136e55"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WfcMacro.build_instance_editor: MethodTooLong \u2014 build_instance_editor 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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df6cdc06931e7bbc01fdc5a980293c4cdc0b7a4c3278a948662bc5441827380"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileMapInteractionMode: ClassTooLong \u2014 459 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), 5 methods, 4 blocks, lines 71-917. The bar is 400 significant lines; this is 59 over it, 1.15\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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aa4235a34779fd240bad21d123b44f7fe7c87abb5cfc170a7c59c45f0ff7c8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutoTileMacro: ClassTooLong \u2014 458 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), 0 methods, 2 blocks, lines 110-768. The bar is 400 significant lines; this is 58 over it, 1.15\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":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"10816b1365ad3a11a49edd58794216cf29f48b18d0176714acc0c2f8806425d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: brushstroke/mod.rs: FileTooLong \u2014 570 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 70 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":"fyrox-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7a37afd35595c77aa2046426b04cf0e881a543bd79d9689badf294cbed909"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Animation.update_root_motion: MethodTooLong \u2014 update_root_motion 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":"fyrox-animation/src/lib.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c973ef91dd703f5991744e279a4e9e42a40feba81e33e66254a8bb9e177cc26"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScrollBarBuilder.build: MethodTooLong \u2014 build 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":"fyrox-ui/src/scroll_bar.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01ce50c3a0b195028c79b8c7aa2a9f6882c685fb8928a316b7207b563fedaa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: preview/mod.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":"editor/src/asset/preview/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b0d379655d236b53b47e83bf2f74e9eed635f8ab9c2d30933bd6dd6d9b3861"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/tile_prop_editor.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), about 63% of them inside a single declaration: TilePropertyEditor (3 blocks, 86-620). The bar is 500 significant lines; this is 69 over it, 1.14\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":"editor/src/plugins/tilemap/tile_prop_editor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b60161645b6c9ab1e6c683d74c80f23e486562a2ade9821619c046d7a6f427"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: UserInterface: TooManyFields \u2014 34 stored fields beside 95 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":"fyrox-ui/src/lib.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff63fab7201165174319c8b4a736d398319aa6cb3f37fe2ac3218f87fb53f3d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Engine: TooManyMethods \u2014 34 methods. The bar is 30 methods; 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3598561cc0b6d6424b7f110bd972ae917c1897a9c0883f71544669cfe26b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 566 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 66 over it, 1.13\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":"fyrox-math/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc61670bf983b0534bd9f0db36b738553bb1376eeb256b5aeb69a0460b5f752"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: collider/mod.rs: FileTooLong \u2014 565 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 65 over it, 1.13\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":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303ca2f437806d9ddb86e06ae52585580fede100c221ade1c527ba3dce287cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WgpuGraphicsServer.generate_mipmap: MethodTooLong \u2014 generate_mipmap 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":"fyrox-graphics-wgpu/src/server.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"132a6dbaee0133107661a4ebd657e82876206867e0311fb7ee91ffac9ba67192"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BinaryReader.read_field: MethodTooLong \u2014 read_field 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":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ec7743a8688c55ea21a4c386d8d38d31234c3c997b19cfe4ea92c27a257b96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_impl::resource::fbx::convert_mesh: FunctionTooLong \u2014 fyrox_impl::resource::fbx::convert_mesh 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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"f753fcd85d382763c53c78a6b1766c2e364ff06b5ea99574f37765f3eac860e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumericUpDown.handle_routed_message: MethodTooLong \u2014 handle_routed_message 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":"fyrox-ui/src/numeric.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2fc5e63349bfed003e7b4f955c314f08aa639e822c8eb517cb8be252f20e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileSetEditor: ClassTooLong \u2014 446 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), 12 methods, 2 blocks, lines 74-754. The bar is 400 significant lines; this is 46 over it, 1.12\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":"editor/src/plugins/tilemap/tileset.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"34302629c740123b0ed278d3aa35abb0f44c2dd57fc10e325e43c08e26416c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tree.rs: FileTooLong \u2014 551 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 51 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":"fyrox-ui/src/tree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70f45e8fafc01f527d917f297debbe04483d076d2c7a6107eab0434ac58b0bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Camera: TooManyMethods \u2014 33 methods. The bar is 30 methods; 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":"fyrox-impl/src/scene/camera.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d92e5e91bc72e420ca6619f5370146740113dd24c563dc2847be5730eca69ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResourceManager: TooManyMethods \u2014 33 methods. The bar is 30 methods; 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":"fyrox-resource/src/manager.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d6b8de06dbb991748c3d1adec45c3d73e54912c0d15983f91938981c17667b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextBox: TooManyMethods \u2014 33 methods. The bar is 30 methods; 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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cbb196b3e0b47a4a6ef028e3da73ce998ffeff9643bfbaa9c363496ff45e82"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneGizmo.new: MethodTooLong \u2014 new 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":"editor/src/scene_viewer/gizmo.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0c78225b59d8fc1cd0daf889218d00a4a0c044bd012608f7be81db6093ec96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorldViewer.sync_graph: MethodTooLong \u2014 sync_graph 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":"editor/src/world/mod.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f723ca23da4ba2b86a674ae01a58d40b7368cd52ef44b4d04aed90884cb55c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuItemBuilder.build: MethodTooLong \u2014 build 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"d144660eec4dc7b98c9c47301889efc7091f2c90e33b44757bfe99d4acc0f366"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gltf/mod.rs: FileTooLong \u2014 546 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 46 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":"fyrox-impl/src/resource/gltf/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0b9987bf5a12e958c6ddab259db961ddd8e0e7da9f439ae8b3a60f3aef10bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneNodeContextMenu.handle_ui_message: MethodTooLong \u2014 handle_ui_message 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":"editor/src/world/menu.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e791698f40b4b9d38a5744ce2760835372cb19b34b28d1f7911eadea31136f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/tileset.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), about 82% of them inside a single declaration: TileSetEditor (2 blocks, 74-754). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/tileset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb676bdb74420bedfe02955c75126c182ff86ecacba770b04a8c6c9231091cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LightmapInputData.from_scene: MethodTooLong \u2014 from_scene runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/utils/lightmap.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fd037e98ca7651b90fdd2dcfb3946dd09e057ae11f8de1d5dc7d92a7027657"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HashMapPropertyEditorDefinition.create_message: MethodTooLong \u2014 create_message runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd77e3c85180e47f80040d4d774a81f88f4c7b0cababd20a1565d0b909a09870"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LogPanel.new: MethodTooLong \u2014 new runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/log.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b49ef257dc440c9b6ae0d1007a5e5e57232d142a79f5144fb6beb2d686920e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 539 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 64% of them inside a single declaration: Animation (5 blocks, 269-945). The bar is 500 significant lines; this is 39 over it, 1.08\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":"fyrox-animation/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4f6ddedebf04e966e7b17d662352be7ff32e0414496ca5258d509f21936ecb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbsmEditor: ClassTooLong \u2014 428 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), 14 methods, 2 blocks, lines 185-783. The bar is 400 significant lines; this is 28 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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f7647ec7c6eb3c00306a9383d117625208b80875c4e8aab85401d63d36141"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MaterialFieldEditorBuilder.build: MethodTooLong \u2014 build runs 107 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 7 over it, 1.07\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":"editor/src/plugins/material/editor.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cc8a6d6d5d1affb4e32592d0cc7f8745facbfe46bc2154e2cc5ceccd44abbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpriteSheetAnimation: 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":"fyrox-animation/src/spritesheet/mod.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f819e94fef4d630423d920f541a6b89503d81069c6eae1556be32ffb0057eeb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Visitor: 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":"fyrox-core/src/visitor/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ed158cf7f3be1d3c9a474188edd6626cb0d6b7716172763fdb219c8ece1d08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlGraphicsServer: 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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6e5d7d8bc9d1390c915dd1064c57bfece17373c418e60b64b575fd5626158a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UntypedResource: 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":"fyrox-resource/src/untyped.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4060fd1c144f4f1a477819728f5e5a874e263f2cf1d21d544b19e0f11a091f1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Mesh.collect_render_data: MethodTooLong \u2014 collect_render_data 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":"fyrox-impl/src/scene/mesh/mod.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ecf22ac2f3c0a9542a223244c3bdf7773cf3ba861edc440d4432718e496c4f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Texture: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 37 methods, 5 blocks, lines 258-2027. The bar is 400 significant lines; this is 22 over it, 1.06\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":"fyrox-texture/src/lib.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3f393503b4eeb66d4acbcfbafd0a3ac03813547c1bef77494766794521b4b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Draw: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 23 methods. The bar is 400 significant lines; this is 21 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/draw.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ad47f16b1811eae0d4eaa2ff4bdddcaf70d52b2e6c21f4ef15d9174ab10003"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tilemap/panel.rs: FileTooLong \u2014 526 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 88% of them inside a single declaration: TileMapPanel (2 blocks, 110-747). The bar is 500 significant lines; this is 26 over it, 1.05\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":"editor/src/plugins/tilemap/panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4485c08f368995564bbaf7b98cbc3d1a69a3ddef3690f8fa090ff671703bc993"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FormattedText.arrange: MethodTooLong \u2014 arrange 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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ad5f7c99fa2481a0be0055d635f3a9706c19b602acbd9df58e35b68b516fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuItem.handle_routed_message: MethodTooLong \u2014 handle_routed_message 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":"fyrox-ui/src/menu.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"687036287ab85cdf67b6c3104a55cb9e0712785f886ba2ac443df37524e4e0b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WfcMacro: ClassTooLong \u2014 416 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), 0 methods, 2 blocks, lines 62-760. The bar is 400 significant lines; this is 16 over it, 1.04\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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"52869db5ab65746b6f5d9ecaadc94c5331f170538127776ae16717b8cab61346"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Renderer.render_scene: MethodTooLong \u2014 render_scene 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":"fyrox-impl/src/renderer/mod.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd507e2c31558e02555a3989e03e562cec67f94a1520f8b7696cba04d6c251c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhysicsWorld.sync_to_joint_node: MethodTooLong \u2014 sync_to_joint_node 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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"2224397c52a3c29784ae56fecd6e4e634071daf8ec4c69b7ff06f466da66c69c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Lightmap.new: MethodTooLong \u2014 new 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":"fyrox-impl/src/utils/lightmap.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8042a15d87818ec1593c0c401a3d4fc4fc7188375bf6bebb2df4f550b734b873"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/navmesh.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":"fyrox-impl/src/utils/navmesh.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56fd16256d2beb3d696723d05f35eebeb396b0359294637c9709f8eefa18454"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TileBook: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b4352f725cf8ac4f7426f0fc79be719902eaf38010fa21920aefdfc46eaadd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Transform: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/transform.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9a212c51afe0f35dfc4a1e323a3dfe512799ef3bb4a4d7ab9971ac06e2fa5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CollidersTab.new: MethodTooLong \u2014 new runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d07f2b7bb7eedb5ea7f9e1c199dd772f48ac37268dadd6c7a3f1ca6a443b7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_core_derive::visit::impl_visit_enum: FunctionTooLong \u2014 fyrox_core_derive::visit::impl_visit_enum runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core-derive/src/visit.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47ce8968a2b8763983055e529de26e9ae60f9261aab0ec027891b4d8b4d7960"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_project_manager::manager::make_project_item: FunctionTooLong \u2014 fyrox_project_manager::manager::make_project_item runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project-manager/src/manager.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d029a1bb81441ad42feaec2193170ab45f8815af4b8123e0af372fa7d902dc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reflect/mod.rs: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 6 over it, 1.01\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":"fyrox-core/src/reflect/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cee62d1d2513b8ebe59e03ecc9e16f021df596cff95f643c9d881a13b91f609"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_impl::resource::fbx::create_materials: FunctionTooLong \u2014 fyrox_impl::resource::fbx::create_materials runs 101 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 1 over it, 1.01\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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd5e248c0dbcb58f61bd9ea4fb86fa41e437c0db5ff2db94b4f56ae1f9a92b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhysicsWorld.sync_to_rigid_body_node: MethodTooLong \u2014 sync_to_rigid_body_node runs 101 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 1 over it, 1.01\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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4eb445704a04ad0104d04079ac877350a0f6f33f9e2863bb0fea3b689a8076"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Window: ClassTooLong \u2014 403 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), 8 methods, 4 blocks, lines 225-890. The bar is 400 significant lines; this is 3 over it, 1.01\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":"fyrox-ui/src/window.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9800cb6d05221e1b001f87ec08b2328144a803ccc6cbb6eecfb226ddd301818"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state_viewer/mod.rs: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 78% of them inside a single declaration: StateViewer (2 blocks, 68-710). The bar is 500 significant lines; this is 1 over it, 1.00\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":"editor/src/plugins/absm/state_viewer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aae5c5c29bba4be979ea557d6e9e315c36c02a0215e42eec498b8d6438d1869"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 45 shared lines): editor/src/plugins/tilemap/colliders_tab.rs:148-262 | editor/src/plugins/tilemap/macro_tab.rs:200-333 | editor/src/plugins/tilemap/properties_tab.rs:252-499 \u2014 These 3 members are variants of one another: a block of 45 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"305dc6b89d632212a55c7645f78ba2e70f40836148b9db25da8ca793dbf10f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (101 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1330-1473 | fyrox-impl/src/scene/graph/physics/mod.rs:1843-1995 \u2014 These two members are variants of one another: 101 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df6ffe3bae414fa07c7c30b75ecee9ec8e527a4620662cb760c3dc7555839fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (97 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1053-1190 | fyrox-impl/src/scene/graph/physics/mod.rs:1493-1701 \u2014 These two members are variants of one another: 97 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bbb4f440a8b87f49f38e1ce18cfca55366581014b8513029b17fa005f48f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (91 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1197-1323 | fyrox-impl/src/scene/graph/physics/mod.rs:1708-1836 \u2014 These two members are variants of one another: 91 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b19d458a33d4e31055588f89d635fc4ad780428ba5e105e15762cdecdbf91a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:708-770 | fyrox-impl/src/scene/graph/physics/mod.rs:1150-1213 \u2014 These two members are variants of one another: 55 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"253f1282829a446aeb11edc45f57ff256a4d70877a5b887577132393c30ffbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): editor/src/plugins/inspector/editors/dyntype.rs:299-396 | editor/src/plugins/inspector/editors/script.rs:397-494 \u2014 These two members are variants of one another: 47 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11cc906577656f73f35f8284443d38ab72f9b7a89a92312cff6f78a305f0503"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): fyrox-graphics/src/gpu_texture.rs:284-320 | fyrox-graphics/src/gpu_texture.rs:324-360 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics/src/gpu_texture.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c53bf86ad4635323a9a744d353e077ce502e1fffd4ba7d33dc6ec9029eff81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-animation/src/machine/node/blendspace.rs:124-151 | fyrox-animation/src/machine/node/blendspace.rs:163-218 \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":"fyrox-animation/src/machine/node/blendspace.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e20322f307acdfd4cb529a810c48065d732c0a5deb8cd918437a24dfe912b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): editor/src/plugins/tilemap/autotile.rs:875-885 | editor/src/plugins/tilemap/wfc.rs:888-898 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41c78443c87fd3468b1a192a739511f2a8dd92b0d39ed197d79678100ae179"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-math/src/lib.rs:134-154 | fyrox-math/src/lib.rs:296-313 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-math/src/lib.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5189b8b2daa15c3adf8e2c8cbda8e075472ca1fb0a421b3ccd2ca5c763aa1d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): fyrox-impl/src/engine/mod.rs:1810-1906 | fyrox-impl/src/engine/mod.rs:1908-1998 | fyrox-impl/src/engine/mod.rs:2005-2073 | fyrox-impl/src/engine/mod.rs:2082-2179 | fyrox-impl/src/engine/mod.rs:2186-2214 | fyrox-impl/src/engine/mod.rs:2221-2249 | fyrox-impl/src/engine/mod.rs:2256-2284 | fyrox-impl/src/engine/mod.rs:2404-2466 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"22833178f8e176df1f8097ef90141542a484b507a578175da0c35898ab071956"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): fyrox-ui/src/inspector/editors/cell.rs:78-118 | fyrox-ui/src/inspector/editors/cell.rs:123-164 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:121-158 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:175-210 | fyrox-ui/src/inspector/editors/style.rs:514-584 | fyrox-ui/src/inspector/editors/style.rs:589-636 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/cell.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5c1d5af6cc2e4ad7d8a78416c9c2253a301d5536ecf0228671b37e7fec5dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): editor/src/asset/creator.rs:65-163 | editor/src/light.rs:115-181 | editor/src/plugins/inspector/mod.rs:219-317 | editor/src/scene/dialog.rs:60-148 \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":"editor/src/asset/creator.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc977c1562c8c707a9ea369c95e5b61f66cb249f9a26d1ca1d01484ae33f390"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): editor/src/plugins/collider/mod.rs:406-484 | editor/src/plugins/collider/mod.rs:541-634 | editor/src/plugins/probe.rs:179-203 | editor/src/plugins/probe.rs:240-274 \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":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fec6891f393f2e9fce0d24c8f04ff43dd8a42b4b102363f941a709fac577ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): editor/src/plugins/tilemap/autotile.rs:466-536 | editor/src/plugins/tilemap/autotile.rs:615-638 | editor/src/plugins/tilemap/wfc.rs:501-623 | editor/src/plugins/tilemap/wfc.rs:633-678 \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":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"78adc2cd9473ae2fb3d04ca1f563009d2a95da9dbed4074a798c389fe7817c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): editor/src/plugins/tilemap/properties_tab.rs:668-684 | editor/src/plugins/tilemap/properties_tab.rs:691-717 | editor/src/plugins/tilemap/properties_tab.rs:724-750 | editor/src/plugins/tilemap/properties_tab.rs:757-783 \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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc50e662198de9cb1eb09afcd7088510ec3ee8b2305cd08b71c7bb988b3dc3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fyrox-graphics-gl/src/texture.rs:346-394 | fyrox-graphics-gl/src/texture.rs:403-633 | fyrox-graphics-wgpu/src/texture.rs:297-416 | fyrox-graphics-wgpu/src/texture.rs:440-479 \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":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda4087d649edb140d64008824f2d4a6830144a5349776d59f0644c4b1eab9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fyrox-impl/src/resource/gltf/animation.rs:484-506 | fyrox-impl/src/resource/gltf/animation.rs:543-572 | fyrox-impl/src/resource/gltf/animation.rs:619-641 | fyrox-impl/src/resource/gltf/animation.rs:650-680 \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":"fyrox-impl/src/resource/gltf/animation.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76fb0e6dbe03a214533a8529999d0491c1a2d6190a43cdbe2f4f5ef9c4dffa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fyrox-impl/src/scene/debug.rs:123-199 | fyrox-impl/src/scene/debug.rs:202-278 | fyrox-impl/src/scene/debug.rs:286-378 | fyrox-impl/src/scene/debug.rs:542-575 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6735a565bec85331bc0f9506a6fea1b627ecc5eb1d9c29d9513b798cb07ab79"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fyrox-impl/src/scene/debug.rs:700-746 | fyrox-impl/src/scene/debug.rs:757-830 | fyrox-impl/src/scene/mesh/surface.rs:616-689 | fyrox-impl/src/scene/mesh/surface.rs:757-860 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a30c53bc77c5092b4f7234b5aa6e9021d638b601f19bc9ba570663d831cf20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201354 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1198-1249 | fyrox-impl/src/scene/graph/physics/mod.rs:1709-1762 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd1e4b90d1eef2022de1069f8f950c7aa56f26c4d8f9913180081446bd950a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:2181-2230 | editor/src/plugins/tilemap/panel_preview.rs:91-140 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140e77e6ded87e6b54767d07944e5af3726262e41d02312bc975aeaa7ff6649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1369-1417 | fyrox-impl/src/scene/graph/physics/mod.rs:1884-1931 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9257fe7a5ff4bd24748d6ca181700ea288f32052b80d5ca74c887cd9bc9a4090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): fyrox-impl/src/scene/graph/physics/mod.rs:534-576 | fyrox-impl/src/scene/graph/physics/mod.rs:625-667 \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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe593fdeaacaaec3d93150dce91f2766f784a437d9f3f69a4bd95482338826a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): fyrox-build-tools/src/export/android.rs:61-99 | fyrox-build-tools/src/export/pc.rs:49-87 \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":"fyrox-build-tools/src/export/android.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33719933ad9a91828ece46afc3bc572c3b39ff8a151b9be927023f9d104f5bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201336 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:861-896 | fyrox-impl/src/scene/graph/physics/mod.rs:1303-1336 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f350656291bd291588dbee631f956d82408e27d424932c6b139f9e775045fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): fyrox-ui/src/lib.rs:2796-2826 | fyrox-ui/src/lib.rs:3036-3066 \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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce8aa10fc34450c6450644097033dea0477ab61d3c34218ef6046e0a412e09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:468-495 | editor/src/plugins/tilemap/wfc.rs:503-531 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c8acee6f1c3a09cd8bc526e67201850a233c17cbf7817a47dc75cef583a719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): fyrox-impl/src/scene/dim2/rectangle.rs:382-410 | fyrox-impl/src/scene/sprite.rs:377-405 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rectangle.rs\u0060 and \u0060fyrox-impl/src/scene/sprite.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"78254f942edcf5ade1e503ad05c01a2338e05aafd8d7e8f439fb7143f7902666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): fyrox-impl/src/scene/tilemap/update.rs:919-946 | fyrox-impl/src/scene/tilemap/update.rs:947-974 \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":"fyrox-impl/src/scene/tilemap/update.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"025d731f75dc6a0c060bad6460ab3c5860e0ef04a44329f63b3a8ffc1c432a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:193-219 | editor/src/plugins/tilemap/macro_tab.rs:259-285 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6d1cc4aabbfd41a19dbc845293b786ede5c5cc12d32d94e742509f9e7ec6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1297-1323 | fyrox-impl/src/scene/graph/physics/mod.rs:1810-1836 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6f975183c037346de2b74a94cd1652b2e00532b8561db0b68f4e421d9c3224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): fyrox-impl/src/scene/tilemap/autotile.rs:152-178 | fyrox-impl/src/scene/tilemap/autotile.rs:262-288 \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":"fyrox-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e375728b0c605af99dd70a205499f04b3a90e229098b0445f2585d6861b77400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:460-483 | fyrox-ui/src/inspector/editors/collection.rs:660-686 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/array.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/collection.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a01621843fd5516d687bb00e338e77db3fc3bd3218c70add30fe40d73aab9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): editor/src/plugins/tilemap/interaction_mode.rs:318-343 | editor/src/plugins/tilemap/interaction_mode.rs:358-383 \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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4413c71aadbb38472aacf3d13765feb615cebb1a3e197685be8d85bfb2ee69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): fyrox-impl/src/renderer/settings.rs:180-205 | fyrox-impl/src/renderer/settings.rs:216-241 \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":"fyrox-impl/src/renderer/settings.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"04abf69b4bc8be28be616f321665c9bf2afcbd68420574f892d2ed2687049e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): fyrox-ui/src/inspector/editors/inspectable.rs:136-161 | fyrox-ui/src/inspector/editors/refcell.rs:130-155 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/inspectable.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/refcell.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdf178d729c04ecef9048afb1ecdb5715f60ccd7eb3b9d2dbb64335e114cd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): fyrox-ui/src/lib.rs:3926-3951 | fyrox-ui/src/lib.rs:3958-3983 \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":"fyrox-ui/src/lib.rs"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ac84bf540bd0c649393c6358f2b99d8bf1a38066081ca624d02bd9dd933390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-impl/src/engine/mod.rs:509-533 | fyrox-impl/src/engine/mod.rs:540-564 \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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab378c5e74a2f59b26c3bc4e255655187ac8ff73cb5eeac399e764d0c619e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-resource/src/manager.rs:498-522 | fyrox-resource/src/manager.rs:604-628 \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":"fyrox-resource/src/manager.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"535c6186403c7a42f6b168882d4e026e47717ff1c7e7de0ef479d95e1bb0d6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): fyrox-resource/src/manager.rs:1125-1148 | fyrox-resource/src/manager.rs:1273-1297 \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":"fyrox-resource/src/manager.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b4ca8877826336113c0466de9de0d99684238e313360d164a93d5198cb9afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-ui/src/lib.rs:2871-2895 | fyrox-ui/src/lib.rs:3153-3177 \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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7f3dfff604768973aa0ff897755860da0443c0bb541801fc60ecd47c877832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:237-260 | editor/src/plugins/tilemap/properties_tab.rs:462-484 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cafc2822c785e8b6284e9876fd45bc31aceaa7feacafa838831010daf22b0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): fyrox-graphics-gl/src/framebuffer.rs:431-454 | fyrox-graphics-gl/src/framebuffer.rs:487-510 \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":"fyrox-graphics-gl/src/framebuffer.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c71f9337c8cce6d47aa0dbed8bd9b67f9584df70f2fe38f3958f8efe2bdb90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): fyrox-impl/src/engine/mod.rs:478-500 | fyrox-impl/src/engine/mod.rs:570-591 \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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd7f017815b1d8600d8c84c6d89d749b6d4e036d8114a2d849d9ef1220ecca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): fyrox-impl/src/renderer/light.rs:914-936 | fyrox-impl/src/renderer/light.rs:992-1014 \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":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef215e3f99dd3f0c14482a4e1a6b10040ad1e4f079559d447c9e98c9d01a1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1054-1076 | fyrox-impl/src/scene/graph/physics/mod.rs:1494-1516 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b9423772c633cf9d48d69a1ba39379e26293a2d3f16910628901123f6a91b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1102-1123 | fyrox-impl/src/scene/graph/physics/mod.rs:1599-1621 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"467c9dd86c0c186d853874d903b592fb31b869348456c75600cee29405f08b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): fyrox-ui/src/inspector/editors/hashmap/mod.rs:130-152 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:182-204 \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":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f2c7c115bffc179d2e870ac22b58b21fb9203c0d3ead554c1abf04b823f112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:273-294 | editor/src/plugins/inspector/editors/script.rs:371-392 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2f12e0701469ea7ec23c256b8a28b28eb3db900dc0f57a21963308742b7363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): fyrox-core/src/pool/multiborrow.rs:235-255 | fyrox-core/src/pool/multiborrow.rs:296-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":"fyrox-core/src/pool/multiborrow.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2ebb0977397a776b681ef5d5eb84406caa8eade0361d73fbfdb13349a1c830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1452-1473 | fyrox-impl/src/scene/graph/physics/mod.rs:1974-1995 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6468e7f8eec6d6e3c4c99e4acd80d81985d6bef2f7e65b43a2824c2e9f9ade1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): fyrox-ui/src/lib.rs:2822-2842 | fyrox-ui/src/lib.rs:3062-3082 | fyrox-ui/src/lib.rs:3109-3129 \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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd826a8b3fe2596d7818b4e7a56064a397c2e061e4c5a6184987b79f7b00c5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:276-296 | editor/src/plugins/animation/toolbar.rs:929-949 \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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0554fab0597b7d6ed649750b322fa769c3d708469d8bac31db7229157d7bbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): editor/src/plugins/tilemap/panel.rs:287-307 | editor/src/plugins/tilemap/tile_bounds_editor.rs:201-221 \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":"editor/src/plugins/tilemap/panel.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea20c37c19dd60a2b915215e4968b5132d43b33f4c6dffdbd99a70c58f5fef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): fyrox-core/src/visitor/reader/ascii.rs:379-399 | fyrox-core/src/visitor/reader/binary.rs:250-270 \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":"fyrox-core/src/visitor/reader/ascii.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aeb5126b688ae8869a8ab1376c40b17d6e83a54efa1330631c46395955d85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): fyrox-impl/src/scene/debug.rs:135-154 | fyrox-impl/src/scene/debug.rs:214-233 | fyrox-impl/src/scene/debug.rs:314-333 | fyrox-impl/src/scene/debug.rs:555-574 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d1e424e8c5b54812088c10020f68e66354f492a47ac832854b03840fddd2ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): fyrox-graphics/src/gpu_texture.rs:286-305 | fyrox-graphics/src/gpu_texture.rs:326-345 | fyrox-graphics/src/gpu_texture.rs:365-384 \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":"fyrox-graphics/src/gpu_texture.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4728390de2001021adc3346721ec8703481bae805c24827eb766730a08de55b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): editor/src/plugins/absm/mod.rs:851-870 | editor/src/plugins/animation/mod.rs:1003-1022 \u2014 \u0060editor/src/plugins/absm/mod.rs\u0060 and \u0060editor/src/plugins/animation/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fda2cd129c9ac5c13365dc9b985e7069660e6101f3d05065621b1b9140aaa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:677-696 | fyrox-impl/src/scene/graph/physics/mod.rs:1119-1138 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2d3280c15ce2366dbda9e512b58ed4ccb740184c629a95cbf7855ea6a3990a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1080-1099 | fyrox-impl/src/scene/graph/physics/mod.rs:1557-1576 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd189a05ec15abe903f7bebae1179e3c97c235e8b7d16d775d609c20ed143bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:378-396 | editor/src/plugins/inspector/editors/script.rs:477-494 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa894bbe27cd9b29f1cc07d6538f1d243cd106775e1a433494cbc6f5d05e4940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): fyrox-graph/src/lib.rs:237-255 | fyrox-graph/src/lib.rs:360-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b536723b9633af809f5cfffca063bc0a12fce19793fc31be3da020a9ed9aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1425-1442 | fyrox-impl/src/scene/graph/physics/mod.rs:1946-1964 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3845650b4a6a6ac9bcf3e23a5f4a91e3a0552c6e14438c79ddb1b13ace6bd925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:152-170 | fyrox-ui/src/inspector/editors/collection.rs:248-266 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/array.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/collection.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e73da15cca005f5ad40727ea9f92caba1c1565518823fb1dd0edfbfafbba40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): fyrox-ui/src/inspector/editors/collection.rs:611-629 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:396-413 \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":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596640c00283c4da2170310bb6cf610847d10b24ddc41df0a9876a59fc3e5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): editor/src/plugins/tilemap/properties_tab.rs:693-710 | editor/src/plugins/tilemap/properties_tab.rs:726-743 | editor/src/plugins/tilemap/properties_tab.rs:759-776 \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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fba0f92927eb48c05d746f9d7d9f0b4bc157e78e730a243d5e8789e3f5a6d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:359-376 | editor/src/plugins/inspector/editors/script.rs:458-475 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99b0a0790652d306dcc4ed41937834269f6e0455ae181dd068f6d1cded7bd7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:617-634 | editor/src/plugins/tilemap/wfc.rs:635-651 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e837162180eaf3998d309cdf2270b5e981882853359f1345d1ae644ff51f94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1675-1691 | editor/src/plugins/tilemap/palette.rs:1806-1823 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fca6fac1b951c3487d3d4d06c22dc964b859e6f269294a8357354e4bad9662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): fyrox-impl/src/resource/fbx/mod.rs:331-348 | fyrox-impl/src/resource/gltf/material.rs:430-444 \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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1756a4e0a8c3c69e4ef2d3937bcfcfb62ecbfe3e95c711afbb1b69d3dd5d4029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): fyrox-scripts/src/camera.rs:152-169 | fyrox-scripts/src/camera.rs:171-188 \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":"fyrox-scripts/src/camera.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffac9fbbadfa885caeb33258011d98c84ad88226776920a99de4b6bf48e05de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): fyrox-ui/src/border.rs:165-177 | fyrox-ui/src/scroll_panel.rs:242-259 \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":"fyrox-ui/src/border.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d702d62274cecfb66cbcf9563b94c5d1742e8e0fa5ba4f5c3ff5a5594d1a2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:134-151 | fyrox-ui/src/inspector/editors/array.rs:408-425 \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":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab14ad8422683bb58d7728eed091461d4baa32481ea756f633b38869216c263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): fyrox-ui/src/matrix.rs:161-178 | fyrox-ui/src/vec.rs:198-215 \u2014 before extracting anything, compare \u0060fyrox-ui/src/matrix.rs\u0060 and \u0060fyrox-ui/src/vec.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/matrix.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b15f004e90bd9560899dcf68d76453045055daed391582838c859b876bfd96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 3): editor/src/plugins/tilemap/colliders_tab.rs:192-201 | editor/src/plugins/tilemap/macro_tab.rs:258-267 | editor/src/plugins/tilemap/properties_tab.rs:314-330 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a97564c8826db880898a073a0ed9140bdb9f208eac2e171e8bb639f1189015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): editor/src/plugins/tilemap/colliders_tab.rs:208-223 | editor/src/plugins/tilemap/macro_tab.rs:274-290 | editor/src/plugins/tilemap/properties_tab.rs:337-352 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"df01b5e265b3d1e2d7e798e3247cf8f321c8f15115d3b9fa41c67a34de35e4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): editor/src/asset/dependency.rs:133-149 | editor/src/plugins/ragdoll.rs:1113-1129 \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":"editor/src/asset/dependency.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdd8c0422a078b20a7557a0a8fcb7343d569c588c85831902b7c5f78bc1f541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): editor/src/command/panel.rs:98-110 | fyrox-ui/src/log.rs:178-194 \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":"editor/src/command/panel.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c598ca76ca1d6880ffa342c8ebd8ad30f96904f6e31a2f1ce6dff3cab3a54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): editor/src/interaction/rotate_mode.rs:237-253 | editor/src/interaction/scale_mode.rs:216-232 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"22291731d785326547fd206eea7d359ca13395573cec8bdf13537cd9983e2a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): editor/src/light.rs:163-179 | editor/src/plugins/inspector/mod.rs:297-312 \u2014 before extracting anything, compare \u0060editor/src/light.rs\u0060 and \u0060editor/src/plugins/inspector/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/light.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c211075c804e73c799c5ff54a9ae5168241a30dc8bc23984b706db0d7ddea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): editor/src/plugins/absm/state_graph/context.rs:386-402 | editor/src/plugins/absm/state_viewer/context.rs:345-361 \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":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fba164c5e6638f113e968c6c0ea9dd46032f0a379150923446026a0f63ee33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): editor/src/plugins/absm/state_graph/mod.rs:96-112 | editor/src/plugins/absm/state_viewer/mod.rs:184-200 \u2014 \u0060editor/src/plugins/absm/state_graph/mod.rs\u0060 and \u0060editor/src/plugins/absm/state_viewer/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7435caeceb14a856e43aeb4f594f8473bfbb47975f7755924641353cf6ca2f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): editor/src/world/mod.rs:523-539 | editor/src/world/mod.rs:582-598 \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":"editor/src/world/mod.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d6635cfa0ac6fe33016341155011ffa6db9b47f769cfdea213e2e48e65f2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-core/src/pool/mod.rs:640-656 | fyrox-core/src/pool/mod.rs:695-711 \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":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"253e021b5abaf38d0d4ebd399efca362c6a4228c07ca2f18b2866eb61a8e9aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:422-438 | fyrox-impl/src/scene/graph/physics/mod.rs:781-797 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1a843a65239fb4b7c91768286b4fd7736c1843a2ca41ecbf6945cc0cabd975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1137-1153 | fyrox-impl/src/scene/graph/physics/mod.rs:1635-1651 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f724bc16270d2c04d1aabf2be7b31e17df1f5257086544199c9bd99bf2fabe1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-impl/src/scene/tilemap/effect.rs:237-253 | fyrox-impl/src/scene/tilemap/effect.rs:270-286 \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":"fyrox-impl/src/scene/tilemap/effect.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afa7ad99c5ba832a9e4d3d9def3577227ecf492ecbdc27011e820612697bbf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-ui/src/color/mod.rs:270-286 | fyrox-ui/src/color/mod.rs:431-447 \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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"93771b283917fcd6d39b9f4b5d231ae03a1c99b09b55b81d20daa8fe3d11a9e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-ui/src/key.rs:265-281 | fyrox-ui/src/key.rs:464-480 \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":"fyrox-ui/src/key.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"655799ddf57bde9331b56dfb2065717b5ec6f44d7de017bd3cc64695204ee2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): fyrox-impl/src/scene/debug.rs:184-199 | fyrox-impl/src/scene/debug.rs:263-278 | fyrox-impl/src/scene/debug.rs:363-378 | fyrox-impl/src/scene/debug.rs:560-575 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63d223775346c7b498ce8847dfe9dcad4ed4789ea493f5a85b9fd0f74513384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): editor/src/plugins/ragdoll.rs:346-361 | editor/src/plugins/ragdoll.rs:401-416 | editor/src/plugins/ragdoll.rs:446-461 \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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff8e1636d5ab0128ccca9d557ca7a6b28d303da4842ab6269b4e6761ff2cec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): editor/src/interaction/rotate_mode.rs:151-166 | editor/src/interaction/scale_mode.rs:143-158 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e185e566c50faa6cdf17408ed88f61bd8245344df5c96f2ce84cb3e2c16d1d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): editor/src/interaction/select_mode.rs:159-174 | editor/src/ui_scene/interaction/mod.rs:174-189 \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":"editor/src/interaction/select_mode.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4f00ffe4272f5b2d040c4cab005a026482b74dcfe643f187afc7d11f628180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:160-175 | editor/src/plugins/inspector/editors/script.rs:232-247 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc34df5e94597a97a83f19241ba4b9031c1c6fe89db6b3bdb3afe6c7f5d214b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:2123-2138 | fyrox-ui/src/color/mod.rs:235-250 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc3fd21deaa92481b5ea4938c37fa65a90a56d77b528dd7f8a8ed009c78f6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:727-742 | fyrox-impl/src/scene/graph/physics/mod.rs:1169-1184 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"086eeb25e6df5ead34df15864e75c3f6c6381e35233fb6a2b096cc757bd2bd63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): fyrox-ui/src/color/mod.rs:466-479 | fyrox-ui/src/color/mod.rs:642-657 \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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3ee0b1d27ffdfe028cd20189d0b176232a7812fae3ddf2da7d193a7b9e5e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fyrox-ui/src/inspector/editors/collection.rs:527-542 | fyrox-ui/src/inspector/editors/enumeration.rs:407-422 \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":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a82904d53b787250a69ec1c187106f9c53ee3c4c4816bdda3a1e103dbc2ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fyrox-ui/src/inspector/editors/hashmap/mod.rs:482-497 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:505-520 \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":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacc47ad8dc737104bee031d602ca97a13688e63a94ea8ab9174f81c75d1ced8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): editor/src/plugins/inspector/editors/resource.rs:242-256 | editor/src/plugins/inspector/editors/surface.rs:162-176 | editor/src/plugins/material/editor.rs:174-188 \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":"editor/src/plugins/inspector/editors/resource.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f97312d562b1cc79378659c8370c020d6adb237de0ec59e654e0f086756d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): editor/src/asset/creator.rs:142-156 | editor/src/scene/dialog.rs:131-145 \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":"editor/src/asset/creator.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768ccd9f258b7f3c86f65e1deff8e06fe69b93e26edeeb8564a9cddc093bf1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:133-147 | editor/src/interaction/gizmo/scale_gizmo.rs:118-132 \u2014 before extracting anything, compare \u0060editor/src/interaction/gizmo/move_gizmo.rs\u0060 and \u0060editor/src/interaction/gizmo/scale_gizmo.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b0a4c2180d4e642109417fdf051f9e8fdfc432b7e15a8e137d69a4ca0b930d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): editor/src/lib.rs:455-467 | editor/src/lib.rs:476-490 \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":"editor/src/lib.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6a53e6a9a47060fd1724fe18087679870e7f02eba7126aefea41147f840482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): editor/src/plugins/absm/mod.rs:942-956 | editor/src/plugins/animation/mod.rs:1096-1110 \u2014 \u0060editor/src/plugins/absm/mod.rs\u0060 and \u0060editor/src/plugins/animation/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c94d135221d13ff42f8a4ab34045b4c2d0b20df1afed0c0916ff2d6502d91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): editor/src/ui_scene/interaction/mod.rs:115-129 | editor/src/ui_scene/interaction/move_mode.rs:144-158 \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":"editor/src/ui_scene/interaction/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab718feb226471c70ebb9c93032648c4555ce82256ba9b74fd5005693086aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-animation/src/machine/layer.rs:348-362 | fyrox-animation/src/machine/layer.rs:364-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a35991df1c49442cb3633ab710d533046baa8559640623d61adacc0cd04b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-build-tools/src/export/utils.rs:88-102 | project-manager/src/utils.rs:104-118 \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":"fyrox-build-tools/src/export/utils.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d981444345e7a3b1e9fe7be2186790d61b2f4ed54fd1a9e47985060b8c2bf218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:694-708 | fyrox-impl/src/scene/dim2/collider.rs:350-364 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f51b289996bb1a9c5d9eb9467be945bb0b8957d0f57f064c8c8fab090b99038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:756-770 | fyrox-impl/src/scene/graph/physics/mod.rs:1199-1213 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"1865e560dee04feb5e55191d844310a004c48eb010eca6db0be58c3bef50865d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-math/src/lib.rs:140-154 | fyrox-math/src/lib.rs:336-350 \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":"fyrox-math/src/lib.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34668dbb9ed8e335501ed5b3d47fa593beedbf886742d5b510094bd2b72f1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-ui/src/canvas.rs:104-118 | fyrox-ui/src/inspector/editors/texture_slice.rs:232-246 \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":"fyrox-ui/src/canvas.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a72040dca901ee6969d54bfa2c83ab838e6f78b683bc5d63d02f1ff4eeee82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:255-269 | fyrox-ui/src/inspector/editors/collection.rs:399-413 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/array.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/collection.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d877dfbe7cf882fcbdb9829cc950dd96e1bfd2c644ef74a06f35c2a7a7d1ee83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-ui/src/inspector/editors/cell.rs:84-98 | fyrox-ui/src/inspector/editors/cell.rs:129-143 \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":"fyrox-ui/src/inspector/editors/cell.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57be63de5d9258e271e440ce187d738af83bb1f32295226d6b6e7e92e462116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-ui/src/nine_patch.rs:393-407 | fyrox-ui/src/nine_patch.rs:495-509 \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":"fyrox-ui/src/nine_patch.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"576012eacb3093b6a7761e9ce1ccd5b514e538887aa435250f45145ad3cefadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): editor/src/asset/creator.rs:145-158 | editor/src/light.rs:165-178 | editor/src/plugins/inspector/mod.rs:298-311 \u2014 before extracting anything, compare \u0060editor/src/asset/creator.rs\u0060 and \u0060editor/src/light.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/creator.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8a9ed95b60fa0a769acb2d0392c1dc4d002c5d29effda85b635b34877c86e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): fyrox-graphics-wgpu/src/buffer.rs:167-180 | fyrox-graphics-wgpu/src/framebuffer.rs:963-974 | fyrox-graphics-wgpu/src/read_buffer.rs:148-159 \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":"fyrox-graphics-wgpu/src/buffer.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b08014254862d2f88a6b21f312c6968989c06476cad9b5ad330bace16ea585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:98-111 | editor/src/interaction/gizmo/scale_gizmo.rs:81-94 \u2014 before extracting anything, compare \u0060editor/src/interaction/gizmo/move_gizmo.rs\u0060 and \u0060editor/src/interaction/gizmo/scale_gizmo.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b8f3b1ab1b6c61242626bc82f40ac52092a206b0b362cdcd90e0b823a7c3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/interaction/rotate_mode.rs:176-189 | editor/src/interaction/scale_mode.rs:168-181 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"86277badc84d541be2ef66d2b102db4bddf4f91c1034a7df8cd53a9fdf408efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/plugins/absm/state_graph/context.rs:236-249 | editor/src/plugins/absm/state_viewer/context.rs:253-266 \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":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef0b52deb12bcf236f4294db9581978d012e9d874f7b432b69e0f7a3d7a1159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): editor/src/scene/clipboard.rs:71-84 | editor/src/ui_scene/clipboard.rs:67-78 \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":"editor/src/scene/clipboard.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e633b5647646fea349c75b17ef5a7a891bccb6215586a746191742a01cfd7759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/scene/mod.rs:596-609 | editor/src/ui_scene/mod.rs:178-191 \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":"editor/src/scene/mod.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d20ad623b831cacefa900409367b93ae4fd4a46b85117cdf6a0cd85d628dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/engine/mod.rs:2411-2424 | fyrox-impl/src/engine/mod.rs:2439-2452 \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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bcd4d47ab83b0abf8b1299f67d942f9b081bc2827687d0b047aebbf7296ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/accel.rs:98-111 | fyrox-math/src/octree.rs:83-96 \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":"fyrox-impl/src/scene/accel.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3aa5c83ca1ad29a7552d7a75e1f2aad3d95f3a8dcd30bada36e28b9527b3738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/accel.rs:125-138 | fyrox-math/src/octree.rs:110-123 \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":"fyrox-impl/src/scene/accel.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"635825ce9b0e09a41fe1a4cca7ebdbc75a89a08e9fbe9c46fa6f401bc7d30a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:1182-1195 | fyrox-impl/src/scene/dim2/collider.rs:840-853 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43762ff62edfee78c53e42948b98e761e8c85f2b7c296fa37382d666493d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/joint.rs:348-361 | fyrox-impl/src/scene/joint.rs:407-420 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/joint.rs\u0060 and \u0060fyrox-impl/src/scene/joint.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/joint.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3739f2b97fa120740072aa26f6059b6a4fbb67885f815d6650fe30c2f2471458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/joint.rs:420-433 | fyrox-impl/src/scene/joint.rs:479-492 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/joint.rs\u0060 and \u0060fyrox-impl/src/scene/joint.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/joint.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7f9d8087ce4a6e433f800157ec01d4c526f6cb2d421060d00491d8abdbb4f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/character.rs:144-157 | fyrox-impl/src/scene/graph/physics/character.rs:222-235 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/character.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/character.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/character.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd4d4b8be0a6104adbde3a8d02b88a131f28052c0835a92306e5dccafa2855f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:709-722 | fyrox-impl/src/scene/graph/physics/mod.rs:1151-1164 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc1c5d6521017b9b280b3ec5c93376c332ce9c344ffe1561d6d66598fa37f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:927-940 | fyrox-impl/src/scene/graph/physics/mod.rs:1367-1380 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c76473a2d495bd5b1d763b790235f6ad60ce32b5160199c3b70accab3cd5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): fyrox-impl/src/scene/mesh/surface.rs:648-658 | fyrox-impl/src/scene/mesh/surface.rs:799-812 \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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad292c778dca21d2ce92884f01dfb919660590ab126d86912c7f69d6ef6e38eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-ui/src/matrix.rs:52-65 | fyrox-ui/src/vec.rs:56-69 \u2014 before extracting anything, compare \u0060fyrox-ui/src/matrix.rs\u0060 and \u0060fyrox-ui/src/vec.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/matrix.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"496247297cf32dd4fc2a82372b8fa0c0830b3dd888f4407a76bdca6518ba293f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-ui/src/utils.rs:239-252 | fyrox-ui/src/utils.rs:289-302 \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":"fyrox-ui/src/utils.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43e2bc36beb8b3fc07a0809b230ce37c7a1f107af3d2f929cf725e407efed87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): fyrox-impl/src/engine/mod.rs:1815-1827 | fyrox-impl/src/engine/mod.rs:1917-1929 | fyrox-impl/src/engine/mod.rs:1958-1970 | fyrox-impl/src/engine/mod.rs:2010-2022 | fyrox-impl/src/engine/mod.rs:2155-2167 | fyrox-impl/src/engine/mod.rs:2190-2202 | fyrox-impl/src/engine/mod.rs:2225-2237 | fyrox-impl/src/engine/mod.rs:2260-2272 \u2014 all 8 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be5c2bc0f26efb02a5a80762d82e909c87dc83ccf0e42f868617924babef0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): fyrox-ui/src/inspector/editors/cell.rs:84-96 | fyrox-ui/src/inspector/editors/cell.rs:129-141 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:178-190 | fyrox-ui/src/inspector/editors/style.rs:519-531 | fyrox-ui/src/inspector/editors/style.rs:601-613 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/cell.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6158cdf08409f419008af11fe9b61a19892dc53d1966b63653223dc7d9ec49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): editor/src/asset/creator.rs:144-157 | editor/src/light.rs:165-177 | editor/src/plugins/inspector/mod.rs:298-310 | editor/src/scene/dialog.rs:133-146 \u2014 before extracting anything, compare \u0060editor/src/asset/creator.rs\u0060 and \u0060editor/src/light.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/creator.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a626a1cfbbbde4a2201b0549025595ade2ada83bdce944ca750979fb911ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): fyrox-ui/src/inspector/editors/inherit.rs:215-227 | fyrox-ui/src/inspector/editors/inspectable.rs:93-105 | fyrox-ui/src/inspector/editors/refcell.rs:84-96 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/inspectable.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/refcell.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/inherit.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"13286b66139dcd1a8c0a9e6f327395f7e238a5e212efee9fd9b0a7f9fec359e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/audio/preview.rs:183-195 | editor/src/particle.rs:226-238 \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":"editor/src/audio/preview.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b7451396693c47f15b31790aae96d828317cd7fb37c8f7f0292816511faf5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/interaction/move_mode.rs:229-241 | editor/src/scene/mod.rs:660-672 \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":"editor/src/interaction/move_mode.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"15401534fcf2a20f3299af1b5aba4732a44b92219ece9eb5eabb726f1d4eb948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): editor/src/mesh.rs:187-198 | editor/src/mesh.rs:231-243 \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":"editor/src/mesh.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78a1eacf358670048647f05a3f9dc8a17b8f4ad99264a06e3360a5d8edc958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/plugins/absm/mod.rs:249-261 | editor/src/plugins/animation/mod.rs:322-334 \u2014 \u0060editor/src/plugins/absm/mod.rs\u0060 and \u0060editor/src/plugins/animation/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c076b4e09c2128aa764a76aeec9a123ca66cf4b4a0147ba9a0be03b906f46667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/plugins/absm/state_graph/mod.rs:201-213 | editor/src/plugins/absm/state_viewer/mod.rs:297-309 \u2014 \u0060editor/src/plugins/absm/state_graph/mod.rs\u0060 and \u0060editor/src/plugins/absm/state_viewer/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ae290b0fc70a77c8274d2f34ba3bb0d48b7514d1a9a897ecb6e374ef00097e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:256-267 | editor/src/plugins/inspector/editors/script.rs:352-364 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ee5c0faefa62ba9992d68d106d49ff03ce3d0f446a3807cac80f99ff3368fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/plugins/tilemap/tile_inspector.rs:623-635 | editor/src/plugins/tilemap/tile_inspector.rs:697-709 \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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"14acb2259cb3554e940fefbef119ea5363575921bead7a8a7802af56986bb1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-core/src/visitor/reader/ascii.rs:356-368 | fyrox-core/src/visitor/reader/binary.rs:228-240 \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":"fyrox-core/src/visitor/reader/ascii.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38f638d644f218a130cd4098e1c32d4278763e519f23da97d2febf28f309cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): fyrox-graph/src/lib.rs:1527-1536 | fyrox-graph/src/lib.rs:1595-1607 \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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d040aa72442381df2814ec774556bb4dffada1b1cce67ac6ea8ed73e570ae8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/resource/gltf/animation.rs:494-506 | fyrox-impl/src/resource/gltf/animation.rs:629-641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/gltf/animation.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1040e974d5ef4102eee250f129dfac84dc45782a855ed4c4753cdf00b4332a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/resource/gltf/animation.rs:620-632 | fyrox-impl/src/resource/gltf/animation.rs:651-663 \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":"fyrox-impl/src/resource/gltf/animation.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef1f6bc75125198d1e0580d9e607da2b3613153a838722a37c3f564b38f981e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:1112-1124 | fyrox-impl/src/scene/dim2/collider.rs:770-782 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a50ee027610a058bb8bd166941def3894059b94d608bed8f06e1786fcc43e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:603-615 | fyrox-impl/src/scene/graph/physics/mod.rs:1045-1057 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce21d09403aadc738d4c2b009ffed21dee6ea38769752cfcd4608e0ff146ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1252-1263 | fyrox-impl/src/scene/graph/physics/mod.rs:1765-1777 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed189220b1a4a785ef873b7b5b9a2ad3b3b218ca372473cdc1c51edf09cb972a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1331-1343 | fyrox-impl/src/scene/graph/physics/mod.rs:1844-1855 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9507572e62a45a95efa47b3715f8e15136df4e5db39e4f292f0df7a674dea684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/graph/physics/mod.rs:580-592 | fyrox-impl/src/scene/graph/physics/mod.rs:669-681 \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":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc8ab1e3854088379c3f8761ed5b5c4470b3ace2ce644818efad3e12c84db87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): fyrox-impl/src/scene/terrain/mod.rs:1562-1573 | fyrox-impl/src/scene/terrain/mod.rs:2736-2748 \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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4311b09e3a075d75f525a516d50ffd4b76556a83c260986efc3d08c9aae1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/tilemap/mod.rs:209-221 | fyrox-impl/src/scene/tilemap/mod.rs:254-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa758c40adf143729fc58daeb25d9797b22f787b09508eec9ad3f7b359216f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-ui/src/inspector/editors/cell.rs:152-164 | fyrox-ui/src/inspector/editors/style.rs:624-636 \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":"fyrox-ui/src/inspector/editors/cell.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"740778d589710942748e01e98c618ce2a8a43b2d0fd3e9fa8e22e2faf281a5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-ui/src/inspector/editors/hashmap/dialog.rs:231-243 | fyrox-ui/src/inspector/editors/style.rs:251-263 \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":"fyrox-ui/src/inspector/editors/hashmap/dialog.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14d2997111929dd6bc0a4914b53c09b0efa6a2dc11e9845e67d11513b785bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-ui/src/inspector/editors/hashmap/mod.rs:392-404 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:429-441 \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":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f218f929d87b50cb6d02c7e8998e0fcd72a5946405a823bc39ac189d302da460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-ui/src/inspector/editors/immutable_string.rs:56-68 | fyrox-ui/src/inspector/editors/string.rs:52-64 \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":"fyrox-ui/src/inspector/editors/immutable_string.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef65994961d458f5f0fc521b7fff480c91023fc9d414f94b965f2fb718c8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): fyrox-ui/src/inspector/editors/inspectable.rs:164-176 | fyrox-ui/src/inspector/editors/refcell.rs:158-169 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/inspectable.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/refcell.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7003ced165dd70f5d2d5c9a075e52b76b774014184a2f20730a6de9bfa017f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): project-manager/src/manager.rs:200-212 | project-manager/src/manager.rs:214-226 \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":"project-manager/src/manager.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cade3ab715eb797946f78e9737c50a7b69b45d5b146c3c5e777e79f54498ad09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): editor/src/plugins/collider/mod.rs:413-424 | editor/src/plugins/collider/mod.rs:551-562 | editor/src/plugins/probe.rs:184-195 | editor/src/plugins/probe.rs:245-256 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f255c88c54081db7cb41a782a3bfd4b817957ed3ebd8a97f8f9d90da7dad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): editor/src/plugins/tilemap/autotile.rs:468-479 | editor/src/plugins/tilemap/autotile.rs:619-630 | editor/src/plugins/tilemap/wfc.rs:503-514 | editor/src/plugins/tilemap/wfc.rs:637-648 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"34aad3d7378d9ec990f1de42fcd9e3a8ef0bb875ff4b7f6b5d7ac2946a7ea99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): editor/src/plugins/tilemap/colliders_tab.rs:242-253 | editor/src/plugins/tilemap/macro_tab.rs:311-322 | editor/src/plugins/tilemap/properties_tab.rs:466-477 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d3f32fc7bb6d6e1373bac1a4a4ebd418a937b4e1aeb540e5dd6d433a66c32c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/export/mod.rs:272-283 | editor/src/plugins/inspector/editors/spritesheet/window.rs:334-345 \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":"editor/src/export/mod.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed354e54aa2fff5588aa73d72a346db461ab69f987f26ac3ecf333de128f1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:540-551 | editor/src/plugins/animation/toolbar.rs:660-671 \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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f85e7794feff3102861bef592e145dfb2879b9788d36398203ed41fc514a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/plugins/collider/cuboid.rs:156-167 | editor/src/plugins/collider/cuboid2d.rs:140-151 \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":"editor/src/plugins/collider/cuboid.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6475024ce64ea61293b8a9f584a5ece6683bac2721058ab6ed3806aae6afd15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/plugins/tilemap/commands.rs:1143-1154 | editor/src/plugins/tilemap/commands.rs:1193-1204 \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":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4ee8602eb3329d0b12216d71a7346a860e50132369528aed7dd331cc7e9e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): fyrox-build-tools/src/lib.rs:149-159 | fyrox-build-tools/src/lib.rs:203-214 \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":"fyrox-build-tools/src/lib.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be109f0880453fbdc68c29315f3cfbb376a88b8ff1c8d88aec6120e9eb03d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-impl/src/resource/gltf/surface.rs:498-509 | fyrox-impl/src/resource/gltf/surface.rs:550-561 \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":"fyrox-impl/src/resource/gltf/surface.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a323b264c1886e6f7b01a3d2cc8130512c149402d2c9bd02adff2b9f2b7878f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:281-292 | fyrox-impl/src/scene/graph/physics/mod.rs:404-415 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5277afc1ccc9653baacb1d6a86431db47d5520ba65cabdaaebda211d499f7a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): fyrox-impl/src/scene/tilemap/autotile.rs:325-336 | fyrox-impl/src/scene/tilemap/autotile.rs:489-499 \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":"fyrox-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a47eac6be421d313caa635850dba6a4c2cfc8fb7a4c95afa81c5e191fa31f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): fyrox-impl/src/scene/transform.rs:501-512 | fyrox-impl/src/scene/transform.rs:514-525 | fyrox-impl/src/scene/transform.rs:526-536 \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":"fyrox-impl/src/scene/transform.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c768ee77fcc7431a3716ac0c1765efed10bd5437988650bce08b8e8f022f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-ui/src/file_browser/fs_tree.rs:85-96 | fyrox-ui/src/file_browser/fs_tree.rs:98-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/fs_tree.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f44de76a2e48b1f88a604aae2f6b169af52435784bae3f65b1834df57251923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-ui/src/text_box.rs:1236-1247 | fyrox-ui/src/text_box.rs:1260-1271 \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":"fyrox-ui/src/text_box.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76d775fdc041ec36ecec927e90c866a5c1a88e854481cb78752bfda8e72812a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): fyrox-impl/src/engine/mod.rs:1820-1830 | fyrox-impl/src/engine/mod.rs:1922-1932 | fyrox-impl/src/engine/mod.rs:1963-1973 | fyrox-impl/src/engine/mod.rs:2015-2025 | fyrox-impl/src/engine/mod.rs:2160-2170 | fyrox-impl/src/engine/mod.rs:2195-2205 | fyrox-impl/src/engine/mod.rs:2230-2240 | fyrox-impl/src/engine/mod.rs:2265-2275 | fyrox-impl/src/engine/mod.rs:2417-2427 | fyrox-impl/src/engine/mod.rs:2445-2455 \u2014 all 10 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":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b92515a2d633d8901537d50230dbf91c6c3c5a013a50e25ee2c6e1ac029e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): editor/src/plugins/tilemap/colliders_tab.rs:69-79 | editor/src/plugins/tilemap/macro_tab.rs:71-81 | editor/src/plugins/tilemap/properties_tab.rs:89-99 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1d53409cbae1c3fb247b12dccf546240676f2249e560da48537cbabb69bbf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/asset/preview/mod.rs:527-537 | editor/src/asset/preview/mod.rs:570-580 \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":"editor/src/asset/preview/mod.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28d8d77ecd0ab06edfe4368ca3bfe37ce8f8bff58681a447eafcc795f7e6707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:181-191 | editor/src/interaction/gizmo/rotate_gizmo.rs:101-111 \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":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c489d5e6106389f8cce21f8dd501bfb568b86ad2e2c95bbe01fa2be838ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/collider/cone.rs:96-106 | editor/src/plugins/collider/cylinder.rs:97-108 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/cone.rs\u0060 and \u0060editor/src/plugins/collider/cylinder.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/cone.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1994b896be1083274679a8e5903e1edbadf619c59dfe80b5ee2c661e26841cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:115-125 | editor/src/plugins/inspector/editors/script.rs:183-193 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79b9cca5ff25711a2cf918d490500f8a8883a1354582114d7bf77380213bde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:313-323 | editor/src/plugins/inspector/editors/script.rs:411-421 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/dyntype.rs\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1df01d843ef7f92b3c530661f4e56c69666c9baefd1005be56a1098f09c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:514-523 | editor/src/plugins/tilemap/wfc.rs:530-540 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"87224c6cfb58e3a12714bf6a2fdefa102c2a77666639b45ed6ee45b7d1502ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/tilemap/macro_tab.rs:245-255 | editor/src/plugins/tilemap/properties_tab.rs:301-311 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/macro_tab.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3996fc66315bf8a917fb4e454b3cced7b4f1503df730747b9de3f329a29987eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/tilemap/tile_editor.rs:259-269 | editor/src/plugins/tilemap/tile_editor.rs:296-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":"editor/src/plugins/tilemap/tile_editor.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"56966285ab67aa8bd63a8294713216768d2583ca759bf8cd8bdedab3412818fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/tilemap/tileset.rs:296-306 | editor/src/plugins/tilemap/tileset.rs:310-320 \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":"editor/src/plugins/tilemap/tileset.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a2998ae74ab1efee79e0c0f99ee7b011adf551756457a97546829537870be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): fyrox-graphics-gl/src/program.rs:162-172 | fyrox-graphics-wgpu/src/program.rs:257-264 \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":"fyrox-graphics-gl/src/program.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da80c32bd7df435904e195781d57f6a5a294f2cb6186111c254f5c076b97ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): fyrox-graphics-gl/src/texture.rs:376-385 | fyrox-graphics-wgpu/src/texture.rs:464-474 \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":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b8e5e36666e84a123ce46109f60b59aa0ce4a1f57d8bb7765d28fbf84706e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-impl/src/resource/fbx/mod.rs:320-330 | fyrox-impl/src/resource/gltf/material.rs:418-428 \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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc830464212d76931d742260d51564501f7b3f137e7fc9342855306888ef2a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-impl/src/resource/gltf/animation.rs:485-495 | fyrox-impl/src/resource/gltf/animation.rs:544-554 \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":"fyrox-impl/src/resource/gltf/animation.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f75eed30d1d6e48d89f517e4586c43aed5ef94f3cbb0ff81adaeeaefceead2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:709-719 | fyrox-impl/src/scene/debug.rs:766-776 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec5e3f05e0c6f60c5dbb0bc9c98bb1cfb669c1f841d1fa368d5d9f96e876198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/character.rs:129-139 | fyrox-impl/src/scene/graph/physics/character.rs:207-217 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/character.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/character.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/character.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5cb4b2e43c3ee7e4119525702366e80d2478a41449a1e2824475be63136b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): fyrox-impl/src/scene/mesh/surface.rs:636-645 | fyrox-impl/src/scene/mesh/surface.rs:775-785 \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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a3398589cee1ed3e50cba92f3dddf4b698279af3309c908681e6e897416f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-impl/src/scene/mesh/surface.rs:823-833 | fyrox-impl/src/scene/mesh/surface.rs:839-849 \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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"72da9ea621a9bb11281dd7487d372620f0aff2134d7442682b1ad4403b8c495c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-math/src/lib.rs:558-568 | fyrox-math/src/lib.rs:598-608 \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":"fyrox-math/src/lib.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"046eea549606b7f658a45c3a0bdffd1ed9206749ecc4bcc3846cf88a9f645c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/file_browser/selector.rs:367-377 | fyrox-ui/src/file_browser/selector.rs:417-427 \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":"fyrox-ui/src/file_browser/selector.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"008852f96f0fc31d3dff93942892c406094fccdd9fa59f736f9ac60843d80d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/inspector/editors/mod.rs:890-900 | fyrox-ui/src/inspector/editors/mod.rs:933-943 \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":"fyrox-ui/src/inspector/editors/mod.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb73d4949316b851a330363bc259b0f1791244a9ecb365b09b3ee83ecaf3122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): fyrox-graphics-gl/src/texture.rs:375-384 | fyrox-graphics-gl/src/texture.rs:580-589 | fyrox-graphics-wgpu/src/texture.rs:382-391 | fyrox-graphics-wgpu/src/texture.rs:463-472 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c0bf96733e8237067cfd3029267acb571302e614bca1a2ba13297cd5a38ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): editor/src/plugins/tilemap/interaction_mode.rs:329-338 | editor/src/plugins/tilemap/interaction_mode.rs:369-378 | editor/src/plugins/tilemap/interaction_mode.rs:408-417 \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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"595516ea00a80bb963f1b1fe64a1cf3a016b3663a119c95b157797708a17c6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): fyrox-impl/src/scene/dim2/rectangle.rs:386-395 | fyrox-impl/src/scene/particle_system/mod.rs:607-616 | fyrox-impl/src/scene/sprite.rs:381-390 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rectangle.rs\u0060 and \u0060fyrox-impl/src/scene/sprite.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b7561be99a32f1842cc3dc53d38a37b5d72c5535db54530f740edf4f3265bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): fyrox-ui/src/inspector/editors/array.rs:138-147 | fyrox-ui/src/inspector/editors/array.rs:412-421 | fyrox-ui/src/inspector/editors/collection.rs:609-618 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/array.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/collection.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c2058ae474b335adca4c424fd8931e280b6af07415099b43deb76182ceb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): fyrox-ui/src/inspector/editors/mod.rs:748-757 | fyrox-ui/src/inspector/editors/mod.rs:758-767 | fyrox-ui/src/inspector/editors/mod.rs:768-777 \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":"fyrox-ui/src/inspector/editors/mod.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"713d47dee401a51ccfe2c10fc65387ab3494ce042b20731363a6570530d0e2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): editor/src/plugins/absm/state_graph/mod.rs:307-316 | editor/src/plugins/absm/state_viewer/mod.rs:422-429 \u2014 \u0060editor/src/plugins/absm/state_graph/mod.rs\u0060 and \u0060editor/src/plugins/absm/state_viewer/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ee317a90363df0624752ef20a518aca1227449bdbf0670480db17a18f95d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/ragdoll.rs:717-726 | editor/src/plugins/ragdoll.rs:753-762 \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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa5783f34649a302ea892c155b1c78e6b40835c0a57f6ae144e1185c4bc4cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:128-137 | editor/src/plugins/tilemap/macro_tab.rs:135-144 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c5a7b2992964b59b9fae30c2eca7e54dee26a0a7976cbb7bd689e1c2450e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:122-131 | editor/src/plugins/tilemap/properties_tab.rs:147-156 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bc618969dc2bf8d82b5c546708348b46c52a97cb3441839f90afbf4bd10a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:149-158 | editor/src/plugins/tilemap/properties_tab.rs:253-262 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b112c3e14b77568f57508c62543a40ba60e66d8643cb9bfff2f9efd44f2895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:166-174 | editor/src/plugins/tilemap/properties_tab.rs:375-384 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe16766ac12d82cc956a8871bc04804155a990ef6e5b3647f63fafcd03ec765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/interaction_mode.rs:514-523 | editor/src/plugins/tilemap/interaction_mode.rs:698-707 \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":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b27008524121cdb610ef81bcda8e824933b9e851091e71433c1cc38f570bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1558-1567 | editor/src/plugins/tilemap/palette.rs:1603-1612 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de73e08cdc6a0c16df6f6a28426706e1bc00fb1319f50b9bfe0d1c89f33512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/panel.rs:359-368 | editor/src/plugins/tilemap/properties_tab.rs:265-274 \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":"editor/src/plugins/tilemap/panel.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e9d850baa3d831955aea90fc647d8fcc21c1cdacc8d23279a72342d73b40ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): editor/src/scene/mod.rs:299-306 | editor/src/ui_scene/mod.rs:271-280 \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":"editor/src/scene/mod.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25b801897ab1734ec3c88eeca443fa235c16c5378f068bcff60df133e6dd0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/ui_scene/menu.rs:234-243 | editor/src/world/menu.rs:395-404 \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":"editor/src/ui_scene/menu.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c8362c5834d27ad1d5cd03e3ce755837d64d22c8402397aa6a2442ea485c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-animation/src/container.rs:191-200 | fyrox-animation/src/container.rs:216-225 \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":"fyrox-animation/src/container.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"98787cd5a2769a4e9edc5a443e3e4e3e75400c35cda7e571994e863daa14457c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-graphics-wgpu/src/framebuffer.rs:952-961 | fyrox-graphics-wgpu/src/read_buffer.rs:124-133 \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":"fyrox-graphics-wgpu/src/framebuffer.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a1995e85e7ad3491db46ab341fec55c1ce7ca18e33e51836834f709cf291ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/resource/gltf/animation.rs:518-527 | fyrox-impl/src/resource/gltf/animation.rs:583-592 \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":"fyrox-impl/src/resource/gltf/animation.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4469192a2b0fcef5b70ee48936c6e126cd840a27020d0f87d0abf666af2db71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:971-980 | fyrox-impl/src/scene/dim2/collider.rs:627-636 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"509acf5447e2303eaadcf1fa4e0685b751ad85bd9a6cd5692f5dd90acd6906ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:743-752 | fyrox-impl/src/scene/graph/physics/mod.rs:1186-1195 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b18d4d64b681ceb10b21c21492086923f65225ec3652fb472145bd2697b81aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1125-1134 | fyrox-impl/src/scene/graph/physics/mod.rs:1623-1632 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a5622c6aee0ff1569637e0b517811d95d690ee8af27d4a1f1f85f2da2abd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1480-1489 | fyrox-impl/src/scene/graph/physics/mod.rs:2002-2011 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"74995b438e98a2895935b9b75af67a82e31c9dd11bd12ba86d289f4e9476f6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/graph/mod.rs:503-512 | fyrox-ui/src/lib.rs:1290-1299 \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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc26375c41fb6ff1cff57e9b12fcc291b3c9345d9844ba72c19cead1842b08ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/graph/mod.rs:577-586 | fyrox-impl/src/scene/graph/mod.rs:615-624 \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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb25f6504e6b4577082fcb4fafd1a8f831e55029c97cb2435cf4584cc7ad7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): fyrox-math/src/lib.rs:135-144 | fyrox-math/src/lib.rs:297-304 \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":"fyrox-math/src/lib.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc334078769e6da5f89bb4e557c771ec44178d7fd5b4a6c1423e54850dbfcb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/bit.rs:299-308 | fyrox-ui/src/bit.rs:311-320 \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":"fyrox-ui/src/bit.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff0db870ea3c2d86b115874c0afbc5d410f89c1415334b732111d22e6e772d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/input.rs:161-170 | fyrox-ui/src/messagebox.rs:245-254 \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":"fyrox-ui/src/input.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22d3d5b340e870969905ad047e291bc4a9a5087d8ea6012aaf38d0d54f18fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/messagebox.rs:342-351 | fyrox-ui/src/messagebox.rs:386-395 \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":"fyrox-ui/src/messagebox.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae022c7215f417f012b11c9d97d4484e8ca0eae0db6511c8429ad964935dee6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): fyrox-ui/src/nine_patch.rs:260-269 | fyrox-ui/src/nine_patch.rs:282-289 \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":"fyrox-ui/src/nine_patch.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb1ec4f68dda0ed494a741299ab8704febd367b2a83502711f723613e565930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/export/mod.rs:285-293 | editor/src/scene/dialog.rs:69-77 \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":"editor/src/export/mod.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa59c47b4ce04e198fc75a29a130017323e83d5a5b54da31f05c61791dd4753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:346-354 | editor/src/interaction/gizmo/scale_gizmo.rs:261-269 \u2014 before extracting anything, compare \u0060editor/src/interaction/gizmo/move_gizmo.rs\u0060 and \u0060editor/src/interaction/gizmo/scale_gizmo.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5dd78ea496b047ce580f58fed3363540200e5d9b94d3a56a6cbbfaa5094d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/interaction/navmesh/mod.rs:270-278 | editor/src/interaction/navmesh/mod.rs:436-444 \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":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4462b1eb94748d0bc3af322bb094d2080357ce0ed9cf24b7977d27933d227b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/absm/connection.rs:94-102 | editor/src/plugins/absm/transition.rs:136-144 \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":"editor/src/plugins/absm/connection.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0615ec3c45f18bdf4203ff54ae94b95e164aee64d2b811afadc24168f2a307c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/absm/mod.rs:297-305 | editor/src/plugins/absm/mod.rs:309-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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c05fedf1f46378a660bb08fb85fff84217cb0733348e62e34832ae9cf2a68e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:431-439 | editor/src/plugins/animation/toolbar.rs:553-561 \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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a93fc97233b7172eec9153c10c04d588c1b89954e5c1796ad76052ba14f6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/collider/cone.rs:116-124 | editor/src/plugins/collider/cylinder.rs:118-127 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/cone.rs\u0060 and \u0060editor/src/plugins/collider/cylinder.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/cone.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc13432f9eb26607288ddc0d22986daa3d5991fb30d80320ba3133a4fd7a29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:523-530 | editor/src/plugins/tilemap/wfc.rs:607-615 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eef9dd1f194f8d01e50531d7799902a1c26470a316849504b91dc5c127dd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:171-179 | editor/src/plugins/tilemap/properties_tab.rs:291-299 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26653824b0577b20dd384dd348900a8e49f09cf849753dffcab694a8e35ff62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/commands.rs:842-850 | editor/src/plugins/tilemap/commands.rs:993-1001 \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":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"850f9b4ac12925c17d9d32b19c648fc6e652e9154cb9bb9b9aaba3415eb84f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/scene/container.rs:147-155 | editor/src/scene/container.rs:183-191 \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":"editor/src/scene/container.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16eb074340d053571cdd64c68eb4c61034c5d7eaf99caec36ee241cf94ed9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/scene/property.rs:101-109 | editor/src/scene/selector.rs:219-227 \u2014 before extracting anything, compare \u0060editor/src/scene/property.rs\u0060 and \u0060editor/src/scene/selector.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5e43ee2f51d67ce8cb940c4400cdb82f33ea96e94682b2d08e9431c62efde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-core/src/pool/mod.rs:912-920 | fyrox-core/src/pool/mod.rs:959-967 \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":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce59da8d2973eda51ab276214b80baa822255d5d477eb548028d5a27cc955df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): fyrox-core/src/visitor/impls.rs:58-65 | fyrox-core/src/visitor/pod.rs:164-172 \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":"fyrox-core/src/visitor/impls.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1767aa3ad0de0438e7496e6d599b20e8eafb4495e5b2cb14ea360d8808292d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-graph/src/lib.rs:1517-1525 | fyrox-graph/src/lib.rs:1585-1593 \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":"fyrox-graph/src/lib.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"6035957583b1ab79825d089494f46fb91798484c8c13002b09d4f8fe7220aa0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/resource/fbx/mod.rs:450-458 | fyrox-impl/src/resource/fbx/mod.rs:463-471 \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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b7167b46bf68876eddf376687ea03da81e8987626a69384333dc52ba7c6d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:625-633 | fyrox-impl/src/scene/graph/physics/mod.rs:1067-1075 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"329e3787b46c63049c751b764bc624ccec9f8772f04e635ef112ccb256ec9283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:163-171 | fyrox-impl/src/scene/rigidbody.rs:247-255 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b639db91bc969c8bb1ac4ca52c98fa784cc7bcf65242a5c5d99eb53d811192b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:201-209 | fyrox-impl/src/scene/rigidbody.rs:290-298 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36b21344b9d562f1b2a711f9a9d4763a789d45f757e2d570d629af273d573fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:211-219 | fyrox-impl/src/scene/rigidbody.rs:302-310 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b32f536f8db871076e040afb5bd5a1c343d50dd9d1bab81515d78348fe6c58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:662-670 | fyrox-impl/src/scene/rigidbody.rs:838-846 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b8ad00050c44f5b80de26ea87f00c6bac249e742fae49568d27408e05de2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): fyrox-impl/src/scene/mesh/surface.rs:355-363 | fyrox-impl/src/scene/mesh/surface.rs:365-372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1394692ee27801c280fe4f4a8a1218bc8c98998078754db3447b8e3f2b260b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/mesh/surface.rs:420-428 | fyrox-impl/src/scene/mesh/surface.rs:458-466 \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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6169a117d70491acafcc20456d1f34dbd633bd9c93013c32fb8b4c4b8a8707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/particle_system/emitter/base.rs:103-111 | fyrox-impl/src/scene/particle_system/emitter/base.rs:430-438 \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":"fyrox-impl/src/scene/particle_system/emitter/base.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e8009b4e3077f4bc8bd2ac3864f67787d225b6e085ad41515387f33420759a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/terrain/mod.rs:2273-2281 | fyrox-impl/src/scene/terrain/mod.rs:2300-2308 \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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2014d672f86d597139522254eec0128b8a6402f603485b877d607f1a3224f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/terrain/mod.rs:2277-2285 | fyrox-impl/src/scene/terrain/mod.rs:2309-2317 \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":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a225c1795226d2aa1fce389fb4ce5084060679b761a6d2338c5dbe529fcc1e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/tilemap/mod.rs:596-604 | fyrox-impl/src/scene/tilemap/mod.rs:607-615 \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":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"433f2e23894c8d1e0fd899e1f5f1be5b36e5adcb92d7148bbc0225d1a5e1ec69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-ui/src/matrix.rs:142-150 | fyrox-ui/src/vec.rs:178-186 \u2014 before extracting anything, compare \u0060fyrox-ui/src/matrix.rs\u0060 and \u0060fyrox-ui/src/vec.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/matrix.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de4981aefed4b71da334cb720e64605955e5f051e2c55b3e5bfb8ebc71837c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-ui/src/messagebox.rs:376-384 | fyrox-ui/src/messagebox.rs:430-438 \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":"fyrox-ui/src/messagebox.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb9f66a45e29c76615f6209c0bda663691c196791eae5bcc5d52da790b8973f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): fyrox-impl/src/scene/debug.rs:707-714 | fyrox-impl/src/scene/debug.rs:764-771 | fyrox-impl/src/scene/mesh/surface.rs:624-631 | fyrox-impl/src/scene/mesh/surface.rs:765-772 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b074b8b7bc24656bef54074b21fe85d8d4385b40511a115ef62576ef0a42c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): fyrox-core/src/visitor/impls.rs:55-62 | fyrox-core/src/visitor/mod.rs:152-159 | fyrox-core/src/visitor/pod.rs:161-168 \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":"fyrox-core/src/visitor/impls.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aef11407836e3dcf392efc3fedc56dfea99b617b75d3c7673472a0f44a5d38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): fyrox-impl/src/scene/terrain/brushstroke/mod.rs:987-994 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:1000-1007 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:1011-1018 \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":"fyrox-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d61dbfea7d7562c3dd8adfb5cf66c8fde70e14fdd453ac80ab443275beb8ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): fyrox-math/src/lib.rs:144-151 | fyrox-math/src/lib.rs:304-309 | fyrox-math/src/lib.rs:340-347 \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":"fyrox-math/src/lib.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be75c91fe92783f56a32f8271c7bea115f986073582b8cb7cfdde105c71c1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): fyrox-ui/src/inspector/editors/char.rs:52-59 | fyrox-ui/src/inspector/editors/immutable_string.rs:56-63 | fyrox-ui/src/inspector/editors/string.rs:52-59 \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":"fyrox-ui/src/inspector/editors/char.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bba87b3906fa24122f581a58aead466bb6b7d81fb960a4c5ebda9b0ccbc526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/audio/preview.rs:316-323 | editor/src/particle.rs:329-336 \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":"editor/src/audio/preview.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f066f25e2df0b809ffba6c7374087fc9c0dc108ca81df3dd7f57c05f84a7c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/interaction/rotate_mode.rs:201-208 | editor/src/interaction/scale_mode.rs:193-200 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086d42b34e7048ab1efbc2ec454c7157ee60494f1bc2dac714f9865b5fedfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/lib.rs:686-693 | editor/src/lib.rs:709-716 \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":"editor/src/lib.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4e1da7e2d899e87b77f0b9a04da30ace3377cc9c0cb4435e44058ab5deb533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/absm/state_graph/mod.rs:369-379 | editor/src/plugins/absm/state_graph/mod.rs:476-483 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4006140a2f57dae7a14e230851061f7ff1ca32a16ddba30fa656660ac7965255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/absm/state_viewer/mod.rs:637-644 | editor/src/plugins/absm/state_viewer/mod.rs:654-661 \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":"editor/src/plugins/absm/state_viewer/mod.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf13149285f86d6e2ec652826b0364f779815ee658b653355cfe01ef0699718e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:222-229 | editor/src/plugins/tilemap/wfc.rs:269-276 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"06abc7b362278029d0b6e16fcf2733ba3c7e3a6be65bfff93bfcb696e2b8958f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:581-588 | editor/src/plugins/tilemap/wfc.rs:557-564 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"251a697d14275d8648bbf2454303d412670a3778b71d6f38f4f3c2e12c6ccbc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:878-885 | editor/src/plugins/tilemap/wfc.rs:891-898 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a2fa86853b1447d443034f011ef942801bb9822895be64038f9b6bd2d915f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/collider_editor.rs:255-262 | editor/src/plugins/tilemap/tile_prop_editor.rs:398-405 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/collider_editor.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4044a5b1a6f9593b0c9829f61407d36d8dc83a2782f14930a4ebe1a8f75f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1500-1507 | editor/src/plugins/tilemap/palette.rs:1514-1521 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf6d9cc0352931e8509f6feb2e08f0f95ad192109a447d4ec01f3803cd24c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/properties_tab.rs:308-315 | editor/src/plugins/tilemap/properties_tab.rs:458-465 \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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289dc096b6a29ff142bd2b2f2d05bd6c4610111cbb3ff0e7b56aec08b80c3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/scene/property.rs:526-533 | editor/src/scene/selector.rs:466-473 \u2014 before extracting anything, compare \u0060editor/src/scene/property.rs\u0060 and \u0060editor/src/scene/selector.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b267251fb5d9e3bb62c5a8c861f880c0cc99391f6ba02dcbae789fab43f072f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-animation/src/machine/node/blend.rs:198-205 | fyrox-animation/src/machine/node/blend.rs:213-220 \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":"fyrox-animation/src/machine/node/blend.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e89d145a2920db8c96e5d95ca5928e3200cf21b722ca3c9f91fa8acde49304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-impl/src/renderer/gbuffer.rs:283-290 | fyrox-impl/src/renderer/gbuffer.rs:296-303 \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":"fyrox-impl/src/renderer/gbuffer.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20c614755201ee447b0db80769235e7b02f2969ce0035a1ae2f51444fd08a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:589-596 | fyrox-impl/src/scene/mesh/surface.rs:560-567 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f05c6d1cb8948d74e5bae4577c5a5f791fedd1fc0ac6b572f95ae00e847084f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:173-180 | fyrox-impl/src/scene/rigidbody.rs:259-266 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4aa318e776274bfdff3bb20a5dcb21be6aaa971449863587addda2ad1bf7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:672-679 | fyrox-impl/src/scene/rigidbody.rs:850-857 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e4d9ce880bef223d39b723efe7855ae33f311b827a3dcb019e5c490f06d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-ui/src/draw.rs:364-371 | fyrox-ui/src/draw.rs:441-448 \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":"fyrox-ui/src/draw.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fb76379ea65b26fc7cc374cab517ea94b2950e9b95e3cd934e30dbc28d3e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-ui/src/draw.rs:426-433 | fyrox-ui/src/draw.rs:459-466 \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":"fyrox-ui/src/draw.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e71c2705acc05e1f2ce46e3711776ee3e2e2460d7d08a988624e847833c2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-ui/src/lib.rs:1353-1360 | fyrox-ui/src/lib.rs:1386-1393 \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":"fyrox-ui/src/lib.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e31712e634e6b7c7716a00298100843d521acbe87902a1f1816eb4ffe5b31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): editor/src/plugins/tilemap/properties_tab.rs:669-675 | editor/src/plugins/tilemap/properties_tab.rs:692-698 | editor/src/plugins/tilemap/properties_tab.rs:725-731 | editor/src/plugins/tilemap/properties_tab.rs:758-764 \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":"editor/src/plugins/tilemap/properties_tab.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a2ea2142de3c80c833fc3b7ee573a630c67ccaee7c815714baa9fef5a5636c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): editor/src/plugins/tilemap/colliders_tab.rs:154-160 | editor/src/plugins/tilemap/macro_tab.rs:209-215 | editor/src/plugins/tilemap/properties_tab.rs:258-264 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b82108ae00ba665653c33c69375286733f52c5e82dc24e63905eab74a12af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): editor/src/plugins/tilemap/commands.rs:156-162 | editor/src/plugins/tilemap/commands.rs:192-198 | editor/src/plugins/tilemap/commands.rs:228-234 \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":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17f2537221eee2d64ff41b7c8368b4c44a142e6b6dea642a79cff1e55bd8ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/absm/command/mod.rs:196-202 | editor/src/plugins/animation/command/mod.rs:56-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/command/mod.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaa624387e11350c0ea73f07532cef493d3e2c0fc0f269f70db76ab409f3fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/absm/mod.rs:723-729 | editor/src/plugins/absm/mod.rs:738-744 \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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffc704b2011081542cc4a8934ec839bd8d97d12e8de73640103f189e98443ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/collider/cuboid.rs:79-85 | editor/src/plugins/collider/cuboid2d.rs:75-81 \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":"editor/src/plugins/collider/cuboid.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9defd8347f63c75b181a77913e2dc656a4a23effb982d3a2bf9f7983237cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/collider/cuboid.rs:129-135 | editor/src/plugins/collider/cuboid2d.rs:117-123 \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":"editor/src/plugins/collider/cuboid.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be3c3aa69a2efc8a59c53cfc513447df76d3af39897be75eff6b18b56fa1db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/ragdoll.rs:738-744 | editor/src/plugins/ragdoll.rs:774-780 \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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fbcd7403b0af097fde283c55d53c80f699a1d7e7d528e7451f0754c6acef31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:272-278 | editor/src/plugins/tilemap/autotile.rs:644-650 \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":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc293b39e721f5fb932e96f1bb64de4795cffc367b26322fc84384e0d8916305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:300-306 | editor/src/plugins/tilemap/properties_tab.rs:587-592 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e730684a1c2e82cb6833493075bac935c7ced19a232c41a013f51c4637e689b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/tilemap/tile_inspector.rs:597-603 | editor/src/plugins/tilemap/tile_inspector.rs:671-677 \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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ced2f6dd6a687df537654b07eaa48611150b6b4eb912c2c626468ecd5775de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/scene/property.rs:312-318 | editor/src/scene/selector.rs:304-310 \u2014 before extracting anything, compare \u0060editor/src/scene/property.rs\u0060 and \u0060editor/src/scene/selector.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dfef92006a52dd1b87818608b7dffe6bf6dc335db5c11419109fdb589ed415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-animation/src/machine/node/blendspace.rs:132-138 | fyrox-animation/src/machine/node/blendspace.rs:167-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/node/blendspace.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"215f162089fe559314da1d3aea337a2b7745686abfcaf4da08a89f94afe921be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-autotile/src/auto.rs:174-180 | fyrox-autotile/src/auto.rs:184-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-autotile/src/auto.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3c079af327be41ecb27df7a288f9d84fc529950750ee4afd0c97a441e5bf34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/renderer/convolution.rs:97-103 | fyrox-impl/src/renderer/convolution.rs:180-186 \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":"fyrox-impl/src/renderer/convolution.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f37dfb806c461d3ed69950fe7db76cc43acde8c58803c5c3ec5684dc8ae8643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/resource/gltf/surface.rs:490-496 | fyrox-impl/src/resource/gltf/surface.rs:535-541 \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":"fyrox-impl/src/resource/gltf/surface.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab6eb07bbe4ebdc61ab5f80e376df4bf0c956f6cd1eea3a4d7ed82ed4800f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:605-611 | fyrox-impl/src/scene/debug.rs:614-620 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d9ab79f8d456a3758573b343061c4e8508c158644329f77cd41eed7a557675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:518-524 | fyrox-impl/src/scene/rigidbody.rs:659-665 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dce33d55f42bff96a939a8192488cf11f056c22453e1ef499a554557d22d416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/tilemap/tileset.rs:389-395 | fyrox-impl/src/scene/tilemap/tileset.rs:422-428 \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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f832b6286e69adacf5007759445b410f8d34d037cd22fab45f01a43073db5859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-ui/src/color/mod.rs:135-141 | fyrox-ui/src/color/mod.rs:416-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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4a2b01b96d5cce42262feea917f8c531b2fb155e89cfd5e5741e29df2218ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-ui/src/formatted_text/textwrapper.rs:99-105 | fyrox-ui/src/formatted_text/textwrapper.rs:161-167 \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":"fyrox-ui/src/formatted_text/textwrapper.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a23f573780d4133bb39b8aa73a190a9d5aa5ada6dabfb0c3822084c8cf9a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-ui/src/image.rs:244-250 | fyrox-ui/src/image.rs:260-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/image.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cace410e4c5ec94c284c1a392a9615db57cce4140afb104bb6dc4f250059b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-ui/src/key.rs:284-290 | fyrox-ui/src/key.rs:483-489 \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":"fyrox-ui/src/key.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bf91a6ae72b85a05784262c0aa22cd2ede32c458b9a2bf6f20a9f9bd86c6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): fyrox-ui/src/node/constructor.rs:183-186 | fyrox-ui/src/node/constructor.rs:190-196 | fyrox-ui/src/node/constructor.rs:201-207 | fyrox-ui/src/node/constructor.rs:208-216 \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":"fyrox-ui/src/node/constructor.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a823106b53e99815d55a9482c4e4b2ac685da087ee59430efdd86cc264eff0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): fyrox-ui/src/inspector/editors/texture_slice.rs:611-616 | fyrox-ui/src/inspector/editors/texture_slice.rs:618-623 | fyrox-ui/src/inspector/editors/texture_slice.rs:625-630 \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":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"32db340bb5c1ce699acfba067cd3208967a501a46a147f5f90ddc1467b116a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/lib.rs:701-706 | editor/src/lib.rs:724-729 \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":"editor/src/lib.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dacb596e7b89d17100727e33968cbceba11c5c980002ae87649331dbbfcaf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:312-317 | editor/src/plugins/tilemap/properties_tab.rs:619-624 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb265988ef2f19309ed0b99d8bdb544d377c255182f47902b979dae7385a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/scene/property.rs:378-383 | editor/src/scene/selector.rs:256-261 \u2014 before extracting anything, compare \u0060editor/src/scene/property.rs\u0060 and \u0060editor/src/scene/selector.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b692a75e19b84bf77dcde2041d7e1c2461da786cd5e0c9e3eecb017f5d8b141e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-core-derive/src/reflect.rs:207-212 | fyrox-core-derive/src/reflect.rs:324-329 \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":"fyrox-core-derive/src/reflect.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6bbbc139cb0bb527763054c8f95455547befbc90bec6de9468dd39176386d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-graphics-gl/src/texture.rs:358-363 | fyrox-graphics-wgpu/src/texture.rs:450-456 \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":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"19efb4416bf3741eb527c1e138c4b0c6f169875019e064b20fff436f98431016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/renderer/bundle.rs:1194-1199 | fyrox-impl/src/renderer/bundle.rs:1259-1264 \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":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"95311d75c5f9e1364fba4639098243b088d96f52808e570c5cde20c819359c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/renderer/light_volume.rs:127-132 | fyrox-impl/src/renderer/light_volume.rs:187-192 \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":"fyrox-impl/src/renderer/light_volume.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf89b0b96f93c0ca386760aad7642d187ff597bb5f8d223a30df7bf97541ada4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/renderer/ui_renderer.rs:145-150 | fyrox-impl/src/renderer/ui_renderer.rs:155-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae24160c7542491d477d32a148abcbea54e5ce1fc7f33689c2b488fadd40e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:1057-1062 | fyrox-impl/src/scene/debug.rs:1065-1070 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3fe603ba572fd2d33f125f4ccc32987cd9674bd46903d3f7235b94bb2d6a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:253-258 | fyrox-impl/src/scene/graph/physics/mod.rs:376-381 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"690036496b4726efdaebefa1d7625b12cf3e5c0791d885e4039b2021b90ce2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1004-1009 | fyrox-impl/src/scene/graph/physics/mod.rs:1444-1449 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ca636eed61d22b3504ea33072eb48663a575cdedba3faf470afa0718109c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/tilemap/mod.rs:201-206 | fyrox-impl/src/scene/tilemap/mod.rs:246-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"80beefcfaf2d19e6b84d1018d37d847f17429c8452bfcdcb1c931c6c6e031469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/tilemap/tileset.rs:399-404 | fyrox-impl/src/scene/tilemap/tileset.rs:432-437 \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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feab0a9aa2b231f3eec506cb4f48d8582ca179d666273c151e14c7b992f9889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-ui/src/bit.rs:326-331 | fyrox-ui/src/bit.rs:352-357 \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":"fyrox-ui/src/bit.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea558e1f24afa6cbf54be9031135b2548ede105585904a5ecd8eacbc5232226d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-ui/src/scroll_bar.rs:270-275 | fyrox-ui/src/scroll_bar.rs:292-297 \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":"fyrox-ui/src/scroll_bar.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10997a12b350fbe4ab6248de58bc4804844c3938bf16ddc464f6e52a1bdfd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-ui/src/utils.rs:150-155 | fyrox-ui/src/utils.rs:178-183 \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":"fyrox-ui/src/utils.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b342546e18ca7400cb206ac462b079b22668ba2408c18c00bb5fa734229474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-ui/src/wrap_panel.rs:191-196 | fyrox-ui/src/wrap_panel.rs:209-214 \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":"fyrox-ui/src/wrap_panel.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317cd7e3d7960f0c6787ff289312fac832f1b050223ebefc5aae835060d4cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/audio/preview.rs:299-303 | editor/src/particle.rs:307-312 \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":"editor/src/audio/preview.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff12fccd59d205e319916be7ccafdca07a7a35d629a6ba3763e1bc1fbc1dc53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:214-219 | editor/src/interaction/gizmo/move_gizmo.rs:221-225 \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":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"deafaad607f0e90c5bce6ca33086cc9a5a07a493b0c657abd1c9f1c879a9c39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): editor/src/plugins/tilemap/palette.rs:1755-1759 | editor/src/plugins/tilemap/palette.rs:1771-1775 | editor/src/plugins/tilemap/panel_preview.rs:227-229 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0195a8a9f3095452982650c1f1c39b730ed9d1344e89d72d2afb471e7031da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-core/src/reflect/mod.rs:932-936 | fyrox-core/src/reflect/mod.rs:962-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":"fyrox-core/src/reflect/mod.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b21f739a239ec99b6ed6db84f5514c72142ae35c81394745ca99bcb46f1b7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/resource/gltf/surface.rs:510-514 | fyrox-impl/src/resource/gltf/surface.rs:564-571 \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":"fyrox-impl/src/resource/gltf/surface.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cea0b1b74d9e68a69bce6189567ed5c6db4ae9825e46bc4b1ae90f1b976568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:600-604 | fyrox-impl/src/scene/mesh/surface.rs:571-575 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b90164ed9b461dcff9bb2c5189e990cbe9163d97cca321733fb418b36db390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:1019-1023 | fyrox-impl/src/scene/debug.rs:1030-1034 \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":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e1deea0baeb06b87cad7f7854b8b4a2c766e665bd46bfe77cdb45d3f2b810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1154-1158 | fyrox-impl/src/scene/graph/physics/mod.rs:1652-1656 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6598973c1c01a176a49fa6a3bd98964cbcdcfe0d3989b8ccf36c274e4acacace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/node/mod.rs:146-150 | fyrox-ui/src/control.rs:167-171 \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":"fyrox-impl/src/scene/node/mod.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f9c260821490f3f32eaa7681fb7158d39bb7ab7a0c9bf4057ed49ea037933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/tilemap/tileset.rs:610-614 | fyrox-impl/src/scene/tilemap/tileset.rs:1480-1484 \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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2358d6c99d2c45bae31c6623a371cc624f07a4780b271f85be81e0157456841a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:130-134 | fyrox-ui/src/inspector/editors/collection.rs:228-232 \u2014 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/array.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/collection.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d58672dd347c2e7e523f93e11452b0a915a8f4057a8dedd6dd93584657df07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-ui/src/inspector/editors/texture_slice.rs:156-160 | fyrox-ui/src/inspector/editors/texture_slice.rs:163-167 \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":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4ac7f9a5ebeef82a6eae005bc48828799e39428ef1888da1bf84f4a8c9f50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): editor/src/asset/creator.rs:165-174 | editor/src/export/mod.rs:336-345 | editor/src/light.rs:200-209 | editor/src/plugins/absm/blendspace.rs:809-818 | editor/src/plugins/curve_editor.rs:330-339 \u2014 before extracting anything, compare \u0060editor/src/asset/creator.rs\u0060 and \u0060editor/src/light.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/creator.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9f7e401e242315d061857587f0a58d15b7de2c2b9004ab81e5050504701cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): editor/src/asset/item.rs:260-269 | editor/src/plugins/inspector/editors/font.rs:98-109 | editor/src/plugins/inspector/editors/handle.rs:164-175 | editor/src/plugins/inspector/editors/resource.rs:192-203 | fyrox-ui/src/key.rs:230-240 | fyrox-ui/src/key.rs:443-453 \u2014 there are 6 copies across 5 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 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/item.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31e013f174e64af187bc83c2a0fad443205569e5b351e03201676b2dbf10278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): editor/src/plugins/absm/blendspace.rs:186-194 | editor/src/plugins/absm/canvas.rs:389-397 | fyrox-ui/src/canvas.rs:93-101 \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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64eb506ee8c8970f6046fa28c80f5d1adacd6f5c4a17b942a353cda58db09c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): editor/src/plugins/absm/mod.rs:530-539 | editor/src/plugins/animation/mod.rs:355-364 | editor/src/plugins/ragdoll.rs:1136-1145 | fyrox-ui/src/log.rs:250-259 \u2014 \u0060editor/src/plugins/absm/mod.rs\u0060 and \u0060editor/src/plugins/animation/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bd0b5b9085276f29ae3cf842dc4deccb675aec2bc7dbe43517c4160615786d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/absm/mod.rs:838-842 | editor/src/plugins/animation/mod.rs:990-994 \u2014 \u0060editor/src/plugins/absm/mod.rs\u0060 and \u0060editor/src/plugins/animation/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"5945121de298f5bb237d9275693d9f72a73abe399cefff2b9c0ab37f83314bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/collider/capsule.rs:41-47 | editor/src/plugins/collider/capsule2d.rs:41-47 \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":"editor/src/plugins/collider/capsule.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42fb13e5cef9c3f5e247ac5b11384356517df8323bfe9e197ee5bd0c04937d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/collider/cone.rs:79-87 | editor/src/plugins/collider/cylinder.rs:80-88 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/cone.rs\u0060 and \u0060editor/src/plugins/collider/cylinder.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/cone.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c52836113b93921b19b5bfa0cc08f5101d7cbdc1fe631befd9de851f21b7bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/collider/triangle.rs:41-47 | editor/src/plugins/collider/triangle2d.rs:41-47 \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":"editor/src/plugins/collider/triangle.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"064669ab6380f8a00d5d812542023fad0dd655c904de7904016ea47c247a367d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:931-935 | editor/src/plugins/tilemap/wfc.rs:944-948 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f8cb37c657162ddccb79f0735a870a0069f71168a60b04024a19e1be280411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:960-964 | editor/src/plugins/tilemap/wfc.rs:973-977 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"100a303f93b4e50d33879038b9b91857ddade85173b944253b39668750c4f54c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:266-270 | editor/src/plugins/tilemap/properties_tab.rs:503-507 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 157 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6299bc7a5b55d3faee6caceeba59694ac7b7c8fae4bac4daa396d868c895f0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): editor/src/plugins/tilemap/colliders_tab.rs:87-98 | editor/src/plugins/tilemap/macro_tab.rs:89-100 | editor/src/plugins/tilemap/properties_tab.rs:107-118 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/colliders_tab.rs\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2eef5ff7e1aecfbbca31e34252fcd0bccc3376a78cce37631234819f791bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/plugins/tilemap/tile_inspector.rs:445-456 | editor/src/plugins/tilemap/tileset.rs:153-164 \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":"editor/src/plugins/tilemap/tile_inspector.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c8492c59cb7beb8517f5c72525128280d6fd16dc6194177e73cf901fcb6640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): fyrox-animation/src/machine/mask.rs:73-77 | fyrox-core/src/pool/handle.rs:211-215 | fyrox-core/src/pool/mod.rs:173-177 | fyrox-core/src/variable.rs:441-445 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/mask.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"606db13c09fac777110912c49fa2a2e407e949d70b7904d202c00808395e4718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:963-968 | fyrox-impl/src/scene/dim2/collider.rs:619-624 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a9336c0ade18e43103490b5e70975a8d655aca805790f41967c0d9a926b2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:538-545 | fyrox-impl/src/scene/graph/physics/mod.rs:979-986 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba29cbf66500c7aa6ec7f03c453d57a326d62a559ca4fd492b30774a5ff37a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:777-786 | fyrox-impl/src/scene/graph/physics/mod.rs:1220-1229 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e415cadfe6f1d8bccf3cbcc37ce38ae920c2ec0f78a06025419f27d1da286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:811-815 | fyrox-impl/src/scene/graph/physics/mod.rs:1254-1258 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"204011d4ad9b99f1c94dd07e2d93a06870622b560b5af8413a7b1aad2e2cda03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:817-821 | fyrox-impl/src/scene/graph/physics/mod.rs:1260-1264 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2b3ecf9e5860054d5582ded21c63dd2696e42cc476b954bdf36321a83b4518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:825-834 | fyrox-impl/src/scene/graph/physics/mod.rs:1268-1277 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5a317eeb438b5409287f99c43f20cd16cce186a28f7e7acf3b2ba65bd72252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:969-982 | fyrox-impl/src/scene/graph/physics/mod.rs:1409-1422 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05ec37f1ae80b0825db8e53f48bc54e9063442730820aee6a0c410b2d5ab9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:988-997 | fyrox-impl/src/scene/graph/physics/mod.rs:1428-1437 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/mod.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/mod.rs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 555 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e806a66d32350a5219784f6729955821e4cbf9268b552b8e420dcecb2c2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): fyrox-impl/src/scene/dim2/rectangle.rs:116-125 | fyrox-impl/src/scene/mesh/vertex.rs:125-134 | fyrox-impl/src/scene/mesh/vertex.rs:227-236 | fyrox-impl/src/scene/mesh/vertex.rs:279-288 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d741d4b242c79c2c606c1af79744341198c54e69a1e0dc4aeccf98a9d7dbac91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/dim2/rectangle.rs:289-294 | fyrox-impl/src/scene/sprite.rs:291-296 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rectangle.rs\u0060 and \u0060fyrox-impl/src/scene/sprite.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"811354f36c1879b67b31d0da3e380a66fb9f23b84fafe498dcf784946883db95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/tilemap/brush.rs:322-328 | fyrox-impl/src/scene/tilemap/tileset.rs:2014-2020 \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":"fyrox-impl/src/scene/tilemap/brush.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb50cd56643dfcb36dc3da48cd70947a07a210c54e9d0ba87e3288c91775a86e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/tilemap/tileset.rs:78-90 | fyrox-ui/src/style/resource.rs:57-69 \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":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b43b1a51efdde911ef2deb920256a116d6a70c3d767347ba9de125192af490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-ui/src/button.rs:127-131 | fyrox-ui/src/toggle.rs:60-64 \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":"fyrox-ui/src/button.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"da836ff08355d16a2261465e293b21a096555dc80334e5a57d31b995822da380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-ui/src/draw.rs:927-933 | fyrox-ui/src/vector_image.rs:106-112 \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":"fyrox-ui/src/draw.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c484e00ac3f7402dcf421c4bb0aef3b5c986c5c053e7f3e4dba0f171dc7f970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/list_view.rs:356-366 | fyrox-ui/src/scroll_panel.rs:287-297 \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":"fyrox-ui/src/list_view.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9087e4e6a60b32f512c9800d2d70ea395109687ff9d17c495467a815c4547ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-ui/src/screen.rs:158-166 | fyrox-ui/src/widget.rs:1453-1461 \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":"fyrox-ui/src/screen.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f9ade166f480777910533c4963f92a745586428d5c01e9d976fa0ab3ad31c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-ui/src/text.rs:411-418 | fyrox-ui/src/text_box.rs:1106-1113 \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":"fyrox-ui/src/text.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e514374df213d9c0f2c4b9ea67c5d8e571c5921b3b5f9bdd342f1da2c4830e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): editor/src/interaction/move_mode.rs:487-495 | editor/src/interaction/rotate_mode.rs:269-277 | editor/src/interaction/scale_mode.rs:244-252 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/move_mode.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"791119d0b796a42ea8f75700c9ac09d86766e860d138b5c46f9316383446b28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): editor/src/interaction/move_mode.rs:497-504 | editor/src/interaction/rotate_mode.rs:279-286 | editor/src/interaction/scale_mode.rs:254-261 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/move_mode.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"489af0cff0baf1897c2e6ed71110a37ae67b3225d9d460851578bb5dd0cd136d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/interaction/rotate_mode.rs:60-67 | editor/src/interaction/scale_mode.rs:57-64 \u2014 before extracting anything, compare \u0060editor/src/interaction/rotate_mode.rs\u0060 and \u0060editor/src/interaction/scale_mode.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc13f83edd097cc4b7cb2bf6f25359f53dcea05247ec73d7bfac3d3ce60a2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/plugins/absm/state_graph/mod.rs:73-78 | editor/src/plugins/absm/state_viewer/mod.rs:108-113 \u2014 \u0060editor/src/plugins/absm/state_graph/mod.rs\u0060 and \u0060editor/src/plugins/absm/state_viewer/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d189a403fe333c687d46447e5fb514ac6cc7aa3320ac40736e66af8fcc4fbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/collider/ball.rs:56-66 | editor/src/plugins/collider/ball2d.rs:56-66 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/ball.rs\u0060 and \u0060editor/src/plugins/collider/ball2d.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/ball.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ac4c604e1d1abb08d7067dc39e84464e4992dd25b8378c198ffa16da469da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/collider/ball.rs:86-96 | editor/src/plugins/collider/ball2d.rs:86-96 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/ball.rs\u0060 and \u0060editor/src/plugins/collider/ball2d.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/ball.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c9c1f73e94d85ed05d816de7064f5a94d41fdfeee4352b0931eba7e5accf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/collider/ball.rs:104-112 | editor/src/plugins/collider/ball2d.rs:104-112 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/ball.rs\u0060 and \u0060editor/src/plugins/collider/ball2d.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/ball.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ded1e5a19adf23f118a9bc8957d5db8354c621ecd0a37835539c9bb91eb9937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): editor/src/plugins/inspector/editors/font.rs:225-232 | editor/src/plugins/inspector/editors/surface.rs:343-350 | editor/src/plugins/material/editor.rs:406-412 \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":"editor/src/plugins/inspector/editors/font.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05464631dc66e47f1a6eda6d1406c5e002852c4e2e3413011e1a1b97cb295c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/inspector/editors/handle.rs:486-493 | fyrox-ui/src/inspector/editors/rect.rs:89-95 \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":"editor/src/plugins/inspector/editors/handle.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3af01eaa9ddc3727c858e2326652ef5c59d54c835a36b1d2e39c414c5e32e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/inspector/editors/triangle_buffer.rs:75-81 | editor/src/plugins/inspector/editors/vertex_buffer.rs:75-81 \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":"editor/src/plugins/inspector/editors/triangle_buffer.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5887fffc6756f87ce80c500a15c19cd22da36de77887782a2bf7219aea915f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:346-356 | editor/src/plugins/tilemap/wfc.rs:381-391 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca8f57e93a10f3865c420e0c76edc160859e7d010af98d708814e467e1331a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:866-874 | editor/src/plugins/tilemap/wfc.rs:879-887 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ca25791e45d82c629f3a19585a564182ce4533dd9f61283475030354bdc56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): editor/src/plugins/tilemap/brush_macro.rs:513-517 | editor/src/plugins/tilemap/brush_macro.rs:519-523 | editor/src/plugins/tilemap/commands.rs:408-412 | editor/src/plugins/tilemap/commands.rs:414-418 | editor/src/plugins/tilemap/commands.rs:466-470 | editor/src/plugins/tilemap/commands.rs:472-476 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/brush_macro.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be4977ed7535e4b9536ed53dd39046e6fe6ccf1203de76d4814f2cc7cfd800e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/tile_bounds_editor.rs:69-77 | fyrox-impl/src/scene/tilemap/tileset.rs:254-262 \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":"editor/src/plugins/tilemap/tile_bounds_editor.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3155bfa0ac64656bececa3955670b46c0ade4ba1c7d9f66fc4779d2b8e1e4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/scene/property.rs:513-519 | editor/src/scene/selector.rs:452-459 \u2014 before extracting anything, compare \u0060editor/src/scene/property.rs\u0060 and \u0060editor/src/scene/selector.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b345fbfac1fd0e8320b715d396fa1dbf892a8efebe585a2e61cd3932d47b1467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/ui_scene/selection.rs:145-151 | editor/src/world/selection.rs:149-155 \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":"editor/src/ui_scene/selection.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bf7ada2005d252c29628409d8e9502eb318a35170b5963b1c6d1b88e42ef6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-graphics-gl/src/program.rs:334-340 | fyrox-graphics-gl/src/sampler.rs:133-139 \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":"fyrox-graphics-gl/src/program.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbaf2defeef5dd0d034ef2f21532bb78caa0f3900262a34b0e6e90aa7f1f058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-graphics-gl/src/server.rs:1361-1370 | fyrox-graphics-wgpu/src/server.rs:608-617 \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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efdf785b1df8f2aba6c61678dc43a6d591b528b08bfb5d6128877e73118bf8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-graphics-gl/src/server.rs:1380-1390 | fyrox-graphics-wgpu/src/server.rs:626-630 \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":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7ce7de0b1cc2dbdabf29ef0dc4938aeb4c806b7483aa410806ebf47f991c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-graphics-wgpu/src/buffer.rs:106-110 | fyrox-graphics-wgpu/src/texture.rs:482-486 \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":"fyrox-graphics-wgpu/src/buffer.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b4321c45d2adaea1fc791dbe151e28194b1eef3159dc4335edfc0e51ad6d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/resource/curve/mod.rs:47-59 | fyrox-impl/src/scene/tilemap/brush.rs:70-82 \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":"fyrox-impl/src/resource/curve/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2239802e6d6a6f6068d7472d72d61b313bc4ed5fb05c9eabb8a05ab685457883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/animation/mod.rs:83-88 | fyrox-ui/src/animation.rs:83-88 \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":"fyrox-impl/src/scene/animation/mod.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b9fe71fb883b157ade023d8a221b855f2f00c87324e1c01e10680e5b019509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:1019-1024 | fyrox-impl/src/scene/dim2/collider.rs:675-680 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"b052d756d78d685492666c6e4b74dda235f942f71fe570eb17f4e246c4779c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/character.rs:169-182 | fyrox-impl/src/scene/graph/physics/character.rs:247-260 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/physics/character.rs\u0060 and \u0060fyrox-impl/src/scene/graph/physics/character.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/character.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0131904214c3ceefd4b5229f939f73b551b59ee5cb403780ef2034a66d9e6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:478-486 | fyrox-impl/src/scene/rigidbody.rs:619-627 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff1dc3ecac7d40f2f6b00a41e129fe61608516cd82d4716675c02346750132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-impl/src/scene/dim2/rigidbody.rs:504-515 | fyrox-impl/src/scene/rigidbody.rs:645-656 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/rigidbody.rs\u0060 and \u0060fyrox-impl/src/scene/rigidbody.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b78dd5a5af7fd12483fa67ef5cee4a4058c290628a624958cab7d93ab0cfb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/graph/mod.rs:1656-1662 | fyrox-ui/src/lib.rs:3294-3300 \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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea07939c928a8f97e4ca4f04004f37108e5d7e004cba2cbef39687f3ebf1c330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/graph/mod.rs:259-267 | fyrox-ui/src/lib.rs:1213-1221 \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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a3677ed478c1a9030d24ccbedf98a40cafbc7e10766581090a98ecc7f58055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fyrox-ui/src/inspector/editors/bit.rs:78-84 | fyrox-ui/src/inspector/editors/numeric.rs:98-104 | fyrox-ui/src/inspector/editors/uuid.rs:64-70 \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":"fyrox-ui/src/inspector/editors/bit.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d0969a988e8c2f7ebc79432d30dd8e8414b5623be1971b415e3939fa87c6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-ui/src/curve/mod.rs:1970-1983 | fyrox-ui/src/inspector/mod.rs:1511-1524 \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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"47721fea3b0e23cd292e8f57f5b45853691cbd35c96453f554424afe8ccd1323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/renderer/shadow/point.rs:80-92 | fyrox-impl/src/renderer/shadow/spot.rs:65-77 \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":"fyrox-impl/src/renderer/shadow/point.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82747da42f7640f0819830a5a769ac243ebf2edfb8f8c54eee5180457ebc046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): fyrox-impl/src/scene/dim2/joint.rs:349-361 | fyrox-impl/src/scene/dim2/joint.rs:383-395 | fyrox-impl/src/scene/joint.rs:408-420 | fyrox-impl/src/scene/joint.rs:442-454 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/dim2/joint.rs\u0060 and \u0060fyrox-impl/src/scene/joint.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/joint.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeff0fda568d56dc6abeb7f703bddcc4f2564d3573e4eedc826479365f8cc76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-build-tools/src/lib.rs:117-129 | fyrox-build-tools/src/lib.rs:244-256 \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":"fyrox-build-tools/src/lib.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf663e3e842c391717631a9037f37c874368a84ff9a7e7e640b866b41cd39270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:1049-1061 | fyrox-impl/src/scene/dim2/collider.rs:707-719 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"c277d6bba787391b11d1e068ec261ebe67147e8435c033f41afd4065b87618b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): editor/src/plugins/ragdoll.rs:729-738 | editor/src/plugins/ragdoll.rs:742-753 | editor/src/plugins/ragdoll.rs:765-774 | editor/src/plugins/ragdoll.rs:831-840 | editor/src/plugins/ragdoll.rs:870-879 \u2014 all 5 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":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdb0b125ad99d004d48bf523763e4a449d958a0df12554b111b21d7b2399997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-build-tools/src/lib.rs:183-194 | fyrox-build-tools/src/lib.rs:204-215 \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":"fyrox-build-tools/src/lib.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"385aa72ac409c82f4f72fc5fa983eadf2d421bca1c97e6f15f294544fde52d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): editor/src/asset/mod.rs:972-983 | editor/src/export/mod.rs:272-283 | editor/src/plugins/inspector/editors/spritesheet/window.rs:334-345 \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":"editor/src/asset/mod.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e7b8a90e4c4530d7e1ca16a70a51399e479557732b3693cb5948bd8244e3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/interaction/gizmo/scale_gizmo.rs:136-145 | editor/src/interaction/terrain.rs:253-262 \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":"editor/src/interaction/gizmo/scale_gizmo.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71bfdf1e3660052ecf1861302fc4b8d7095f0f33960e31b931f0b2af811e063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/color/gradient.rs:374-383 | fyrox-ui/src/log.rs:63-72 \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":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a76b6657edd100e31150279b85891226619ab17eb5971f64e007d1353fd74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/mesh.rs:350-359 | editor/src/plugins/tilemap/panel.rs:382-391 \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":"editor/src/mesh.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"513a521f3060b51c9ac861b08c4aa4d4dd7237b2e954dca00e488ac2c6402e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:571-579 | editor/src/plugins/tilemap/wfc.rs:547-555 \u2014 before extracting anything, compare \u0060editor/src/plugins/tilemap/autotile.rs\u0060 and \u0060editor/src/plugins/tilemap/wfc.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43c454b208b23497fd9b6aaa8f0ec3635bf30184a1b819cd2b069d45d799f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:577-585 | editor/src/plugins/tilemap/autotile.rs:590-598 \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":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d89df5dd01568a32241a0b2edfca8ab70d03ee3c688f7f8df359f6dff694d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-build-tools/src/export/utils.rs:149-157 | fyrox-build-tools/src/export/utils.rs:176-184 \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":"fyrox-build-tools/src/export/utils.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"20af5f0998d27b93e5c14b2736cfa44726c5ba5eea20c5cf065a1cfbcc5f03f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/lib.rs:993-1001 | editor/src/lib.rs:1003-1011 \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":"editor/src/lib.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b8b3365d20c85e54d160c1067d0bd395e74322fa0fdd6b8ef849465e5ff920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:1063-1071 | fyrox-impl/src/scene/dim2/collider.rs:721-729 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"1363c3c29e36dc993ee5470e17b9f3ca79610d98e8e290e335c47f846d75bc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:985-991 | fyrox-impl/src/scene/dim2/collider.rs:641-647 \u2014 before extracting anything, compare \u0060fyrox-impl/src/scene/collider.rs\u0060 and \u0060fyrox-impl/src/scene/dim2/collider.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66474153c25895b342d0bd6eea114ee975e11eafa7f6c7ce45dbed63fa38cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): fyrox-ui/src/inspector/editors/texture_slice.rs:610-615 | fyrox-ui/src/inspector/editors/texture_slice.rs:617-622 | fyrox-ui/src/inspector/editors/texture_slice.rs:624-629 | fyrox-ui/src/inspector/editors/texture_slice.rs:631-636 \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":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9842b29452dca2537310a5501e7ad41b3503ed0ac49ff4624677ac3140e936b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/plugins/tilemap/commands.rs:1065-1070 | editor/src/plugins/tilemap/commands.rs:1100-1105 \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":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f33c1b22aa175f2d90bf6fc1dccda1f0be2bd9fd042f2feb7417a364bce87ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/mesh.rs:227-232 | editor/src/mesh.rs:245-250 \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":"editor/src/mesh.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"349d2bdf88ea62df8cae0ec99a9e09b7782eac25d95c025c3deb90fc84736f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:253-258 | editor/src/interaction/gizmo/scale_gizmo.rs:193-198 \u2014 before extracting anything, compare \u0060editor/src/interaction/gizmo/move_gizmo.rs\u0060 and \u0060editor/src/interaction/gizmo/scale_gizmo.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9812434f573c29651f4293dcb6a0fe7eb2d8b1e8b29e1aac6a8a88031bc79cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/absm/mod.rs:823-827 | editor/src/plugins/animation/mod.rs:979-983 \u2014 \u0060editor/src/plugins/absm/mod.rs\u0060 and \u0060editor/src/plugins/animation/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d89a85d52503e7a1cb1f55abf40c5f85f2a57c4fb0233d64d9bba76afa27a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1584-1590 | editor/src/plugins/tilemap/palette.rs:1592-1598 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"41871afab39fc595f5fd240e3cd9b2bb58d712a0ef7dcecd99c963e64904e473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:584-588 | editor/src/plugins/tilemap/palette.rs:615-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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b5f0568a1f59643891ffb308e0422795a200a55f9da0e27740e99dca452ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/renderer/occlusion/grid.rs:97-102 | fyrox-impl/src/renderer/visibility.rs:67-72 \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":"fyrox-impl/src/renderer/occlusion/grid.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a8a212cc50e425e49609379dc1f05ab2956a466547fc3eb76f991ae904ee22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/mesh/surface.rs:576-588 | fyrox-impl/src/scene/mesh/surface.rs:591-603 \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":"fyrox-impl/src/scene/mesh/surface.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fee299655c2f56c4766f1b750d7ccc6b70f6a60393fff2b5faa978a19537d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-ui/src/style/mod.rs:377-381 | fyrox-ui/src/style/mod.rs:442-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/style/mod.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"72397e871f024de44f0e6f3669ee9e3be45fea00789a0c7602f89dddf7a426b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-ui/src/test.rs:92-98 | fyrox-ui/src/test.rs:117-123 \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":"fyrox-ui/src/test.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"654a86342f8ee35bbe9be93948f2205cdd06f5835a482c8da01a423675585773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/test.rs:99-109 | fyrox-ui/src/test.rs:133-143 \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":"fyrox-ui/src/test.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c82670844f7ebdc70fb5f95b9195f4eaacc08b37bf4c6ac6eae5e34b557290f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project fyrox-impl: fyrox-impl has instability 0.87 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0d15b6696f224bc7ac7a90a6e481a8db760d388ceacda1963552dfc0ab6d6ec1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: fyrox-math: fyrox-math: abstractness 0.26, instability 0.00, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2b51d1ab22e33a3c64c85501ead3e686c6666c035ee84a56d499bb7d74ba432f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: fyrox-autotile: fyrox-autotile: abstractness 0.29, instability 0.00, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cd621237c541c06970d40f8810ccb55d7ff6093c15125f407428207cca944c66"}},{"ruleId":"D13","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":"c68ce8b63915396b982bd2bfdd49069d55473b4e0515706d0a0b0dcad6f7d9a1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/scene_viewer/mod.rs: editor/src/scene_viewer/mod.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in SceneViewer::handle_ui_message at line 692. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- editor/src/scene_viewer/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3b011117b0922dc97408a2e4e63acb092338bd14a119a56d7ed7f794f88760"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/absm/canvas.rs: editor/src/plugins/absm/canvas.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in AbsmCanvas::handle_routed_message at line 416. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- editor/src/plugins/absm/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":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6703894feec02716e6fa8ad50ccb30190790158008598ff1a09a6c5f4c2cc4ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/formatted_text.rs: fyrox-ui/src/formatted_text.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in FormattedText::arrange at line 1059. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/formatted_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":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"4597032c477612d002b691f30e287ff11ea01cddbedf057ba7423383e2044664"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/inspector/mod.rs: editor/src/plugins/inspector/mod.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in InspectorPlugin::on_ui_message at line 456. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- editor/src/plugins/inspector/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d338ff5e2f17fbc42743b95193d601664c2ccd4a31a5c2ed7b626745966c736"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/settings.rs: editor/src/plugins/settings.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SettingsWindow::handle_ui_message at line 241. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- editor/src/plugins/settings.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":"editor/src/plugins/settings.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e6de029f8c79dd233c0989c2d96e25549dbf23299772d2db4b636ae9afde56"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: fyrox-ui/src/inspector/editors/inspectable.rs: fyrox-ui/src/inspector/editors/inspectable.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is InspectablePropertyEditorDefinition::create_message at line 130), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cdo not compact fields in the inspector \u002B always show \u0060revert\u0060 button\u201D; \u201Cfixed style for hash map property editor\u201D; \u201Cfixed layout of inheritable property editor \u002B styling\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/inspector/editors/inspectable.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":"fyrox-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1134dc92c8d17ad2bae5f90bb7ac4c1b8de42002a5f932db9f88b67a7062157e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: fyrox-core-derive/src/reflect.rs: fyrox-core-derive/src/reflect.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is fyrox_core_derive::reflect::quote_field_prop at line 116), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfixed \u0060field_direct_ref/mut\u0060 for structs with hidden fields\u201D; \u201Cfixed incorrect impl of derived \u0060fields_count\u0060\u201D; \u201Cfixed tuple elements naming\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- fyrox-core-derive/src/reflect.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":"fyrox-core-derive/src/reflect.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfa321d2a145ee72bd50a333e6308b53aca5b1819cd017ce236e9b78ecfe9a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: editor/src/plugins/inspector/editors/dyntype.rs: editor/src/plugins/inspector/editors/dyntype.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is DynTypePropertyEditorDefinition::create_message at line 296), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfixed tests\u201D; \u201Cfixed dyn type editor \u002B tests\u201D; \u201Cfixed layout of inheritable property editor \u002B styling\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 10:33:17 \u002B03:00\u0027 --until=\u00272026-09-27 10:33:17 \u002B03:00\u0027 --full-history --no-merges -- editor/src/plugins/inspector/editors/dyntype.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":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1ebda0b8eea59f9221a629a4a054cbf5d73f905adfac562d9b49711a6465be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 16 files: The identical TodoComment appears in 16 files (22 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 22 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdda01fe58108e2494dc8e9c6c229fd8b06e38b2942a1a0c73a21e438d8dd275"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add multi-selection support. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/selection.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda82f5c4a4c9e6ba4e840c5b7f18afa4e4d60b42cf827beff7274a7a217fece"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a hack, refactor \u0060render_scene\u0060 method to accept render data from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/preview/mod.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8a8d33326563ead4e4e0e9705f08873224d8b9a267a9c3b9ccdfe85bad5d7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/preview/mod.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5e923bc19d7885e8f26ebe9437871af1dcf11581e351ceac43ea47d25a31c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: HACK! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3949e914e9282e5a334b9194d2daa51c3770edeb5f506dccd09046b49a3ce3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: HACK! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e6ed75f5c57c5282fc6554c272a2ef66988201c00cfb49d026853525b6416d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Still may behave weird. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/scale_gizmo.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"569e15a843e015cc0f7bf9b6347989e26b1224ce7e68c0dabec7ca2ae9e34309"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if other mode is active. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4267a5f4e25ffb73dc3aa2c18e5c46d9dd06a19a9bc2562e15ec44b5a976bbeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we allow importing only FBX and GLTF files, but they can contain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cc0ba3c7c500108a5dc61b2a560c6a745b3a42e680c392440a01d4ef016412"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK. This is unreliable to just use \u0060bool\u0060 here. It should be wrapped into \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"994eda463c0bb2ef5c23abac409304de5b7283383326418a53f8794701a3d204"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove duplicated code. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73cbabf753829633b88ee515900fbfa8898bd804bdc3783b4012a21f4147dc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This could work incorrectly in case of multiselection of objects \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"8119130d2c561f0355be8a4f7d3578c033407802bddebbefded999a42a5f702c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add generic property editors too (NumericUpDown\u003CT\u003E, etc.). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/mod.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"318df5801869f0149b397e327c6b9c7376fe57c1e358b16c2b8b7b1066382543"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do type check here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/handle.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c70ac58045fe4dcb71db8f5b888fa85f8386e0c5809dbe19705af405d4ec4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow users to drag-and-drop materials into a palette to create \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deedaefa846721fb27560bcd83c13655f3294ca41f40af6f015ad798ec45fe7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is there a better way to make a grid? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f34fc8537d37319421e30f780d391df2184b29b9c93367fa2d07bac77bc423c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we just using \u0060Debug\u0060 impl to obtain string representation for keys. This is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9abc1464f5369bbf749a344bc64b17f47bf00eb2f5ef8581eebe7b7ff8b21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we just using \u0060Debug\u0060 impl to obtain string representation for keys. This is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/reflect/mod.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3569ab1ea718ec0fe8e56a486b74a46daae7818b8b21745dbdb221842482bc74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is unreliable mechanism. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"210632948922db3ab6570010506f6baaf4dc6b75c8b307aba688315a34956272"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is unreliable mechanism. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/reflect/mod.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9530cf82f5ad610b55d09a8948b4829cef1b0e2577fd015dc608dc7138407897"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe set it to the previous one? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/container.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8305e19320983c71d006bd85cc11803d599bbd3a29d68c397ce23aec5828b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: add more icons \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/ui_scene/utils.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fd3fe1e882b9e2deed82a245b450e55e07778d04af033c85ecd8a8830889e9"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack. Due to delayed execution of UI code we can\u0027t sync immediately after we \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/mod.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f34f53a2ab43e89340b4cb1497ef46be7e0563a210d9850dd4ee5917875e3a9"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack. See \u0060self.sync_selection\u0060 for details. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/mod.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbadcffb9c8e9d34bf7d139261bca2152e2f34a16cf1c3a110665a7a5ca5f4f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be replaced with \u0060--out-dir\u0060 flag to cargo when it is stabilized. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-build-tools/src/export/pc.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57813767b8619338fc4d0b823e2bf39187954919734c3ca9c373600ece8e743"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is should be checked for usefulness. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-build-tools/src/export/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"92062e4e5211004c5d6aed98a0fc70d0e1fc3ba4fc84a2319445943e754dcb28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is directory checking possible on wasm? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/io.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4235e2013134f65f581a3bd3824b57bbb36fc8198f8564d31991db99faf351"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: combine uuids \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/reflect/set.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aacddaf1d8bab7f163a41c7460a96079d07a754c1de232ebb4dfcd6713114f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: combine uuids \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/reflect/map.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0508556a4cb00cf5420da8d133a46c87c9fdb782df9c15ef62dd83e23443b01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: combine uuids. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/reflect/array.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d905a7b29a499f8e54c911c7f837d636f5a2fc83c894b739893ee45f1e2557ae"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Visiting an Rc/Arc is undefined behavior because it mutates the shared data. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/impls.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4419ea5667c7e3fc787d068da8a077bbebf0924e0ae6f7b7458114dc47b8cfd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Visiting an Rc/Arc is undefined behavior because it mutates the shared data. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/impls.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c0142eca66ef3a40b2ab0ae81f8837dcc9f72758c33ff684ff711dde2ca19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Force \u0060msaa_sample_count\u0060 to 1 in the wgpu backend. Full MSAA support requires creating multisampled render targets and resolve targets, which is a larger feature. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-wgpu/src/server.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31bbd30705f8bef970df2ee7f4c9850e0a8270d5b89f2797c12b6e6330bd4f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This might be inefficient if there is bunch of scenes loaded, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00b18a3f8922262e45a9599cb609df1aa47f441aac936cf2ce3a701a57c9421"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this means that something bad happened during plugin reloading. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"825a9c61752f961ab11d856de2b18b1f1511340f158db44a202026d17e4e3fcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: A temporary fix until we figure out what\u0027s going on. For some reason, the deferred light renderer requires an inverted viewport matrix. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c81b259012ede69b30b0e6b462a5b4f9a110c221beeecc88177c0ba2104af3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // usually cover the entire screen anyway. TODO: This might still be optimizable, but \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/light.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f82bad2e7ffbb9e156007b1d9e89fdbc785ef526f1daea94bb035563109322d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO. Add z-pre-pass. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/gbuffer.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7e2ba79ba5ed7e895cc3a08380f71e1d73f391d783ca728e9ecaf8cc5c2940"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add depth pre-pass to remove Option here. Current architecture allows only forward \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3616456b898059bb5c8bea7af0e836562ef166ae1f4f3f8c48d2af150d9f00d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It might be worth to add more informative name using a combination of the name of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/cache/geometry.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e32860346e5b6180e1464bde361af42140bb0369343349c6e0325583a241261"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cloning memory from GPU to CPU is slow, but since the engine is limited \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/hdr/mod.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c94ce087265ce05b5efab227d08136d929e4e81dd75044ef2d95ea233fca9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add saving. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/curve/mod.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad6fa7501e3747c107ed1760797e0dc99e7f12c41df535329f94d47d810e081"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use binormals. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/scene/geometry.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85046a7a58f0387507696e4e379b0388d54d3d6163187249a2304afd1bd1b86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use binormals. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/scene/geometry.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"651a45a1c89793d6c851307360d27e2a76226334b1d0ce756d6ed1ffbeb8493f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more formats. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/model/mod.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f663cb18028cb93e037e479289ee6cec3007a74633f0676828886503f45d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe calculate AABB using frustum corners? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/decal.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bb8badec1ca9d3077e6127fa66719daf821ef10fefbc276112a7aa06cf2326"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe calculate AABB using frustum corners? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/camera.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e586e13d81e85a61ea4a21199bf03b6dd640a9603b5c98fe518346d0379149"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Draw this correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a33d3cf7fd284acf42f2d45f4b1c211143c3103aa15a007263c7915ba3a167"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Example \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/character.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dc87ead4ee9fe7cb0362a4e0518911a4b529deb74562e88cef71aa39702ac5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Example \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/physics/character.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"58be1a49f3bee8d8c4c1bd7eb9c25ddcf2a2319bc54912e7d7e1928cf6d81b04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Detect changes from user code here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"13035fbec490c68b73c9ec4a32906ff608d7a2ab68390db36189e122e92dbb85"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Temporary solution for https://github.com/FyroxEngine/Fyrox/issues/365 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"38af10105b2d831b2f82358c1d6950dd7961fec22c01239232fbeb33ae488e90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// This method isn\u0027t well optimized, it could be optimized 2-5x times. This is a TODO for now. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f632f24e9ccc93324ed31630141a05ede5246264c8e5ec501f3a9c73bbd8721"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add image-to-mesh conversion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tile_collider.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"80609841148041c608a8d8cd2920fba8032bc260343d1e4f12162ac764b4e51d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Is single texture enough? There may be surfaces with huge amount of faces \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/utils/lightmap.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af2a7471dac590a2459ec6b05c0a42c5900ab4b8000cb4c6f2b820ccd102913"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// global illumination (TODO), because in this case your data will be raytraced. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/utils/lightmap.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e6d96ec07a93355f15d2c060802edc1b772ffe9016a2bbf0ea50b82d7d8ef4"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: //!     - **Possible values:** \u0060None\u0060, [Some(CullFace::XXX)](fyrox_graphics::CullFace) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-material/src/shader/mod.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4c9796456ec56c077b037c7263bbccdd09447b98acf9b98ae03485b5d208e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Usually curve fetching is continuous, so we should also check the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-math/src/curve.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd81fb474db80f33de91375ed6faa37c5e2c643425feb0dd436991c515491ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a brute-force solution which does not include all potential types with plain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-resource/src/lib.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92161af6f0341db6aa4e260656568c079b4a02a5a02499ae207582f7064497"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: This is magic constant that gives 1024 \u002B 1 number when summed with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-sound/src/context.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"5838ee8dcea29004b4a7343f06de380ebfc92efc9399bbb64d68daf77286e7fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: According to many papers delay line lengths should be prime numbers to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-sound/src/effects/reverb.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2081e5101b0cb9da481a11f3ea407042c7f578b5ed784d5fd8e786fe8f1bb698"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: This shouldn\u0027t be in public API. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-sound/src/effects/reverb.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac43273208cdcfb3a04fcfecc3bae24a7938e04b15780478b16e145e726c31f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This could be done without loop. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-texture/src/lib.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a4c779ca2595d851e5b17ac7b62c6cf50f75db31ad606a86117f21aa41964"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for DXGI formats. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-texture/src/lib.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4baa0bd8dce75a3273896e25e59a334619cbd7c68df895d86578e8c12c65dce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make picking more accurate - right now it works only with rects. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/menu.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a9bc9f2f596e202f5e5eb8837898987c37bee586da321a3f5b37add2ba567b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is suboptimal, because it creates a message per each excessive entry, which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/log.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"88185322741b6dae2a0e543234304b9631e9a1ce226a0f6cf334cd6a2fc82cb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add rest of buttons \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be6a8fdca55e0f1a113da2b13152f680884fda62e85504bad935cc91747202d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use post draw as well. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b92f4ffd49f012e6dd8e7f5d189103acf9f62f5aa6986ad01a2d71394d8a25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use post draw as well. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fdf2fe9e326b93d75efa19c2311ce0ddce1a27598cde4d0eafa58790a6268b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is message needed for focused node? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"006f49862f215452c837bc837904689553f1a5990e6a85e3c175ec3da931c83f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This could give gaps between segments on sharp turns, it should be either patched \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/draw.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1551b1185b2cc88d8338ee9a56ce6b8baf6c029d445ffc788262f20aa362c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this method, use \u0060self.type_info_ref().type_uuid\u0060 instead. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/control.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ec2f153afc580db8345124dc97129e18cb55b049826b2fb737224225b4bd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///     #     todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/control.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfc36907db1508e3f35e87323cdb2facf256d71892cd3b396dfcd487c1f7046"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///     #     todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/control.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd9187c08b7dfb445b83750388e8480bd168b74418ceb450472eff0b4dafb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// #         todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/build.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fcc3cbcae29b9c4beffb798d125cc70c0027f7f5aa4fb9001f850bb2862c69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// #         todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/node/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ab7662fdbe16aa74580b4977e36475787f679096f312a77f7323d6ab480e98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will be slow for curves with lots of keys. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"721dd5d052f3e62f48c355c9f7b771d62bb21d3361644e9c94bed73ae0bd0968"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will be slow for curves with lots of keys. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3f70db45cac02eb0ddd14750987be3a94b575bbd0544f202ff8c5c26835ad6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Layout system could take up to 10 frames in worst cases. This is super hackish solution \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f0729feabfe67d35fbcb77faee4f125517433024e7ea4d8712fe374970c9ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor \u0060create_message\u0060 into \u0060create_messages\u0060 to support multiple \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0470ad6ca42a526a1b0d2bea3655c3a2f3a708d191c397804c088fc18d5f88ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor \u0060create_message\u0060 into \u0060create_messages\u0060 to support multiple \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91d2def4450a593bd95f71f9f4c7abee2519f2444952657a89924595c8d9d0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will be obsolete in 1.0 and should be removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"template-core/src/lib.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cac8f91e7ef123ed0bff1d365011fecf9979f1da2875ed342b72b1a5d13907"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: contradicts the code: Android build instructions point at \u0060cargo-apk apk run\u0060 for armv7-linux-androideabi, but no cross-targeting or wasm-pack build instructions are present. Update the Android section to reflect current Rust target and wasm-pack commands."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"template-core/src/android/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a46ab970c78bab1ad2dc50ccd2dd635ab4c6058317e5eac647416e44498e081"}},{"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":"D22","level":"warning","message":{"text":"Inconsistent naming for setting a path. AssetItemBuilder uses \u0027with_path\u0027, while the AssetSelector builders use \u0027with_selected_asset_path\u0027. Given that AssetItem represents a file/resource and the selector selects one, \u0027with_path\u0027 is the more generic and consistent term for setting a location.: Rename \u0027with_selected_asset_path\u0027 to \u0027with_path\u0027 in both AssetSelectorBuilder and AssetSelectorWindowBuilder to align with AssetItemBuilder. (signatures: AssetItemBuilder.with_path(path: P): Self | AssetSelectorBuilder.with_selected_asset_path(selected_asset_path: Cow): Self | AssetSelectorWindowBuilder.with_selected_asset_path(selected_asset_path: Cow): Self)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"805f172238cad596a1974d31e18f502e4cae370821ecf95770ab49cf445c0aaa"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant methods with overlapping intent. \u0027push\u0027 and \u0027push_command\u0027 both add a command to the group. One likely accepts a generic type C and the other a concrete Command, but this creates confusion for users on which to use.: Remove \u0027push_command\u0027 and rely on \u0027push\u0027 with appropriate type inference or overloading, or rename \u0027push\u0027 to \u0027push_generic\u0027 if \u0027push_command\u0027 is the primary intended API for the concrete type. (signatures: CommandGroup.push(command: C) | CommandGroup.push_command(command: Command))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0072cbb70f5434bfdc3dc1999cca7249b3e68ff2d25d2dc0db8bc8553cbb9313"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent removal API. \u0027remove\u0027 takes an ID and returns a boxed trait object, while \u0027remove_typed\u0027 takes no arguments (implying it removes the specific type T) and returns the concrete type. This splits the removal logic between ID-based and Type-based removal without a clear pattern (e.g., \u0027remove_by_id\u0027 vs \u0027remove_by_type\u0027).: Standardize on ID-based removal for all types (e.g., \u0027remove\u003CT\u003E(id: Uuid)\u0027) or provide \u0027remove_by_id\u0027 and \u0027remove_by_type\u0027 explicitly. Currently, \u0027remove_typed\u0027 is ambiguous about which instance it removes if multiple of type T exist. (signatures: InteractionModeContainer.remove(id: Uuid): Box\u003Cdyn InteractionMode\u003E | InteractionModeContainer.remove_typed(): T)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f1c24dc44ccb407042a0b27972e4d72b528e83f42d5c984583f617f7b6a2690"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent method signatures for UI message handling. The parameters vary significantly: some include \u0027engine\u0027, some \u0027sender\u0027, some \u0027editor_selection\u0027, some \u0027entry\u0027, and some none. This makes it difficult to implement a unified message dispatch system or understand the required context for each component.: Define a standard \u0027HandleUiMessage\u0027 trait or signature that accepts a consistent set of context objects (e.g., Engine, Sender, Selection) and have all components implement it, allowing optional context to be ignored if not needed. (signatures: AssetItemContextMenu.handle_ui_message(message: UiMessage, sender: MessageSender, engine: Engine): bool | AssetBrowser.handle_ui_message(message: UiMessage, engine: Engine, entry: EditorSceneEntry, sender: MessageSender) | AudioPanel.handle_ui_message(message: UiMessage, editor_selection: Selection, sender: MessageSender, engine: Engine) | CommandStackViewer.handle_ui_message(message: UiMessage))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fcdc2bc1f11e2ac756a629c5713e7658b811e566c64d61dab66178dad691d745"}},{"ruleId":"D26","level":"note","message":{"text":"Split editor: A generic editor name that is huge (72k LoC) and sprawls across 36 namespaces, clearly a grab-bag. Suggested: "},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d8d7f4b7f2f511c16a03bad16efc2e36194f6b8da32213a454b9181ec1a30c89"}},{"ruleId":"D26","level":"note","message":{"text":"Split fyrox-impl: A generic fyrox implementation name that is large (71k LoC) and spans many unrelated subsystems like scene/tilemap, renderer, resource/gltf, and physics. Suggested: "},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"51792d504ec8777a7e5450bf7c3e9d2445d17a078e173fb9daba80f4a231f3c3"}},{"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":"3613d9ac6618ac26e1f469a8a273c3e123064888e13d62f8612ba0bc29c3b0ef"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"91a9a07de525ab8ad2fcc8a0d030e63b249791ca7a01a8c961bcb33d20857531"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"54015389eb5f9a0beb6433e209224f32665bbffd45f48b4ac71eacdc7584cddd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"544c4a2303e57e60958ebdb6fd0080ef710d74b76fe4c14761c1aedd5f552ab7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"58416306c1a27a37c4768b939e55dd2865e8672774adab59964be2ffeffdd74f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"866f5db9e17cba13054be81498300d5689d6380b38ab693dd948f99e20adbff5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"05dd1cc6a6536213feac72458953b3ecc92da85b7219289a9d2c68054660f8e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"99c8716916ca0dd9ddee8302208a5745bab6513f34ca12c2672d93f07c07be5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"a1873f73df2980e05749fb989e4983bd7e44b6790994284629fa7f4a2ef29ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"0b81debfdf26ad72c8d0b6ae327091ed6b094389fdb86a94cad6363ea8f38e48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"45e43b2cf0f13df69fd5c5d1f3263d8d91ae8a1d217ff414c529a77aebd1ca8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"233c283afabc3cbe9e1fb2c663cda67ee401e34fde1c1baa92c564e85ddd0b79"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"c4014e7719155abad9ee780737c6a29d8c31bcf1e70b94286734d74edc799576"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"57d823555c0f50a3493fd14230fc2974c80d783a2164e0399518f807a574cc38"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"7f052e3b915703ce74dbe254ce3507080529b36b18c985045e6219d12e5a0d05"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"7c30eadcccbceed0e0d7a888424133243f0a80f7e1c7cb21212f7f3b62f298cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"5c305678eede709e82d752ecfb9078a6305854739b608c2449c49179f10f5924"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"094501179a818a47f703afdd6ca9b953e916172ec63b455fc74ff178f52842c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"7bcb64b80f3ab777ea46e034b5bae3f8443519f013ff587eed5aa074b202269d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ba1bd8cd7cc00ffea37dae7b5e07643f624b23874e3cb0759fc3e4878f73406"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"74e9a15e0aaad67b56b01fc904a989f50780d47c2a8d26f4479f4d170548bf18"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e8358801f39b00898552496f70ea14d5cd30197b985656c6109c836b3d66a18b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"aa374eb93543833ee6e0a29fbaf0afbcb7330df44539ff2a0e0d1912a85b032d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fe915542e9ef9e0e2030d13e5e967c9edc93ad44e0043112709e63c307bce8b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"93c67239263ced008f6948a23fc91225b82d9ea981b2c200b7bb9b3e6d6a2731"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"df38043f089cc380f0507d28c25a6e9fb75594e3ba57309dfa9892cd52cb6a01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tile_rect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71732da1fab0dafb342e49452b68f5a559ab16145d1b665d7558cc9202e07420"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ed32740acfb9febcdfa83b2e4d4e18eff8704814e9b91a11246f903ea4ed0"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 9 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: fyrox-impl/src/scene/terrain/brushstroke/brushraster.rs, fyrox-math/src/segment.rs, fyrox-impl/src/resource/gltf/simplify.rs, fyrox-core-derive/src/reflect/prop.rs, fyrox-impl/src/resource/gltf/uri.rs, fyrox-core/src/safelock.rs, fyrox-core-derive/src/visit/utils.rs, fyrox-impl/src/resource/gltf/iter.rs (and 1 more) (11 orphaned of 595 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 595 of the 646 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: lib.rs \u2194 executor.rs: \u0060editor/src/lib.rs\u0060 (context editor) and \u0060fyrox-impl/src/engine/executor.rs\u0060 (context fyrox-impl) sit in DIFFERENT parts of the tree yet change together 51% of the time (27 of the 53 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 27 shared commits counted here, the most recent 3 are \u006066d1b34f\u0060 pass dyn type constructors when deserializing scenes/uis; \u0060f433968e\u0060 process file system events on every frame; \u0060b40bc9ce\u0060 migrate to latest winit \u002B glutin \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b6d452ac43f89a9decce12cfc9f70a5ff94209d82b94690d062d67717e20df"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: directional.rs, point.rs, spot.rs: 3 files \u2014 \u0060fyrox-impl/src/scene/light/directional.rs\u0060, \u0060fyrox-impl/src/scene/light/point.rs\u0060, \u0060fyrox-impl/src/scene/light/spot.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/light/directional.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"add262fc2b2a3effafb605408f01f84ec1f11383039368a10a8af8083298a850"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: gbuffer.rs, csm.rs, point.rs, spot.rs: 4 files \u2014 \u0060fyrox-impl/src/renderer/gbuffer.rs\u0060, \u0060fyrox-impl/src/renderer/shadow/csm.rs\u0060, \u0060fyrox-impl/src/renderer/shadow/point.rs\u0060, \u0060fyrox-impl/src/renderer/shadow/spot.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/gbuffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede426d9e49b0089f9d00e076e0b84a59c3de8babd7fc901c0ed6f3efc1b46cd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: move_mode.rs, rotate_mode.rs, scale_mode.rs: 3 files \u2014 \u0060editor/src/interaction/move_mode.rs\u0060, \u0060editor/src/interaction/rotate_mode.rs\u0060, \u0060editor/src/interaction/scale_mode.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/move_mode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d105cf09b2ff6e9e9f8ad2d47c4792ef8aa687f5ea07cdcf57c7208ce833a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: move_gizmo.rs, rotate_gizmo.rs, scale_gizmo.rs: 3 files \u2014 \u0060editor/src/interaction/gizmo/move_gizmo.rs\u0060, \u0060editor/src/interaction/gizmo/rotate_gizmo.rs\u0060, \u0060editor/src/interaction/gizmo/scale_gizmo.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eabbc35b45d73c754745dcc007667ba5b4f6d6686028cee2b2e1a9153b2ec23"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: selection.rs \u2194 selection.rs: \u0060editor/src/ui_scene/selection.rs\u0060 and \u0060editor/src/world/selection.rs\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00607eaf5def\u0060 fixed doc provider; \u006062501164\u0060 use inner value of node/widget wrapper in the inspector; \u0060bee807ea\u0060 fixed downcasting for widgets and scene nodes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/ui_scene/selection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d701a38017950bda4b2454fdaf8adb44d138c47c07fcb3adf37204e207fdfc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: enumeration.rs \u2194 inspectable.rs: \u0060fyrox-ui/src/inspector/editors/enumeration.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/inspectable.rs\u0060 change together 61% of the time (14 of the 23 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 14 shared commits counted here, the most recent 3 are \u0060135dc00c\u0060 include type name of fields in inspector tooltips; \u0060b88e4a09\u0060 fixed layout of inheritable property editor \u002B styling; \u0060be14535d\u0060 typed handles for \u0060Inspector\u0060 widget \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/enumeration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1edf229b51131d7ac119ad10abc0c829f56eb6eb017706af0ea4ddb4148cc94"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: preview.rs, panel.rs, particle.rs: 3 files \u2014 \u0060editor/src/audio/preview.rs\u0060, \u0060editor/src/camera/panel.rs\u0060, \u0060editor/src/particle.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/preview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb93319d6ecd42d3b77cdfaeaffeb3fb2629e05c39e67f3c4357e644f6bb195e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 mod.rs: \u0060editor/src/plugins/absm/state_graph/mod.rs\u0060 and \u0060editor/src/plugins/absm/state_viewer/mod.rs\u0060 change together 58% of the time (19 of the 33 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 19 shared commits counted here, the most recent 3 are \u00608d815db3\u0060 keep previous absm selected in the editor; \u0060da549573\u0060 more typed handles for widgets; \u006013818290\u0060 allow comparison of base and derived handles \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2cffcb8a0850798a4f91e8a5203fd3884ac1bcca3017ad8adceec78bb2cf4d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 selection.rs, selection.rs, selection.rs: \u0060editor/src/audio/mod.rs\u0060 changes together with 3 other files \u2014 \u0060editor/src/plugins/animation/selection.rs\u0060, \u0060editor/src/ui_scene/selection.rs\u0060, \u0060editor/src/world/selection.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3688ce792e3bcef5a7ec76ae1b3612778ea0835ebf29ad8dd7b961ea2b0b69"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: selection.rs \u2194 selection.rs: \u0060editor/src/interaction/navmesh/selection.rs\u0060 and \u0060editor/src/world/selection.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00607eaf5def\u0060 fixed doc provider; \u0060bee807ea\u0060 fixed downcasting for widgets and scene nodes; \u00600ba40900\u0060 show the content of built-in assets in inspector when selected \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/navmesh/selection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da59e9f9734c5ee2293894f57531d1543903e08a4bd7553c934dfbf5eded118"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: camera.rs \u2194 decal.rs: \u0060fyrox-impl/src/scene/camera.rs\u0060 and \u0060fyrox-impl/src/scene/decal.rs\u0060 change together 53% of the time (8 of the 15 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 8 shared commits counted here, the most recent 3 are \u006011522405\u0060 simplified usage of \u0060ResourceManager::request\u0060 \u002B fixed tests (at that commit the files were still \u0060src/scene/camera.rs\u0060 and \u0060src/scene/decal.rs\u0060); \u0060ddae1609\u0060 tests fix (at that commit the files were still \u0060src/scene/camera.rs\u0060 and \u0060src/scene/decal.rs\u0060); \u0060605e10c7\u0060 drop backward compatibility code (at that commit the files were still \u0060src/scene/camera.rs\u0060 and \u0060src/scene/decal.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/camera.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8aac4360848c18cc37fdc2cbf25f2ee5d4eab0b3b79fe2e1da199ff00516d3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: collection.rs \u2194 inspectable.rs: \u0060fyrox-ui/src/inspector/editors/collection.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/inspectable.rs\u0060 change together 52% of the time (12 of the 23 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 12 shared commits counted here, the most recent 3 are \u0060135dc00c\u0060 include type name of fields in inspector tooltips; \u0060b88e4a09\u0060 fixed layout of inheritable property editor \u002B styling; \u0060092d30b4\u0060 removed redundant trait bounds \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a277989b67b61b954579b01b789b384edf289c5222439f5b621c672d028462"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gradient.rs \u2194 mod.rs: \u0060fyrox-ui/src/color/gradient.rs\u0060 and \u0060fyrox-ui/src/curve/mod.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 \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 5 shared commits counted here, the most recent 3 are \u0060113945a0\u0060 finished transition to typed handles for ui; \u006078c43162\u0060 add layout invalidation for all widgets with custom draw methods; \u00608d88f8b0\u0060 disable picking restriction for menus and context menus \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2d10abde27b603b851dfb3dcc1879f3eb213fbcd252656664b71a96ff19a3f"}},{"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":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"ES1","level":"error","message":{"text":"Non-deterministic recovery fold: StateAction.apply: \u0060StateAction.apply\u0060 folds a domain event but reads a clock/random source (\u0060Instant::now\u0060/\u0060Utc::now\u0060/\u0060rand\u0060/\u0060Uuid::new_v4\u0060) on the replay path \u2014 a replay must derive state PURELY from the event\u0027s own fields, or two replays of the same log diverge. Stamp the timestamp/id into the event in the COMMAND, then read it from the event in the fold."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/state.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e929f974de30af3b7bcedd57a38dd1ed674792608ecd65b296258d2c804090b"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 447 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"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 14/15 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060template\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060name.contains(\u0022ShininessExponent\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060name.contains(\u0022ShininessExponent\u0022)\u0060 also satisfies \u0060name.contains(\u0022Shininess\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":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df664c6591b0262298c68d84b0cba1c935bedef1c5e629f874cf3b67edb5b1c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"CWE-321","shortDescription":{"text":"CWE-321"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":35,"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."]}]}