{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"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":1147}}}],"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":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc33ef9f1c026f0912a78cc70e15376b242f5115664bd91335883a0d06c7e86"}},{"ruleId":"D1","level":"warning","message":{"text":"Tile::handle_routed_message (cyclomatic 68): Tile::handle_routed_message has cyclomatic complexity 68 (threshold 15). Of this number, 66 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":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"195bf0fcf4b0864a6da5e2d2894d5c02f172452fc39a4a9c31f637542d727a8c"}},{"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":"Editor::update (cyclomatic 58): Editor::update has cyclomatic complexity 58 (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":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f67233221a68cf7700d6321f10cf6ac2ecb33a4bde134888b7abdf58720e33"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackList::handle_ui_message (cyclomatic 56): TrackList::handle_ui_message has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd0e94d99938c92bfb03cca3d59a8600675afbce284d8ad6c20271c67d8a4f5"}},{"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":"SceneViewer::handle_ui_message (cyclomatic 53): SceneViewer::handle_ui_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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"109cba303064c12040d6b4bf9226a3c730be34ef2fda89644d7377158cd3065c"}},{"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":2353}}}],"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":"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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"265853e8655f496b6e71e145687c0e4e31d59b7d196c67ab9dbcf86db9772002"}},{"ruleId":"D1","level":"warning","message":{"text":"AssetBrowser::handle_ui_message (cyclomatic 46): AssetBrowser::handle_ui_message has cyclomatic complexity 46 (threshold 15). Of this number, 44 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":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0e6ae1e9077a0d16bd90e622eeec92a99bb2838c3f570ab49fff9536be11d"}},{"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":"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":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"837dd9c1c31d733b5ef52e114500af80a94033aa9498ecefd553fb19554cf6a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::handle_hotkeys (cyclomatic 40): Editor::handle_hotkeys 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/lib.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd8db232e04379cc6cc13068d41368eded28f0aa64f5fb5300a9a3e2972b650"}},{"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":"PaletteWidget::draw (cyclomatic 38): PaletteWidget::draw has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1815356e791adfb2af154889610a4f62d84294b7158771482b17c858ad4d0f7"}},{"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 36): ScrollViewer::handle_routed_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":"fyrox-ui/src/scroll_viewer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb99182e8d5a4d65f62dbf9e238c0199b0bc76681ef4d44aaa76dbf79dd266be"}},{"ruleId":"D1","level":"warning","message":{"text":"AssetItemContextMenu::handle_ui_message (cyclomatic 35): AssetItemContextMenu::handle_ui_message has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/menu.rs"},"region":{"startLine":343}}}],"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":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d3ba2d1ea6635eb76261defb3ac02f6e06b7967f0d34a25374783f5a627b16"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneNodeContextMenu::handle_ui_message (cyclomatic 33): SceneNodeContextMenu::handle_ui_message 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/world/menu.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73d18cb18dd40b57ca58178d354e74be53bc9ebdc2e5964201d9e6dfefd4704"}},{"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":"ScrollBar::handle_routed_message (cyclomatic 32): ScrollBar::handle_routed_message 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-ui/src/scroll_bar.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb1a7ed5fb9f2958af49b0ba538119d0fbf99082b9aef0fc0cda71a1431cf0"}},{"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":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7108957e971f7684f674d57fdb3e70e53410407e0070fc24b23f74578767166b"}},{"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":2502}}}],"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":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb53bf76268f18e0dcd5151d817eb9f050e4a8b12b618011f8b675800d6630ac"}},{"ruleId":"D1","level":"warning","message":{"text":"FormattedText::arrange (cyclomatic 30): FormattedText::arrange 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-ui/src/formatted_text.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c7a7a5c9e8aece707030945ebad8f975d3750c11e5ccc756900c9b9c94e95"}},{"ruleId":"D1","level":"warning","message":{"text":"Popup::handle_routed_message (cyclomatic 30): Popup::handle_routed_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":"fyrox-ui/src/popup.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf87b14e79d46ca3cb9a1fd6adfab87cf083ba0f2e96154aa19f85cd69f16599"}},{"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":"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":"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":"ColorPicker::handle_routed_message (cyclomatic 27): ColorPicker::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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67c2bc77bdd9b4b29c2b8079f37ff8aaf932c966e8915634102c0c2e6952c23"}},{"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":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f62506802637b7886a78a88d3fc16aca1361d167b65f1cf6950c0ae50e2103"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteWidget::handle_routed_message (cyclomatic 26): PaletteWidget::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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83476ce99c58407fd68fc8e8aad3d59b01d8d7af0184dcc9022cd715a81bdb6"}},{"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":"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":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7523e71bb6576afbe66acddd2fc606055cda827a2c6bbcae59bf36a8b1216051"}},{"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":580}}}],"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, 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/toolbar.rs"},"region":{"startLine":733}}}],"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":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7cc410d2012879007a2e7a20a927935f47730fcd02bf2c8ea99710a6e571e9"}},{"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":425}}}],"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":"FileMenu::handle_ui_message (cyclomatic 24): FileMenu::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/menu/file.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d82bab548f3facefcce4cb69f8d45a7fda6899d73504debcd633258d7c4558"}},{"ruleId":"D1","level":"warning","message":{"text":"TileSetEditor::handle_ui_message (cyclomatic 24): TileSetEditor::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/tilemap/tileset.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"486cf384d177803bf8dd2bff4be3751b8dc2c81baafd8f4e6d5c93b9c5c59a3a"}},{"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":804}}}],"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":3872}}}],"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":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8735b33755c3310b61393b748fb94b76029c0ea829bc94cc049e06fb2f204d"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolbar::handle_ui_message (cyclomatic 23): Toolbar::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/absm/toolbar.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa971f409b5eccf335ec2d14cb13009c8ee12b4d01cbaaf8b1c46413c4fddfbe"}},{"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":593}}}],"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":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1b3b55af5a0fb58a142b9bec111f4064bb82e2e11dfb996f7ea7c216fd18e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Decorator::handle_routed_message (cyclomatic 23): Decorator::handle_routed_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":"fyrox-ui/src/decorator.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"999b25e05a9ef8b61080b4f328bc1652ebf61ee89c6a7ec9a1d25bb08e558c28"}},{"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":368}}}],"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":"InspectorPlugin::on_ui_message (cyclomatic 22): InspectorPlugin::on_ui_message has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"19308194555f85620abd694aa04240783815d4071c25149a9757c08fd0aa30ed"}},{"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":313}}}],"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 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/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, 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/scene/graph/physics/mod.rs"},"region":{"startLine":1488}}}],"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":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4066677d090ddf9cb72d9adf83fab5521317dcfdc47eceedcdfbb5851a3840c4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectManager::handle_ui_message (cyclomatic 22): ProjectManager::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":"project-manager/src/manager.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ecbceb5650a93e0f2321a1297916ff84941f58522d40e1419cd99405fb9f86"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruler::handle_routed_message (cyclomatic 21): Ruler::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":"editor/src/plugins/animation/ruler.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"27316ae4ff496885ef6d42b65c715a34d29d9d0455fed43a1b32b6c8bcde6247"}},{"ruleId":"D1","level":"warning","message":{"text":"PaletteWidget::sync_to_state (cyclomatic 21): PaletteWidget::sync_to_state 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":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aef2de6ec7e6ddf693f1ac772b0de0dc43a07f2bbe92c0ac9e1dd522744b8b"}},{"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":1407}}}],"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":3226}}}],"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":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"33baf7459714cb41e8a73ffed2832e95a60b396762f3ad7c6f494fc16727b5f5"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector::handle_routed_message (cyclomatic 21): Inspector::handle_routed_message has cyclomatic complexity 21 (threshold 15). Of this number, 19 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/inspector/mod.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c78315fc10bf95b59dbcc5ecacd2410849056ca94b46de066fda68d86eba3"}},{"ruleId":"D1","level":"warning","message":{"text":"ListView::handle_routed_message (cyclomatic 21): ListView::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/list_view.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3189e446f4f87be7855b278672f2e5b6eb4ff416f9ad3e3648ffe7ef0bde386"}},{"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":"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":2354}}}],"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":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b58ad411b1244aebb06ee235b6fd7113f8db9fbe4d210b69b30faadd70facd"}},{"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":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e508603c61a3950f4a95030b97356c48e7e554b6624e2338e650266c69497"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraController::pick_recursive (cyclomatic 19): CameraController::pick_recursive 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/camera/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fbe89016be261c52c0c0542b75c3bcccd0caa1d77841b7683aea42159372d3"}},{"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":"WorldViewer::handle_ui_message (cyclomatic 19): WorldViewer::handle_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/world/mod.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a770c52cd5267de261c43bcd0abe4f78c5739f34ec1158d035337f4a63f2d0d"}},{"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":"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":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da967b03a25defbcb8b86d43bba57fb894a5d3ed47b8c63c8c0b8f3e6826243"}},{"ruleId":"D1","level":"warning","message":{"text":"Ragdoll::update (cyclomatic 19): Ragdoll::update 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/ragdoll.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b90dbf2a41a27b120af9d459c9c3ee18e8e698d9746c14792ad8478ca2b61"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeRoot::move_selection (cyclomatic 19): TreeRoot::move_selection 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/tree.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"788202fb5f93be9f271beabff8fb9c9aa4d0a6495e3243bcc81b01d2486cbfcc"}},{"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":"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":267}}}],"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":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ffb9e45d4f404e87dabd9f3cfcde885fd01ced5592df95968f58d2156f0ad0"}},{"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":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe03541b4117ac404a77ee47ffa05333050119b6b846aff8ef04d8be8225b6e0"}},{"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":"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":"AudioPreviewPanel::handle_ui_message (cyclomatic 17): AudioPreviewPanel::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/audio/preview.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"15356cdf570f3b50e058542f6aed79b90b0084e2b843ed72ee64a3f05f7d7185"}},{"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":"MacroPropertyValueField::on_ui_message (cyclomatic 17): MacroPropertyValueField::on_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/plugins/tilemap/brush_macro.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"58053da1466700cf8ba28759c33318fc05479acef0c10b21dc667d313bb79a20"}},{"ruleId":"D1","level":"warning","message":{"text":"TileMapEditorPlugin::on_message (cyclomatic 17): TileMapEditorPlugin::on_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/tilemap/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc423689b6e7374f2c5b4e74a2f7b187b06c043a987a2ec21194f83ee7b89b"}},{"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":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8e8dd666eec1e06adf9e8ebe8546e41f6459dbbcd15e82b77df800b70878c"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_core::variable::try_inherit_properties (cyclomatic 17): fyrox_core::variable::try_inherit_properties 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-core/src/variable.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4419a318fa738c93ac4a56b8ffdbb557cfbdb994a4cc67480a7718bd2bac839b"}},{"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":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d4e51a43ab948fd82593136565b763910e920dc13ba312fdcb543d6a7fbc4"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderDataBundleStorage::from_graph (cyclomatic 17): RenderDataBundleStorage::from_graph has cyclomatic complexity 17 (threshold 15). Of this number, 14 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":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef03f0382e3d152fee8de6c5233d7cb61edbd1880dd057583f29764fa9680a2d"}},{"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":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"63196abbe58933dbbc047cd94b22015a2358ab465b1b34ec647abea2dec71bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector::apply_filter (cyclomatic 17): Inspector::apply_filter has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function items inside it that branch (filter_recursive, check_text, find_inspectors_recursive, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b442720c3c048c5d6794db9cd460703bb4d71dd73eb57b19a30c819c3022cedc"}},{"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":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d69abe4ca3507598d024da15ee30ff50e2a52ef751a7b83db746c0afb6b7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor::handle_ui_message (cyclomatic 16): Editor::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/lib.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bfb80e7d43485433da506510662bb338231f56ba4c10f82e61ee271255f1e8"}},{"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":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fe1cc7794321777afa317b28e1a9d386ea4a6b2b9f47034cf07b47d084c513"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportWindow::handle_ui_message (cyclomatic 16): ExportWindow::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/export.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd74f9868223da00ad73c87d75c8af002e08c40d2076f85dfdcabf7b16fbdb6"}},{"ruleId":"D1","level":"warning","message":{"text":"SurfaceDataPropertyEditor::handle_routed_message (cyclomatic 16): SurfaceDataPropertyEditor::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/plugins/inspector/editors/surface.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9a874ed6de8c54d04d01da397c58e92c368ae31a8c7e30930d21b785bd581e"}},{"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":242}}}],"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":"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":309}}}],"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":1280}}}],"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":1832}}}],"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":807}}}],"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":658}}}],"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":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe888534f1ae3415879dc7aa5685bed199559443d039087bdcb140117bad6609"}},{"ruleId":"D1","level":"warning","message":{"text":"fyrox_ui::markdown::markdown_to_visual_tree::traverse_ast_recursively (cyclomatic 16): fyrox_ui::markdown::markdown_to_visual_tree::traverse_ast_recursively 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-ui/src/markdown.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e8842988934ea490e6a0aafbdd96f5a9fe5017d95f2347c379816be485ea0f"}},{"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":1092}}}],"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":"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":"TextBox::handle_routed_message (cognitive 235): TextBox::handle_routed_message has cognitive complexity 235 (threshold 15). Drivers by points: if/else 51 (197 pts), match/switch 5 (18 pts), boolean chains 10, loops 2 (10 pts) (nesting depth added 167). Of this number, 216 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":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0477f5f7290352799115a5472a299268bb66b3d05c46983fe91e0fec003b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Tile::handle_routed_message (cognitive 200): Tile::handle_routed_message has cognitive complexity 200 (threshold 15). Drivers by points: if/else 26 (95 pts), loops 11 (64 pts), match/switch 10 (35 pts), boolean chains 6 (nesting depth added 147). Of this number, 189 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":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0473152a053dd79e4eaace7e06704c16c0ec50621a0ddf23772c9e59a4a319ab"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInterface::process_os_event (cognitive 192): UserInterface::process_os_event has cognitive complexity 192 (threshold 15). Drivers by points: if/else 45 (144 pts), loops 7 (26 pts), match/switch 7 (18 pts), boolean chains 4 (nesting depth added 129). To reduce it, split the body into named stages: move each independent step or branch into 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":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13b2fdbbdff5eccf7bc0f594266d1037278d3a3befca8934f61b70d2f99e99"}},{"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":"TrackList::handle_ui_message (cognitive 109): TrackList::handle_ui_message has cognitive complexity 109 (threshold 15). Drivers by points: if/else 40 (75 pts), match/switch 4 (16 pts), loops 3 (11 pts), boolean chains 7 (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into 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":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c058bc98a93f5735571e95f427ed2b4d09f26a5b67944101a2e074ba3b450e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Tree::handle_routed_message (cognitive 109): Tree::handle_routed_message has cognitive complexity 109 (threshold 15). Drivers by points: if/else 25 (80 pts), loops 4 (17 pts), match/switch 3 (8 pts), boolean chains 4 (nesting depth added 73). Of this number, 81 points are the body\u0027s own statements and 28 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":"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":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee1d4b5acd9a80840facd82b5aa0b0a85f2d3435d24ad9a7467715eedd8ddd5"}},{"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":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"398707f2f4a8d8379d73ac4da48675072e1f80d686d7d0b511c1a3aa05c308d0"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetItemContextMenu::handle_ui_message (cognitive 96): AssetItemContextMenu::handle_ui_message has cognitive complexity 96 (threshold 15). Drivers by points: if/else 29 (85 pts), match/switch 1 (7 pts), boolean chains 4 (nesting depth added 62). 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":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"766066f2155954e4d67b372e1dc3c29df102bdc75dbcdecce0d2f295642bba17"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetBrowser::handle_ui_message (cognitive 96): AssetBrowser::handle_ui_message has cognitive complexity 96 (threshold 15). Drivers by points: if/else 37 (78 pts), loops 3 (9 pts), boolean chains 5, match/switch 2 (4 pts) (nesting depth added 49). Of this number, 89 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":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"408021e6ed763b48caff38808a9531498f34dba1d220ddf63d1940ff20dfb28f"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItem::handle_routed_message (cognitive 96): MenuItem::handle_routed_message has cognitive complexity 96 (threshold 15). Drivers by points: if/else 26 (73 pts), loops 3 (10 pts), match/switch 3 (8 pts), boolean chains 5 (nesting depth added 59). 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":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b8b934ca81e77c1af820ae95e1a383ac86f82b614d3890a38fc9189ab2b31"}},{"ruleId":"D2","level":"warning","message":{"text":"Animation::update_root_motion (cognitive 92): Animation::update_root_motion has cognitive complexity 92 (threshold 15). Drivers by points: if/else 29 (80 pts), boolean chains 5, match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 56). Of this number, 88 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":"AbsmCanvas::handle_routed_message (cognitive 89): AbsmCanvas::handle_routed_message has cognitive complexity 89 (threshold 15). Drivers by points: if/else 27 (61 pts), match/switch 5 (16 pts), loops 2 (7 pts), boolean chains 5 (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/canvas.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a102911de2e2c936a0c1be59b6fed0d1f3a0d6409fd181b016563a9166485ef"}},{"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":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90c5c0aea1767fc48373f639e7da07264d17f0678417dc09a89d45e0c22f6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneViewer::handle_ui_message (cognitive 86): SceneViewer::handle_ui_message has cognitive complexity 86 (threshold 15). Drivers by points: if/else 24 (52 pts), match/switch 7 (26 pts), boolean chains 6, loops 1 (2 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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3f0abf423c1dbffcf203d8717cb10cdd030aafc146232bd4fbeafc09337029"}},{"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":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec36590b71bf1e6cdee5f8cce19cd55362fd4c3a69fb7d4049ff3bd988fddd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollBar::handle_routed_message (cognitive 83): ScrollBar::handle_routed_message has cognitive complexity 83 (threshold 15). Drivers by points: if/else 22 (69 pts), match/switch 4 (13 pts), boolean chains 1 (nesting depth added 56). 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":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3a7e88218aa7e2305b552959e904e39f4d78f1d2aa5102d8746663f5698b79"}},{"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":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacbd2cd09cbbd16ad5a84b82d8b71513def0c84e988c1237fce519dc490331d"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneNodeContextMenu::handle_ui_message (cognitive 78): SceneNodeContextMenu::handle_ui_message has cognitive complexity 78 (threshold 15). Drivers by points: if/else 27 (68 pts), boolean chains 5, loops 1 (5 pts) (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":"editor/src/world/menu.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"181802d2cca93a77edba08faff9b57f129f0b074b74d234864ff47489af75aea"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_template_core::upgrade_project (cognitive 77): fyrox_template_core::upgrade_project has cognitive complexity 77 (threshold 15). Drivers by points: if/else 17 (73 pts), boolean chains 3, match/switch 1 (nesting depth added 56). 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":"Editor::handle_hotkeys (cognitive 73): Editor::handle_hotkeys has cognitive complexity 73 (threshold 15). Drivers by points: if/else 37 (69 pts), boolean chains 4 (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":"editor/src/lib.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aac8814c947bbd4f52902cbbf46e9a32cb51dde067e50556065c72bd627e046"}},{"ruleId":"D2","level":"warning","message":{"text":"UiRenderer::render (cognitive 71): UiRenderer::render has cognitive complexity 71 (threshold 15). Drivers by points: if/else 10 (55 pts), match/switch 2 (10 pts), loops 2 (4 pts), boolean chains 2 (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":"fyrox-impl/src/renderer/ui_renderer.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8c2f0dac07c7073fe842ca2dee040558b3f17cccb85e93857fe2bcb57cfd85"}},{"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":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd0a8d3824d00ba0e330181a5dce2d028e5c130011a6adce3cdd71bc4fc1a36"}},{"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":"FormattedText::arrange (cognitive 67): FormattedText::arrange has cognitive complexity 67 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (15 pts), match/switch 5 (14 pts), boolean chains 2 (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":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"65185383f8b591de247adfa1e039d18bfbafd5b74f85dec85f8bd07ed09a131c"}},{"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":"AnimationEditor::sync_to_model (cognitive 65): AnimationEditor::sync_to_model has cognitive complexity 65 (threshold 15). Drivers by points: if/else 15 (42 pts), loops 4 (16 pts), match/switch 1 (4 pts), boolean chains 3 (nesting depth added 42). 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":"DeferredLightRenderer::render (cognitive 65): DeferredLightRenderer::render has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 10, 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-impl/src/renderer/light.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eceff79c51f8b1841201a207dff4676b8e9a0dd39522147e42fafb813ccc0f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldViewer::sync_graph (cognitive 64): WorldViewer::sync_graph has cognitive complexity 64 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 7 (18 pts), boolean chains 3 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/mod.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a9ed63d2dcafb44ed309527d441dba9e7033fd4908b348a354adbce60f8ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::draw (cognitive 60): PaletteWidget::draw has cognitive complexity 60 (threshold 15). Drivers by points: if/else 25 (39 pts), loops 7 (14 pts), boolean chains 7 (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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c02c7fcb39f8f96b5889c0f876de6ed9c561307e3356433128b4b16e723eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollViewer::handle_routed_message (cognitive 60): ScrollViewer::handle_routed_message has cognitive complexity 60 (threshold 15). Drivers by points: if/else 18 (42 pts), match/switch 3 (8 pts), boolean chains 7, loops 1 (3 pts) (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-ui/src/scroll_viewer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"48168d48a8e03cb42c4ac56e536311d6c92c3533a6e73f2be845c9944ed9be93"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_impl::resource::fbx::convert_mesh (cognitive 59): fyrox_impl::resource::fbx::convert_mesh has cognitive complexity 59 (threshold 15). Drivers by points: if/else 7 (32 pts), loops 7 (20 pts), match/switch 1 (5 pts), boolean chains 2 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into 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":"NumericUpDown::handle_routed_message (cognitive 58): NumericUpDown::handle_routed_message has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (38 pts), match/switch 4 (11 pts), boolean chains 9 (nesting depth added 27). Of this number, 49 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":"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":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de735f4e1dbbcea31607780adbbf8778601f7942914c717339110d1fa78b47a"}},{"ruleId":"D2","level":"warning","message":{"text":"Popup::handle_routed_message (cognitive 56): Popup::handle_routed_message has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (48 pts), match/switch 2 (6 pts), boolean chains 2 (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-ui/src/popup.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"35126ca0a836bd962269693f2ad52f5c04d00853ec82be40899c83a01db058d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Tile::preview_message (cognitive 55): Tile::preview_message has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 3 (14 pts), match/switch 2 (8 pts), boolean chains 2 (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/dock/tile.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ad67f90fb3c9919be7fa5ffe6a0a904d3f17895c0abf0498d3dc0b89152aec"}},{"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":"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":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"215f2b26e8e641cd1b3f7fe13d4e69da93d6cfd48f77cc88499f398bf2206829"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsmEditor::handle_ui_message (cognitive 50): AbsmEditor::handle_ui_message has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 2 (9 pts), match/switch 3 (8 pts), boolean chains 4 (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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f388ba1d02bc6bf81f1e41bb9269235c2220f2332bbc50e4af5622c223ba36"}},{"ruleId":"D2","level":"warning","message":{"text":"GlTexture::set_data (cognitive 50): GlTexture::set_data has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (42 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/texture.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a677e70d2ba873bb4ffcb827400a471425727a1d8de930f167453963328143"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeRoot::handle_routed_message (cognitive 50): TreeRoot::handle_routed_message has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 3 (10 pts), match/switch 2 (4 pts), boolean chains 2 (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-ui/src/tree.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1322006bda90ba369b9adf4f6aea10514ba6024476713108b4110d0fb265d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar::handle_ui_message (cognitive 49): Toolbar::handle_ui_message has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 3 (15 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/toolbar.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f7990089400aabd5d6a803592ad23b8943059c53b67fb9c528639ecf86a7a0"}},{"ruleId":"D2","level":"warning","message":{"text":"BlendAnimationsByIndex::collect_animation_events (cognitive 49): BlendAnimationsByIndex::collect_animation_events has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (38 pts), loops 1 (5 pts), match/switch 1 (4 pts), boolean chains 2 (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-animation/src/machine/node/blend.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"546beedd232e9470a562df1da89cec03c1f09d034bfb77494d893a2eb0a94349"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeRoot::move_selection (cognitive 49): TreeRoot::move_selection has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 2 (8 pts), boolean chains 2, match/switch 1 (2 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/tree.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ef03331a2ebf90bdc3fe910765109e2ea391e94d4f6d242707634e6eba1e02"}},{"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":"ListView::handle_routed_message (cognitive 48): ListView::handle_routed_message has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (35 pts), match/switch 3 (8 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/list_view.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfe513102498faa1f3c7ba752cbbb85dbe81bab18a364190e853613d1d65497"}},{"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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3151289b6bc17e9985abf7a5659bd34c0e4c24e28d0b7c23f5e284c9448766"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMenu::handle_ui_message (cognitive 46): FileMenu::handle_ui_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 26 (46 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":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b961a374b9c0b0944deb354475d23384f06c6781525219d97058a3ca2c5b9"}},{"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":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6085658a0b34928412320e479c3856f162af53e887b4c130b7118e55b4c702ca"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraController::pick_recursive (cognitive 45): CameraController::pick_recursive has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (38 pts), boolean chains 6, loops 1 (nesting depth added 24). 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":"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":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f2278c02922335c501019a9b4d2c54dead353b8c62346a5c49da54e18ddf51"}},{"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":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"434394c78af5e76e90bbe8ad813f96fbfeaae0ddbde01011683196a058bf2f09"}},{"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":446}}}],"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":807}}}],"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":"fyrox_project_manager::main (cognitive 44): fyrox_project_manager::main has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 2 (7 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project-manager/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8a10eb6a1125050d56b131b0dea962790a300f0ae267733857f03dc89e60e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationEditor::handle_ui_message (cognitive 42): AnimationEditor::handle_ui_message has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 3 (8 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/mod.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb5cbb597ebae740683974eebe0096043d1b68aa121f4b0dd645f64365c2dc"}},{"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":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5dc22c1948785c25897f3c456a41aeab0c7132cd5b1a9502e9ca4402c76bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::reload_plugin (cognitive 41): Engine::reload_plugin has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 15 (16 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9efda53d424eb199d009c5633a5c7d2c5f51aef0810c15460129341e027c78"}},{"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":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5020da52cdb0ccacb4519e7ca299841a6d0c0f43ca97d6d38f8df7070af88c"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector::handle_context_menu_message_ex (cognitive 41): Inspector::handle_context_menu_message_ex has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (35 pts), loops 1 (4 pts), boolean chains 1, 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-ui/src/inspector/mod.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c40dee09962d3432af7183f070a918c228eb91fa2c8b9b1a53ac55abb20f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"Selector::handle_routed_message (cognitive 41): Selector::handle_routed_message has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 3 (10 pts), boolean chains 4, match/switch 1 (2 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-ui/src/selector.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c31299b1723c2a4f86c28530afa91e63f7cff363dc18a1465cc41f34cac15c"}},{"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":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a9d3d7c2663d0cdd3aa91e5cd9c2d899c6e706034a2ffd7e9ed8636e824606"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar::post_handle_ui_message (cognitive 40): Toolbar::post_handle_ui_message has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 2 (5 pts), loops 1 (3 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1910e37683b863b090d2ffdb5bae29ffa56f097c158c1a9755445253c0080"}},{"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":"TabControl::handle_routed_message (cognitive 40): TabControl::handle_routed_message has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 2 (5 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/tab_control.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a095f3ab4930fb99962ec0f8a2fbb69c5a2db5675263d08f0f7bf3bcfc95cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::update (cognitive 39): Editor::update has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 3 (7 pts), match/switch 2 (7 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8747d7d3e6fb4851b52b7f0d8f37e699e05db67fb33fefa9adfb764309f9769b"}},{"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":1407}}}],"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":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab3861fcd019554cd37558bda01345cca923b793922b238ab7f51c4178bf5e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Ragdoll::update (cognitive 38): Ragdoll::update has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (31 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-impl/src/scene/ragdoll.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5260a01875715fded26be050fc2f35f0fda3f037e96f704616250456fc7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorPicker::handle_routed_message (cognitive 38): ColorPicker::handle_routed_message has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 5, match/switch 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":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a892fd8f00d6f9953b137b886c7732a61a87e689c30e84246b8abb8b430583"}},{"ruleId":"D2","level":"warning","message":{"text":"Decorator::handle_routed_message (cognitive 38): Decorator::handle_routed_message has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (31 pts), match/switch 2 (4 pts), boolean chains 3 (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-ui/src/decorator.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c3aadae9b7f7d976be46d6ae07d3eda6aa45f8fbcda09425a7058a75108e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruler::handle_routed_message (cognitive 37): Ruler::handle_routed_message has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (23 pts), match/switch 3 (8 pts), boolean chains 3, loops 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":"editor/src/plugins/animation/ruler.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3abb788c1689dc4a3eb616b9fe917249a308b804beb45c7bfb789ee0b8c0b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"TileInspector::handle_ui_message (cognitive 37): TileInspector::handle_ui_message has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (32 pts), loops 2 (4 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/tile_inspector.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78952cad2b17fb64e9f056f6c2ef73a041bffe859f9cc682e03cf2bc31485a7"}},{"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":"BitField::handle_routed_message (cognitive 37): BitField::handle_routed_message has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 2 (8 pts), boolean chains 3 (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/bit.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d771e4f37f524ebd10ec8e0d32c144726212f6dda726fd5919188810491efd1"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPreviewPanel::handle_ui_message (cognitive 36): AudioPreviewPanel::handle_ui_message has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 2 (6 pts), match/switch 1 (5 pts) (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/audio/preview.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc264e46a6852153092b65f437d0a1d3fe9f5461c290458fa7af8fc4806f159"}},{"ruleId":"D2","level":"warning","message":{"text":"RootMotionDropdownArea::handle_ui_message (cognitive 36): RootMotionDropdownArea::handle_ui_message has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee9acccfd030d7ef93ee70a781eac430c5c2f5a56abd30e0c8efda4ca3825ee"}},{"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":"BlendSpaceField::handle_routed_message (cognitive 35): BlendSpaceField::handle_routed_message has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 3 (8 pts), loops 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":"editor/src/plugins/absm/blendspace.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b373e583680c6356ae3f80c5b3dd40df9f035c0421330a4ea51af5af1b1f5"}},{"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":"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":"RenderDataBundleStorage::from_graph (cognitive 34): RenderDataBundleStorage::from_graph has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (11 pts), boolean chains 3 (nesting depth added 17). Of this number, 28 points are the body\u0027s own statements and 6 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/renderer/bundle.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeed6b030d752e8af8d3b73afe85e974da9086dc3f375d163b77455dcbb4192"}},{"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":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"136275b494fd549d96fd7addf799fb3f0a150ece9c9fac62bf43bcf4519122ab"}},{"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":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3e5be2e0faf9c29a846e57e361ecac3f80c4b51fd50f72ad59f525164419fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPanel::handle_ui_message (cognitive 33): AudioPanel::handle_ui_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 2 (8 pts), loops 2 (5 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":"editor/src/audio/mod.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a3806c5b5565f912642776d221b5184d321b1d993aab24192bc1269814cb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderDataBundle::render_to_frame_buffer (cognitive 33): RenderDataBundle::render_to_frame_buffer has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 5 (13 pts), loops 3 (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-impl/src/renderer/bundle.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3ad815c3c25c14f4170480471ce258588addbb9349860aadfd7a5f54e6ebb2"}},{"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":"NavigationLayer::handle_routed_message (cognitive 33): NavigationLayer::handle_routed_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (5 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":"fyrox-ui/src/navigation.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5748081202c481e15722b87901ee34788e269096d0d20cec5b62aa48c00ea7"}},{"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":"Toolbar::handle_ui_message (cognitive 32): Toolbar::handle_ui_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d423de614d9a8f228bd2c52ac05fe815552db748e63abba2e9fad8a00bc997"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorPlugin::on_ui_message (cognitive 32): InspectorPlugin::on_ui_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 3 (8 pts), boolean chains 3, loops 1 (nesting depth added 13). Of this number, 31 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":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3c6d0b0a3f477583db0aa351981a60c4c83a4cd38db46341839aea97e0628"}},{"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":267}}}],"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":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"30219b9b48bfbcf34c4bbafc01f16adfd62aedf7ab687707f6c1023937e67770"}},{"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":949}}}],"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":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e351fb743077bde5c841f8b809c52346619187e3c4b6528c377106808fc074"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu::handle_routed_message (cognitive 31): Menu::handle_routed_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 1 (4 pts), match/switch 1 (2 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-ui/src/menu.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba8256727691aa8480f84d5609399f97f5bd928b41a534b9e01a132a7db3259"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_ui::markdown::markdown_to_visual_tree::traverse_ast_recursively (cognitive 31): fyrox_ui::markdown::markdown_to_visual_tree::traverse_ast_recursively has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (11 pts), match/switch 3 (5 pts) (nesting depth added 20). 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":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c84e89e8564a06c6791a852017be8e2e207e6f320d4ec4ef045f9d2698199"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSetEditor::handle_ui_message (cognitive 30): TileSetEditor::handle_ui_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 3 (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/tileset.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a67b4da5cf1418b19a555010ebfa4dc56d5c79cf4253d0c30f82950edffa18"}},{"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":"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":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a55b69a88522ea9843e880ac5357c9ed73beb19b2f83f3d739cfadefd8d4df6"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeWrapper::revert_inheritable_property (cognitive 30): NodeWrapper::revert_inheritable_property has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 4 (12 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf90bb5733dd1cfbdb348ee380cf72e0be3cf7cfdd51d905e7a0175b1af82ea"}},{"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":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbbd81343fee643ec8c22b8fd1b80b4d361d993db07d070cc09b30f919be845"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_rigid_body_node (cognitive 30): PhysicsWorld::sync_to_rigid_body_node has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 4 (11 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7d3bd0f0c9f3465d3fd19f4e93c6010b5fed5125ddbfaa1f36d78b9d4942a"}},{"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":"AssetBrowser::on_message (cognitive 29): AssetBrowser::on_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (10 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/asset/mod.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb37f687fffe3c07ffa2362b522cdb001f69f7eaad4cb27eaa4910560de991e"}},{"ruleId":"D2","level":"warning","message":{"text":"HandlePropertyEditor::handle_routed_message (cognitive 29): HandlePropertyEditor::handle_routed_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (26 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/handle.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e50ca7e47a7b98dbbc13199b413268c5816798753a3564130abcbe5fe09e8"}},{"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":"PaletteWidget::handle_routed_message (cognitive 29): PaletteWidget::handle_routed_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3, 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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77ef21522bbdf59998227c345fb7c4c88be54c82c8b04aa46e297691bb3767c"}},{"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":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f863bc4c74a947ebf6c9eb9fcf8066d6e04602947b4b7bb3f38cab1d725637"}},{"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":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c386c4c6f3ce3a02c0e11b64d9a45a47b6f9a98eac03e91063a166282bb38d1"}},{"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":2431}}}],"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":"Inspector::handle_routed_message (cognitive 29): Inspector::handle_routed_message has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (6 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 12). Of this number, 26 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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bafb760e5abe37577ec0a5efd9b07a13fb0f19c8fadfcdf57e35ec79f0bf8a"}},{"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":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de65834accd6c5c3830df8f050ac501f07480345b7844867cfe2e850ef1a577"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::handle_reloaded_resources (cognitive 28): Editor::handle_reloaded_resources has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 2 (3 pts) (nesting depth added 14). Of this number, 24 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ffea44bf1315cc617b682c509a1b2e47699180d0dec4911a59dc1551ac0770"}},{"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":"HashConstraintMap::fill_from (cognitive 28): HashConstraintMap::fill_from has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 6 (11 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-autotile/src/auto.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b3b37be2dc4ae0a25edd085954c27663805906037d176ce03606040a353fe1"}},{"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":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"50565e2659108eee20e0afc1b0e6785d6e5535bed908e7caf395117631cac1ea"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSetPropertyOptionValue::intersect (cognitive 28): TileSetPropertyOptionValue::intersect has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 1 (3 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/property.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"541a84a5a6dc7269726ce1405fb808eba4f3b68ee9ca8ec21cddc79dc9f480cf"}},{"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":"UserInterface::update_tooltips (cognitive 28): UserInterface::update_tooltips has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 pts), boolean chains 2 (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":"fyrox-ui/src/lib.rs"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118af14c8ef0cffd168c58760b53bae64d3c571b80a6b1bd351b9961b7608e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectManager::handle_ui_message (cognitive 28): ProjectManager::handle_ui_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 3 (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":"project-manager/src/manager.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fa64a1922eed357c17dc2aa6a2d6e21946e6c00d27aeb887bca834f10ffa12"}},{"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":3072}}}],"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 (21 pts), match/switch 1 (4 pts), boolean chains 2 (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/light.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f542981f3cc306d3f793b6602acd8d7abd9d07e7351cae6e9a4ee8cda9b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"SaturationBrightnessField::handle_routed_message (cognitive 27): SaturationBrightnessField::handle_routed_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 2 (7 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c1dfc2ed2e48a9bf8c30495d0b12bdceb0c8f6fc24c54e6e3994d8fd1b8c6a"}},{"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":"SurfaceDataPropertyEditor::handle_routed_message (cognitive 26): SurfaceDataPropertyEditor::handle_routed_message has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3, 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/inspector/editors/surface.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"077bbf3b27f49f016476a15270d82279d8e28745493a3ded22f123aa18cbf7e1"}},{"ruleId":"D2","level":"warning","message":{"text":"UiSceneWorldViewerDataProvider::on_change_hierarchy_request (cognitive 26): UiSceneWorldViewerDataProvider::on_change_hierarchy_request has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (5 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/ui_scene/utils.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"13856521f476504085ccdc7fbae0141aea696134de6506b0a26eab486f393e28"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorSceneWrapper::on_change_hierarchy_request (cognitive 26): EditorSceneWrapper::on_change_hierarchy_request has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (5 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/graph.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3d1bd572584d5d1ac50b81c134868c94c565ba1007ee14589f584669577e3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldViewer::handle_ui_message (cognitive 26): WorldViewer::handle_ui_message has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/world/mod.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a15a0aa585cbe4705fca849e3c7033b16410f96a8cc428e53517cd985fab4c"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineLayer::collect_active_animations_events (cognitive 26): MachineLayer::collect_active_animations_events has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e73225dd4b36b637651c4a908b9b1066fc5c34afe57e918dc3b5bf3e90b27bd"}},{"ruleId":"D2","level":"warning","message":{"text":"fyrox_core::variable::try_inherit_properties (cognitive 26): fyrox_core::variable::try_inherit_properties has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, 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-core/src/variable.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfcb916dab095b3d6eb7f3ba51ab2dafbc773a715cac24e83a31b4025eb58cb"}},{"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":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffccf30c1360d06936bc71310c90aa4987ca96a0f31e0fa566d084b3eb99b8"}},{"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":"CheckBox::handle_routed_message (cognitive 26): CheckBox::handle_routed_message has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/check_box.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0c6fe5f3275831bc1d29b1a8d123332ef541a352985078ec2150c43b45aac8"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector::apply_filter (cognitive 26): Inspector::apply_filter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 6 (9 pts), boolean chains 3 (nesting depth added 9). None of this is in the body itself: all 26 points belong to 5 function items inside it that branch (filter_recursive, check_text, make_visible_recursive, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"877bdf1996f2f5ae19318ddd1de706d8e1deccba6873ddc6e42e13dc51885041"}},{"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":299}}}],"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":"TileMapEditorPlugin::on_message (cognitive 25): TileMapEditorPlugin::on_message has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (24 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":"editor/src/plugins/tilemap/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37165cc82579b70ff9aedf457dcfc82ea802feacb64b46f22431d0e10884784"}},{"ruleId":"D2","level":"warning","message":{"text":"GameScene::update (cognitive 25): GameScene::update has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (5 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 8). Of this number, 22 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":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a327c7bded4b4b5fb6be41ead8546ee6bfd09bc6dc79279ebaf00b9ed712740"}},{"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":"Engine::handle_async_tasks (cognitive 25): Engine::handle_async_tasks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (22 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"1409779522f6a311d51ad44a704cd34d10fa14d00e15e47c90fb8d77e2f3ca2f"}},{"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":773}}}],"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":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eca73830032ad70bd51d2e0ebeb1acdf13acdaa2afa4afd29a43fd29410dc62"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorContext::sync (cognitive 25): InspectorContext::sync has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 1 (4 pts), boolean chains 1, 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":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"26df18905e483287af2703c6eb74e46b804cc3008d30f5566081ae2f679b884a"}},{"ruleId":"D2","level":"warning","message":{"text":"TerrainInteractionMode::on_left_mouse_button_down (cognitive 24): TerrainInteractionMode::on_left_mouse_button_down has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 2 (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":"editor/src/interaction/terrain.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"94657b827021ab4238fa4cfe17d10b512f0789fe27c5f0e048b047828456c4f0"}},{"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":942}}}],"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":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6056f7a9e45fe6ec78b44a4271e7848b4e2aaddab6eae083b06f9364471034"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::process_node_messages (cognitive 24): Graph::process_node_messages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 10). Of this number, 19 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":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bff7ccd23a74bdac9c3ebd5e838f8f0a09e49f69b8574306c00061555e486cd"}},{"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 10 (18 pts), boolean chains 2, loops 1 (2 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/scene/graph/physics/mod.rs"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eb0e975f003f8b0540f3a438346094790717f41bdc73561711192cd392d683"}},{"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 20 (34 pts), loops 3 (9 pts), match/switch 1 (3 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. 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":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7b47a6255b903f1cd719e194c2f472501bb518547d412b96fe28039980c622"}},{"ruleId":"D2","level":"warning","message":{"text":"AlphaBar::handle_routed_message (cognitive 24): AlphaBar::handle_routed_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 2 (7 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"94814ed6ca3ccedd458e3ab854fda39898a9d358ec3a0fb61dc1f2af50126915"}},{"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":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0b489e57c07746651cd342d1b2a364ed189fae38234f825949fac729fe08d"}},{"ruleId":"D2","level":"warning","message":{"text":"FsTree::new (cognitive 24): FsTree::new has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/fs_tree.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7140b3b0ba779e47c4a466d92f7d51850d2eaf2696edc30f9e15fba7c38d2bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetBrowser::refresh (cognitive 23): AssetBrowser::refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/mod.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76688fa78be80ac6c809debb86767bab793c7b6dd66cc8bd4b68dd206b9bc8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor::handle_ui_message (cognitive 23): Editor::handle_ui_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297fb7063b53e46c1dc394dcdbba281c929d414df47a3fd374fd9378f0cc102"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeContextMenu::handle_ui_message (cognitive 23): NodeContextMenu::handle_ui_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 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":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d639717b8f773bc7492bd6d9587fb88c71b670292caf00b3f066ee8316172775"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsWindow::handle_ui_message (cognitive 23): SettingsWindow::handle_ui_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/settings.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27e58dc4ad094751946f6d035520c0208cc22ea4d8de0ac618541661a4c160"}},{"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":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeeb41158e6b6a2e4673d417482a2667e952eacdb700ae01ba1ae972ed0cb87"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_rigid_body_node (cognitive 23): PhysicsWorld::sync_to_rigid_body_node has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (4 pts), loops 1 (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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8b0c1cede09602fc169c3b8c0a23c108758e82c064dafc311f4cdc0879212f"}},{"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":"ColorGradientEditor::preview_message (cognitive 23): ColorGradientEditor::preview_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, 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":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc871e221023e4d3177f7b4f7a6fae89bfd53721b4642105dfaebd127103a7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"HueBar::handle_routed_message (cognitive 23): HueBar::handle_routed_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 2 (7 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/mod.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a76611eb926267c00989c5c293fc796b3e41cdda8bc400b066e5346d5bdc0b"}},{"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::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":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6842f4e4bddbf1c730db6c395f3a1a070eb71a82fa33e70da7890b7a3ec8cd"}},{"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":"fyrox_ui::menu::keyboard_navigation (cognitive 23): fyrox_ui::menu::keyboard_navigation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/menu.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a7e4c0bfb5a789144a2568765f8dd8a6b2e61a1ecaf6ee13d953f69aac400a"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetItem::open (cognitive 22): AssetItem::open has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 2 (6 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/item.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea10ed5e3f2d64506361616df8e2216cb4d84674a7b319d4e561b09baec7aa5"}},{"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":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ce8b451df0e21a190165ce3b78631d51274ec117bfe7a8ee49548c876d63e7"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialEditor::handle_ui_message (cognitive 22): MaterialEditor::handle_ui_message has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/material/mod.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2da43adcc7d13696f4ea20101c6b592d6e73c2818548868fcb290f1a09cb1a"}},{"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":384}}}],"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":1693}}}],"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":1755}}}],"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":309}}}],"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":"PhysicsWorld::sync_to_joint_node (cognitive 22): PhysicsWorld::sync_to_joint_node has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a62cb7addcac80870ae7b2eac9594106ebf9a24b1bc908b6bd38a8afa5f6a8"}},{"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":"ResourceCreator::handle_ui_message (cognitive 21): ResourceCreator::handle_ui_message has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/creator.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80bfff0b96abd018a4394b080b9772979346d8b1e5ae8b5742b25acb904fba"}},{"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":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7343846327ef8ed78f8be4a92bee1d6c0e04687c64646326d3753973dcb70e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditNavmeshMode::on_mouse_move (cognitive 21): EditNavmeshMode::on_mouse_move has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 2 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4f477c9c35c3dab30daf00b29c6c1444e6f1443db49c1d29f75143f8ecc321"}},{"ruleId":"D2","level":"warning","message":{"text":"PaletteWidget::sync_to_state (cognitive 21): PaletteWidget::sync_to_state has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cc86da48bc8f0bc7581a6a99818641b35773515c83421b92407ec6dd4d6f4"}},{"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":658}}}],"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":"TextureSliceEditorWindow::handle_routed_message (cognitive 21): TextureSliceEditorWindow::handle_routed_message has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 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":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"384c75d244a5f65e9562057939c43798774503a0d641898a0a5cc8dfa8cb6050"}},{"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":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a83ba30fbe322661551adfcf18f06a79af01455065cd2e507d444661f6d08"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsmCanvas::sync_transitions_ends (cognitive 20): AbsmCanvas::sync_transitions_ends has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c376a9ec8416e0539fed80c547ba65ccb047333f5f7909b9e17a289da5a7404"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportWindow::handle_ui_message (cognitive 20): ExportWindow::handle_ui_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (6 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/plugins/export.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1894aa7cbd626d5fde7f7792d3d861e22f48dfdf88ae5b70bbccd83ca3ead5"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroPropertyValueField::on_ui_message (cognitive 20): MacroPropertyValueField::on_ui_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/brush_macro.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"375de3d10eca25990532eec5c142e5c82042f2e79cc157f39942e478cfbecd7c"}},{"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":831}}}],"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":1466}}}],"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":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b16fe6d5151e6c91592706651d024715f1c325822c866b722acd9cf406bc35"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu::handle_os_event (cognitive 20): Menu::handle_os_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 1 (3 pts), boolean chains 2 (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/menu.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d4e59e6d2dbe2afe451076a3bf29fb552d52b4704d7495ca982003b5c625f"}},{"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":"SpriteSheetFramesEditorWindow::handle_routed_message (cognitive 19): SpriteSheetFramesEditorWindow::handle_routed_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 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":"editor/src/plugins/inspector/editors/spritesheet/window.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5674b02c2f15186785593a07f8b59f8c369b199704dd0414dcca22d3d50e4fe1"}},{"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":"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":"BlendSpace::collect_animation_events (cognitive 19): BlendSpace::collect_animation_events has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 1 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/node/blendspace.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8766a415e494e9f12deff82d372f9beb8f0d63a65eb36ff67c6d68a64f7afc"}},{"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":"SceneState::try_create_from_plugin (cognitive 19): SceneState::try_create_from_plugin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 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-impl/src/engine/hotreload.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb9cb50a675b697f654e6bf7ce034212ce53e6ee233682972e2ba32d4ed435c"}},{"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":"FbxScene::new (cognitive 19): FbxScene::new has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/scene/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a41b64d35ca2dd0559c24d5676ec3bef6d468ecb029e586c40f965e6ecb8175"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld::sync_to_collider_node (cognitive 19): PhysicsWorld::sync_to_collider_node has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"55adaf84a6b02c813dc3bac375b06be4058969cb63ff4c8f1d3dbcab7fbab868"}},{"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":"PhysicsWorld::sync_to_collider_node (cognitive 19): PhysicsWorld::sync_to_collider_node has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 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-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cf76d0029653a81411dc2e19e2cd0df5b81dcead6783c40bf6f3bef2db6ba7"}},{"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":1513}}}],"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":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0577095f8aa17da84e0e43ffcf59107877a91d4699ddf139f827abbb802a3c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TextBox::move_caret (cognitive 19): TextBox::move_caret has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/text_box.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"c264b3ea4465fc0264b1e12d872d11716daa168d932541b1df74623a45d03c08"}},{"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":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"93be0d090dd7fd92b5617230c27fccc2b6d488e9b3fd6f7bdfe0f2c8f8fe5409"}},{"ruleId":"D2","level":"warning","message":{"text":"VecEditor::handle_routed_message (cognitive 19): VecEditor::handle_routed_message has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (5 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/vec.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d185a1c0fb3cbc7801620c9407021369c7472fe2ac01ccb959c7888cced81da"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandStack::do_command (cognitive 18): CommandStack::do_command has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). Of this number, 13 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":"editor/src/command/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a14aa7e899e2ec43bd3a45aa064e1a63a3a3e8212781bb094f8d4b2f82dcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapPanel::handle_ui_message (cognitive 18): TileMapPanel::handle_ui_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/plugins/tilemap/panel.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"5205c89f42e95dff04498bddb9bff0806418f38ab0c5021d7032169f46d7818e"}},{"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":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da12c1cc334b3f8114ca24c30c12f14b325f703a2b0f163a970f2309af67158"}},{"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":330}}}],"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":"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":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7184f2b5645a1f148a3d5265f1c1466248f1ae7025d5934f91341835d02a9bc7"}},{"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":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca46c47c18e4356aad3e695120a4b369f0ac35a072d76570957f7caa2869b08"}},{"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":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aaa8b8fb708470cce926c5ebb1a2f08f771b60760c918afc02d8e5e39b8979"}},{"ruleId":"D2","level":"warning","message":{"text":"UpgradeTool::handle_ui_message (cognitive 18): UpgradeTool::handle_ui_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (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":"project-manager/src/upgrade.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411a5fcab22827cbbdc41469e98a82546c8fe27272c2f2ec10cfb35649f2e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundPreview::generate_preview (cognitive 17): SoundPreview::generate_preview has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/preview/mod.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50c1bfd90b37e3b18da60bbbb9a7534f5ea4cac3f2c55645ea22041e56f0150"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraController::pick (cognitive 17): CameraController::pick has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/camera/mod.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5f10670f524fcbd3dd52d02822f843419034e6e607f51207bc361c9f45be8"}},{"ruleId":"D2","level":"warning","message":{"text":"Configurator::handle_ui_message (cognitive 17): Configurator::handle_ui_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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":"editor/src/configurator.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecab642fc752a837088f151196ae706f0eb25ac5d0219c99815738852d34be1"}},{"ruleId":"D2","level":"warning","message":{"text":"TerrainInteractionMode::on_mouse_move (cognitive 17): TerrainInteractionMode::on_mouse_move has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/terrain.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa742e82b3bff85506b0ff14691cd6a26099bfd757c25e074f834bae05eae66"}},{"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":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c472731a58bb42c6610865d05616692ec583f4d95a0d461b91fab340e64bafd"}},{"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::draw (cognitive 17): PaletteWidget::draw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f314277d834e75a6dac28a4239f04820b60971672e109e97f09826cd4dc6e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeSelectorWindow::handle_routed_message (cognitive 17): NodeSelectorWindow::handle_routed_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (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/scene/selector.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e8deecf1b8549f6b5fa10cb01bf7411a25748df8f6200778d6325b71f63432"}},{"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":128}}}],"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":"BlendAnimationsByIndex::eval_pose (cognitive 17): BlendAnimationsByIndex::eval_pose has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1 (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-animation/src/machine/node/blend.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"491602652ac980443601963e3f8f609e912a260484cc03623cad1682dc0326b3"}},{"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":"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":174}}}],"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":1270}}}],"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":1325}}}],"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":"fyrox_impl::resource::fbx::convert_model::fill_track (cognitive 17): fyrox_impl::resource::fbx::convert_model::fill_track has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. 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":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b71f97988e889aa6c77f3115883d1a03a4a12e575bfe02046477de31bce4318"}},{"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":"ColorPoint::handle_routed_message (cognitive 17): ColorPoint::handle_routed_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc5a6315e0fe51b040d2c958a8233fe29f3bcf6eca8a6db4b6d017f42dbdfec"}},{"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":"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":122}}}],"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_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":603}}}],"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":190}}}],"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":1605}}}],"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":2039}}}],"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":"StateViewer::handle_ui_message (cognitive 16): StateViewer::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 2 (7 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":"editor/src/plugins/absm/state_viewer/mod.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ab655cc81e32312b7aafa55df9a33ed7ba78399a1182329c0338c229c6976f"}},{"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":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"8890c4cd730305b578bbd3bf5627a0d454271ed830799d96eb605092627b3c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptPropertyEditor::preview_message (cognitive 16): ScriptPropertyEditor::preview_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/script.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aa5952726ecf936a36cf8d0dc282c4ea504ac895292dddb8253a9edfa537fb"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialFieldEditor::handle_routed_message (cognitive 16): MaterialFieldEditor::handle_routed_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/material/editor.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4cf7df6e1c8f05525a5e6e4b995eaf8d8fc17ea660dd2a1103612205286a70"}},{"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":"TilePropertyEditor::handle_ui_message (cognitive 16): TilePropertyEditor::handle_ui_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/tile_prop_editor.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d1d9f2b6300fe1509f436e1af812910e018c6782a97371d818ee766f95a98"}},{"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::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":"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":"SceneGraph::external_refs_summary (cognitive 16): SceneGraph::external_refs_summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e3c8020b07cf975d1df2cc0f353d33033e10fe9e26debd150e4eeb7682d8b5"}},{"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":1832}}}],"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":1924}}}],"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":"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":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaa6e75ef8ab22565451306c1f9ecfb2b1634d5671dd29c24c06e59c9514391"}},{"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":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"855fbde103da9fc0006b12d86f0423a434884411d8cd6c90d985e3f48b9aad76"}},{"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":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b35f1507ad2afffd5fd3383e532eb933fbc0ed974572c76518ce63439c4bd"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuItem::preview_message (cognitive 16): MenuItem::preview_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/menu.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea997b9e289e714a2557afebfc863a2f2b1130da8a5d79cd99017262772a7bb5"}},{"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 2394 significant 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-4039). The bar is 500 significant lines; this is 1894 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 1763 significant 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-4039. The bar is 400 significant lines; this is 1363 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":336}}}],"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":314}}}],"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 1772 significant 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 1272 over it, 3.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"FileTooLong: tilemap/palette.rs: FileTooLong \u2014 1585 significant 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 1085 over it, 3.17\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":"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":"MethodTooLong: PropertyEditorDefinitionContainer.with_default_editors: MethodTooLong \u2014 with_default_editors runs 308 significant 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 208 over it, 3.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/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e9dd380990e4d8974af605ece211305eced41b3e5054b4b57e7ff98548613a"}},{"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 284 significant 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 184 over it, 2.84\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":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"429a0ee690bcfdb81d142e4f9e2c15d02ea0933b19997cbab2276ced0d52f873"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextBox.handle_routed_message: MethodTooLong \u2014 handle_routed_message runs 283 significant 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 183 over it, 2.83\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":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e5f38b35d3bb03af8d7f2018560316307d810073c2f34554876c73c4d82b8f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Graph: ClassTooLong \u2014 1093 significant 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, 10 blocks, lines 130-2178. The bar is 400 significant lines; this is 693 over it, 2.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-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 1341 significant 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-1735). The bar is 500 significant lines; this is 841 over it, 2.68\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 268 significant 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 168 over it, 2.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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":400}}}],"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 1044 significant 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 644 over it, 2.61\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":"FileTooLong: physics/mod.rs: FileTooLong \u2014 1287 significant 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 787 over it, 2.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 1265 significant 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, 611-1740). The bar is 500 significant lines; this is 765 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 1239 significant 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-2178). The bar is 500 significant lines; this is 739 over it, 2.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":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9be314283e3b7786beed12d6d879c59251bd1bff8c51ad0183148094739e8c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Engine: ClassTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 36 methods, 3 blocks, lines 319-2831. The bar is 400 significant lines; this is 561 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-impl/src/engine/mod.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"760b95fbd23378f2c12560902156d827ab538b20618c37f41548c23f6ebad790"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Graph: 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-impl/src/scene/graph/mod.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dd0bd3e385246a2e983934f28e6a6c8be9b03d7d6ec9bc5fa618ee3d5c2cd3"}},{"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":"MethodTooLong: SceneViewer.new: MethodTooLong \u2014 new runs 239 significant 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 139 over it, 2.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":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be96ee649289f349b223f5327aa83b79c2720bde20f58403fa31602dd61dc19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FormattedText: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 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-ui/src/formatted_text.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d180e0c079c8d374e0e5f89fa2bdc5432e4889138dae4c5ce82c083e5b4da7"}},{"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":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218119c04e60a8c6fcdddb895329f4d5389f722dc7852f196900c533683dd6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 1124 significant 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 624 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":"FileTooLong: inspector/mod.rs: FileTooLong \u2014 1122 significant 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 622 over it, 2.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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c3a06e0cdf14d30a6604843e37fa4826d06121bee2e711b34e1342a0c35b3"}},{"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 1096 significant 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 596 over it, 2.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":"fyrox-ui/src/widget.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"935b01a81251d576f8dd80b44222267360ce55b4b1b205e5a1cb283cc542a1d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/text_box.rs: FileTooLong \u2014 1077 significant 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-1556). The bar is 500 significant lines; this is 577 over it, 2.15\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":"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":"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 1036-2603. 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":1036}}}],"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":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6f73a5960b2a533b8b1fd5d1a5881b63cb9ade0c891352a8c9d0c2fc63298"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1042 significant 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 542 over it, 2.08\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: src/manager.rs: FileTooLong \u2014 1008 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: ProjectManager (2 blocks, 130-1331). The bar is 500 significant lines; this is 508 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 130-1331. 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":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0a965c7513d062f9b410bc6764e5f4649cd2552b3984dad96494eabf07b94"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CurveEditor: 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), 24 methods, 4 blocks, lines 426-1735. 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":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ba414d3110da227be1663ec6374b78a84a6f7ec031f288ace253ed36863c74"}},{"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 799 significant 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 611-1740. The bar is 400 significant lines; this is 399 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":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"663523fc0480fc5923bb698a3f8ee04a3dc94d5f8c08f2284f75215769fc7ae1"}},{"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":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c07059a89d9b1219082cecda70c2d0f4b3402631f94b188d42b0e9f3a300ef6"}},{"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":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"786bec6f78b150e2e9a08055efe0b85173c64a2cd1f3df4a2a14bccbbb865342"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: physics/mod.rs: FileTooLong \u2014 962 significant 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, 466-1512). The bar is 500 significant lines; this is 462 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":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e082c3119c619155a12c67d34ba1791cc2c429481565d60bcb0a9e15b11276"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/ragdoll.rs: FileTooLong \u2014 961 significant 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: RagdollPreset (3 blocks, 79-1011). The bar is 500 significant lines; this is 461 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":"MethodTooLong: ExportWindow.new: MethodTooLong \u2014 new runs 192 significant 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 92 over it, 1.92\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/export.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bb061f1a4b482551f449ec5b45e8ab83d7fef3c868bbe1157ee782151c8cde"}},{"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":"ClassTooLong: TextBox: ClassTooLong \u2014 763 significant 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-1556. The bar is 400 significant lines; this is 363 over it, 1.91\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: 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":"FileTooLong: src/formatted_text.rs: FileTooLong \u2014 947 significant 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: FormattedText (2 blocks, 265-1252). The bar is 500 significant lines; this is 447 over it, 1.89\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":"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":"FileTooLong: scene/mod.rs: FileTooLong \u2014 940 significant 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: GameScene (3 blocks, 133-1125). The bar is 500 significant lines; this is 440 over it, 1.88\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: 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":"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: src/server.rs: FileTooLong \u2014 922 significant 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, 517-1551). The bar is 500 significant lines; this is 422 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: dock/tile.rs: FileTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: Tile (4 blocks, 263-1201). The bar is 500 significant lines; this is 416 over it, 1.83\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":"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 891 significant 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 391 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":"MethodTooLong: AssetBrowser.handle_ui_message: MethodTooLong \u2014 handle_ui_message runs 177 significant 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 77 over it, 1.77\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":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da785de46608450392c26e29596b2cb8ab6f7ebe98004ab28239874b1a271a"}},{"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":86}}}],"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":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d73865c0fbfd0aa130841118b69e53698f02f5c6f3beea9b8816fdaad77e0f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: animation/toolbar.rs: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 69% of them inside a single declaration: Toolbar (2 blocks, 81-1154). The bar is 500 significant lines; this is 375 over it, 1.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f667f2e7d971e3a996645c9340c442aae4a4a910bf4207a9e2ae08b34ab50362"}},{"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: color/mod.rs: FileTooLong \u2014 869 significant 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 369 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: 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":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe0bd4a3a0076c23a02935bd7ec78575208819c26bf7ed0aa04fe5d73ec94c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhysicsWorld: ClassTooLong \u2014 679 significant 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-2036. The bar is 400 significant lines; this is 279 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"ClassTooLong: GameScene: ClassTooLong \u2014 674 significant 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 133-1125. The bar is 400 significant lines; this is 274 over it, 1.69\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":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b819bc48dc02cb6e6813f8b439e092b9e5f3884b73fae193ac6a88ec664c9959"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pool/mod.rs: FileTooLong \u2014 841 significant 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-1488). The bar is 500 significant lines; this is 341 over it, 1.68\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":"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":"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 667 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 53 methods, 2 blocks, lines 86-2095. The bar is 400 significant lines; this is 267 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-resource/src/manager.rs"},"region":{"startLine":86}}}],"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":"FileTooLong: src/draw.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). The bar is 500 significant lines; this is 310 over it, 1.62\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":"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":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf6bd084382f20f14bd4409175fa5515ca5e85d00831b769a071e387dfeab5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FormattedText: ClassTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 71 methods, 2 blocks, lines 265-1252. The bar is 400 significant lines; this is 247 over it, 1.62\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":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5a9cc2585cab8b6038ffad80e6b4f9e5cdd76568bb49fab07ac37ed7b562e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InspectorContext.from_object: MethodTooLong \u2014 from_object runs 161 significant 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 61 over it, 1.61\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":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"09954763135a79aebe190e03d7e433a6ca24429670a886fda1cb54b2fe592664"}},{"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: AssetBrowser: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 17 methods, 2 blocks, lines 119-1079. The bar is 400 significant lines; this is 235 over it, 1.59\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: 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-979. 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":"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: 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 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), 21 methods, 6 blocks, lines 466-1512. The bar is 400 significant lines; this is 221 over it, 1.55\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":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"280db690e89417976ee27d764b98ec3fc59af6c63975e2460095c035fc82ea9b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tile: ClassTooLong \u2014 618 significant 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 263-1201. The bar is 400 significant lines; this is 218 over it, 1.55\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":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fce1e9d92963a9cf3da6e33db5998aa0a9e9228696345378cacd412cb3dc17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/color.rs: FileTooLong \u2014 770 significant 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-979). The bar is 500 significant lines; this is 270 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":"fyrox-core/src/color.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee05b3a2079af7f077cd6a40ba4353c1fc9a44b705aaec5c9f63ac7f39e15fc9"}},{"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":1488}}}],"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-940). 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":1677}}}],"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":"FileTooLong: asset/mod.rs: FileTooLong \u2014 763 significant 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-1079). The bar is 500 significant lines; this is 263 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":"editor/src/asset/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64637ac7db5566e72b7658f14417387dab45f16b836794d3a683296d92c363"}},{"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":"MethodTooLong: SceneViewer.handle_ui_message: MethodTooLong \u2014 handle_ui_message runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec487781416315823439150613fbfc5e9a9f75bb33a1c3692eaf0ca29eecc0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Toolbar: ClassTooLong \u2014 607 significant 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-1154. The bar is 400 significant lines; this is 207 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":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"311a68ac2470440f63e86d0386acd0e2a6155acdd091cab8f1f2b8c77bfb1352"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Widget: ClassTooLong \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), 110 methods, 2 blocks, lines 572-1644. The bar is 400 significant lines; this is 206 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/widget.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1072d5b808c9fe20bf51d63b6c0e2f0bbaddc69c27bc905e223ea1ca38011d22"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pool: ClassTooLong \u2014 605 significant 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-1488. The bar is 400 significant lines; this is 205 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":"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":"MethodTooLong: NinePatch.draw: MethodTooLong \u2014 draw 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-ui/src/nine_patch.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc6fc9b148b61b09a5787f326d1a40b2cbecc914f073f9cf9f92ed7a71259da"}},{"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 517-1551. 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":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbf8017a0557f317906b5e7d06b54f6e438e31141258c818571caef43f4326e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene_viewer/mod.rs: FileTooLong \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), about 75% of them inside a single declaration: SceneViewer (3 blocks, 263-1063). The bar is 500 significant lines; this is 252 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":"FileTooLong: src/menu.rs: FileTooLong \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). The bar is 500 significant lines; this is 252 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: 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 743 significant 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, 114-771). The bar is 500 significant lines; this is 243 over it, 1.49\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: AssetItemContextMenu.handle_ui_message: MethodTooLong \u2014 handle_ui_message 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/asset/menu.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3964d89643ce2ba02c1904b8baa661e6b038e625e397801ca118b22f66918c28"}},{"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":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47bd19e63265055f6f89f8183e7f24949701c2c5b3dcf3beee2eb108c44a552"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/base.rs: FileTooLong \u2014 726 significant 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 226 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":"ClassTooLong: SceneGraph: ClassTooLong \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), 56 methods. The bar is 400 significant lines; this is 180 over it, 1.45\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":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ba31509b910d245298450fe2121918623145279d92c4cac537dabeb5fd803"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssetBrowser.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/asset/mod.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a43e5e007b1af6e19c7ba368976f2d12706f6ba68a25d3705dfe1bf329c350"}},{"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":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"37288d18c3916299fd4fe53a5896aa05bbe8140ff56825a4438f99d5f2d2046f"}},{"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-874). 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":"ClassTooLong: SceneViewer: ClassTooLong \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), 18 methods, 3 blocks, lines 263-1063. The bar is 400 significant lines; this is 165 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: 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":"FileTooLong: src/message.rs: FileTooLong \u2014 703 significant 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 203 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed460cfb6bdf0c5bbc3765470378ee2204177af6219e5cd97efaa9cfddf86aca"}},{"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: FileMenu.new: MethodTooLong \u2014 new 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":"editor/src/menu/file.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b78d48c9b581412753e3a7bb524e3a2fb7840a452782a904c5ac07ab791f868"}},{"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":"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":"MethodTooLong: PaletteWidget.draw: MethodTooLong \u2014 draw runs 136 significant 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 36 over it, 1.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/plugins/tilemap/palette.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"e885695db0ad80d7b18642622bd08d667cf4a243b630c406bcaa847cf3d452bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: absm/mod.rs: FileTooLong \u2014 678 significant 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-769). The bar is 500 significant lines; this is 178 over it, 1.36\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":"FileTooLong: editors/mod.rs: FileTooLong \u2014 676 significant 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: PropertyEditorDefinitionContainer (5 blocks, 381-1070). The bar is 500 significant lines; this is 176 over it, 1.35\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":"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-874. 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":"FileTooLong: absm/blendspace.rs: FileTooLong \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). The bar is 500 significant lines; this is 170 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":91}}}],"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 663 significant 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 163 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":1677}}}],"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":208}}}],"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":"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: ScrollBar.handle_routed_message: MethodTooLong \u2014 handle_routed_message 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/scroll_bar.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"303ce4f07bcb2fa78b623b91b97d4c343dac2e11322e80d9db1a68bfa67b6087"}},{"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":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f8d670e8a0217a7eb83237f47b12a46c9cae67162f39c250de1d384197c426"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editors/mod.rs: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 133 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b810eb44075b1f7eab91b4b95a4441c690a9b4027258be3ffbf0d1170e3839c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \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). The bar is 500 significant lines; this is 131 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":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a201fdba0ddab969325f389b7478c854ba38a69f49d10465737e16f8df7d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneNodeContextMenu.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/menu.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"713ac060f542cd738debfbb4b26f4cd2545458092c45dc4149da1f07784829f7"}},{"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-2129. 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 622 significant 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 122 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: editors/texture_slice.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). The bar is 500 significant lines; this is 120 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":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4f146578d8078946fb3e407713e06ab688208f74d1c1a39c8a581b881191e3"}},{"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":655}}}],"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":"FileTooLong: world/mod.rs: FileTooLong \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), about 75% of them inside a single declaration: WorldViewer (2 blocks, 143-864). The bar is 500 significant lines; this is 117 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":"editor/src/world/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897404b7a573f91c95cdb6f435ba92def7e18bf87145fe5f9eab3bb3e3200638"}},{"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-940. 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: material/mod.rs: FileTooLong \u2014 613 significant 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 113 over it, 1.23\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: 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: 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":"TooManyMethods: Engine: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3598561cc0b6d6424b7f110bd972ae917c1897a9c0883f71544669cfe26b3"}},{"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":446}}}],"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":1005}}}],"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":"MethodTooLong: FormattedText.arrange: MethodTooLong \u2014 arrange runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/formatted_text.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ad5f7c99fa2481a0be0055d635f3a9706c19b602acbd9df58e35b68b516fd5"}},{"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":"FileTooLong: mesh/mod.rs: FileTooLong \u2014 589 significant 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 89 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-impl/src/scene/mesh/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8961ffb5653a9f6724a55269a29d3f8e4e11b26015197cd1974446efb8b02a2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InspectorPlugin.new: MethodTooLong \u2014 new runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"64890f15dc067a320a3770aa57ff23b67f5be59ac1aaaaf05d3fda73286a69c3"}},{"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":"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-864. 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":"FileTooLong: preview/mod.rs: FileTooLong \u2014 578 significant 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 78 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":"editor/src/asset/preview/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b0d379655d236b53b47e83bf2f74e9eed635f8ab9c2d30933bd6dd6d9b3861"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file_browser/mod.rs: FileTooLong \u2014 578 significant 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 78 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-ui/src/file_browser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f0f67286a9573841cf27285611cd5a3bb09b0fbb16168dbfa5b2c8bf136e55"}},{"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":"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":501}}}],"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 114-771. 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":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"10816b1365ad3a11a49edd58794216cf29f48b18d0176714acc0c2f8806425d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PropertyEditorDefinitionContainer: ClassTooLong \u2014 456 significant 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, 5 blocks, lines 381-1070. The bar is 400 significant lines; this is 56 over it, 1.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-ui/src/inspector/editors/mod.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9383805155a490d6061a468db8693419f57071bae83d34bd08b1773223aba6"}},{"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: 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":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01ce50c3a0b195028c79b8c7aa2a9f6882c685fb8928a316b7207b563fedaa4"}},{"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":"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":"MethodTooLong: SceneNodeContextMenu.handle_ui_message: MethodTooLong \u2014 handle_ui_message 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":"editor/src/world/menu.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e791698f40b4b9d38a5744ce2760835372cb19b34b28d1f7911eadea31136f3"}},{"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":"FileTooLong: collider/mod.rs: FileTooLong \u2014 564 significant 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 64 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: Animation.update_root_motion: MethodTooLong \u2014 update_root_motion 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-animation/src/lib.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c973ef91dd703f5991744e279a4e9e42a40feba81e33e66254a8bb9e177cc26"}},{"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":"MethodTooLong: HashMapPropertyEditorDefinition.create_message: MethodTooLong \u2014 create_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/inspector/editors/hashmap/mod.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd77e3c85180e47f80040d4d774a81f88f4c7b0cababd20a1565d0b909a09870"}},{"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-753. 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":"MethodTooLong: SceneGizmo.new: MethodTooLong \u2014 new runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/gizmo.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0c78225b59d8fc1cd0daf889218d00a4a0c044bd012608f7be81db6093ec96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_impl::resource::fbx::convert_mesh: FunctionTooLong \u2014 fyrox_impl::resource::fbx::convert_mesh runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"f753fcd85d382763c53c78a6b1766c2e364ff06b5ea99574f37765f3eac860e2"}},{"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":122}}}],"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: 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":997}}}],"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":"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-753). 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: 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":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b49ef257dc440c9b6ae0d1007a5e5e57232d142a79f5144fb6beb2d686920e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 537 significant 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-942). The bar is 500 significant lines; this is 37 over it, 1.07\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":"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":243}}}],"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":517}}}],"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":699}}}],"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":"ClassTooLong: AbsmEditor: ClassTooLong \u2014 420 significant 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-769. The bar is 400 significant lines; this is 20 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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f7647ec7c6eb3c00306a9383d117625208b80875c4e8aab85401d63d36141"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fyrox_core_derive::visit::impl_visit_enum: FunctionTooLong \u2014 fyrox_core_derive::visit::impl_visit_enum 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-core-derive/src/visit.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47ce8968a2b8763983055e529de26e9ae60f9261aab0ec027891b4d8b4d7960"}},{"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":547}}}],"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 66-763. 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":66}}}],"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":1832}}}],"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: inspector/mod.rs: FileTooLong \u2014 518 significant 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: InspectorPlugin (3 blocks, 155-722). The bar is 500 significant lines; this is 18 over it, 1.04\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/inspector/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ea2970481e2893b5a7c4b09a5e3d19309c7a97bdaa455fbda2a8b20251a967"}},{"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":"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":"MethodTooLong: FormattedText.measure: MethodTooLong \u2014 measure 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-ui/src/formatted_text.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac579637b84831efb604a4e20817d8eb4428c5f7fcd0f258a74a324c32a5a7c"}},{"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":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d029a1bb81441ad42feaec2193170ab45f8815af4b8123e0af372fa7d902dc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editors/collection.rs: FileTooLong \u2014 508 significant 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 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c3301ff64a767bd7f26846778fc3ce5f7c2d2bf1a734beb942e98707a22c51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reflect/mod.rs: FileTooLong \u2014 507 significant 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 7 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":"MethodTooLong: InspectorPlugin.on_ui_message: MethodTooLong \u2014 on_ui_message 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":"editor/src/plugins/inspector/mod.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e0ae0d84d3662624aba70f0781062330db92077154391d173fefedb5238641"}},{"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":1047}}}],"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: scene/collider.rs: FileTooLong \u2014 503 significant 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 3 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-impl/src/scene/collider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82731abc7e77847c305dc99826cdabd7d75aa4c32bd9cb41ec9a92c7ef9f2a5"}},{"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 family (3 members, 27 shared lines): fyrox-graphics/src/gpu_texture.rs:284-320 | fyrox-graphics/src/gpu_texture.rs:324-360 | fyrox-graphics/src/gpu_texture.rs:364-399 \u2014 These 3 members are variants of one another: a block of 27 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":"fyrox-graphics/src/gpu_texture.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"de46f40355afef71a070c023698f0a36bd8be99d64bae016542ecefe4bee7857"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (101 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1324-1466 | fyrox-impl/src/scene/graph/physics/mod.rs:1837-1988 \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":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea273614582c5633e6a6a463f8f6a9a74d43d75336bdcbe8b5a543528b774631"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (97 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1051-1188 | fyrox-impl/src/scene/graph/physics/mod.rs:1492-1700 \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":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f2aa35007f2572b32fba0e6429a0d334e67869360173c6742dc49319781bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (89 shared lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1195-1317 | fyrox-impl/src/scene/graph/physics/mod.rs:1707-1830 \u2014 These two members are variants of one another: 89 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":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce28a55248bb9903c63d9e97a979931907d2bddcaae5d835b1ddd19adbf7eec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): editor/src/plugins/inspector/editors/dyntype.rs:301-400 | editor/src/plugins/inspector/editors/script.rs:397-496 \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":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a78da4dd5759f6093fe863b56340a020e8fa78159d745b1208110eea6c48d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): fyrox-impl/src/scene/tilemap/autotile.rs:143-186 | fyrox-impl/src/scene/tilemap/autotile.rs:259-294 \u2014 These two members are one piece of code written twice and then edited apart: 27 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-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"416ec756eacdc34f323d9b901f4259e9e50cf464d2a1d06ab81cf60456aaba02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-animation/src/machine/node/blendspace.rs:124-150 | fyrox-animation/src/machine/node/blendspace.rs:162-210 \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":"019bd7273c7b85b1998993a4eb43118685c99df9213b714d1e8d72542bb25cc1"}},{"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:1743-1830 | fyrox-impl/src/engine/mod.rs:1832-1922 | fyrox-impl/src/engine/mod.rs:1929-1997 | fyrox-impl/src/engine/mod.rs:2006-2103 | fyrox-impl/src/engine/mod.rs:2110-2138 | fyrox-impl/src/engine/mod.rs:2145-2173 | fyrox-impl/src/engine/mod.rs:2180-2208 | fyrox-impl/src/engine/mod.rs:2351-2413 \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":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"930c2b4fb8071b230e42d019563625a5a9899718e59792c141033c86456a2e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): editor/src/plugins/collider/mod.rs:406-482 | editor/src/plugins/collider/mod.rs:539-632 | editor/src/plugins/probe.rs:179-202 | editor/src/plugins/probe.rs:239-273 \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":"a49c1a4054fde5cea5bf3fb71b8e72366135a90de081ebdfbe392318c28ffe44"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): editor/src/plugins/tilemap/autotile.rs:469-539 | editor/src/plugins/tilemap/autotile.rs:618-641 | editor/src/plugins/tilemap/wfc.rs:505-627 | editor/src/plugins/tilemap/wfc.rs:637-682 \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":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a745aac917c990f22d437d67c36416889b552a9e0212211fbe4fbb76383300"}},{"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-632 | 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":"820a398dbd99fc1864d3d554ec6734f9390aaf2397eaec8ec48032f8c8699511"}},{"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":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fyrox-ui/src/inspector/editors/cell.rs:78-119 | fyrox-ui/src/inspector/editors/cell.rs:124-166 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:122-160 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:178-214 \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-ui/src/inspector/editors/cell.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d29a9dccddd8af0dcecbff0d1bacf0ad4c68edf539bde8b0f27d138fc62b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): fyrox-impl/src/scene/terrain/mod.rs:1270-1319 | fyrox-impl/src/scene/terrain/mod.rs:1325-1381 \u2014 These two members are one piece of code written twice and then edited apart: 50 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-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec184612504b6b5e5ddb05e2e34d99d73415a02052cdec27cf7c62fc17de49aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): fyrox-ui/src/draw.rs:499-573 | fyrox-ui/src/draw.rs:582-682 \u2014 These two members are one piece of code written twice and then edited apart: 75 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-ui/src/draw.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcab088a566ed3b880cd465a8f527ac1fe229e769ddc5e2291a9c53187c9934e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (99 corresponding lines): editor/src/plugins/light.rs:237-335 | editor/src/plugins/ragdoll.rs:1027-1135 \u2014 These two members are one piece of code written twice and then edited apart: 99 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/light.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4136c3ad33084122b7d2eb10ecd59661630dceff2c007164c92458c87bb943f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): fyrox-impl/src/scene/graph/physics/mod.rs:515-607 | fyrox-impl/src/scene/graph/physics/mod.rs:611-684 \u2014 These two members are one piece of code written twice and then edited apart: 74 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-impl/src/scene/graph/physics/mod.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d077fc88e262f05fd9d9f97bae078cd74f8314efdd41d730c257436f61f25279"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): fyrox-ui/src/inspector/editors/array.rs:380-463 | fyrox-ui/src/inspector/editors/collection.rs:553-659 \u2014 These two members are one piece of code written twice and then edited apart: 84 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-ui/src/inspector/editors/array.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e98d5f01176df2bba9952fbac632627e005de619d34c67ea3d3e03dcee83a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:707-769 | fyrox-impl/src/scene/graph/physics/mod.rs:1150-1213 \u2014 These two members are one piece of code written twice and then edited apart: 63 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"781788c0b661b679da087043b91d9a6cf446666e0d1264aa6a9426087ea9862b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): fyrox-graph/src/lib.rs:216-305 | fyrox-graph/src/lib.rs:319-438 \u2014 These two members are one piece of code written twice and then edited apart: 90 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-graph/src/lib.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa78707e9676db4cb77a25f27041eda89698a610e518397c55b85089ad7ef9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): fyrox-impl/src/resource/gltf/surface.rs:489-527 | fyrox-impl/src/resource/gltf/surface.rs:534-590 \u2014 These two members are one piece of code written twice and then edited apart: 39 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-impl/src/resource/gltf/surface.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5903551bcfbbcb84143521d64b3501ccf52d26f7e617fa32446e1685e0ef93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 69\u002B corresponding lines): editor/src/interaction/move_mode.rs:352-430 | editor/src/interaction/rotate_mode.rs:116-188 | editor/src/interaction/scale_mode.rs:112-180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 69 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/move_mode.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebc55033e29a67abf223fd541c0ac2d7f080572dd3089c2b66629b2de47e726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): editor/src/asset/dependency.rs:89-155 | editor/src/scene/dialog.rs:53-143 \u2014 These two members are one piece of code written twice and then edited apart: 67 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/asset/dependency.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6155ee683462988db2fc2149f00410fdeeb08f32af056cdc914d27e712d857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): editor/src/plugins/inspector/editors/dyntype.rs:242-296 | editor/src/plugins/inspector/editors/script.rs:320-392 \u2014 These two members are one piece of code written twice and then edited apart: 55 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/inspector/editors/dyntype.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"628bd363efd2e40285434c285693705c3cc2670c1335a8ef661a66ee2c18ca7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 69\u002B corresponding lines): editor/src/asset/menu.rs:151-236 | editor/src/scene/property.rs:586-654 | editor/src/scene/selector.rs:565-650 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 69 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/menu.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b2ff4e86f7fd10a20d2a1587a2e70f5d5638066b5a543ec83d6b1732f66b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fyrox-ui/src/draw.rs:197-219 | fyrox-ui/src/draw.rs:222-251 \u2014 These two members are one piece of code written twice and then edited apart: 23 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-ui/src/draw.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1489aac1e931c1fe02de862dc1a6020c0f301f25c4bde01181edbd60570f66d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:848-895 | fyrox-impl/src/scene/graph/physics/mod.rs:1292-1336 \u2014 These two members are one piece of code written twice and then edited apart: 45 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c52d5b0f4421b9066f4ef098a3b9531a8d4a0249adbd6269243de8adc4718c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): editor/src/plugins/absm/mod.rs:830-876 | editor/src/plugins/animation/mod.rs:994-1045 \u2014 These two members are one piece of code written twice and then edited apart: 47 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/absm/mod.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"456ec03f66a1e2fd7f6284bb52b53e4d9a057c58090c2db4779e76d0984373f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:251-291 | fyrox-impl/src/scene/graph/physics/mod.rs:375-415 \u2014 These two members are one piece of code written twice and then edited apart: 41 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51a9d8748fc2a6ba6736ad6bee6ec0dba8a662a8554850629acc54d4ca61776"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): editor/src/plugins/tilemap/autotile.rs:428-463 | editor/src/plugins/tilemap/wfc.rs:464-499 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea1db65bf833c9f0da773a69e37a859b9613ef7d2b79b0f0d9c2f85d51bec2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): editor/src/plugins/absm/selection.rs:199-248 | editor/src/plugins/absm/selection.rs:250-311 \u2014 These two members are one piece of code written twice and then edited apart: 50 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/absm/selection.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee39f96a618565448d5f0ec6bea012aeaa55bb7b6e499a802694a3002741205"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): editor/src/interaction/gizmo/move_gizmo.rs:97-151 | editor/src/interaction/gizmo/scale_gizmo.rs:80-132 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3785765ebc842a22a8175abad9ae57a458a4399726de3dcc423ecd4bb6caf842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): fyrox-impl/src/scene/dim2/rectangle.rs:323-410 | fyrox-impl/src/scene/sprite.rs:322-405 \u2014 These two members are one piece of code written twice and then edited apart: 84 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-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07af89928999efa0dda9b81a2e71ed72690dc509b6b58ca89057bd4f20b1d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): editor/src/plugins/tilemap/palette.rs:2175-2230 | editor/src/plugins/tilemap/panel_preview.rs:87-140 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/palette.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a15c09697c67caa3838d4a8f9a13dd646ffd65c975d7c3c8e4bd441d4db9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): fyrox-ui/src/matrix.rs:141-178 | fyrox-ui/src/vec.rs:177-215 \u2014 These two members are one piece of code written twice and then edited apart: 38 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-ui/src/matrix.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bfade605e8b92416142901118078a8ca4b03ce9f7e3f839c52a768e61aa91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): editor/src/asset/selection.rs:200-250 | editor/src/asset/selection.rs:252-307 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/asset/selection.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f130ea4785f8287adc9a2089c07903977a1187864becb8015f01f4815c3178b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): editor/src/plugins/tilemap/palette.rs:368-417 | editor/src/plugins/tilemap/palette.rs:477-540 \u2014 These two members are one piece of code written twice and then edited apart: 50 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/palette.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"324272785daf9e20835fd15c0c296bdde1997e078cf693ebc5b9ce1a88ab4e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): fyrox-graphics-gl/src/framebuffer.rs:432-477 | fyrox-graphics-gl/src/framebuffer.rs:488-533 \u2014 These two members are one piece of code written twice and then edited apart: 46 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-gl/src/framebuffer.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7577fa4890899abd73a895751b0422922354b05f39bbfb8d5f3e52dd834716"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): editor/src/interaction/rotate_mode.rs:199-260 | editor/src/interaction/scale_mode.rs:191-235 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/interaction/rotate_mode.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dd170f90a10dac2f9b458fe80d4b976a80e152c748b233e1f20a3498887c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): fyrox-graph/src/lib.rs:1693-1735 | fyrox-graph/src/lib.rs:1755-1813 \u2014 These two members are one piece of code written twice and then edited apart: 43 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-graph/src/lib.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7df2060ba0b387ff3a5179cfb02fab4107d4e6e9096d078090062f5b57d78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): editor/src/ui_scene/utils.rs:203-252 | editor/src/world/graph.rs:177-225 \u2014 These two members are one piece of code written twice and then edited apart: 49 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/ui_scene/utils.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9189f15d14b5c8239809264c4176633f586aaf07c9064c423f74f4af32292f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): fyrox-ui/src/color/mod.rs:304-353 | fyrox-ui/src/color/mod.rs:465-511 \u2014 These two members are one piece of code written twice and then edited apart: 47 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-ui/src/color/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f34659ec859cae5ae981057c2779ccaebb10cca50f1984bbaf16253dab0ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): fyrox-impl/src/renderer/convolution.rs:84-135 | fyrox-impl/src/renderer/convolution.rs:170-214 \u2014 These two members are one piece of code written twice and then edited apart: 45 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-impl/src/renderer/convolution.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5905fabcb66806875c02eda204546a03ae72289261def02dfb4cf5db1edf0592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): fyrox-ui/src/color/mod.rs:254-302 | fyrox-ui/src/color/mod.rs:426-463 \u2014 These two members are one piece of code written twice and then edited apart: 38 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-ui/src/color/mod.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5165d15131aee48e48fe078115bcc80ade1ef052be8afcf32b528a59baac60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): editor/src/scene/commands/mod.rs:178-223 | editor/src/ui_scene/commands/graph.rs:228-275 \u2014 These two members are one piece of code written twice and then edited apart: 46 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/scene/commands/mod.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc94023aba1a85de8f825e23cffe87c80101c41aa3e9351393d162869781c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): fyrox-math/src/frustum.rs:222-245 | fyrox-math/src/frustum.rs:252-275 \u2014 These two members are one piece of code written twice and then edited apart: 24 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/frustum.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2447fa88cb9d4a6db6c3d778bd5b5555785c5c2c4d40b8b07f41766cb5cf2508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): fyrox-ui/src/key.rs:242-290 | fyrox-ui/src/key.rs:455-489 \u2014 These two members are one piece of code written twice and then edited apart: 35 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-ui/src/key.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e2475d6c243c4eacc13efd30bfad8ba79cf5fed6a2ceec72507792aca21186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): editor/src/plugins/absm/mod.rs:923-957 | editor/src/plugins/animation/mod.rs:1089-1121 \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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fd8b19a26299873a946295c211aeef1484465537ee8bc815ae46afac74182a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): fyrox-build-tools/src/export/android.rs:56-99 | fyrox-build-tools/src/export/pc.rs:44-87 \u2014 These two members are one piece of code written twice and then edited apart: 44 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-build-tools/src/export/android.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc16e7154227eb94f769c1952938fe730716e1689019926ea77cf5b79f19e1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:1002-1045 | fyrox-impl/src/scene/graph/physics/mod.rs:1443-1486 \u2014 These two members are one piece of code written twice and then edited apart: 44 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"0148baad4bb4e34bc9a5a394741f2d7ff17d7b19a8d559fec71579bb7312147a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:925-954 | fyrox-impl/src/scene/graph/physics/mod.rs:1366-1395 \u2014 These two members are one piece of code written twice and then edited apart: 30 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd3baafccd47d40bb331891d90b1179b712d75a6b1b171a0bf629d66e21fa7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): editor/src/plugins/absm/state_graph/context.rs:189-254 | editor/src/plugins/absm/state_viewer/context.rs:76-139 | editor/src/plugins/animation/track.rs:137-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb757e08eb33b4953312874b960be9cffb8d421df5674dbae4ae300fe9e3251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): fyrox-resource/src/manager.rs:1116-1172 | fyrox-resource/src/manager.rs:1273-1324 \u2014 These two members are one piece of code written twice and then edited apart: 52 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-resource/src/manager.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f55d00b49cb752361e8deb54091baddcc009c73b83a15975f141d179afd11e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): editor/src/plugins/tilemap/interaction_mode.rs:307-348 | editor/src/plugins/tilemap/interaction_mode.rs:357-387 | editor/src/plugins/tilemap/interaction_mode.rs:396-430 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c33ad3d27286f8d583bab8db89ed94ed69111cfc6e5e76906ecadc6deeac72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): fyrox-impl/src/scene/dim2/physics/character.rs:127-157 | fyrox-impl/src/scene/graph/physics/character.rs:205-235 \u2014 These two members are one piece of code written twice and then edited apart: 31 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-impl/src/scene/dim2/physics/character.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"482c0f9a1f58297560b55c3d588861858c8696ca8d0be66fa263bb95145287b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 34\u002B corresponding lines): editor/src/interaction/mod.rs:211-250 | editor/src/plugins/tilemap/collider_editor.rs:372-407 | editor/src/plugins/tilemap/mod.rs:246-280 | editor/src/plugins/tilemap/tile_editor.rs:121-154 | editor/src/plugins/tilemap/tile_prop_editor.rs:680-714 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/mod.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"03280adbbfc3d3b33da75b53de8e563878055788e6dfcaef14318cd7f7aa2469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): editor/src/plugins/ragdoll.rs:314-361 | editor/src/plugins/ragdoll.rs:372-416 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/ragdoll.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6215db797760e1e5979006e22d95f8e09cc3ac485bcb528eb0a5f0ac86d28591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): editor/src/plugins/absm/command/mod.rs:220-273 | editor/src/plugins/absm/command/mod.rs:355-409 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/absm/command/mod.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1484eb6d0a6fa4e4b65dfdab870224b66d7df9bcf1fdb737b13fc6b586ca427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): fyrox-impl/src/scene/collider.rs:901-945 | fyrox-impl/src/scene/dim2/collider.rs:706-750 \u2014 These two members are one piece of code written twice and then edited apart: 45 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-impl/src/scene/collider.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e48c972f364cdd9c44621273e6a4a173047a34552b5c242e7c0b17d3cd5f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fyrox-core/src/reflect/mod.rs:927-949 | fyrox-core/src/reflect/mod.rs:955-984 \u2014 These two members are one piece of code written twice and then edited apart: 23 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-core/src/reflect/mod.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab88d65ec6c13a24b967e08183f4d4dfe820c3ea7831f4697cbc484c608dcb4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): fyrox-impl/src/scene/terrain/brushstroke/mod.rs:841-876 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:891-928 \u2014 These two members are one piece of code written twice and then edited apart: 36 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-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda255b4d851e5029a5223650f294464c9112bb79a01f936472423b9f11ff36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): editor/src/plugins/tilemap/colliders_tab.rs:100-137 | editor/src/plugins/tilemap/macro_tab.rs:106-144 | editor/src/plugins/tilemap/properties_tab.rs:185-225 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a4b2aef678f420426307712381a6359142e078ef433a7ff9e3d45ec9ac793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): editor/src/plugins/absm/state_graph/mod.rs:81-119 | editor/src/plugins/absm/state_viewer/mod.rs:171-208 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/absm/state_graph/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"898379a48880b6cf42c061d2fb85ba0662339a9ebd6ba1aaeb13902f0fc8762f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): fyrox-ui/src/inspector/editors/inspectable.rs:91-127 | fyrox-ui/src/inspector/editors/refcell.rs:82-121 \u2014 These two members are one piece of code written twice and then edited apart: 37 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-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f9e955b2f23343f2c2d181c84f68d61ed86d1184434140c5abd5d4075d1ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): fyrox-core/src/pool/mod.rs:643-689 | fyrox-core/src/pool/mod.rs:698-744 \u2014 These two members are one piece of code written twice and then edited apart: 47 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-core/src/pool/mod.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea12aa33363a126b2814fbd37d184fd99af2ea789ccfb35d170a8f4fed724f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): fyrox-impl/src/scene/tilemap/effect.rs:203-253 | fyrox-impl/src/scene/tilemap/effect.rs:259-286 | fyrox-impl/src/scene/tilemap/mod.rs:229-266 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/effect.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4c7218f585cd48d70f7185e347ad6e9d2cabe699c514f554d3f62d949f4159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): editor/src/plugins/tilemap/tile_editor.rs:258-289 | editor/src/plugins/tilemap/tile_editor.rs:295-326 \u2014 These two members are one piece of code written twice and then edited apart: 32 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/tile_editor.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad64fb996f08ecf51da068a6162d91253b46e2cdc74abd02851c5f199cd55a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): fyrox-core/src/visitor/reader/ascii.rs:370-399 | fyrox-core/src/visitor/reader/binary.rs:242-270 \u2014 These two members are one piece of code written twice and then edited apart: 29 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-core/src/visitor/reader/ascii.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"60609b6d224862b001427dab314c1bc13edb5fd830137d22ebf577aff7e25434"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:621-641 | fyrox-impl/src/scene/graph/physics/mod.rs:1064-1084 \u2014 These two members are one piece of code written twice and then edited apart: 21 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9e71443fb94238f9f8fb35d0732fa99de29e54e2b827a8689fd92243eee814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): fyrox-ui/src/file_browser/field.rs:156-195 | fyrox-ui/src/path.rs:195-241 \u2014 These two members are one piece of code written twice and then edited apart: 40 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-ui/src/file_browser/field.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff85029f75312bfb9d2663a67e7336e030ce9f754e56f4cf74b9d91e2660c2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): fyrox-impl/src/scene/dim2/physics/mod.rs:671-695 | fyrox-impl/src/scene/graph/physics/mod.rs:1114-1138 \u2014 These two members are one piece of code written twice and then edited apart: 25 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-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eaffb09f65d954a4b2353c442a9ef4e81b8b56fcdcc11edfc7cf39666a60da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): fyrox-impl/src/renderer/bloom/mod.rs:88-129 | fyrox-impl/src/renderer/occlusion/optimizer.rs:90-129 \u2014 These two members are one piece of code written twice and then edited apart: 40 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-impl/src/renderer/bloom/mod.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"548c95e9a91700dcfb32b8ea8f205bd2ca2aa61bfb6f751aa82a4d401c2c83a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): editor/src/scene/commands/mesh.rs:56-86 | editor/src/scene/commands/mesh.rs:88-117 \u2014 These two members are one piece of code written twice and then edited apart: 30 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/scene/commands/mesh.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a27df6914d43f32c90f5b7591b2cc03316f44657478ea545b3dd9d31fdccd34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fyrox-impl/src/scene/terrain/brushstroke/mod.rs:555-573 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:574-592 \u2014 These two members are one piece of code written twice and then edited apart: 19 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-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5fd73d4812e025dd71147c9e4ad812a14bd8eacb98d24425f55f9f5308e410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): editor/src/plugins/inspector/editors/dyntype.rs:402-428 | editor/src/plugins/inspector/editors/script.rs:498-529 \u2014 These two members are one piece of code written twice and then edited apart: 27 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/inspector/editors/dyntype.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2fa1211e19bd48385d80878ad565360151d3f52e5a06f680aa6746342857ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): fyrox-ui/src/utils.rs:433-462 | fyrox-ui/src/utils.rs:464-492 \u2014 These two members are one piece of code written twice and then edited apart: 29 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-ui/src/utils.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"506b98ebf31b0f56951153f129568341c1b6853cee5d0df1bf0a2575a599af48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:527-548 | fyrox-impl/src/scene/joint.rs:601-628 \u2014 These two members are one piece of code written twice and then edited apart: 22 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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1feab12c3d5f0d8f4cad3ad8636546634e1d0312c99c08496a0406d429b9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): fyrox-ui/src/inspector/editors/array.rs:258-294 | fyrox-ui/src/inspector/editors/collection.rs:402-448 \u2014 These two members are one piece of code written twice and then edited apart: 37 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-ui/src/inspector/editors/array.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e041a156b57fb85409046b3e17c4652cf2e1650272b8225cdee76a04390a7673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): fyrox-impl/src/scene/dim2/rigidbody.rs:162-182 | fyrox-impl/src/scene/rigidbody.rs:246-271 \u2014 These two members are one piece of code written twice and then edited apart: 21 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-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf52a85a485adc9aa422179a683672ddb6842111147ef01a4dbdceaf27fc782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): fyrox-impl/src/scene/tilemap/tileset.rs:388-413 | fyrox-impl/src/scene/tilemap/tileset.rs:421-445 \u2014 These two members are one piece of code written twice and then edited apart: 25 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-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb7d2da9a0936627fc7c1b18366051675ad6970309d2c9a9c6d2df62197ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): fyrox-impl/src/scene/dim2/rigidbody.rs:200-221 | fyrox-impl/src/scene/dim2/rigidbody.rs:661-681 | fyrox-impl/src/scene/rigidbody.rs:289-313 | fyrox-impl/src/scene/rigidbody.rs:837-860 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadbf9af72142d70d286ceb3e81c637b8af156d746bf42db74e4f3f3c77f74f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): editor/src/plugins/collider/cuboid.rs:77-97 | editor/src/plugins/collider/cuboid.rs:127-147 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/collider/cuboid.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3577f6ae12a13f192efa5edaff27ce682b66b3e7050e5abe58ad001e1da652fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): editor/src/plugins/collider/cuboid.rs:155-177 | editor/src/plugins/collider/cuboid2d.rs:139-157 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/collider/cuboid.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3619538b313ba2cb46afbf25e31a864393a6b30924a0e6110105c8d522b5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): fyrox-impl/src/scene/terrain/mod.rs:416-445 | fyrox-impl/src/scene/terrain/mod.rs:1120-1145 \u2014 These two members are one piece of code written twice and then edited apart: 26 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-impl/src/scene/terrain/mod.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56adeb5ed831c97bbb17cb935fa456fc540d2eca057526e5d26d70f305795dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/debug.rs:489-503 | fyrox-impl/src/scene/debug.rs:516-533 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/debug.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f318b61aa88ff5342697ae5323f93349dc7e6d2610fb89d469e51ac36bfd6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): editor/src/interaction/move_mode.rs:310-342 | editor/src/interaction/rotate_mode.rs:79-106 \u2014 These two members are one piece of code written twice and then edited apart: 28 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/interaction/move_mode.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6558a1ff471acd80ca675bbf8c8760bd04b04fad2bcc062abcfa96e28027a331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): fyrox-build-tools/src/export/utils.rs:139-163 | fyrox-build-tools/src/export/utils.rs:165-194 \u2014 These two members are one piece of code written twice and then edited apart: 25 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-build-tools/src/export/utils.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc8f2ed88b9ca8c8b9188f739b42d5fab9b0944d0451503b0d768297d5ddf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): editor/src/plugins/tilemap/interaction_mode.rs:848-880 | editor/src/plugins/tilemap/interaction_mode.rs:888-916 \u2014 These two members are one piece of code written twice and then edited apart: 29 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/interaction_mode.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f750a7207629f585c693bfb6d702cd5600d83b90b0a1d4c41af2bb9cb506fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): editor/src/plugins/tilemap/panel.rs:80-105 | editor/src/plugins/tilemap/tile_prop_editor.rs:772-796 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/panel.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"91542c420b5765c04239e0d48be2da00da2dbac96342b61cf42f36429bdb086d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): fyrox-impl/src/renderer/shadow/point.rs:80-119 | fyrox-impl/src/renderer/shadow/spot.rs:65-93 \u2014 These two members are one piece of code written twice and then edited apart: 29 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-impl/src/renderer/shadow/point.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c207377be828674af0e1038f528ee02201874cba621d1f7d6ee6bddab830b267"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): editor/src/plugins/absm/command/mod.rs:192-213 | editor/src/plugins/animation/command/mod.rs:52-73 \u2014 These two members are one piece of code written twice and then edited apart: 22 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/absm/command/mod.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a2b9c3f629c8bb87d8edfc5b60f184c27f874357be596b8f20a7f94fa9ceee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): editor/src/ui_scene/utils.rs:254-278 | editor/src/world/graph.rs:227-253 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/ui_scene/utils.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"261dde687d6290cd9f2e475a866d6934ef0e3a9aa01b539a83c8d517537c0159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-impl/src/resource/gltf/animation.rs:517-534 | fyrox-impl/src/resource/gltf/animation.rs:582-609 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-impl/src/resource/gltf/animation.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"afab126db829be7e27fb12b4377ec974e275424aaec721681dd1fc4e9de733f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): editor/src/plugins/tilemap/mod.rs:920-944 | editor/src/plugins/tilemap/properties_tab.rs:135-162 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/mod.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eb2882974718ed4929556427c69e860f99f35a842ede1652a22607affb829f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): editor/src/plugins/tilemap/tile_inspector.rs:615-635 | editor/src/plugins/tilemap/tile_inspector.rs:689-709 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/tile_inspector.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0852300d98ec483b06e955496f77e916e6e02ecc152d5012aedf646e8f5d0b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-graphics-wgpu/src/geometry_buffer.rs:189-206 | fyrox-graphics-wgpu/src/geometry_buffer.rs:210-228 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-wgpu/src/geometry_buffer.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd1a4ff8284bebd6c2473a15210237bfbc1a55fa5d30279f7428fb0360891a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): editor/src/plugins/inspector/editors/dyntype.rs:157-190 | editor/src/plugins/inspector/editors/script.rs:227-261 \u2014 These two members are one piece of code written twice and then edited apart: 34 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/inspector/editors/dyntype.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"944845b57faada0e82da442a303d7c273fcae038a274f4b9d2cb9aff7be74d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): editor/src/command/mod.rs:452-483 | editor/src/command/mod.rs:520-551 \u2014 These two members are one piece of code written twice and then edited apart: 32 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/command/mod.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b09c8e8f731658ed98f3ac48fe7808245a8923e7523adb1d967d30c7b3413a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): fyrox-animation/src/container.rs:232-255 | fyrox-animation/src/container.rs:258-282 \u2014 These two members are one piece of code written twice and then edited apart: 24 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/container.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aab62afe7dc81ba6a127b013a733708df45d6fdd6171aa0e5a4882ce1646502"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): fyrox-impl/src/resource/fbx/document/attribute.rs:48-61 | fyrox-impl/src/resource/fbx/document/attribute.rs:63-76 | fyrox-impl/src/resource/fbx/document/attribute.rs:78-91 | fyrox-impl/src/resource/fbx/document/attribute.rs:93-106 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/document/attribute.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccff97202087ad2e971d596e8afe9c8148c99bd0d427791f72e5c51a7066851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fyrox-impl/src/scene/terrain/brushstroke/mod.rs:503-525 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:532-554 \u2014 These two members are one piece of code written twice and then edited apart: 23 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-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d6d210eb7093848edb22461c45df06bcbde817a22aeb5d71f43857b77768aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): editor/src/ui_scene/selection.rs:127-155 | editor/src/world/selection.rs:127-155 \u2014 These two members are one piece of code written twice and then edited apart: 29 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/ui_scene/selection.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed68ee25105619f46c399cb3874cca0cbc52c52493c43d30e1906c6f09cef3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): fyrox-core/src/pool/multiborrow.rs:169-197 | fyrox-core/src/pool/multiborrow.rs:234-272 | fyrox-core/src/pool/multiborrow.rs:295-326 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/pool/multiborrow.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"35177f4c4dec25bc748931fd2752b0406d58f87792dd04c2009db898c16579bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): fyrox-ui/src/inspector/editors/matrix2.rs:63-88 | fyrox-ui/src/inspector/editors/numeric.rs:67-93 | fyrox-ui/src/inspector/editors/vec.rs:61-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/matrix2.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a3569d018910cf6a1a6abd8c91383bf5750eb1bac1ffcf05999da4a0524039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): editor/src/plugins/tilemap/commands.rs:622-640 | editor/src/plugins/tilemap/commands.rs:680-690 | editor/src/plugins/tilemap/commands.rs:790-804 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"104a380f8e1b9c52b3938810be960281e0ef0a0de318c9b01712398c3dd4b451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-math/src/lib.rs:271-288 | fyrox-math/src/lib.rs:331-350 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"251c85b46923d76a9a8ccf83779da3852ec82cc60cb064273b61a9f299328068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): editor/src/plugins/absm/mod.rs:808-822 | editor/src/plugins/animation/mod.rs:976-986 \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/absm/mod.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7d139e076200646f40f4abbec906a7180c439201a5e4bc6dd8ef426b4ce0c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fyrox-impl/src/scene/mesh/buffer.rs:1279-1289 | fyrox-impl/src/scene/mesh/buffer.rs:1293-1304 \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":"fyrox-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a0d23bff14f875fad5319f2bdc98608168f5ec6c20b5155c89ffa39693cc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): template-core/src/lib.rs:342-414 | template-core/src/lib.rs:535-611 \u2014 These two members are one piece of code written twice and then edited apart: 73 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":"template-core/src/lib.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f4f0f94afc891e6fa5a852d4cd4b60738fce31cf69a3a322036e7d69a5dda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): editor/src/plugins/tilemap/palette.rs:423-451 | editor/src/plugins/tilemap/palette.rs:548-576 \u2014 These two members are one piece of code written twice and then edited apart: 29 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/palette.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ba59b346a47905bd49033948e68eb67c6acf83860e4311dc09e7bf057dc5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): fyrox-ui/src/utils.rs:145-166 | fyrox-ui/src/utils.rs:171-202 \u2014 These two members are one piece of code written twice and then edited apart: 22 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-ui/src/utils.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f77722d5f60fc581e2d0a8b18206749b5d13f7959d1fed777cf077caddb5298"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): editor/src/interaction/select_mode.rs:158-183 | editor/src/ui_scene/interaction/mod.rs:173-196 \u2014 These two members are one piece of code written twice and then edited apart: 24 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/interaction/select_mode.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a569c93310528bf761a0f434790de3adf8f1da7db34b30abfe28c2d2e10c4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): editor/src/scene/clipboard.rs:59-85 | editor/src/ui_scene/clipboard.rs:59-78 \u2014 These two members are one piece of code written twice and then edited apart: 20 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/scene/clipboard.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3bba521b254ed25710ba9b71a518009826201b4a14e15f525f9c0855310f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): editor/src/scene/property.rs:307-330 | editor/src/scene/selector.rs:303-325 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/scene/property.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a0ad18a03dd3ee33a8733b62b06b46af18ee6ba6fcb2824d1ff32bb115bf9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fyrox-autotile/src/wave.rs:566-588 | fyrox-autotile/src/wave.rs:754-780 \u2014 These two members are one piece of code written twice and then edited apart: 23 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-autotile/src/wave.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b5d17bfe41971e3051da89e403582d39e77dcd39afd673b45ba438088bf511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): editor/src/plugins/tilemap/properties_tab.rs:790-814 | editor/src/plugins/tilemap/properties_tab.rs:815-840 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/properties_tab.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3993ff5c25d1b12c98ee6864962e6cc7c8ad060bbd816e0a3d7fbacc4cb36eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): editor/src/audio/mod.rs:108-130 | editor/src/audio/mod.rs:132-163 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/audio/mod.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a2f6a229c8af7e64fd8bfd56d50f0dc730566b4ecf0447613e490c1a9f1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): editor/src/plugins/tilemap/autotile.rs:827-837 | editor/src/plugins/tilemap/wfc.rs:827-837 \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":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f23ad5b1a968dbdde22818a25fa07279864132488a178cd573fa8452b3312e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): editor/src/plugins/animation/selection.rs:148-170 | editor/src/plugins/animation/selection.rs:172-200 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/animation/selection.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2a4170f6906a86518d9cbc532dd7c336273dfd61c8929d1140aabed39cbb2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): fyrox-impl/src/engine/hotreload.rs:177-206 | fyrox-impl/src/engine/hotreload.rs:215-240 \u2014 These two members are one piece of code written twice and then edited apart: 26 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-impl/src/engine/hotreload.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e5a8cd936dbcdb1b528fa250033ea866b61fa74e89644bb2468ac9ac3e1b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-ui/src/text_box.rs:639-653 | fyrox-ui/src/text_box.rs:656-671 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-ui/src/text_box.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"532b74575945327aef8165864f93eccf099cb4da26ead84931bb1e53bc17eed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): editor/src/plugins/tilemap/tile_inspector.rs:594-611 | editor/src/plugins/tilemap/tile_inspector.rs:668-685 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/tile_inspector.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b32f26da722b38aa85bf3c3f0c7ad1c36a037c35874715ae20a66eda4df2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/plugins/absm/selection.rs:143-158 | editor/src/plugins/animation/selection.rs:103-116 \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":"editor/src/plugins/absm/selection.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b9e4b0ee02392ebd9042823dfdf6992f7f881f45b8dffc9e48e91c5072cc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-build-tools/src/export/utils.rs:85-102 | project-manager/src/utils.rs:96-118 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-build-tools/src/export/utils.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"875eebb022fc19f45e0d27a2c628a91012d22b0071d15aa813b6f7008f955845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): fyrox-build-tools/src/lib.rs:105-129 | fyrox-build-tools/src/lib.rs:232-256 \u2014 These two members are one piece of code written twice and then edited apart: 25 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-build-tools/src/lib.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c406f0ad750cc19778c9ab3a9545d50d21d1a827393bdeca51acbe83ebddbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): fyrox-core/src/visitor/mod.rs:550-565 | fyrox-core/src/visitor/mod.rs:570-585 \u2014 These two members are one piece of code written twice and then edited apart: 16 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-core/src/visitor/mod.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e913d92beb26f17bbd6e1411713a070785fdfeda15b69b9447eda20934ee9fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): editor/src/plugins/absm/mod.rs:905-921 | editor/src/plugins/animation/mod.rs:1047-1064 | editor/src/plugins/animation/mod.rs:1071-1087 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeed4fb77d07fa79647be35a3b6509a610cb2d4a7df7faa0044b1fefae279f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): editor/src/plugins/absm/state_graph/context.rs:376-402 | editor/src/plugins/absm/state_viewer/context.rs:236-268 | editor/src/plugins/absm/state_viewer/context.rs:335-361 | editor/src/plugins/animation/ruler.rs:79-115 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"573964f15282eb74001ce5abdc5b05931a849f2ae3b5e5699dff237ef94eb0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): fyrox-impl/src/renderer/settings.rs:256-294 | fyrox-impl/src/renderer/settings.rs:297-341 \u2014 These two members are one piece of code written twice and then edited apart: 39 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-impl/src/renderer/settings.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7f77f2a53077bed816fe38727e08294a2110d107c49c8e61ba7c7ee1fd59b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fyrox-ui/src/draw.rs:425-449 | fyrox-ui/src/draw.rs:458-476 \u2014 These two members are one piece of code written twice and then edited apart: 19 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-ui/src/draw.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"548c5cf083b39e9f38ccff245ccb125a07c7ae632a827b7c64f8e59c49db23af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): editor/src/plugins/inspector/editors/dyntype.rs:96-113 | editor/src/plugins/inspector/editors/script.rs:102-119 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/inspector/editors/dyntype.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"027c3a51ace42a7d4d3fdfcd8b6b11d1a2ee7ea8b87d9f103fb3c8111fa8e3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): editor/src/audio/preview.rs:182-207 | editor/src/mesh.rs:276-295 | editor/src/particle.rs:225-250 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/preview.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11ed192e44c39d190cdf7d956ecd1e43f15faf237c486cd74ab2a595931c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): editor/src/plugins/collider/cuboid2d.rs:73-89 | editor/src/plugins/collider/cuboid2d.rs:115-131 \u2014 These two members are one piece of code written twice and then edited apart: 17 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/collider/cuboid2d.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf6f8a2caaa287c10d8395395ac0f08052261c62057e69fc4ea012fa3fa1cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fyrox-core/src/color.rs:858-863 | fyrox-core/src/color.rs:876-881 \u2014 These two members are one piece of code written twice and then edited apart: 6 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-core/src/color.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c0fca7d6d8c9a9aa7c571c58805ca5f0ef88a0954cc0e96d3ddba71b7fdc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/engine/mod.rs:2260-2274 | fyrox-impl/src/engine/mod.rs:2278-2292 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/engine/mod.rs"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75643bb6894a83a0cdba3d02b7a64c9021adcd1ff5e9259c9d402b354a425d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/scene/commands/material.rs:65-78 | editor/src/scene/commands/material.rs:121-135 \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":"editor/src/scene/commands/material.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b4a3e6f7a2562cc08d63b14a5dd2a10ebd5978134ac18e000b51b52edda3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/plugins/tilemap/palette.rs:1495-1508 | editor/src/plugins/tilemap/palette.rs:1509-1522 \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":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5806db15987c862ca4e4ac2394b13aae22f250470fb78ffe73b2392502d04d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): editor/src/plugins/collider/capsule.rs:62-80 | editor/src/plugins/collider/capsule2d.rs:62-84 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/collider/capsule.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3eb568c93694cc1e3002e14e89ef1a7c09676532a135d7c8c1ca389b64b0c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): editor/src/plugins/inspector/editors/dyntype.rs:196-210 | editor/src/plugins/inspector/editors/script.rs:267-288 \u2014 These two members are one piece of code written twice and then edited apart: 15 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/inspector/editors/dyntype.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa7851f4f2351df6a56e2a1ba9022b8970f712e8b8e3f975553d4457b49e92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): editor/src/plugins/tilemap/tile_inspector.rs:1237-1254 | editor/src/plugins/tilemap/tile_inspector.rs:1260-1279 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/tile_inspector.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f0ba787d8b12d2f25730ebde74440bebb63168ca890c1eeac5042f0836f646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): editor/src/scene/commands/mod.rs:225-244 | editor/src/ui_scene/commands/graph.rs:277-297 \u2014 These two members are one piece of code written twice and then edited apart: 20 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/scene/commands/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00c24bb4dc6ae7afee479fa7da8627f6e05c3545a530ddc45043b5cb346c111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/dim2/rigidbody.rs:436-450 | fyrox-impl/src/scene/rigidbody.rs:575-591 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce170460b55c2624580612a2a486650ee8df5640a6b037171c0804de4d92f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): editor/src/scene/property.rs:96-114 | editor/src/scene/selector.rs:218-236 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/scene/property.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"018a718862b14922075a4389c182e5f17a3a03dab954049040f151b3f2440f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): fyrox-core-derive/src/reflect.rs:62-77 | fyrox-core-derive/src/reflect.rs:84-113 \u2014 These two members are one piece of code written twice and then edited apart: 16 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-core-derive/src/reflect.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5785c9d9a48ebc114d53616f5c36e3cd9b58a3a64fb83d06034969d015d96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fyrox-impl/src/scene/graph/mod.rs:553-572 | fyrox-impl/src/scene/graph/mod.rs:591-609 \u2014 These two members are one piece of code written twice and then edited apart: 19 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-impl/src/scene/graph/mod.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3ed488c9c9e80cffec4fc70ee5dd44c41d1e80fb883b8b8de046df522d8b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-impl/src/scene/mesh/buffer.rs:1083-1096 | fyrox-impl/src/scene/mesh/buffer.rs:1104-1118 \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-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"3167aee1d89fedc879b835410a73cad48c709b04a5b3f1c9d7a42f3b08bed8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/particle_system/emitter/cylinder.rs:72-81 | fyrox-impl/src/scene/particle_system/emitter/sphere.rs:87-102 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/particle_system/emitter/cylinder.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf85077078b5d5519e954f15e7f0ca462a42d9ea35d589c72228fb923d0a468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): editor/src/plugins/absm/mod.rs:791-806 | editor/src/plugins/animation/mod.rs:958-974 \u2014 These two members are one piece of code written twice and then edited apart: 16 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/absm/mod.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23773a4c9c6e7de8e3a7af0734bb297584bbb09165f05352a14ab25128ba9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): editor/src/plugins/tilemap/palette.rs:583-606 | editor/src/plugins/tilemap/palette.rs:614-632 | editor/src/plugins/tilemap/palette.rs:640-658 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a1a864d0be82a805ec4c011f4029b3f258fbc964a88bf0499ef7a9d482f232"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-impl/src/scene/graph/mod.rs:1595-1612 | fyrox-ui/src/lib.rs:3253-3270 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-impl/src/scene/graph/mod.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f85d27efd89e176cce1c08c6e620dd5df206daa6714949dd8f798f3750b9c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/mesh/buffer.rs:633-647 | fyrox-impl/src/scene/mesh/buffer.rs:1003-1017 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2818293016345220cde0ee4fc8152a7974620255224e7006643b2160303c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-impl/src/scene/tilemap/autotile.rs:319-336 | fyrox-impl/src/scene/tilemap/autotile.rs:486-499 \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-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4eedd6f5c6bc67191c55840bc5e1873daaa198997e7be793653236ca34b4fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/tilemap/update.rs:395-410 | fyrox-impl/src/scene/tilemap/update.rs:416-430 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/tilemap/update.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1036cc4598a868be242e21e015b3c288c2579460fe29e4844d1b08ac53999fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-math/src/lib.rs:553-568 | fyrox-math/src/lib.rs:594-608 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80469dad52d8c8318f5133a51a12fb1fac6d49912d9e7da546dde98e62ee4f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): editor/src/scene/commands/mod.rs:77-96 | editor/src/ui_scene/commands/mod.rs:61-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 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/scene/commands/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fec677bd4df32de33b0136974cc00487a8df4ddd84caaad4b017e6f303ac1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): fyrox-impl/src/renderer/settings.rs:179-212 | fyrox-impl/src/renderer/settings.rs:215-253 \u2014 These two members are one piece of code written twice and then edited apart: 34 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-impl/src/renderer/settings.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e94e2c24c70ace622e62401caf5108f99be55cfd2fe0e25573e7314ab9a0787"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): fyrox-impl/src/scene/dim2/rigidbody.rs:517-540 | fyrox-impl/src/scene/rigidbody.rs:658-681 \u2014 These two members are one piece of code written twice and then edited apart: 24 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-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fd2f5c1ec2dd8001c9cc0db6905d62f0367b94dc3e30d45e23087d38fb0763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): fyrox-math/src/octree.rs:130-145 | fyrox-math/src/octree.rs:165-180 \u2014 These two members are one piece of code written twice and then edited apart: 16 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/octree.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16309e2a060500ebf9b2b173943ae905cd67d3d5d593b70eb829a7ebe16c9c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-ui/src/curve/mod.rs:1306-1323 | fyrox-ui/src/curve/mod.rs:1325-1342 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-ui/src/curve/mod.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2033bc2da1c30debe36bebdbcfdc45ae03ed2602c9ebc162cb1e2229cd5e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/audio/preview.rs:262-277 | editor/src/particle.rs:280-293 \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":"editor/src/audio/preview.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"833d7cb06ba8ff7012275daecf529beece54faacdd2cb2e23358e8799ac629ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): editor/src/interaction/gizmo/move_gizmo.rs:158-181 | editor/src/interaction/gizmo/rotate_gizmo.rs:77-103 \u2014 These two members are one piece of code written twice and then edited apart: 24 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/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a108a24652c9eb1e0c7ccece6a47144b827d8205f247c68fec47a227bbfb691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): fyrox-build-tools/src/lib.rs:138-165 | fyrox-build-tools/src/lib.rs:174-194 | fyrox-build-tools/src/lib.rs:196-215 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-build-tools/src/lib.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9d9f19a2c5c41876c0d353a3213a4282b3f14dfe1bf53c673c5d81a0bbc1ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/terrain/mod.rs:1709-1718 | fyrox-impl/src/scene/terrain/mod.rs:1721-1730 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4979efc1f4c4fb2d08fb7afa4871ec5711585d26e07caf8bb6d5c310412027e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): editor/src/asset/preview/mod.rs:522-542 | editor/src/asset/preview/mod.rs:572-590 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/asset/preview/mod.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c85db0aae8f60a5d8c877250556ee8756cfe4a4ed5d1f37be8123148f06ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fyrox-animation/src/container.rs:182-200 | fyrox-animation/src/container.rs:203-225 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/container.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"62020ef508ec328cf1af9168ff9eb76108e1bd933eb2f26959c5d089d61abc6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): fyrox-impl/src/scene/mesh/buffer.rs:1421-1431 | fyrox-impl/src/scene/mesh/buffer.rs:1438-1449 | fyrox-impl/src/scene/mesh/buffer.rs:1456-1467 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ba4936f8452c28896ffa873a0372ebe37fdc44427a9e39942227b491401f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-ui/src/curve/mod.rs:1418-1439 | fyrox-ui/src/curve/mod.rs:1717-1734 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-ui/src/curve/mod.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7897ed1755870509def0f44d3f365956dfc09bcc0265691d69d5b51a15602b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): fyrox-ui/src/utils.rs:226-248 | fyrox-ui/src/utils.rs:250-273 | fyrox-ui/src/utils.rs:279-298 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/utils.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c847f662012c43934305c62991d353ae1eb56b6b1744962e414d959e5507cb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/plugins/absm/mod.rs:125-138 | editor/src/plugins/absm/mod.rs:164-177 \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":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1814f8b32f15aaf26ebd6ba01b61f6b2f3403f55609eae322044d1c2d5146f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fyrox-core/src/sstorage.rs:229-244 | fyrox-core/src/sstorage.rs:247-259 \u2014 These two members are one piece of code written twice and then edited apart: 13 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-core/src/sstorage.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"835f87f72d58624cfe757303bf1a6034cb10441287d6d440fabe59f46a0f0664"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): fyrox-resource/src/manager.rs:450-474 | fyrox-resource/src/manager.rs:491-521 | fyrox-resource/src/manager.rs:597-627 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-resource/src/manager.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e71611adef5b020108c3fb363f3ae175ba97cf4fbc70989f9d9edf5f0f100e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): fyrox-impl/src/resource/gltf/surface.rs:390-405 | fyrox-impl/src/resource/gltf/surface.rs:406-425 | fyrox-impl/src/resource/gltf/surface.rs:426-440 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/gltf/surface.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"80939f8d443e48433ca5e93472eac84cc4e4b306398579ddc1ee54f35c78d052"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): fyrox-impl/src/scene/node/container.rs:37-56 | fyrox-ui/src/node/container.rs:37-56 \u2014 These two members are one piece of code written twice and then edited apart: 20 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-impl/src/scene/node/container.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5695361a9056f0abbcb3ea3ac7d1f2f63c6b25e54c821b001e13a99292a552a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): editor/src/command/mod.rs:741-758 | editor/src/command/mod.rs:816-831 \u2014 These two members are one piece of code written twice and then edited apart: 16 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/command/mod.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9e9cff84be4688cd5682b6c043c2df0d557721b761755ec668af86a4321647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): editor/src/plugins/tilemap/collider_editor.rs:254-274 | editor/src/plugins/tilemap/tile_prop_editor.rs:397-417 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/collider_editor.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4735dae5697e39c2d7001da91d3bf25e00fcead269c4771d7a3a6a34c49b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/collider.rs:514-528 | fyrox-impl/src/scene/dim2/collider.rs:317-331 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/collider.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"307f3db3318db4f9bd3f8dbc08699744872e97f5851a7024577b362759b81db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): editor/src/ui_scene/selection.rs:105-121 | editor/src/world/selection.rs:98-121 \u2014 These two members are one piece of code written twice and then edited apart: 17 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/ui_scene/selection.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151597bba2568290290e5c398b7a1b083815002c477a0949f6739a68656f73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-ui/src/inspector/editors/mod.rs:954-971 | fyrox-ui/src/inspector/editors/mod.rs:1011-1028 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-ui/src/inspector/editors/mod.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d3e80b517a9a22e68e6e0c8deb0700fc43bbbed399f16a939fc3ce76d033fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/tilemap/palette.rs:1582-1589 | editor/src/plugins/tilemap/palette.rs:1590-1597 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/palette.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d384a6e4944c4a7ac72df22107836dd55f2b9931b430fe2849af1cdf3a1a2db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): editor/src/scene/commands/mod.rs:286-305 | editor/src/ui_scene/commands/widget.rs:103-121 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/scene/commands/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad2b8af0a5350383584fa5f19482adc9b3b0f5bc502188741dbab150847fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): fyrox-core/src/visitor/impls.rs:210-229 | fyrox-impl/src/scene/node/container.rs:70-85 | fyrox-ui/src/node/container.rs:70-85 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/impls.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4f20dfad99b89d2efe744e33b510a4c092bed715fde8362d5478d87c4dbd99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-ui/src/decorator.rs:328-335 | fyrox-ui/src/decorator.rs:338-345 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-ui/src/decorator.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03d51059861f527ec4ec4034af899c9c668da8532bbfaeac516556ca26f914d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-ui/src/key.rs:315-328 | fyrox-ui/src/key.rs:514-527 \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-ui/src/key.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e173c18821f0a9f213e28e850b31673f275009e820bf27eab856f785fac929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): editor/src/scene/container.rs:335-354 | editor/src/scene/container.rs:363-383 \u2014 These two members are one piece of code written twice and then edited apart: 20 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/scene/container.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc53143ca65f8ab09a132e83e4c0176bc603fc3b42cf667a0e949e0447e66f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): editor/src/plugins/tilemap/commands.rs:1028-1038 | editor/src/plugins/tilemap/commands.rs:1063-1073 | editor/src/plugins/tilemap/commands.rs:1098-1108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef71193ebe11053348b445fc6af260fa717611f7d9e7842ad806260b279bf81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/plugins/tilemap/commands.rs:1142-1154 | editor/src/plugins/tilemap/commands.rs:1192-1204 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/commands.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fee382cf7c203de09b7e2c1b91cda3da05882d4b41b0adeda89096a5041e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): editor/src/scene/container.rs:302-326 | editor/src/scene/container.rs:416-436 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/scene/container.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"db294cf92d9f2c22bb529f8accc955afcdf3d41fb4fb2abe1db3dde8d0ca13f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:233-244 | fyrox-impl/src/scene/joint.rs:279-292 \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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82bfbfe71eeb83e9c247b8f686cd546b38e594a4eae865f7574ee03f028e774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): fyrox-ui/src/inspector/editors/char.rs:50-64 | fyrox-ui/src/inspector/editors/immutable_string.rs:54-68 | fyrox-ui/src/inspector/editors/string.rs:50-64 | fyrox-ui/src/inspector/editors/utf32.rs:50-63 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/char.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"672ae8dd1cd9a994d8827e3f2eb59fb8c3ee4573d498db56f744378029c3eb27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): editor/src/ui_scene/utils.rs:284-300 | editor/src/world/graph.rs:263-279 \u2014 These two members are one piece of code written twice and then edited apart: 17 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/ui_scene/utils.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2db2886e6c5739eb03c06e21403026b759f4d0a07e0e363c54108bb6d7a9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/tilemap/mod.rs:785-799 | fyrox-impl/src/scene/tilemap/mod.rs:837-851 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cc48b9f9302005b830792b8e8063e3a6b977e762279f95fe7e22ad9d3ff19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/plugins/collider/capsule2d.rs:138-151 | editor/src/plugins/collider/triangle2d.rs:107-121 \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":"editor/src/plugins/collider/capsule2d.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a0e44c01e5fb028852674859e0faa28591fc79ab5e232b76840a8981b8b449"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/plugins/tilemap/autotile.rs:98-111 | editor/src/plugins/tilemap/collider_editor.rs:107-120 \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":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31a94b3501dcefea6991aa5a5ca23c195d9823ddc42a65f9304b218753a670b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): editor/src/plugins/tilemap/autotile.rs:407-421 | editor/src/plugins/tilemap/wfc.rs:443-457 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc96c0d944255addce894ca7a9842bac379fdbd0b63da8ab7f57ae2c608be7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-impl/src/resource/fbx/scene/geometry.rs:136-153 | fyrox-impl/src/resource/fbx/scene/geometry.rs:158-177 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-impl/src/resource/fbx/scene/geometry.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df96be62b643e0f6f95001513ef9f07c8f4503db5133f1477e59f8eae7d1eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): fyrox-impl/src/scene/mesh/buffer.rs:464-477 | fyrox-impl/src/scene/mesh/buffer.rs:489-502 | fyrox-impl/src/scene/mesh/buffer.rs:532-547 | fyrox-impl/src/scene/mesh/buffer.rs:565-582 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/mesh/buffer.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"556e9c3f7989ef10be4209c00bf5171a21b4cd4aea0b17f5eb1887653709d3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): fyrox-impl/src/scene/particle_system/emitter/base.rs:99-114 | fyrox-impl/src/scene/particle_system/emitter/base.rs:426-445 \u2014 These two members are one piece of code written twice and then edited apart: 16 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-impl/src/scene/particle_system/emitter/base.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb8c612dfa420ff7f8c8b89581fd5f372632154947a18f326f6beb119f046e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/collider.rs:879-893 | fyrox-impl/src/scene/dim2/collider.rs:682-698 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/collider.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96f1d5083bd35fba32bb59d8f118735cbdfa26ddd6ac88121fd55c87e17f540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): editor/src/plugins/absm/command/mod.rs:115-155 | editor/src/plugins/absm/command/mod.rs:275-300 | editor/src/plugins/absm/command/mod.rs:411-434 | editor/src/plugins/absm/command/mod.rs:554-623 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/command/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f1c3a75594b6a90d1107c43fbd3a49ceff0bdf666e736b3195b6a38b81009"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/graph/mod.rs:1143-1157 | fyrox-impl/src/scene/graph/mod.rs:1159-1174 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/graph/mod.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d46c9aab8245e7e51dac1ef0cbdf372528fc06bdb532e91212b28b0a419985"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-impl/src/scene/tilemap/update.rs:709-722 | fyrox-impl/src/scene/tilemap/update.rs:729-748 \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-impl/src/scene/tilemap/update.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12f688b928dc9552be74585ad3f6213781b584f8c58072eb7905d297dedd86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): editor/src/plugins/tilemap/autotile.rs:895-910 | editor/src/plugins/tilemap/wfc.rs:908-923 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e275411479d0b67c75b7068ed5cab1b327dce35a0c19f4d5b8698e7feaa0999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): fyrox-impl/src/renderer/debug_renderer.rs:151-172 | fyrox-impl/src/renderer/mod.rs:603-624 \u2014 These two members are one piece of code written twice and then edited apart: 22 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-impl/src/renderer/debug_renderer.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba91addbef1281f3a705c1edc90fb71db20ee808e78bfefa8fb004f9466b83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:663-674 | fyrox-impl/src/scene/joint.rs:752-764 \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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef8d11a5a5a762d1dbafdc6f97551b485fdcd312f8e7fd1e4ef294cb4c650df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): fyrox-ui/src/matrix.rs:46-65 | fyrox-ui/src/vec.rs:50-69 \u2014 These two members are one piece of code written twice and then edited apart: 20 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-ui/src/matrix.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53d8a56891a405d2512c91afb66dfea513840cd2c03183efe0c8d7c9f6d1212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/ui_scene/selection.rs:57-69 | editor/src/world/selection.rs:58-71 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/ui_scene/selection.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"384fc23f9fcbe6b8a0cdc47516d3f632130410e5de889ba96ad0a6a063af2bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fyrox-impl/src/resource/fbx/scene/geometry.rs:59-72 | fyrox-impl/src/resource/fbx/scene/mod.rs:587-597 \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":"fyrox-impl/src/resource/fbx/scene/geometry.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c83f141924add1e6f7d9d37f14e898836ecd5feb09eb0349355b3e52632038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): editor/src/plugins/tilemap/colliders_tab.rs:385-402 | editor/src/plugins/tilemap/colliders_tab.rs:403-416 | editor/src/plugins/tilemap/macro_tab.rs:471-488 | editor/src/plugins/tilemap/properties_tab.rs:868-885 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"018d1897bf08742926d16720d73f2e9bead580257a8d5ae0711181cd8a6babd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): editor/src/scene/mod.rs:1092-1113 | editor/src/scene/nullscene.rs:260-277 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/scene/mod.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf6c1d7ab49b240f4c0e06bd982e925937e51f54b78872335d7ea9abe2feacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): fyrox-impl/src/scene/tilemap/tileset.rs:1907-1917 | fyrox-impl/src/scene/tilemap/tileset.rs:1932-1940 | fyrox-impl/src/scene/tilemap/tileset.rs:1942-1949 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe5da80b6ae33167645f8cc7e64a25718493dcc132e479e0aaf19ce379ca19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-math/src/ray.rs:283-296 | fyrox-math/src/ray.rs:302-313 \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-math/src/ray.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cfd2b86f031f25cb5c2961f5b5205a8bc29f59a89d7ac75834bc0a81e91900"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/plugins/tilemap/tile_inspector.rs:299-311 | editor/src/plugins/tilemap/tile_inspector.rs:313-325 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/tile_inspector.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b250495cbb1b6ae9d16be2bd0b9ac3dc00781ab43daa30cc382cb94627c767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): fyrox-impl/src/resource/model/loader.rs:67-93 | fyrox-ui/src/font/loader.rs:118-133 | fyrox-ui/src/loader.rs:55-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/model/loader.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d189a5e81efd16f528008558a1df7ae012a791043f8bd82a76fc01e6248682"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): editor/src/scene/mod.rs:765-778 | editor/src/scene/mod.rs:785-798 | editor/src/scene/mod.rs:805-818 | editor/src/scene/mod.rs:825-838 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/mod.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bfc34d411ddf070beada51c4dce6cc864a6a626edc9c3075ca5bb7b6893f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:506-523 | fyrox-impl/src/scene/joint.rs:578-597 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0857cc6079995229d5ebb21d92c2fb302150d550a3f4ca746b9f9a90a48911e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): fyrox-impl/src/scene/terrain/brushstroke/mod.rs:985-994 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:996-1007 | fyrox-impl/src/scene/terrain/brushstroke/mod.rs:1009-1018 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"081da8de15594d0bb79e3a7d43b5beb5cbe9dac389bc8fa9242425bd997cb5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): editor/src/plugins/absm/command/mod.rs:554-624 | editor/src/plugins/animation/command/mod.rs:361-382 \u2014 These two members are one piece of code written twice and then edited apart: 22 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/absm/command/mod.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"09405015e35f1eb4dbfa03123d0817d6deaf78f58c63ed711cf9de7c604a76fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): editor/src/plugins/export.rs:586-602 | editor/src/plugins/settings.rs:368-383 \u2014 These two members are one piece of code written twice and then edited apart: 16 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/export.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a455d2ce713bb3894e226512c89ad60e7e02381d66d7d91acae15216f3be6cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/renderer/convolution.rs:56-72 | fyrox-impl/src/renderer/convolution.rs:144-158 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/renderer/convolution.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fcac3c6aa7c209a11d8a3bba9a281dc910956b354661baa04d27a629670882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 45\u002B corresponding lines): template-core/src/lib.rs:134-223 | template-core/src/lib.rs:225-290 | template-core/src/lib.rs:292-340 | template-core/src/lib.rs:416-487 | template-core/src/lib.rs:489-533 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 45 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"template-core/src/lib.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5076e1d28b60774ed8191e1d5c4be2618486e911338b0a26726c3b4b47377130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): editor/src/plugins/collider/triangle.rs:62-77 | editor/src/plugins/collider/triangle.rs:84-99 | editor/src/plugins/collider/triangle2d.rs:62-77 | editor/src/plugins/collider/triangle2d.rs:84-99 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/triangle.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ee1da53f0dd1f78bd38d2f736841b5e3818a8455aa3329f04b795ff5de600"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/plugins/tilemap/handle_editor.rs:206-218 | editor/src/plugins/tilemap/handle_editor.rs:256-269 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/handle_editor.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d9d06ffa82b453dd547918834e558c78ddc237fe1a2125bf59a6b37ceb04a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): fyrox-impl/src/scene/tilemap/mod.rs:663-673 | fyrox-impl/src/scene/tilemap/mod.rs:675-689 | fyrox-impl/src/scene/tilemap/mod.rs:725-739 | fyrox-impl/src/scene/tilemap/mod.rs:870-884 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa39ae0e9867a523725d165eb37e269421ada367b2b008802988e4f6d7fbf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): fyrox-impl/src/scene/tilemap/tileset.rs:1437-1445 | fyrox-impl/src/scene/tilemap/tileset.rs:1457-1464 | fyrox-impl/src/scene/tilemap/tileset.rs:1666-1676 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"175681ffbccddbb60e855c548e1728c140ed21477910a2f3f5f81672c81bb38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): fyrox-ui/src/numeric.rs:277-291 | fyrox-ui/src/range.rs:129-141 | fyrox-ui/src/rect.rs:138-150 | fyrox-ui/src/vec.rs:122-134 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/numeric.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4634e21d5ad7574df9eaf47f140524db103873abed0b51f641e149c63ee76822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/plugins/tilemap/tile_inspector.rs:327-339 | editor/src/plugins/tilemap/tile_inspector.rs:341-353 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/tile_inspector.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab93795b7c02f08f67d3c2eb7cc33181b13d2e93dfabdc476479ebfe1a766ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-core/src/pool/mod.rs:1506-1519 | fyrox-core/src/pool/mod.rs:1565-1578 \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-core/src/pool/mod.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aa5675a78594d6121cf9e79984be31761e618fe1bd6c47349cf88bbdef67a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-graph/src/lib.rs:919-928 | fyrox-graph/src/lib.rs:1078-1087 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-graph/src/lib.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e097584c16f594849fc863d2dcef8ef78ecfa9461b4b3086ddfb4702dc9bf13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fyrox-graphics-wgpu/src/framebuffer.rs:220-232 | fyrox-graphics-wgpu/src/framebuffer.rs:238-250 \u2014 These two members are one piece of code written twice and then edited apart: 13 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-wgpu/src/framebuffer.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3324466deef8e64a16b271af87b098f7e7adaf1f4bcfb01b1632de106663ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/terrain/mod.rs:301-315 | fyrox-impl/src/scene/terrain/mod.rs:321-336 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/terrain/mod.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f3273a51e8d7f0fa8674b8969e41113d76a2f183c385c3f39b58911f57ecaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-impl/src/scene/tilemap/update.rs:447-457 | fyrox-impl/src/scene/tilemap/update.rs:463-471 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-impl/src/scene/tilemap/update.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3bc8139f36260d9811586fac32fd5213070616a92960fbd4d934829b595bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-ui/src/file_browser/mod.rs:508-519 | fyrox-ui/src/file_browser/mod.rs:521-532 \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-ui/src/file_browser/mod.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b769c3e3899ff475f8b96d16adf4ec0fe70795d5d72c6fa4a2f584062ce59e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): editor/src/plugins/tilemap/colliders_tab.rs:417-431 | editor/src/plugins/tilemap/macro_tab.rs:524-537 | editor/src/plugins/tilemap/properties_tab.rs:908-922 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"76274d91c26938a003660c45225686f602db742429ec2646fd3a19cb6b86ca37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/scene/commands/graph.rs:503-516 | editor/src/ui_scene/commands/graph.rs:90-102 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/scene/commands/graph.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab41383f96fbc0bfa2e5f6f36dc6a1d3b21ca319baccb45ecd9c1a1f323b5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/ui_scene/menu.rs:76-88 | editor/src/world/menu.rs:92-107 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/ui_scene/menu.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f8abcc8339eeb57637b0aee7d50f0c0e68fdbb93975c3d0bd22e2b8e552cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/resource/fbx/document/mod.rs:95-109 | fyrox-impl/src/resource/fbx/document/mod.rs:112-126 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/resource/fbx/document/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4212ff7557fb9e7f0e8bdc7a0d30c32c6011763bc358b52f8c97704141a84d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/resource/gltf/material.rs:331-340 | fyrox-impl/src/resource/gltf/mod.rs:428-437 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/resource/gltf/material.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"303a2d3567fdbf72b62f49976faf727ad225c90761d9c2692aa46d58180d7d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): fyrox-resource/src/manager.rs:668-683 | fyrox-resource/src/manager.rs:691-706 \u2014 These two members are one piece of code written twice and then edited apart: 16 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-resource/src/manager.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"300668a6aab0e11abf89ba30b166aed9ecca9e8366943e4ee44376bc75b252d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): editor/src/plugins/inspector/editors/resource.rs:433-445 | editor/src/plugins/inspector/editors/surface.rs:321-334 | editor/src/plugins/material/editor.rs:388-400 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/resource.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"39685c701b1cabe992bf6b16b9a13314f1fa0def07ca0ea86b3f3acf96f5f9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): fyrox-impl/src/resource/gltf/mod.rs:302-317 | fyrox-texture/src/loader.rs:50-65 \u2014 These two members are one piece of code written twice and then edited apart: 16 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-impl/src/resource/gltf/mod.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ca9eb4c5ddd3251eb2427758b55491e5d2ca5075bc0d70a9a57c41480ae2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-impl/src/scene/terrain/mod.rs:1792-1800 | fyrox-impl/src/scene/terrain/mod.rs:1803-1812 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-impl/src/scene/terrain/mod.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe709c3ed1a6ad11ecc824059465fe598f9c5d5e42ff864f1f375ddf832675c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/tilemap/brush.rs:270-287 | fyrox-impl/src/scene/tilemap/brush.rs:290-304 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/tilemap/brush.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7aaf7a61794bdee0e21cfa43ff4a3a9246d280126f937cf49e29cc72b2b621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): editor/src/plugins/collider/mod.rs:756-767 | editor/src/plugins/probe.rs:328-339 \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":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf9472e06a95bfff53ef4b912c884c7a20264b164927975d98c378e546813e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): editor/src/plugins/tilemap/tile_editor.rs:161-175 | editor/src/plugins/tilemap/tile_inspector.rs:555-570 \u2014 These two members are one piece of code written twice and then edited apart: 15 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/tile_editor.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc4a90f593cd0ba3f4ba7061c2f28d7ab65ab06731d500dec479ae62d8b066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): fyrox-impl/src/scene/accel.rs:96-111 | fyrox-impl/src/scene/accel.rs:123-138 | fyrox-impl/src/scene/accel.rs:158-173 | fyrox-math/src/octree.rs:81-96 | fyrox-math/src/octree.rs:108-123 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/accel.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8863e91602c7f84e9e57c128d86ecce188d8df8ae85d5b7a9365b389d2edeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-ui/src/scroll_panel.rs:178-186 | fyrox-ui/src/widget.rs:1425-1436 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-ui/src/scroll_panel.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f250b777cfca51f0b42fa1e598fff9d1bdf187a75c09f71a3f5e8a6670a4c313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): editor/src/plugins/absm/parameter.rs:131-146 | editor/src/plugins/export.rs:470-487 \u2014 These two members are one piece of code written twice and then edited apart: 16 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/absm/parameter.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6766e2891a557b89d9bb499fe41a24535010919d7b0c92edd298d337134486"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 11\u002B corresponding lines): editor/src/plugins/inspector/editors/handle.rs:495-506 | editor/src/plugins/inspector/editors/resource.rs:459-470 | fyrox-ui/src/inspector/editors/bit.rs:86-96 | fyrox-ui/src/inspector/editors/matrix2.rs:101-112 | fyrox-ui/src/inspector/editors/numeric.rs:106-119 | fyrox-ui/src/inspector/editors/range.rs:79-92 | fyrox-ui/src/inspector/editors/rect.rs:97-109 | fyrox-ui/src/inspector/editors/vec.rs:98-109 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/handle.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7cedb6129ea21d36c12461a06d81012815de5de2459922303f6d2f25a9048d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/tilemap/commands.rs:501-508 | editor/src/plugins/tilemap/commands.rs:533-540 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/commands.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"51272a0250a7f6261a7419ff4c5d964faaeff6f1a8d9fdf423275302c8e31ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): editor/src/plugins/tilemap/tile_inspector.rs:395-405 | editor/src/plugins/tilemap/tile_inspector.rs:407-417 \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/tile_inspector.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4706cce4a4c5b0a7ea421794d5d2a50facf62700f77a79abf12ef851acc70a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:203-215 | fyrox-impl/src/scene/joint.rs:249-261 \u2014 These two members are one piece of code written twice and then edited apart: 13 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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f437d92e7dcc31a26dded8c18d1a5d341c6d60b4d0950e1e56f5800fb8430b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fyrox-impl/src/scene/dim2/rigidbody.rs:563-580 | fyrox-impl/src/scene/rigidbody.rs:707-727 \u2014 These two members are one piece of code written twice and then edited apart: 18 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-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3617d23cbd5254be8a0d4c1e85a4a76cd74cc39c5e4e9299c339f68916dccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): fyrox-impl/src/scene/mesh/surface.rs:394-428 | fyrox-impl/src/scene/mesh/surface.rs:432-466 \u2014 These two members are one piece of code written twice and then edited apart: 35 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-impl/src/scene/mesh/surface.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf6220c792937d8883af76f7e268bc0d8d1506314265421ccd2836a65162e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): editor/src/command/mod.rs:760-773 | editor/src/command/mod.rs:805-814 \u2014 These two members are one piece of code written twice and then edited apart: 10 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/command/mod.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ace6be6c49531fb32bca41b08b0369f9fdede1d692f7e3b340a317e3e622f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): editor/src/plugins/collider/capsule.rs:107-121 | editor/src/plugins/collider/capsule2d.rs:115-130 | editor/src/plugins/collider/segment2d.rs:80-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/capsule.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ece96770349cbdf485255592fe6ff4475fac0fb472f28ebace4c5d12c8102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fyrox-impl/src/renderer/occlusion/grid.rs:96-102 | fyrox-impl/src/renderer/visibility.rs:66-72 \u2014 These two members are one piece of code written twice and then edited apart: 7 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-impl/src/renderer/occlusion/grid.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bae917b175814c87a52e3806db1fb89fe54ff13835c578397993eceb06bdd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): fyrox-impl/src/scene/terrain/mod.rs:209-218 | fyrox-impl/src/scene/terrain/mod.rs:223-229 | fyrox-impl/src/scene/terrain/mod.rs:232-238 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/mod.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bd4207a83b3515a779c287bc5ccf4b6a4e29f37e9184549bdf07cbcf38183a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-math/src/lib.rs:212-221 | fyrox-math/src/lib.rs:224-232 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfaa0537146b6413347b369b1849607bc2d477911877cf10b5c550513f6a59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-resource/src/state.rs:185-192 | fyrox-resource/src/state.rs:196-209 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-resource/src/state.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f823bc6bc295b70ee371108ddc68a8e563b36d0802a51f7eba65161a1fc4c2fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): fyrox-ui/src/inspector/editors/char.rs:77-88 | fyrox-ui/src/inspector/editors/immutable_string.rs:81-91 | fyrox-ui/src/inspector/editors/string.rs:77-87 | fyrox-ui/src/inspector/editors/utf32.rs:76-86 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/char.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba2a629cd805f6c479dff99d711093462f803f0b140bd5b1d3eeff5fd55a130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): editor/src/scene/container.rs:258-272 | editor/src/scene/container.rs:280-294 \u2014 These two members are one piece of code written twice and then edited apart: 15 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/scene/container.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd8b2285c7295f32c56a9ab207fc35e4e421cdaa79d4207df68ce4b69cf7b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-core/src/color.rs:60-67 | fyrox-core/src/color.rs:71-78 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-core/src/color.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4825c50182e1f1d9b6bd30c7a4afb41d40f89622ae8a031e2d8504281ba44bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-impl/src/scene/tilemap/tileset.rs:326-333 | fyrox-impl/src/scene/tilemap/tileset.rs:607-614 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"55253f05b8f991f75525783b71b8d6e21c408f7974fdbf3c2c2883bfd55a7ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fyrox-ui/src/draw.rs:121-126 | fyrox-ui/src/draw.rs:853-858 \u2014 These two members are one piece of code written twice and then edited apart: 6 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-ui/src/draw.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc9d9a7c5684701f57e374ebd7b712d024a778f45384c2ffb66664ddef2b4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): editor/src/plugins/export.rs:537-548 | editor/src/plugins/light.rs:488-498 \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/export.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7180b6dd13d999a2d4dc85a22ce8af523b55a7ab0f2cc51f9c9b8c95a3348552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): editor/src/plugins/inspector/editors/triangle_buffer.rs:59-70 | editor/src/plugins/inspector/editors/vertex_buffer.rs:59-70 | fyrox-ui/src/inspector/editors/bool.rs:48-59 | fyrox-ui/src/inspector/editors/path.rs:47-58 | fyrox-ui/src/inspector/editors/texture_slice.rs:821-833 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/triangle_buffer.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ffec4585e4b50db3872b01846a79260e594484cca9dfd9e27addb9776c16d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-core/src/visitor/reader/ascii.rs:157-164 | fyrox-core/src/visitor/reader/ascii.rs:171-178 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-core/src/visitor/reader/ascii.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26f4b17a1875ce9698b81463a7f4f361a432b79c061472d79c551f11f52882c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-ui/src/color/mod.rs:134-141 | fyrox-ui/src/color/mod.rs:415-422 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-ui/src/color/mod.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecce3a86d1bedbf49561b05d500576118482622ade03ec84a78c0ded1e000b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): editor/src/plugins/collider/cone.rs:60-72 | editor/src/plugins/collider/cone.rs:94-106 | editor/src/plugins/collider/cylinder.rs:60-73 | editor/src/plugins/collider/cylinder.rs:95-108 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/cone.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc78f15264d509ae96f024ce0ce8ecd9b943aedc13da73eff71fcc15841b0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-ui/src/popup.rs:352-359 | fyrox-ui/src/popup.rs:368-375 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-ui/src/popup.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c97a5069d260591b1de62775eaabd6f9c5ef62e96209ce62acd9a94bb58dcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): editor/src/plugins/curve_editor.rs:567-575 | editor/src/plugins/export.rs:552-567 | editor/src/plugins/light.rs:502-511 | editor/src/plugins/ragdoll.rs:1254-1263 | editor/src/plugins/settings.rs:351-366 | editor/src/plugins/stats.rs:56-65 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a354143d5b2d4cb6e18760727dada2b9e2893f2c9a0dd7888cff245bc079a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/tilemap/commands.rs:492-499 | editor/src/plugins/tilemap/commands.rs:524-531 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/commands.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a565ead0e9aa48bf3d486900529ea674f2f544ad207519f6a465ba5cea6ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): editor/src/plugins/tilemap/tile_bounds_editor.rs:78-84 | editor/src/plugins/tilemap/tile_bounds_editor.rs:85-91 | editor/src/plugins/tilemap/tile_bounds_editor.rs:92-98 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/tile_bounds_editor.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e3495889c97610770b41cc14de71234a5e28e83a305f2e981e64e3d78e6475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/tilemap/tile_editor.rs:232-240 | editor/src/plugins/tilemap/tile_editor.rs:241-249 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/tile_editor.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a27bf5983810e10efee2f5955742cf41ef02cc53ba9819112001388ff1d35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fyrox-core-derive/src/reflect/prop.rs:185-197 | fyrox-core-derive/src/reflect/prop.rs:200-212 \u2014 These two members are one piece of code written twice and then edited apart: 13 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-core-derive/src/reflect/prop.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b944fc25878cf261bfd0d11764c26130c871fddedb8b227b28236a9d10e761b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:590-604 | fyrox-impl/src/scene/joint.rs:670-684 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f773a27c594951b38d86813f614e0ede173ec3e5e6b2d01918c5de5f6c1aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): editor/src/plugins/inspector/editors/spritesheet/mod.rs:176-188 | editor/src/plugins/inspector/editors/surface.rs:348-358 | editor/src/plugins/tilemap/handle_editor.rs:284-294 | fyrox-ui/src/inspector/editors/color.rs:124-135 | fyrox-ui/src/inspector/editors/key.rs:70-81 | fyrox-ui/src/inspector/editors/key.rs:115-126 | fyrox-ui/src/inspector/editors/uuid.rs:72-83 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/spritesheet/mod.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d59f01a4f4fbe3a0a64492e524a2b15a5aef3459ee87ec801550d62294f6c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): editor/src/plugins/tilemap/handle_editor.rs:231-241 | fyrox-ui/src/inspector/editors/quat.rs:128-141 \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/handle_editor.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120d4aa1dd8e7372f05fa7b08725d9ee315420df24ee9b663339caf6db04609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/scene/commands/terrain.rs:58-62 | editor/src/scene/commands/terrain.rs:107-115 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/scene/commands/terrain.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f397541b07c1d88057474b25ab7d599892fd9916a990c69a44a7530bd429734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-core/src/pool/mod.rs:832-840 | fyrox-core/src/pool/mod.rs:848-856 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-core/src/pool/mod.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efd02a935dcb457fd0fea94598038c396a102b9b6a088431215530a97ee7a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/collider.rs:837-846 | fyrox-impl/src/scene/dim2/collider.rs:640-649 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/collider.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"35165058950427b648a01176f56741ea0fe00a9c1b68ad929af4df9ff88995aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/mod.rs:287-296 | fyrox-impl/src/scene/mod.rs:471-481 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/mod.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b2af266be20fcb9200bdb0836973569680093664fe5c23cde90b9f6afae9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): fyrox-ui/src/decorator.rs:112-123 | fyrox-ui/src/file_browser/selector.rs:97-108 | fyrox-ui/src/input.rs:108-119 | fyrox-ui/src/messagebox.rs:187-198 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/decorator.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3847f2f86ab40bcf70a92bea19e10cd7979052a4cbba01dcc90304e5610df7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): fyrox-ui/src/grid.rs:530-537 | fyrox-ui/src/grid.rs:543-550 | fyrox-ui/src/grid.rs:551-558 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/grid.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"429301554fa11972bc64c9dfaddc2524325a85202e6d2537c64b6574f92f4ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fyrox-ui/src/text.rs:356-366 | fyrox-ui/src/text_box.rs:485-495 \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":"fyrox-ui/src/text.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f8c7d86c754ac8076737d7d36bbea85343936849e283b1d09cd6f88a0ce9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-ui/src/text_box.rs:516-524 | fyrox-ui/src/text_box.rs:526-537 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-ui/src/text_box.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"665eaa2d65e3e5abd5009b43fb4c8589276e59bb9cc6ac6360d540e8f9ab3f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): project-manager/src/manager.rs:968-977 | project-manager/src/manager.rs:979-988 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"project-manager/src/manager.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a3e6ae85f68cdc3d8d896c530732b2f1077e8f3fe4246e446cbb7f140a7179"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): template-core/src/lib.rs:40-49 | template-core/src/lib.rs:51-60 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"template-core/src/lib.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d19f8d223044abf2f9b89c8c88296fd1f114aa5c1dc79ed8ee05789c3f00c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): editor/src/scene/property.rs:332-343 | editor/src/scene/selector.rs:327-338 \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":"editor/src/scene/property.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a545108542fb3e6b630c2ed7fb8001f890acb44e58383a3174d25fcfa484fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-impl/src/scene/dim2/physics/character.rs:103-114 | fyrox-impl/src/scene/graph/physics/character.rs:181-192 \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-impl/src/scene/dim2/physics/character.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c31938f02dce0bf27cdedb55a7bbd9f8ae9689ee937c27c14a363fcf2ba750a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fyrox-math/src/ray.rs:137-143 | fyrox-math/src/ray.rs:147-154 \u2014 These two members are one piece of code written twice and then edited apart: 7 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/ray.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738d8313a6acf9ff906b35ed24e5fe6e9165429ea6d91f93122911e819d7002"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): fyrox-ui/src/formatted_text/run.rs:89-96 | fyrox-ui/src/formatted_text/run.rs:107-114 | fyrox-ui/src/formatted_text/run.rs:125-132 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/formatted_text/run.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d718e4a78b23a057e7c58f45b6a12fed217b2a3d14033d5f26d27e8251ba8dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): editor/src/plugins/collider/capsule.rs:87-100 | editor/src/plugins/collider/capsule2d.rs:91-108 \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":"editor/src/plugins/collider/capsule.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3312ca1a86601132f7139f9b81f9524d32cd5715d9639ebdd491c6767cc0835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): editor/src/plugins/collider/segment.rs:79-91 | editor/src/plugins/collider/segment2d.rs:60-73 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/collider/segment.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0545514a23fc0f1e466b187a5d0a89866895da5f1fe9d6028ef3e3b282424cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fyrox-animation/src/lib.rs:770-776 | fyrox-animation/src/lib.rs:785-791 \u2014 These two members are one piece of code written twice and then edited apart: 7 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/lib.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"481d323276d55759b61e2b38b173d43eff6d89b7431fa99dd1c74b878c15ba99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-impl/src/renderer/mod.rs:368-381 | fyrox-impl/src/renderer/mod.rs:391-404 \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-impl/src/renderer/mod.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd4bfa35bc59236a920cdde3af2e4c5f364f60dfcf673b280a3259595bab6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/dim2/rectangle.rs:472-481 | fyrox-impl/src/scene/sprite.rs:483-494 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a6d5ad0a8bc5851dc19bd37dba41f7bb4f19c35e97f608c9dc5ac37533001"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/absm/command/blend.rs:111-118 | editor/src/plugins/absm/command/blend.rs:120-129 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/absm/command/blend.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cea5602bd55c0f79159a0574f08c942ab65aafe11332f052fb0fc5457fb8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/inspector/editors/animation.rs:198-206 | editor/src/plugins/inspector/editors/animation.rs:254-262 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/inspector/editors/animation.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc4b38b18d5d2b41df5c3604654ea3d1890fbab22e969e58ef7acf682f7e6db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/tilemap/commands.rs:58-65 | editor/src/plugins/tilemap/commands.rs:122-129 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/commands.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ea7d17f431686b245a5c8f4a5dade13857a7d3c1ea095fcbbcbb8771cfd250"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): editor/src/plugins/tilemap/commands.rs:90-97 | editor/src/plugins/tilemap/commands.rs:155-165 | editor/src/plugins/tilemap/commands.rs:191-201 | editor/src/plugins/tilemap/commands.rs:227-237 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94d1758ac8b5d6cc81fa7061d28b0a0f65be32ed447468dc48b27e8014aafd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): editor/src/scene/commands/terrain.rs:134-142 | editor/src/scene/commands/terrain.rs:179-187 | editor/src/scene/commands/terrain.rs:226-233 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/commands/terrain.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e5153bbfa0ef214bd3531e7185c9d5ce1e72c2de436939686c246abea8cf48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:381-395 | fyrox-impl/src/scene/dim2/joint.rs:457-471 | fyrox-impl/src/scene/joint.rs:440-454 | fyrox-impl/src/scene/joint.rs:516-530 | fyrox-impl/src/scene/joint.rs:557-571 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/joint.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6871c838b1ef1e1c2e01d5cdead751fec36e4c305a3d353c4aa32b7559be3ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-impl/src/scene/graph/mod.rs:1618-1629 | fyrox-ui/src/lib.rs:3275-3286 \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-impl/src/scene/graph/mod.rs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8074fdd76f7b6a51d65f9c02f86251660245f0c5c7f8b5f2b86e4253f03699cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fyrox-impl/src/scene/animation/absm.rs:311-324 | fyrox-ui/src/absm.rs:177-193 \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-impl/src/scene/animation/absm.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a2fa6be93387bbf5b961ea41e06c2c9b3f3f93fe26ba25f256fdd9c2c88ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): fyrox-ui/src/absm.rs:131-142 | fyrox-ui/src/absm.rs:289-298 | fyrox-ui/src/animation.rs:160-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/absm.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0aae13a1ec0860d4599ad953e1f43989548681a19287155ffbbe00f5094cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 10\u002B corresponding lines): fyrox-ui/src/color/gradient.rs:68-79 | fyrox-ui/src/color/gradient.rs:202-213 | fyrox-ui/src/color/gradient.rs:479-488 | fyrox-ui/src/color/mod.rs:119-128 | fyrox-ui/src/color/mod.rs:400-409 | fyrox-ui/src/color/mod.rs:564-575 | fyrox-ui/src/color/mod.rs:787-796 | fyrox-ui/src/color/mod.rs:1165-1174 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d24e2711aeb5a828aa8018813d8e931cfd0bdfb8ee74b4445683b8c796cb462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-ui/src/file_browser/field.rs:63-72 | fyrox-ui/src/file_browser/mod.rs:154-163 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-ui/src/file_browser/field.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd04075e2528fa485a4aef6be96057cf51468991c7247422a36562c8ea42e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/asset/preview/mod.rs:480-489 | editor/src/asset/preview/mod.rs:495-502 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/asset/preview/mod.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b2217a76baf628d47576fcb07b281b9265951d9ca6e86037c02a83c79ba276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/tilemap/collider_editor.rs:206-219 | editor/src/plugins/tilemap/tile_editor.rs:461-469 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/collider_editor.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9221165881ae35d4319e7bea56ae812d20acd147c68e4855b8cc5396b1d4ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): fyrox-impl/src/scene/tilemap/brush.rs:594-602 | fyrox-impl/src/scene/tilemap/tileset.rs:2153-2163 | fyrox-material/src/loader.rs:53-61 | fyrox-ui/src/style/resource.rs:120-128 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/brush.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bdae7e36ff7445b6d3a59d8a3ba9ccc1122152b210616e7941faa08368a72f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): fyrox-core/src/pool/handle.rs:110-122 | fyrox-core/src/pool/mod.rs:151-163 | fyrox-core/src/variable.rs:419-431 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/pool/handle.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38978aed932d9c480a16dc5fb12adf1674527c45bcc439af682e0c2be3a3061"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): editor/src/plugins/collider/capsule.rs:129-142 | editor/src/plugins/collider/cone.rs:114-124 | editor/src/plugins/collider/cylinder.rs:116-127 | editor/src/plugins/collider/segment.rs:99-110 | editor/src/plugins/collider/triangle.rs:107-120 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/capsule.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6127560cb0d8e9187e79cf57c136040bfa8d2a7b051aa037fc953243c98c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): editor/src/scene/commands/mod.rs:246-255 | editor/src/ui_scene/commands/graph.rs:299-309 \u2014 These two members are one piece of code written twice and then edited apart: 10 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/scene/commands/mod.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"96511284eea4b59d7eeb6de864385d0445e9c3517255de4fb0d3ce56ff5c16b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): editor/src/plugins/absm/mod.rs:144-153 | editor/src/plugins/animation/mod.rs:231-240 \u2014 These two members are one piece of code written twice and then edited apart: 10 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/absm/mod.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"821efc164e25d94c23731d2b5882353f40fb8f3739a78f56b64648b741e03f8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): editor/src/plugins/inspector/editors/dyntype.rs:215-229 | editor/src/plugins/inspector/editors/script.rs:293-307 \u2014 These two members are one piece of code written twice and then edited apart: 15 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/inspector/editors/dyntype.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"63770733011953296b897e476e2e0787c94819566278549054084e4ad2c9373b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/tilemap/property.rs:640-649 | fyrox-impl/src/scene/tilemap/property.rs:655-664 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/tilemap/property.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"40458e33e5cb7c2e5c737462b3d829545dd26f56059b52764ff65da949eced55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): editor/src/plugins/absm/mod.rs:105-114 | editor/src/plugins/animation/mod.rs:213-222 \u2014 These two members are one piece of code written twice and then edited apart: 10 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/absm/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c50e7e8f61f7d1384e39846cc5b34fc3cfbaf902cc5ff68cd79140b5e597b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/tilemap/commands.rs:311-318 | editor/src/plugins/tilemap/commands.rs:320-329 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/commands.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aadf8b7d6b5ed9d8f63107034d74aae6c23a0b19899f54bd399438588106ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-ui/src/bit.rs:104-113 | fyrox-ui/src/vector_image.rs:213-222 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-ui/src/bit.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0c6dd8f1361f4bd6fb29aa6f4a9e92fd63fc06ac377bbcb70f3eb2337a0404"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): fyrox-impl/src/resource/curve/mod.rs:99-105 | fyrox-impl/src/scene/tilemap/brush.rs:544-551 | fyrox-impl/src/scene/tilemap/tileset.rs:2038-2045 | fyrox-ui/src/style/mod.rs:769-776 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/curve/mod.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5e2e4d2b064d48dae3dc523ca6d575733e937d87bcf1ee9546546fbedc4d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/node/container.rs:58-67 | fyrox-ui/src/node/container.rs:58-67 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/node/container.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"210695fe8374bb025a71aa9a7a54ff62c72dc36f71fc8df5c172a74d7a8c4cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fyrox-impl/src/scene/tilemap/brush.rs:334-344 | fyrox-impl/src/scene/tilemap/tileset.rs:2021-2031 \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":"fyrox-impl/src/scene/tilemap/brush.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4e452d517ca3ef598fe4721f9e4cd9626ffaa2a2b30bee5f05fca1ffd39d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-math/src/lib.rs:252-263 | fyrox-math/src/lib.rs:530-541 \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-math/src/lib.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a368f62d9ce1f7cdf80c9a8a3d9bdcf6ac60edd508e5fb2b2da202f572de6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-ui/src/matrix.rs:105-114 | fyrox-ui/src/matrix.rs:198-208 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-ui/src/matrix.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd0f9610521b32815af17a4e780ae6fb1485eac107bb75288994ac7418e7ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): fyrox-ui/src/inspector/editors/key.rs:50-57 | fyrox-ui/src/inspector/editors/key.rs:95-102 | fyrox-ui/src/inspector/editors/range.rs:57-65 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/key.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15376549d7104b93875a0e90a69fcb94939796bbb1ff433fa898cbb37d232d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/ragdoll.rs:1243-1250 | editor/src/plugins/curve_editor.rs:556-563 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/ragdoll.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5629a1b7d93ec92258a3a735b5208e4b0d822c85cba3876d024c8b88b2c1fb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-animation/src/lib.rs:753-761 | fyrox-animation/src/lib.rs:802-809 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/lib.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"6080510f80c0bb94fc34f3fcfc78be48a78c91ea12304d7cb8a2e588a0d2ea1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-build-tools/src/export/android.rs:36-50 | fyrox-build-tools/src/export/pc.rs:26-37 \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-build-tools/src/export/android.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fdab255c26ad301620cbc750706cfbc4ccb3009ec00c650cbf57d5216cfd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-impl/src/renderer/hdr/mod.rs:60-67 | fyrox-impl/src/renderer/ssao/blur.rs:50-58 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-impl/src/renderer/hdr/mod.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7a066f696699dd95fd6ce9c5df4d6b1ec46218c024f598c34634bc624fafd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-impl/src/scene/dim2/rigidbody.rs:454-462 | fyrox-impl/src/scene/rigidbody.rs:595-603 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-impl/src/scene/dim2/rigidbody.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2f4dc67b19acdf17c442abdcaa6b32569d55495f1d108792dfd4760f69f2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-ui/src/color/mod.rs:1188-1199 | fyrox-ui/src/curve/mod.rs:1405-1416 \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-ui/src/color/mod.rs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1148fce20e4cb22f60a69718fc14ea17163f392e2e46761cdf4637545c4982f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): editor/src/plugins/tilemap/autotile.rs:361-370 | editor/src/plugins/tilemap/wfc.rs:397-406 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c675ff56c5199c89dd1c95d1e037b63ead024496f1ec2ad0a1c9efb66a5c5bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/plugins/tilemap/autotile.rs:782-786 | editor/src/plugins/tilemap/wfc.rs:1006-1010 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"615fb194d8d36f3b2cd5a67889102fe1854c7d5288a521e008afa50741adb9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/plugins/tilemap/autotile.rs:992-996 | editor/src/plugins/tilemap/wfc.rs:1035-1039 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc49327c838bdffc0db89898aa6a0eaa1a2f763c42697be89cb23d286a8667d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-impl/src/resource/curve/loader.rs:52-59 | fyrox-material/src/shader/loader.rs:45-52 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-impl/src/resource/curve/loader.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3023a2438fb22fdc20b17df96229fa3d7cff2f015d4c92b9032b826f3c54f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/interaction/navmesh/mod.rs:594-601 | editor/src/plugins/collider/mod.rs:386-394 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/interaction/navmesh/mod.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c0149becd9f3fef21a198a0fe923d58192225fdc46c8a672935129a83d70f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-impl/src/scene/collider.rs:862-870 | fyrox-impl/src/scene/dim2/collider.rs:665-673 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-impl/src/scene/collider.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9f352362bb3bf2bdfc68105866636bcf3e84714e5ea983d38e44129d5c961a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:564-572 | fyrox-impl/src/scene/joint.rs:644-652 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b7d9ff49cf1b39e1e8dd5bc96c18c216fb53e54f0c0722f6529e50f5123b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fyrox-impl/src/scene/node/mod.rs:536-550 | fyrox-ui/src/node/mod.rs:248-265 \u2014 These two members are one piece of code written twice and then edited apart: 15 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-impl/src/scene/node/mod.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2fc9e6457fb2e24933bd20a425f37875c7042026f607771c6895b68945faf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/mesh.rs:77-85 | editor/src/plugins/tilemap/macro_inspector.rs:109-119 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/mesh.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee9f18b75e4a199a6821dcbb886b86e7e34c52c0261368dc9ea21d1b8e6d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/inspector/editors/surface.rs:178-188 | editor/src/plugins/material/editor.rs:193-201 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/inspector/editors/surface.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"480526c8c1a120aac2acfa88bd3235ce7388b554c132e9e2966c7c41b7cb42cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): editor/src/plugins/settings.rs:191-202 | editor/src/scene/settings/mod.rs:114-125 \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":"editor/src/plugins/settings.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"99faeb416f06c3b2da0b2b32ed8c1b831fed6296a1768d9d9e5abb579aa9b6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fyrox-impl/src/scene/dim2/joint.rs:619-628 | fyrox-impl/src/scene/joint.rs:700-710 \u2014 These two members are one piece of code written twice and then edited apart: 10 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-impl/src/scene/dim2/joint.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec8712b59d51aa2f290059786d749a1c6b6846b686b5de685f43907c13e0310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-impl/src/scene/graph/mod.rs:200-209 | fyrox-impl/src/scene/mod.rs:570-578 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-impl/src/scene/graph/mod.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5557349e29e448c9832b24e17504f18e0e7ac9d78a6091cfecf2940c31d51d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fyrox-core/src/pool/mod.rs:1411-1417 | fyrox-core/src/pool/multiborrow.rs:360-366 \u2014 These two members are one piece of code written twice and then edited apart: 7 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-core/src/pool/mod.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfe323be88d710bffaf5f7c51fb39a29e3b1ad76509b33f487328a27d5da4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): fyrox-ui/src/inspector/editors/char.rs:69-75 | fyrox-ui/src/inspector/editors/immutable_string.rs:73-79 | fyrox-ui/src/inspector/editors/string.rs:69-75 | fyrox-ui/src/inspector/editors/utf32.rs:68-74 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/char.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"70229840cf23c9734aa74abfdac09695ffd2d1b7bd3f917e7b926822fdce3aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): editor/src/scene/commands/graph.rs:587-594 | editor/src/ui_scene/commands/graph.rs:370-375 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/scene/commands/graph.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa748cc4ed8ed6670f1e61e60018d8b74efc930335f736439dfb211141605172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fyrox-core/src/pool/mod.rs:1398-1404 | fyrox-core/src/pool/multiborrow.rs:343-349 \u2014 These two members are one piece of code written twice and then edited apart: 7 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-core/src/pool/mod.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77bc3a8ab67d5c8df262d59d950f87ee0a8cadc75e1f34175ca2927b5b48c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): editor/src/plugins/animation/mod.rs:708-715 | editor/src/plugins/material/mod.rs:382-390 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/animation/mod.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b5fbfd22eec71fc6523e9ff0053b047e47609611b0fa239bd6878be4b8ba7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/inspector/editors/resource.rs:260-268 | editor/src/plugins/inspector/editors/texture.rs:166-174 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/inspector/editors/resource.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"974e1d73f2302f9f96d58496e819a97980908469d3f3bfaff9ed24ced2014f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fyrox-core/src/sstorage.rs:75-86 | fyrox-core/src/visitor/impls.rs:315-322 \u2014 These two members are one piece of code written twice and then edited apart: 8 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-core/src/sstorage.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e75363d8b34d24ab64de529efc7e6c3faa79777857767bffaeeaf7e7775f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fyrox-graphics-gl/src/buffer.rs:105-112 | fyrox-graphics-gl/src/texture.rs:338-343 \u2014 These two members are one piece of code written twice and then edited apart: 6 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-gl/src/buffer.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e01f4a02a2718b43d3f0c4a031908d7e8509873f7d140f51c2d10007ac7a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/tilemap/autotile.rs:377-385 | editor/src/plugins/tilemap/wfc.rs:413-421 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2861c01cd5ed3d108a5dee5ec9839d46b9e6c84910d3fae5f849edcff7d8ce07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/tilemap/autotile.rs:392-400 | editor/src/plugins/tilemap/wfc.rs:428-436 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09161d16d8e44a0dfc7d13fecb9d486be1cc3a2dbd963d810e1cb2b53d660fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): editor/src/scene/commands/effect.rs:109-120 | editor/src/scene/commands/graph.rs:377-382 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/scene/commands/effect.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02716f32133ddc9ee1daeb6eefa6aa512a527855a64b8d37192e5e544d51d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fyrox-ui/src/text.rs:386-396 | fyrox-ui/src/text_box.rs:986-996 \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":"fyrox-ui/src/text.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b26ddff2c830be1f76689fa735789699ab546203e1aeea37b789d45cbad6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): editor/src/scene/commands/graph.rs:430-435 | editor/src/ui_scene/commands/graph.rs:104-110 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/scene/commands/graph.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b6fb784aa5d0e2d8561bff35018a70df69389e1a2944bfba67e8a68347a6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fyrox-ui/src/lib.rs:1342-1350 | fyrox-ui/src/test.rs:68-76 \u2014 These two members are one piece of code written twice and then edited apart: 9 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-ui/src/lib.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8f183027f2ec06e81642a678e3e943ddc62d9ad17412fbb7541fdd9624366f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/audio/preview.rs:57-65 | editor/src/plugins/tilemap/macro_tab.rs:165-173 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/audio/preview.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7023f6d88ffb177c3f873c5df674528d53b2d514f0862b8956539638592331c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/plugins/tilemap/brush_macro.rs:513-517 | editor/src/plugins/tilemap/commands.rs:408-412 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/brush_macro.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ece584a213a24e651a84bacab07975811485bbfdb7bb9d85d8b1f81d6166ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/plugins/tilemap/brush_macro.rs:519-523 | editor/src/plugins/tilemap/commands.rs:414-418 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/brush_macro.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad57e2ab96bf1648096deb74ffaf18bad105a2b9dcb89b1fe99e30671dbb9552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/ui_scene/utils.rs:92-100 | editor/src/world/graph.rs:91-100 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/ui_scene/utils.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"373631d51357e600bfffaa4c3adc640106eaf5ac99ea7016f91841ccad05e056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/lib.rs:310-314 | fyrox-impl/src/scene/terrain/mod.rs:2360-2364 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/lib.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"969a8f1aa4dc79f78f3d5ff08123d8236d963ef976e7ea4051c1bff1e91d91a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/absm/mod.rs:436-444 | editor/src/plugins/animation/mod.rs:698-706 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/absm/mod.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"776126f986a5aeedd20e9fd490ac2bf83d834bf52b220fa503c282f909e5141b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): editor/src/ui_scene/utils.rs:110-115 | editor/src/world/graph.rs:110-116 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/ui_scene/utils.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"558227e96588e471bd7ceb3a151751413bf0085903eb532826b77511222249fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): editor/src/ui_scene/utils.rs:179-184 | editor/src/world/graph.rs:152-158 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/ui_scene/utils.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd48fffdf104b778a3af05ed4494a1546a4ddcc75dfd6cdd0a2f1e210af27a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fyrox-ui/src/stack_panel.rs:273-278 | fyrox-ui/src/wrap_panel.rs:297-303 \u2014 These two members are one piece of code written twice and then edited apart: 6 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-ui/src/stack_panel.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8be9bd05c709436274f3c4b0403c7491e4adc422b5661e9fd9c1cb82de1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): editor/src/plugins/tilemap/macro_inspector.rs:62-67 | editor/src/plugins/tilemap/tile_inspector.rs:585-590 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/macro_inspector.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e536da2ce0c21fc2f4b87b812fe6ef88381e507520ad41d08722167cc0a3f45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): editor/src/plugins/tilemap/autotile.rs:818-826 | editor/src/plugins/tilemap/wfc.rs:818-826 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"c226f2a329336a8543e5c24eacc3b2bea6e8f7e6a62f300cac16cf5f8585e2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): fyrox-animation/src/machine/mask.rs:98-101 | fyrox-core/src/pool/handle.rs:166-169 | fyrox-core/src/pool/mod.rs:190-193 | fyrox-core/src/variable.rs:466-470 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/mask.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9cf3a7f73a3956504e9d72e7fdf572ddcb9b7120f2362d773da482ad64b01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fyrox-impl/src/scene/tilemap/tile_source.rs:570-576 | fyrox-impl/src/scene/tilemap/transform.rs:255-261 \u2014 These two members are one piece of code written twice and then edited apart: 7 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-impl/src/scene/tilemap/tile_source.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b2d6f2edbbc4f2e4af97628976944e7578d73ca48f4d9e3f9d78538131f6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): editor/src/audio/preview.rs:209-213 | editor/src/plugins/animation/toolbar.rs:1062-1066 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/audio/preview.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90cd048e41094cd2108c9adf6454c1ad3a46c97eae9aa1c3ec77daf5f19da12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1196-1248 | fyrox-impl/src/scene/graph/physics/mod.rs:1708-1760 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04c7632ef415095e4c0e2b5cb30fae5b63fe64065e6523b7fa48e5512ecf465"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/palette.rs:2181\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/tilemap/palette.rs:2180\u0060 calls \u0060draw_checker_board\u0060 and \u0060editor/src/plugins/tilemap/panel_preview.rs:90\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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:1362-1410 | fyrox-impl/src/scene/graph/physics/mod.rs:1877-1924 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1362\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d38cff3f85924896447cde106510300726f96f53ab8ce43d0a42a7649fee8c"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/graph/physics/mod.rs:534\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-build-tools/src/export/android.rs:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:860-895 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:860\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f350656291bd291588dbee631f956d82408e27d424932c6b139f9e775045fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): editor/src/interaction/move_mode.rs:397-430 | editor/src/interaction/rotate_mode.rs:155-188 | editor/src/interaction/scale_mode.rs:147-180 \u2014 before extracting anything, compare \u0060editor/src/interaction/move_mode.rs\u0060 and \u0060editor/src/interaction/rotate_mode.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/move_mode.rs:397\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/move_mode.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f508de4c4df5a80c12705b2cf8459e40835856dfa0d5de7cb869aa9dfb306773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): fyrox-ui/src/messagebox.rs:342-373 | fyrox-ui/src/messagebox.rs:386-418 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/messagebox.rs:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/messagebox.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cf51488588fda76fc9d2de3d7e6b8dcb9cefe6345e209490100e9c55de7913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): fyrox-ui/src/lib.rs:2795-2825 | fyrox-ui/src/lib.rs:3032-3062 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/lib.rs:2795\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce8aa10fc34450c6450644097033dea0477ab61d3c34218ef6046e0a412e09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:122-151 | editor/src/interaction/gizmo/scale_gizmo.rs:104-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 65 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/gizmo/move_gizmo.rs:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a453d3019cac32c149702f5512133577d7705f6cd2a0327cbbe58b2c56afaa09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:471-498 | editor/src/plugins/tilemap/wfc.rs:507-535 \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 144 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":471}}}],"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 4 separate duplicated blocks between them, totalling at least 51 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rectangle.rs:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/dim2/physics/mod.rs:742-769 | fyrox-impl/src/scene/graph/physics/mod.rs:1186-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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:742\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn update(\u0026mut\u0060 in one and \u0060super) fn update(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-impl/src/scene/graph/physics/mod.rs:1185\u0060 calls \u0060default\u0060 and \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:741\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1865e560dee04feb5e55191d844310a004c48eb010eca6db0be58c3bef50865d"}},{"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 3): fyrox-graphics/src/gpu_texture.rs:286-312 | fyrox-graphics/src/gpu_texture.rs:326-352 | fyrox-graphics/src/gpu_texture.rs:365-391 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics/src/gpu_texture.rs:286\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics/src/gpu_texture.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14a906846c2d7a30fa59b3ed541c180e474a7cbcc6a681f08a6b7e9780b18ad"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/tilemap/macro_tab.rs:257\u0060 calls \u0060add_row\u0060, \u0060auto\u0060 and \u0060editor/src/plugins/tilemap/colliders_tab.rs:191\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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): editor/src/scene/property.rs:613-639 | editor/src/scene/selector.rs:604-630 \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 7 separate duplicated blocks between them, totalling at least 78 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:613\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/scene/selector.rs:631\u0060 calls \u0060add_column\u0060, \u0060stretch\u0060, \u0060add_row\u0060 and \u0060editor/src/scene/property.rs:640\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b2cc6b04fa8965d8827a68ee2002cc48f92eb9919274c229b34a0a59dd0734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): fyrox-impl/src/scene/tilemap/autotile.rs:152-178 | fyrox-impl/src/scene/tilemap/autotile.rs:262-287 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/autotile.rs:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/autotile.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23402e64ea09cbde0affafec5b4d32f5b5bcfe071cc86ee47dfb3182106b685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): fyrox-ui/src/inspector/editors/inspectable.rs:138-164 | fyrox-ui/src/inspector/editors/refcell.rs:132-158 \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 53 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/inspectable.rs:138\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"da91dff9aa0c1d3d4c5afd2b614e12e34826a15d08e39924b2275b78362d300e"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/interaction_mode.rs:318\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/tilemap/interaction_mode.rs:344\u0060 calls \u0060begin_update\u0060 and \u0060editor/src/plugins/tilemap/interaction_mode.rs:384\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/interaction_mode.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"06121d1bb5139018a4a846b299504d8fc79e465a94602de2d3fc43e55458c18f"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/renderer/settings.rs:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/lib.rs:3927-3952 | fyrox-ui/src/lib.rs:3959-3984 \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":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ac84bf540bd0c649393c6358f2b99d8bf1a38066081ca624d02bd9dd933390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:355-379 | editor/src/plugins/inspector/editors/script.rs:452-476 \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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:355\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99b0a0790652d306dcc4ed41937834269f6e0455ae181dd068f6d1cded7bd7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-impl/src/engine/mod.rs:512-536 | fyrox-impl/src/engine/mod.rs:543-567 \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":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab378c5e74a2f59b26c3bc4e255655187ac8ff73cb5eeac399e764d0c619e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1293-1317 | fyrox-impl/src/scene/graph/physics/mod.rs:1806-1830 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1293\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f6b729ba77cf96a281980c09208f298fbbc2e80ede018f9f910110dc9cdd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-resource/src/manager.rs:497-521 | fyrox-resource/src/manager.rs:603-627 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-resource/src/manager.rs:497\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-resource/src/manager.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"535c6186403c7a42f6b168882d4e026e47717ff1c7e7de0ef479d95e1bb0d6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): fyrox-resource/src/manager.rs:1124-1147 | fyrox-resource/src/manager.rs:1276-1300 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-resource/src/manager.rs:1124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-resource/src/manager.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b4ca8877826336113c0466de9de0d99684238e313360d164a93d5198cb9afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fyrox-ui/src/lib.rs:2870-2894 | fyrox-ui/src/lib.rs:3149-3173 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/lib.rs:2870\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3490448c3217379cfa0d5eb01887ce7d36671bb9d0f015b6a811a071807604e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:273-296 | editor/src/plugins/inspector/editors/script.rs:369-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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:273\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (24 lines \u00D7 2): editor/src/plugins/light.rs:264-287 | editor/src/plugins/ragdoll.rs:1048-1071 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/light.rs:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/light.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e082a9c9a703e378f7cc5feff296b6087a2e2e99864beba935f99bb644e16d"}},{"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 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/tilemap/properties_tab.rs:460\u0060 calls \u0060add_row\u0060, \u0060auto\u0060, \u0060stretch\u0060 and \u0060editor/src/plugins/tilemap/colliders_tab.rs:237\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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:433-456 | fyrox-graphics-gl/src/framebuffer.rs:489-512 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/framebuffer.rs:433\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/framebuffer.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e19de0093a0dfb354c91fd8c9356013b1d6fd1c84cc14f1aa29f82abd749d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1052-1075 | fyrox-impl/src/scene/graph/physics/mod.rs:1493-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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1052\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rigid_body_node\u0060 to \u0060\u0026scene::dim2::rigidbody::RigidBody\u0060 in one and \u0060\u0026scene::rigidbody::RigidBody\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c29907cb156082f88f34e86b5346fa5e42fe0413ee2febf4770122b3ae7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): fyrox-ui/src/inspector/editors/hashmap/mod.rs:131-154 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:185-208 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/hashmap/mod.rs:131\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b431376a61354187ecf6798bbfd356344d0ffd56920905363334e52d919ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): editor/src/plugins/curve_editor.rs:264-286 | fyrox-ui/src/inspector/editors/style.rs:304-326 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/curve_editor.rs:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"985ef0726e69c5a4aa631b86180afb5866f7a709bee40233043c540739248f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): fyrox-impl/src/engine/mod.rs:481-503 | fyrox-impl/src/engine/mod.rs:573-594 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/engine/mod.rs:573\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":481}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/renderer/light.rs:914\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:269-291 | fyrox-impl/src/scene/graph/physics/mod.rs:393-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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:269\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060c\u0060 to \u0060\u0026rapier2d::geometry::ContactPair\u0060 in one and \u0060\u0026rapier3d::geometry::ContactPair\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5277afc1ccc9653baacb1d6a86431db47d5520ba65cabdaaebda211d499f7a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1101-1122 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rigid_body_node\u0060 to \u0060\u0026scene::dim2::rigidbody::RigidBody\u0060 in one and \u0060\u0026scene::rigidbody::RigidBody\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"467c9dd86c0c186d853874d903b592fb31b869348456c75600cee29405f08b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): editor/src/asset/creator.rs:135-156 | editor/src/scene/dialog.rs:118-139 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/creator.rs:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/creator.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768ccd9f258b7f3c86f65e1deff8e06fe69b93e26edeeb8564a9cddc093bf1e"}},{"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:1445-1466 | fyrox-impl/src/scene/graph/physics/mod.rs:1967-1988 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1445\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a642ecd112c8e605b2dc6b81ac753e265c207044daab0e22836135a09c8289c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): fyrox-ui/src/lib.rs:2821-2841 | fyrox-ui/src/lib.rs:3058-3078 | fyrox-ui/src/lib.rs:3105-3125 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/lib.rs:2821\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-ui/src/lib.rs:3102\u0060 calls \u0060try_set_picked_node\u0060, \u0060hit_test\u0060 and \u0060fyrox-ui/src/lib.rs:2818\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"9641be46d504ab2a70c14e5a137ea5e9ca93c11042635b51bdb4dba2146b3edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:275-295 | editor/src/plugins/animation/toolbar.rs:935-955 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/toolbar.rs:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0554fab0597b7d6ed649750b322fa769c3d708469d8bac31db7229157d7bbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): editor/src/plugins/inspector/editors/spritesheet/window.rs:322-342 | editor/src/plugins/ragdoll.rs:1094-1114 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/spritesheet/window.rs\u0060 and \u0060editor/src/plugins/ragdoll.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/spritesheet/window.rs:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/spritesheet/window.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8164caac3c98fa14ff1191cc3b533c1c7a437f6fb50a5b4d47f796616e15a08b"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/panel.rs:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/visitor/reader/ascii.rs:379\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (18\u201320 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:98-117 | editor/src/interaction/gizmo/scale_gizmo.rs:81-98 \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 65 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/gizmo/move_gizmo.rs:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (19\u201320 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:381-400 | editor/src/plugins/inspector/editors/script.rs:478-496 \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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:381\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c436befd93b54cb1636f9909f8ede72889f9020e2abde9c260ce0274aa555b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:676-695 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:676\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2d3280c15ce2366dbda9e512b58ed4ccb740184c629a95cbf7855ea6a3990a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1079-1098 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1079\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rigid_body_node\u0060 to \u0060\u0026scene::dim2::rigidbody::RigidBody\u0060 in one and \u0060\u0026scene::rigidbody::RigidBody\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd189a05ec15abe903f7bebae1179e3c97c235e8b7d16d775d609c20ed143bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:154-173 | fyrox-ui/src/inspector/editors/collection.rs:250-269 \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 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/array.rs:154\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab544b57f77019f5c4059020f2636427f9781319de56146fa9bc59dba7062ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): editor/src/asset/dependency.rs:134-152 | editor/src/plugins/ragdoll.rs:1112-1130 \u2014 before extracting anything, compare \u0060editor/src/asset/dependency.rs\u0060 and \u0060editor/src/plugins/ragdoll.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/dependency.rs:134\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/dependency.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdd8c0422a078b20a7557a0a8fcb7343d569c588c85831902b7c5f78bc1f541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): fyrox-graph/src/lib.rs:240-258 | fyrox-graph/src/lib.rs:363-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graph/src/lib.rs:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":240}}}],"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:1418-1435 | fyrox-impl/src/scene/graph/physics/mod.rs:1939-1957 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9c88d173ec4b5e617b138f31d73058af6711a207d0eb225c6cd64552b4262b"}},{"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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"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 (17\u201318 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:620-637 | editor/src/plugins/tilemap/wfc.rs:639-655 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:620\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e837162180eaf3998d309cdf2270b5e981882853359f1345d1ae644ff51f94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1674-1690 | editor/src/plugins/tilemap/palette.rs:1805-1822 \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":1674}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/resource/gltf/material.rs:430\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-impl/src/resource/gltf/material.rs:429\u0060 calls \u0060resource_io\u0060 and \u0060fyrox-impl/src/resource/fbx/mod.rs:330\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-scripts/src/camera.rs:152\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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:164-176 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/scroll_panel.rs:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/border.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d83ae4934195c1d331c60030c4b690a8affa78c3f431a7d1e2393d6e68adca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:136-153 | fyrox-ui/src/inspector/editors/array.rs:415-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/array.rs:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":136}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/matrix.rs:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:192\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/tilemap/macro_tab.rs:257\u0060 calls \u0060add_row\u0060, \u0060auto\u0060 and \u0060editor/src/plugins/tilemap/colliders_tab.rs:191\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/tilemap/macro_tab.rs:291\u0060 calls \u0060with_margin\u0060, \u0060uniform\u0060, \u0060with_stroke_thickness\u0060 and \u0060editor/src/plugins/tilemap/colliders_tab.rs:223\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 (13\u201317 lines \u00D7 2): editor/src/command/panel.rs:98-110 | fyrox-ui/src/log.rs:179-195 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/command/panel.rs:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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:236-252 | editor/src/interaction/scale_mode.rs:215-231 \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 6 separate duplicated blocks between them, totalling at least 84 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/rotate_mode.rs:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/interaction/rotate_mode.rs:253\u0060 calls \u0060is_none\u0060, \u0060reset_state\u0060 and \u0060editor/src/interaction/scale_mode.rs:232\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"22291731d785326547fd206eea7d359ca13395573cec8bdf13537cd9983e2a21"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/state_graph/context.rs:386\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/state_graph/mod.rs:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c33cda187637350d67d18eef9384d986fa7eb41079bff578f7791dbc4e29676"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/world/mod.rs:523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:644-660 | fyrox-core/src/pool/mod.rs:699-715 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/pool/mod.rs:644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1680bf2b1672997e61407f025ae10593dba5c0dea9bf0124720e3be9e405c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:421-437 | 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 32 separate duplicated blocks between them, totalling at least 575 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":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1a843a65239fb4b7c91768286b4fd7736c1843a2ca41ecbf6945cc0cabd975"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/effect.rs:237\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/effect.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0e41f826e06db7bd8c68dc4057a45d341bf8b7224234d779229f2673204af7"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/key.rs:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/debug.rs:184\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/ragdoll.rs:346\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/ragdoll.rs:345\u0060 calls \u0060with_shape\u0060, \u0060ball\u0060 and \u0060editor/src/plugins/ragdoll.rs:400\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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/asset/preview/mod.rs:527-542 | editor/src/asset/preview/mod.rs:575-590 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/preview/mod.rs:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/asset/preview/mod.rs:524\u0060 calls \u0060new_embedded\u0060, \u0060from_shader\u0060 and \u0060editor/src/asset/preview/mod.rs:573\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/preview/mod.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fdba1211770a507888201d1e876bfcfb4398f0ba49ae3e3877b42e26b909e9"}},{"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:162-177 | 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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:162\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":162}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/palette.rs:2123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:252-267 | fyrox-impl/src/scene/graph/physics/mod.rs:376-391 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060c\u0060 to \u0060\u0026rapier2d::geometry::ContactPair\u0060 in one and \u0060\u0026rapier3d::geometry::ContactPair\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b7f58dfdda2a9a2bc522280239503a40627da29dc190a8935add22200c2f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:726-741 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn update(\u0026mut\u0060 in one and \u0060super) fn update(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/scene/graph/physics/mod.rs:1185\u0060 calls \u0060default\u0060 and \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:742\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"01974130f7fea37cb1fdf9c15f6ecbf0cf781f174c07c8dafcbada3653e13861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1136-1156 | fyrox-impl/src/scene/graph/physics/mod.rs:1635-1655 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1136\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f724bc16270d2c04d1aabf2be7b31e17df1f5257086544199c9bd99bf2fabe1b"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/color/mod.rs:466\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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/array.rs:259-274 | fyrox-ui/src/inspector/editors/collection.rs:403-418 \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 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/array.rs:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb44b3660f2cb22513f514214fbea4c2b45f8d060af53749344016a8b577afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fyrox-ui/src/inspector/editors/collection.rs:533-548 | fyrox-ui/src/inspector/editors/enumeration.rs:413-428 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/collection.rs:533\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a82904d53b787250a69ec1c187106f9c53ee3c4c4816bdda3a1e103dbc2ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): fyrox-ui/src/inspector/editors/collection.rs:619-634 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:406-420 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/collection.rs:619\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/collection.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596640c00283c4da2170310bb6cf610847d10b24ddc41df0a9876a59fc3e5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): editor/src/plugins/export.rs:273-287 | editor/src/plugins/inspector/editors/spritesheet/window.rs:329-343 | editor/src/plugins/ragdoll.rs:1101-1115 | fyrox-ui/src/messagebox.rs:416-430 \u2014 before extracting anything, compare \u0060editor/src/plugins/inspector/editors/spritesheet/window.rs\u0060 and \u0060editor/src/plugins/ragdoll.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/export.rs:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/export.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaa61cf5565e3476c18810e039eb2e83d2361131a4ecc4d4b93176c2b77c1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): editor/src/plugins/inspector/editors/resource.rs:240-254 | editor/src/plugins/inspector/editors/surface.rs:158-172 | editor/src/plugins/material/editor.rs:173-187 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/resource.rs:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/resource.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f97312d562b1cc79378659c8370c020d6adb237de0ec59e654e0f086756d7a"}},{"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/ragdoll.rs:1067-1081 | editor/src/scene/dialog.rs:90-104 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/ragdoll.rs:1067\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f73acb182bf2c1994b22405f5e5ee55379d6ff419610ac54ff6eb520004234"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/ui_scene/interaction/mod.rs:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:349-363 | fyrox-animation/src/machine/layer.rs:365-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/layer.rs"},"region":{"startLine":349}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-build-tools/src/export/utils.rs:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:547-561 | 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 8 separate duplicated blocks between them, totalling at least 94 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f51b289996bb1a9c5d9eb9467be945bb0b8957d0f57f064c8c8fab090b99038"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-math/src/lib.rs:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:230-244 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/canvas.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a72040dca901ee6969d54bfa2c83ab838e6f78b683bc5d63d02f1ff4eeee82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:468-480 | fyrox-ui/src/inspector/editors/collection.rs:669-683 \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 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/array.rs:468\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72d9eebf46018b549b20b505bbe280571a5810c5169037a25527ac0926f3b52"}},{"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:130-144 \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/inspector/editors/mod.rs:957-971 | fyrox-ui/src/inspector/editors/mod.rs:1014-1028 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/mod.rs:957\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/mod.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb73d4949316b851a330363bc259b0f1791244a9ecb365b09b3ee83ecaf3122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fyrox-ui/src/nine_patch.rs:384-398 | fyrox-ui/src/nine_patch.rs:486-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/nine_patch.rs:384\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/nine_patch.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"576012eacb3093b6a7761e9ce1ccd5b514e538887aa435250f45145ad3cefadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): editor/src/plugins/inspector/editors/dyntype.rs:381-393 | editor/src/plugins/inspector/editors/script.rs:478-490 | fyrox-ui/src/inspector/editors/enumeration.rs:482-495 \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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/enumeration.rs:482\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/inspector/editors/dyntype.rs:380\u0060 calls \u0060Some\u0060, \u0060value_ref\u0060 and \u0060fyrox-ui/src/inspector/editors/enumeration.rs:481\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e50e43b21d25620b887fe84974c75b5ac3cbf19d9d133d3d9f32881a08a800"}},{"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 3): fyrox-ui/src/inspector/editors/inherit.rs:215-228 | fyrox-ui/src/inspector/editors/inspectable.rs:94-107 | fyrox-ui/src/inspector/editors/refcell.rs:85-98 \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 53 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 (14 lines \u00D7 2): editor/src/asset/creator.rs:145-158 | editor/src/plugins/light.rs:170-183 \u2014 before extracting anything, compare \u0060editor/src/asset/creator.rs\u0060 and \u0060editor/src/plugins/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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/creator.rs:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/creator.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8a9ed95b60fa0a769acb2d0392c1dc4d002c5d29effda85b635b34877c86e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): editor/src/asset/selector.rs:532-544 | fyrox-ui/src/inspector/editors/style.rs:333-346 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/selector.rs:532\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/selector.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8986d8646ba2e1f83c873b923cb248f5debf1ffbd6f64e628d8dd6ce9d879d71"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/state_graph/context.rs:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:72-85 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/clipboard.rs:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060root_nodes\u0060 to \u0060\u0026[Handle\u003CNode\u003E]\u0060 in one and \u0060\u0026[Handle\u003CUiNode\u003E]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/clipboard.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa58b2fd20b55fd221f929c317b13052f4e5529e113d23d8a43d6e5866bef6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/scene/mod.rs:577-590 | editor/src/ui_scene/mod.rs:188-201 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/mod.rs:577\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/mod.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d20ad623b831cacefa900409367b93ae4fd4a46b85117cdf6a0cd85d628dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/engine/mod.rs:2358-2371 | fyrox-impl/src/engine/mod.rs:2386-2399 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/engine/mod.rs:2358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":2358}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/accel.rs:98\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060buffer\u0060 to \u0060\u0026mut Vec\u003CEntry\u003E\u0060 in one and \u0060\u0026mut Vec\u003Cu32\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/accel.rs:125\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060buffer\u0060 to \u0060\u0026mut Vec\u003CEntry\u003E\u0060 in one and \u0060\u0026mut Vec\u003Cu32\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"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:1035-1048 | 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 8 separate duplicated blocks between them, totalling at least 94 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":1035}}}],"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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/character.rs:144\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:708-721 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:708\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn update(\u0026mut\u0060 in one and \u0060super) fn update(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e880765ffc8013cabc89d379a9a55167ab239004cf928bbdfdc7db434f69d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:926-939 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060filter\u0060 to \u0060rapier2d::pipeline::QueryFilter\u003C\u0027a\u003E\u0060 in one and \u0060rapier3d::pipeline::QueryFilter\u003C\u0027a\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":926}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/mesh/surface.rs:648\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/scene/mesh/surface.rs:812\u0060 calls \u0060insert\u0060, \u0060from_pos_uv_normal\u0060 and \u0060fyrox-impl/src/scene/mesh/surface.rs:658\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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/inspector/editors/hashmap/mod.rs:495-508 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:516-529 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/hashmap/mod.rs:495\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacc47ad8dc737104bee031d602ca97a13688e63a94ea8ab9174f81c75d1ced8"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/matrix.rs:52\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:235-248 | fyrox-ui/src/utils.rs:285-298 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/utils.rs:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/utils.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43e2bc36beb8b3fc07a0809b230ce37c7a1f107af3d2f929cf725e407efed87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): fyrox-impl/src/engine/mod.rs:1748-1760 | fyrox-impl/src/engine/mod.rs:1841-1853 | fyrox-impl/src/engine/mod.rs:1882-1894 | fyrox-impl/src/engine/mod.rs:1934-1946 | fyrox-impl/src/engine/mod.rs:2079-2091 | fyrox-impl/src/engine/mod.rs:2114-2126 | fyrox-impl/src/engine/mod.rs:2149-2161 | fyrox-impl/src/engine/mod.rs:2184-2196 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-impl/src/engine/mod.rs:1837\u0060 calls \u0060handle_async_tasks\u0060 and \u0060fyrox-impl/src/engine/mod.rs:1932\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be5c2bc0f26efb02a5a80762d82e909c87dc83ccf0e42f868617924babef0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): editor/src/asset/creator.rs:144-157 | editor/src/plugins/light.rs:170-182 | editor/src/scene/dialog.rs:127-140 \u2014 before extracting anything, compare \u0060editor/src/asset/creator.rs\u0060 and \u0060editor/src/plugins/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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/creator.rs:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/cell.rs:84-96 | fyrox-ui/src/inspector/editors/cell.rs:130-142 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:181-193 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/cell.rs:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (11\u201313 lines \u00D7 2): editor/src/asset/selection.rs:206-216 | editor/src/asset/selection.rs:261-273 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/selection.rs:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/selection.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09397c917f1d37e073ee0671ef1d204f36017cea02b262cc2e31b7048c8c007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): editor/src/asset/selection.rs:227-237 | editor/src/asset/selection.rs:284-296 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/selection.rs:284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/selection.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7858ffed71f397fe6b0b87f2b109a5ea52dc332af306d7ec79fe79b34609fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): editor/src/audio/mod.rs:114-122 | editor/src/audio/mod.rs:140-152 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/audio/mod.rs:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3778c5e8ae2da702fe54a6c643165d6556b56fc7cc72079453fd06bc47396f"}},{"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:641-653 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/move_mode.rs:229\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/mesh.rs:187\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/mesh.rs:228\u0060 calls \u0060Some\u0060 and \u0060editor/src/mesh.rs:186\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 4 separate duplicated blocks between them, totalling at least 39 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/mod.rs:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:202-214 | editor/src/plugins/absm/state_viewer/mod.rs:298-310 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/state_graph/mod.rs:202\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ae290b0fc70a77c8274d2f34ba3bb0d48b7514d1a9a897ecb6e374ef00097e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:541-553 | editor/src/plugins/animation/toolbar.rs:666-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/toolbar.rs:541\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f85e7794feff3102861bef592e145dfb2879b9788d36398203ed41fc514a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:586-598 | editor/src/plugins/animation/toolbar.rs:619-631 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/toolbar.rs:586\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a67fb6ce9eb2bac972a0e3f14b8403704b64f2c604332678f7a58d6c600caea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): editor/src/plugins/curve_editor.rs:256-268 | editor/src/plugins/light.rs:286-295 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/curve_editor.rs:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d0fae0f9c5bb3692341a134b67970d0b24a2a571a15447fedda5755d67600a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:258-269 | 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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":258}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/tile_inspector.rs:623\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/visitor/reader/ascii.rs:356\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/ascii.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2cc043cd483e5b85a76ad6dbc635a87cebc99fb10cd01d0bb44b8319df2432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): fyrox-graph/src/lib.rs:1706-1715 | fyrox-graph/src/lib.rs:1774-1786 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graph/src/lib.rs:1706\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b4809a6909e1f0e543735645b4d4f5d0e1cd8dd799b7fc0320f9720501ff78"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/resource/gltf/animation.rs:494\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/resource/gltf/animation.rs:620\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/gltf/animation.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e862d060e78dcade950a2a5a5b00e6a31c666d0836b49b42cdfdd14c79707bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:965-977 | 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 8 separate duplicated blocks between them, totalling at least 94 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a50ee027610a058bb8bd166941def3894059b94d608bed8f06e1786fcc43e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:602-614 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":602}}}],"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:1325-1337 | fyrox-impl/src/scene/graph/physics/mod.rs:1838-1849 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1325\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fd6e01be9eaef6738963d4b64bad6af5f05cacd830300458069af00c5d6977"}},{"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":"a1c3a162250de697f6f84cc6a9ff89d1fc3e4f31ba2fef100e66366d616ab881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): fyrox-impl/src/scene/terrain/mod.rs:1561-1572 | fyrox-impl/src/scene/terrain/mod.rs:2735-2747 \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":1561}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/mod.rs:209\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/hashmap/mod.rs:402-414 | fyrox-ui/src/inspector/editors/hashmap/mod.rs:440-452 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/hashmap/mod.rs:402\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/hashmap/mod.rs"},"region":{"startLine":402}}}],"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 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/immutable_string.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/string.rs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/immutable_string.rs:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (13 lines \u00D7 2): fyrox-ui/src/text_box.rs:1255-1267 | fyrox-ui/src/text_box.rs:1279-1291 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/text_box.rs:1255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-ui/src/text_box.rs:1292\u0060 calls \u0060remove_char\u0060 and \u0060fyrox-ui/src/text_box.rs:1268\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/text_box.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8006e79a3b41d2b2777e01839feed85921341bce6ba90d624fa775825c18b166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): project-manager/src/manager.rs:198-210 | project-manager/src/manager.rs:212-224 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060project-manager/src/manager.rs:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project-manager/src/manager.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cade3ab715eb797946f78e9737c50a7b69b45d5b146c3c5e777e79f54498ad09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): editor/src/plugins/tilemap/autotile.rs:471-482 | editor/src/plugins/tilemap/autotile.rs:622-633 | editor/src/plugins/tilemap/wfc.rs:507-518 | editor/src/plugins/tilemap/wfc.rs:641-652 \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 144 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":471}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:242\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/audio/preview.rs:183-194 | editor/src/particle.rs:226-237 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/audio/preview.rs:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/preview.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"045de63cffce62ace7a503e49a6719baf4284e39bd227bc1fcaf1a88f7e1ed85"}},{"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 before extracting anything, compare \u0060editor/src/plugins/collider/cuboid.rs\u0060 and \u0060editor/src/plugins/collider/cuboid2d.rs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/cuboid.rs:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/ragdoll.rs:1110-1121 | editor/src/scene/property.rs:631-642 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/ragdoll.rs:1110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca9b0cc9607546deb7d2e8e89c18179c48c9f837e64d2db7182809774ab258"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-build-tools/src/lib.rs:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-build-tools/src/lib.rs:202\u0060 calls \u0060to_string\u0060 and \u0060fyrox-build-tools/src/lib.rs:148\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/resource/gltf/surface.rs:498\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/resource/gltf/surface.rs:562\u0060 calls \u0060next\u0060, \u0060read_valid_index\u0060 and \u0060fyrox-impl/src/resource/gltf/surface.rs:510\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 (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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/autotile.rs:325\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:450-461 | fyrox-impl/src/scene/transform.rs:463-474 | fyrox-impl/src/scene/transform.rs:475-485 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/transform.rs"},"region":{"startLine":450}}}],"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":"85aa54f80168e017cc2da6168399669ff81092cfcb3b3005f36df70b864d98f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): fyrox-ui/src/inspector/editors/inspectable.rs:167-178 | fyrox-ui/src/inspector/editors/refcell.rs:161-171 \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 53 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50fb02659957710ce83519350b323af11f287a31b6af21fe696d9ff4f1cdcd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-ui/src/messagebox.rs:373-384 | fyrox-ui/src/messagebox.rs:427-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/messagebox.rs:373\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/messagebox.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d112c4416f34a5b5d0737eefad189e7108a588ea7d6f3d452928b5bd190c64ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): fyrox-impl/src/engine/mod.rs:1753-1763 | fyrox-impl/src/engine/mod.rs:1846-1856 | fyrox-impl/src/engine/mod.rs:1887-1897 | fyrox-impl/src/engine/mod.rs:1939-1949 | fyrox-impl/src/engine/mod.rs:2084-2094 | fyrox-impl/src/engine/mod.rs:2119-2129 | fyrox-impl/src/engine/mod.rs:2154-2164 | fyrox-impl/src/engine/mod.rs:2189-2199 | fyrox-impl/src/engine/mod.rs:2364-2374 | fyrox-impl/src/engine/mod.rs:2392-2402 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/engine/mod.rs:1753\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/engine/mod.rs:1858\u0060 calls \u0060iter_mut\u0060 and \u0060fyrox-impl/src/engine/mod.rs:1764\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/engine/mod.rs"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b92515a2d633d8901537d50230dbf91c6c3c5a013a50e25ee2c6e1ac029e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): editor/src/asset/dependency.rs:133-143 | editor/src/plugins/ragdoll.rs:1111-1121 | editor/src/scene/property.rs:632-642 \u2014 before extracting anything, compare \u0060editor/src/asset/dependency.rs\u0060 and \u0060editor/src/plugins/ragdoll.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/dependency.rs:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/dependency.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"105ed4fc699df647f1f9696b17e732ca0c588b4e9118e49e086a87b4a385bf20"}},{"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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"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/interaction/gizmo/move_gizmo.rs:185-195 | editor/src/interaction/gizmo/rotate_gizmo.rs:107-117 \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":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad4dffd5b1fc7caaa4de54792afe8cfa9c1f877245bc3d1861f6ef35ce85a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/absm/mod.rs:846-856 | editor/src/plugins/animation/mod.rs:1010-1020 \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 4 separate duplicated blocks between them, totalling at least 39 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/mod.rs:846\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d43894006c9187954e5bb93d7a5832f12c9ded479fdc874af6659991929a6"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/cone.rs:96\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/curve_editor.rs:283-293 | editor/src/plugins/settings.rs:159-169 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/curve_editor.rs:283\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/curve_editor.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db62be7e468003cb90eb35dd20b2cce2fc6139a36234e005b1fd263692c1e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:116-126 | editor/src/plugins/inspector/editors/script.rs:182-192 \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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/inspector/editors/dyntype.rs:115\u0060 calls \u0060preview_message\u0060 and \u0060editor/src/plugins/inspector/editors/script.rs:180\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79b9cca5ff25711a2cf918d490500f8a8883a1354582114d7bf77380213bde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/inspector/editors/dyntype.rs:315-325 | 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 8 separate duplicated blocks between them, totalling at least 134 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/dyntype.rs:315\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/dyntype.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1df01d843ef7f92b3c530661f4e56c69666c9baefd1005be56a1098f09c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:517-526 | editor/src/plugins/tilemap/wfc.rs:534-544 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/wfc.rs:534\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":517}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/macro_tab.rs:245\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/tile_editor.rs:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/tile_editor.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e843c8c62defda9c81560d6cc5a3eac15a81115ed3cd274bfb27855ecff866fe"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/tileset.rs:296\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (11 lines \u00D7 2): editor/src/plugins/tilemap/wfc.rs:119-129 | editor/src/plugins/tilemap/wfc.rs:174-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":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e821bf51b931d80d8da690d3f94cd50e0480725c2152a751796f4a94d2b5ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/scene/property.rs:186-196 | editor/src/scene/property.rs:221-231 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e8e89d649fcf344ffa22e554de91b5764ffc11c2cf2e95cb1e74910a55fda4"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/program.rs:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/texture.rs:376\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-graphics-gl/src/texture.rs:385\u0060 calls \u0060image_3d_size_bytes\u0060 and \u0060fyrox-graphics-wgpu/src/texture.rs:474\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/resource/fbx/mod.rs:320\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/resource/gltf/material.rs:429\u0060 calls \u0060resource_io\u0060 and \u0060fyrox-impl/src/resource/fbx/mod.rs:331\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/mod.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b424573fc3f3c6dd14fbc119416e08142fef7b8bed795f1efea907831e71f473"}},{"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":"1da6093f4740e5ff6501d16d1333845a80c70c1d1eb6aca5aa14c30a794cd700"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/debug.rs:709\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/character.rs:129\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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 (11 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1251-1261 | fyrox-impl/src/scene/graph/physics/mod.rs:1763-1773 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1251\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d32949222e5bc5f6eed0d40d48993a0d186c147862253ab3f4c13d8d85a3910"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/mesh/surface.rs:636\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/mesh/surface.rs:823\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-math/src/lib.rs:558\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/file_browser/selector.rs:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (10 lines \u00D7 4): fyrox-graphics-gl/src/texture.rs:375-384 | fyrox-graphics-gl/src/texture.rs:579-588 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/texture.rs:375\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/collider/mod.rs:415-424 | editor/src/plugins/collider/mod.rs:551-560 | editor/src/plugins/probe.rs:246-255 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/mod.rs:415\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f255c88c54081db7cb41a782a3bfd4b817957ed3ebd8a97f8f9d90da7dad6"}},{"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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/tilemap/interaction_mode.rs:418\u0060 calls \u0060default\u0060 and \u0060editor/src/plugins/tilemap/interaction_mode.rs:339\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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:609-618 | 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 4 separate duplicated blocks between them, totalling at least 51 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rectangle.rs:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:140-149 | fyrox-ui/src/inspector/editors/array.rs:419-428 | fyrox-ui/src/inspector/editors/collection.rs:617-626 \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 6 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":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c2058ae474b335adca4c424fd8931e280b6af07415099b43deb76182ceb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): fyrox-ui/src/inspector/editors/mod.rs:809-818 | fyrox-ui/src/inspector/editors/mod.rs:819-828 | fyrox-ui/src/inspector/editors/mod.rs:829-838 \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":809}}}],"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:419-426 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/state_graph/mod.rs:307\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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/animation/toolbar.rs:427-436 | editor/src/plugins/animation/toolbar.rs:555-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/toolbar.rs:427\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a93fc97233b7172eec9153c10c04d588c1b89954e5c1796ad76052ba14f6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/collider/mod.rs:411-420 | editor/src/plugins/probe.rs:182-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/mod.rs:411\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3310f17a0aec34d8c5282f022bf23378465bf1afcc579cef5a7976327cc0781b"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/ragdoll.rs:717\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"560c1064dcf3293e19386f7fc9788215ced19d98980b1fef928c6722e0c10502"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 160 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/tilemap/colliders_tab.rs:161\u0060 calls \u0060make_button\u0060 and \u0060editor/src/plugins/tilemap/properties_tab.rs:265\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/tilemap/interaction_mode.rs:696\u0060 calls \u0060pick_grid\u0060 and \u0060editor/src/plugins/tilemap/interaction_mode.rs:513\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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:1557-1566 | editor/src/plugins/tilemap/palette.rs:1602-1611 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d0d491d241cfd9311bcba7ed1a9f15d7cc329af5397f23e9ef9c6ae306378"}},{"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:300-307 | editor/src/ui_scene/mod.rs:281-290 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/ui_scene/mod.rs:281\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/mod.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25b801897ab1734ec3c88eeca443fa235c16c5378f068bcff60df133e6dd0af"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-animation/src/container.rs:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/container.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"98787cd5a2769a4e9edc5a443e3e4e3e75400c35cda7e571994e863daa14457c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fyrox-animation/src/machine/node/blendspace.rs:129-140 | fyrox-animation/src/machine/node/blendspace.rs:163-174 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-animation/src/machine/node/blendspace.rs:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/node/blendspace.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"da810e272df2b1bf2451e89b087f2c4add41b6fede007a9d0c1f605e77f68dc4"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-wgpu/src/framebuffer.rs:952\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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":"68e7e17d84fc74f2e4e2992fc98385fde3e5d1e57985695902e624936a12e986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:824-833 | 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 8 separate duplicated blocks between them, totalling at least 94 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"509acf5447e2303eaadcf1fa4e0685b751ad85bd9a6cd5692f5dd90acd6906ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1124-1133 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:1124\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a5622c6aee0ff1569637e0b517811d95d690ee8af27d4a1f1f85f2da2abd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:1473-1482 | fyrox-impl/src/scene/graph/physics/mod.rs:1995-2004 \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 32 separate duplicated blocks between them, totalling at least 575 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1473}}}],"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:554-563 | fyrox-impl/src/scene/graph/mod.rs:592-601 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/graph/mod.rs:554\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/graph/mod.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b02bedca4772e0e527ae94d725b6cadf5d4b311836915100c07f122879ea5d"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/bit.rs:299\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-ui/src/input.rs:172\u0060 calls \u0060Some\u0060, \u0060send\u0060, \u0060Text\u0060 and \u0060fyrox-ui/src/messagebox.rs:256\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/input.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4885159f33416b5b9209e926578593edfe2ebc61e1ba98c3f5d3d9f2d84366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:407-416 | fyrox-ui/src/inspector/editors/collection.rs:604-613 \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 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/array.rs:407\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e405f9b31d9926c04a14d51491f816f85884207f7800cedd10aeb2916af25049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/inspector/editors/texture_slice.rs:249-258 | fyrox-ui/src/nine_patch.rs:299-308 \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/texture_slice.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"de075692df1159c9dbd7cd05f32015a997381c18270628890008643cc5e09576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): fyrox-ui/src/nine_patch.rs:250-259 | fyrox-ui/src/nine_patch.rs:272-279 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/nine_patch.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb1ec4f68dda0ed494a741299ab8704febd367b2a83502711f723613e565930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): editor/src/plugins/collider/mod.rs:413-421 | editor/src/plugins/collider/mod.rs:549-557 | editor/src/plugins/probe.rs:184-192 | editor/src/plugins/probe.rs:244-252 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/mod.rs:413\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/collider/mod.rs:546\u0060 calls \u0060reset_handles\u0060, \u0060reset_state\u0060 and \u0060editor/src/plugins/collider/mod.rs:411\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/mod.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89694f9aea5acab2ea0367524e05f001a05106ccd08b47e1dcda55e9ca334d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): editor/src/scene/mod.rs:766-774 | editor/src/scene/mod.rs:786-794 | editor/src/scene/mod.rs:806-814 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/mod.rs:766\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/mod.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4868e14801102d6ce8c3f97799e5468ec4fcb48098c0a03752ea58fe1e99cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/interaction/gizmo/move_gizmo.rs:350-358 | 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 65 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":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5dd78ea496b047ce580f58fed3363540200e5d9b94d3a56a6cbbfaa5094d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/interaction/navmesh/mod.rs:268-276 | editor/src/interaction/navmesh/mod.rs:432-440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/navmesh/mod.rs:268\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/navmesh/mod.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4462b1eb94748d0bc3af322bb094d2080357ce0ed9cf24b7977d27933d227b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/interaction/navmesh/selection.rs:99-107 | editor/src/world/selection.rs:103-112 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/navmesh/selection.rs:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/navmesh/selection.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a880ba8facab2f06391298bc6d17e5c87a54b98582dfb6ddf386d680f96c48d"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/connection.rs:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/cone.rs:116\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:526-533 | editor/src/plugins/tilemap/wfc.rs:611-619 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:526\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":526}}}],"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 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/plugins/tilemap/properties_tab.rs:290\u0060 calls \u0060add_column\u0060, \u0060stretch\u0060 and \u0060editor/src/plugins/tilemap/colliders_tab.rs:170\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 (10 lines \u00D7 2): editor/src/plugins/tilemap/commands.rs:841-850 | editor/src/plugins/tilemap/commands.rs:992-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dfdc67eada35c96a8fc336d6153c075fe1a9ea0845cc2640728d5c5579bdc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/scene/container.rs:146-154 | editor/src/scene/container.rs:182-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/container.rs:146\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/container.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16eb074340d053571cdd64c68eb4c61034c5d7eaf99caec36ee241cf94ed9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/scene/property.rs:97-105 | 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 7 separate duplicated blocks between them, totalling at least 78 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":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be009ea05668a4b9f893f037fb7acbc217aa76c310fb06801d648fabf923f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-autotile/src/auto.rs:173-181 | fyrox-autotile/src/auto.rs:184-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-autotile/src/auto.rs:173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-autotile/src/auto.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8138082d91054b67e45c65f245d9f42aa8b8043cc0798a83325bcac1e10c8e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-core/src/pool/mod.rs:916-924 | fyrox-core/src/pool/mod.rs:963-971 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/pool/mod.rs:916\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060handles\u0060 to \u0060(Handle\u003CT\u003E, Handle\u003CT\u003E, Handle\u003CT\u003E)\u0060 in one and \u0060(Handle\u003CT\u003E, Handle\u003CT\u003E, Handle\u003CT\u003E, Handle\u003CT\u003E)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-core/src/pool/mod.rs:972\u0060 calls \u0060borrow_mut\u0060 and \u0060fyrox-core/src/pool/mod.rs:925\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":916}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/visitor/impls.rs:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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:1696-1704 | fyrox-graph/src/lib.rs:1764-1772 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graph/src/lib.rs:1696\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graph/src/lib.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a04e32144c49a772befe2ee73a4c96c897e19d50413f67f1a6bd03ba0cba47"}},{"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:624-632 | 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 32 separate duplicated blocks between them, totalling at least 575 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":624}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rigidbody.rs:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rigidbody.rs:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/scene/rigidbody.rs:311\u0060 calls \u0060clone\u0060 and \u0060fyrox-impl/src/scene/dim2/rigidbody.rs:220\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rigidbody.rs:662\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/mesh/surface.rs:420\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (13\u201318 lines \u00D7 2): fyrox-impl/src/scene/terrain/mod.rs:2272-2284 | fyrox-impl/src/scene/terrain/mod.rs:2299-2316 \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":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2014d672f86d597139522254eec0128b8a6402f603485b877d607f1a3224f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/tilemap/mod.rs:595-604 | fyrox-impl/src/scene/tilemap/mod.rs:606-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/mod.rs"},"region":{"startLine":595}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/matrix.rs:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/matrix.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de4981aefed4b71da334cb720e64605955e5f051e2c55b3e5bfb8ebc71837c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): fyrox-impl/src/scene/debug.rs:705-714 | fyrox-impl/src/scene/debug.rs:762-771 | fyrox-impl/src/scene/mesh/surface.rs:622-631 | fyrox-impl/src/scene/mesh/surface.rs:763-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/debug.rs:705\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/debug.rs"},"region":{"startLine":705}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/visitor/impls.rs:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/terrain/brushstroke/mod.rs:987\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/brushstroke/mod.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"429aad44214eb447567642e5722da9fead008b7a7f32d63f0b8832f10989e8d2"}},{"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 before extracting anything, compare \u0060fyrox-ui/src/inspector/editors/immutable_string.rs\u0060 and \u0060fyrox-ui/src/inspector/editors/string.rs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/char.rs:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:324-331 | editor/src/particle.rs:328-335 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/audio/preview.rs:324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/preview.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f066f25e2df0b809ffba6c7374087fc9c0dc108ca81df3dd7f57c05f84a7c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/interaction/rotate_mode.rs:200-207 | editor/src/interaction/scale_mode.rs:192-199 \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 6 separate duplicated blocks between them, totalling at least 84 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/rotate_mode.rs:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086d42b34e7048ab1efbc2ec454c7157ee60494f1bc2dac714f9865b5fedfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/absm/state_viewer/mod.rs:634-641 | editor/src/plugins/absm/state_viewer/mod.rs:651-658 \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":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"16171a4d1b9de557be4df3408830c248bbeb5adf8f892b18fc4040367c945861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:226-233 | editor/src/plugins/tilemap/wfc.rs:273-280 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf0ef37e288227b7e17cee70d86061bfe8a645702d5b44ae0a266a68964edce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:584-591 | editor/src/plugins/tilemap/wfc.rs:561-568 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:584\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"251a697d14275d8648bbf2454303d412670a3778b71d6f38f4f3c2e12c6ccbc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:879-888 | editor/src/plugins/tilemap/wfc.rs:892-901 \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 144 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":879}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/collider_editor.rs:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/commands.rs:1147-1154 | editor/src/plugins/tilemap/commands.rs:1197-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/commands.rs:1147\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57c028dd135d715ead1010580297b7484238f503cd233a4071ec342af890195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1496-1506 | editor/src/plugins/tilemap/palette.rs:1510-1520 \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":1496}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/properties_tab.rs:308\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:522-529 | 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 7 separate duplicated blocks between them, totalling at least 78 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:522\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b267251fb5d9e3bb62c5a8c861f880c0cc99391f6ba02dcbae789fab43f072f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-animation/src/machine/node/blend.rs:197-204 | fyrox-animation/src/machine/node/blend.rs:211-218 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-animation/src/machine/node/blend.rs:197\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/machine/node/blend.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaa8c3532c93fc3817f95110600f2e0adf197ce691962e715c3346dc9475ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:589-604 | fyrox-impl/src/scene/mesh/surface.rs:560-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/debug.rs:589\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/scene/rigidbody.rs:858\u0060 calls \u0060into\u0060 and \u0060fyrox-impl/src/scene/dim2/rigidbody.rs:680\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 (10 lines \u00D7 2): fyrox-ui/src/draw.rs:362-371 | fyrox-ui/src/draw.rs:439-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/draw.rs:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/draw.rs"},"region":{"startLine":362}}}],"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 (6\u20138 lines \u00D7 2): fyrox-ui/src/lib.rs:1353-1358 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/lib.rs:1353\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b3fae300b0c0aee08f7908cd7d46d37231f1e5387ee555e7610772dd2cdb8c"}},{"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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/tilemap/colliders_tab.rs:161\u0060 calls \u0060make_button\u0060 and \u0060editor/src/plugins/tilemap/macro_tab.rs:216\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"943ec3fe77398fea3c23eedeb116cfef20d19997caae8544b74e26363c5651b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): editor/src/lib.rs:684-703 | editor/src/lib.rs:707-726 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/lib.rs:684\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4e1da7e2d899e87b77f0b9a04da30ace3377cc9c0cb4435e44058ab5deb533"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/command/mod.rs:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/collider/cuboid.rs:79-85 | editor/src/plugins/collider/cuboid2d.rs:75-81 \u2014 before extracting anything, compare \u0060editor/src/plugins/collider/cuboid.rs\u0060 and \u0060editor/src/plugins/collider/cuboid2d.rs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/cuboid.rs:79\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/collider/cuboid.rs:87\u0060 calls \u0060Some\u0060 and \u0060editor/src/plugins/collider/cuboid2d.rs:83\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 before extracting anything, compare \u0060editor/src/plugins/collider/cuboid.rs\u0060 and \u0060editor/src/plugins/collider/cuboid2d.rs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/cuboid.rs:129\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/ragdoll.rs:738\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa6612c46266a3f5a5f6dfa4bef1e7271190c24c6be31025ea681ecc5e6b615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:275-282 | editor/src/plugins/tilemap/autotile.rs:647-654 \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":275}}}],"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 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/tile_inspector.rs:597\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:308-314 | 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 7 separate duplicated blocks between them, totalling at least 78 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:308\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dfef92006a52dd1b87818608b7dffe6bf6dc335db5c11419109fdb589ed415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/renderer/convolution.rs:98-104 | fyrox-impl/src/renderer/convolution.rs:181-187 \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":98}}}],"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":"9a408b846f4ac6454d6e19bf2ce542c513c6e4a80a4b28383dc4d84b2c6e2beb"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/debug.rs:605\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/physics/mod.rs:941-947 | fyrox-impl/src/scene/graph/physics/mod.rs:1382-1388 \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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:941\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"950fadd1bbee4fc1070fcaa9f61e42b822c6e288ad4faf861dd45b5f15164274"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rigidbody.rs:518\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/tileset.rs:389\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"de45a233287e4c56956e73457417c7c28070198a303efc0167704df7ee46535d"}},{"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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"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/image.rs:247-253 | fyrox-ui/src/image.rs:263-269 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/image.rs:247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/image.rs"},"region":{"startLine":247}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/key.rs:284\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/key.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"382972fa85e95be02656b61944ebb1b9319b529a22d788e636962709979a03cf"}},{"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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"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 2): editor/src/plugins/absm/mod.rs:714-719 | editor/src/plugins/absm/mod.rs:727-732 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/mod.rs:714\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57ae82e2ce8396c48f475d12e786af42068c109ad5e075ae58e344f5ee2c197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/colliders_tab.rs:311-319 | editor/src/plugins/tilemap/properties_tab.rs:618-626 \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 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:311\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/colliders_tab.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb265988ef2f19309ed0b99d8bdb544d377c255182f47902b979dae7385a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/scene/property.rs:374-379 | 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 7 separate duplicated blocks between them, totalling at least 78 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:374\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":374}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core-derive/src/reflect.rs:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/texture.rs:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-graphics-gl/src/texture.rs:363\u0060 calls \u0060image_2d_size_bytes\u0060 and \u0060fyrox-graphics-wgpu/src/texture.rs:456\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 (8 lines \u00D7 2): fyrox-impl/src/renderer/bundle.rs:1190-1197 | fyrox-impl/src/renderer/bundle.rs:1255-1262 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/renderer/bundle.rs:1190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/renderer/bundle.rs:1198\u0060 calls \u0060get_or_create\u0060, \u0060default\u0060 and \u0060fyrox-impl/src/renderer/bundle.rs:1263\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/bundle.rs"},"region":{"startLine":1190}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/renderer/light_volume.rs:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-impl/src/renderer/light_volume.rs:125\u0060 calls \u0060clear\u0060, \u0060Some\u0060 and \u0060fyrox-impl/src/renderer/light_volume.rs:185\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/renderer/ui_renderer.rs:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (7 lines \u00D7 2): fyrox-impl/src/scene/debug.rs:1056-1062 | fyrox-impl/src/scene/debug.rs:1064-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":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3fe603ba572fd2d33f125f4ccc32987cd9674bd46903d3f7235b94bb2d6a46"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/mod.rs:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/tileset.rs:399\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (8 lines \u00D7 2): fyrox-ui/src/bit.rs:326-333 | fyrox-ui/src/bit.rs:352-359 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/bit.rs:326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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/inspector/editors/texture_slice.rs:124-129 | fyrox-ui/src/inspector/editors/texture_slice.rs:247-255 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bee2d0d0046d77477063d2d84124abd8317bf4f903eaa47b137fd796f265388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/scroll_bar.rs:281-290 | fyrox-ui/src/scroll_bar.rs:303-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/scroll_bar.rs:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/scroll_bar.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10997a12b350fbe4ab6248de58bc4804844c3938bf16ddc464f6e52a1bdfd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-ui/src/utils.rs:146-151 | fyrox-ui/src/utils.rs:174-179 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/utils.rs:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/utils.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b342546e18ca7400cb206ac462b079b22668ba2408c18c00bb5fa734229474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-ui/src/wrap_panel.rs:190-195 | fyrox-ui/src/wrap_panel.rs:208-213 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/wrap_panel.rs:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/wrap_panel.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317cd7e3d7960f0c6787ff289312fac832f1b050223ebefc5aae835060d4cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/audio/preview.rs:307-311 | editor/src/particle.rs:306-311 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/audio/preview.rs:307\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/preview.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff12fccd59d205e319916be7ccafdca07a7a35d629a6ba3763e1bc1fbc1dc53a"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/palette.rs:584\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (3\u20135 lines \u00D7 4): editor/src/plugins/tilemap/palette.rs:1740-1742 | editor/src/plugins/tilemap/palette.rs:1754-1758 | editor/src/plugins/tilemap/palette.rs:1770-1774 | editor/src/plugins/tilemap/panel_preview.rs:228-230 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/palette.rs:1754\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0195a8a9f3095452982650c1f1c39b730ed9d1344e89d72d2afb471e7031da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-core/src/reflect/mod.rs:935-939 | fyrox-core/src/reflect/mod.rs:965-969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-core/src/reflect/mod.rs:935\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/reflect/mod.rs"},"region":{"startLine":935}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/resource/gltf/surface.rs:564\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-impl/src/resource/gltf/surface.rs:562\u0060 calls \u0060next\u0060, \u0060read_valid_index\u0060 and \u0060fyrox-impl/src/resource/gltf/surface.rs:509\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/debug.rs:1019\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (6 lines \u00D7 2): fyrox-impl/src/scene/dim2/rectangle.rs:336-341 | fyrox-impl/src/scene/sprite.rs:335-340 \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 4 separate duplicated blocks between them, totalling at least 51 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/rectangle.rs:336\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/rectangle.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0bd04e62c1bd98092f9f9013bcd09ca750040de56069eee4c3a1c6c90dc579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/node/mod.rs:144-149 | fyrox-ui/src/control.rs:166-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":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f9c260821490f3f32eaa7681fb7158d39bb7ab7a0c9bf4057ed49ea037933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fyrox-impl/src/scene/tilemap/tileset.rs:609-614 | fyrox-impl/src/scene/tilemap/tileset.rs:1479-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/tilemap/tileset.rs:609\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/tileset.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"2358d6c99d2c45bae31c6623a371cc624f07a4780b271f85be81e0157456841a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-ui/src/inspector/editors/array.rs:132-136 | fyrox-ui/src/inspector/editors/collection.rs:230-234 \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 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/array.rs:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/array.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d58672dd347c2e7e523f93e11452b0a915a8f4057a8dedd6dd93584657df07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-ui/src/inspector/editors/string.rs:78-82 | fyrox-ui/src/inspector/editors/utf32.rs:77-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/string.rs:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/string.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4439bc24ea02b48862cba418835136d6172f180e278020876eb41886330a2865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): editor/src/asset/creator.rs:165-174 | editor/src/plugins/absm/blendspace.rs:808-817 | editor/src/plugins/curve_editor.rs:330-339 | editor/src/plugins/export.rs:342-351 | editor/src/plugins/light.rs:205-214 \u2014 before extracting anything, compare \u0060editor/src/asset/creator.rs\u0060 and \u0060editor/src/plugins/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:261-270 | 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:193-204 | 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":261}}}],"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 5): editor/src/plugins/absm/mod.rs:526-535 | editor/src/plugins/animation/mod.rs:355-364 | editor/src/plugins/light.rs:337-346 | editor/src/plugins/ragdoll.rs:1137-1146 | fyrox-ui/src/log.rs:251-260 \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 4 separate duplicated blocks between them, totalling at least 39 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ui\u0060 to \u0060\u0026UserInterface\u0060 in one and \u0060\u0026mut UserInterface\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/mod.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bd0b5b9085276f29ae3cf842dc4deccb675aec2bc7dbe43517c4160615786d"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/cone.rs:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:934-938 | editor/src/plugins/tilemap/wfc.rs:947-951 \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 144 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":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"f563432c490762be3ee284d4178be7e0d5bd0f9827776e1482f1bc2d0647657a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:963-967 | editor/src/plugins/tilemap/wfc.rs:976-980 \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 144 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":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"14086757062cccbf08672b23d4ad4fd966240999d5db392746cbdb777c3c2157"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/colliders_tab.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (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 160 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 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/tile_inspector.rs:445\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:816-821 | 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 8 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/collider.rs:816\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a9336c0ade18e43103490b5e70975a8d655aca805790f41967c0d9a926b2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:537-544 | 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 32 separate duplicated blocks between them, totalling at least 575 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":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba29cbf66500c7aa6ec7f03c453d57a326d62a559ca4fd492b30774a5ff37a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:776-785 | 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 32 separate duplicated blocks between them, totalling at least 575 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":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e415cadfe6f1d8bccf3cbcc37ce38ae920c2ec0f78a06025419f27d1da286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:810-814 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:810\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"204011d4ad9b99f1c94dd07e2d93a06870622b560b5af8413a7b1aad2e2cda03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:816-820 | 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 32 separate duplicated blocks between them, totalling at least 575 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":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2b3ecf9e5860054d5582ded21c63dd2696e42cc476b954bdf36321a83b4518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:824-833 | 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 32 separate duplicated blocks between them, totalling at least 575 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":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5a317eeb438b5409287f99c43f20cd16cce186a28f7e7acf3b2ba65bd72252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:968-981 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:968\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05ec37f1ae80b0825db8e53f48bc54e9063442730820aee6a0c410b2d5ab9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-impl/src/scene/dim2/physics/mod.rs:987-996 | 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 32 separate duplicated blocks between them, totalling at least 575 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/mod.rs:987\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rigid_body\u0060 to \u0060\u0026scene::dim2::rigidbody::RigidBody\u0060 in one and \u0060\u0026scene::rigidbody::RigidBody\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"af87555ae2120d2776baafb888853bbfbf187d5e5f9e4312746f17d2a33e4ef0"}},{"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 4 separate duplicated blocks between them, totalling at least 51 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:2013-2019 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fyrox-impl/src/scene/tilemap/brush.rs:330\u0060 calls \u0060page_icon\u0060, \u0060get\u0060 and \u0060fyrox-impl/src/scene/tilemap/tileset.rs:2021\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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:925-931 | 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":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c484e00ac3f7402dcf421c4bb0aef3b5c986c5c053e7f3e4dba0f171dc7f970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/list_view.rs:346-356 | 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":346}}}],"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:1442-1450 \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:416-423 | fyrox-ui/src/text_box.rs:1125-1132 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/text.rs:416\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/text.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ccbc525407536f23420a15f670c88b323f0d6f7f47b8fef3b6374456cefb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): editor/src/interaction/move_mode.rs:485-493 | editor/src/interaction/rotate_mode.rs:268-276 | editor/src/interaction/scale_mode.rs:243-251 \u2014 before extracting anything, compare \u0060editor/src/interaction/move_mode.rs\u0060 and \u0060editor/src/interaction/rotate_mode.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/move_mode.rs:485\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/move_mode.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"791119d0b796a42ea8f75700c9ac09d86766e860d138b5c46f9316383446b28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): editor/src/interaction/move_mode.rs:495-502 | editor/src/interaction/rotate_mode.rs:278-285 | editor/src/interaction/scale_mode.rs:253-260 \u2014 before extracting anything, compare \u0060editor/src/interaction/move_mode.rs\u0060 and \u0060editor/src/interaction/rotate_mode.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6d3fa3e22d22e540fd83652603941e3a734d14743ea2fd1611acf06c2316ad"}},{"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 6 separate duplicated blocks between them, totalling at least 84 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 (5 lines \u00D7 2): editor/src/plugins/absm/mod.rs:824-828 | editor/src/plugins/animation/mod.rs:988-992 \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 4 separate duplicated blocks between them, totalling at least 39 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":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc95eafa3a648a58538eb725aa2faa439c64f9556faae18f6093317c0f73ed3d"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/absm/state_viewer/mod.rs:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/ball.rs:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/ball.rs:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/collider/ball.rs:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:224-231 | editor/src/plugins/inspector/editors/surface.rs:339-346 | editor/src/plugins/material/editor.rs:405-411 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/font.rs:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/font.rs"},"region":{"startLine":224}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/handle.rs:486\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/triangle_buffer.rs:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:349-359 | editor/src/plugins/tilemap/wfc.rs:385-395 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca8f57e93a10f3865c420e0c76edc160859e7d010af98d708814e467e1331a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:869-877 | editor/src/plugins/tilemap/wfc.rs:882-890 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:869\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ca25791e45d82c629f3a19585a564182ce4533dd9f61283475030354bdc56"}},{"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:509-515 | 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 7 separate duplicated blocks between them, totalling at least 78 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":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b345fbfac1fd0e8320b715d396fa1dbf892a8efebe585a2e61cd3932d47b1467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/ui_scene/selection.rs:180-186 | editor/src/world/selection.rs:183-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060handle\u0060 to \u0060Handle\u003CUiNode\u003E\u0060 in one and \u0060Handle\u003CNode\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/ui_scene/selection.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"47459125df3e805118eeb99e5042e360e584b5a1d8b5be2f8fda0d93d7d7ccb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/ui_scene/utils.rs:186-196 | editor/src/world/graph.rs:160-170 \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/utils.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01e28e3df76a0fe6461cceaf6071263b56eae41b89e32241f583ea6697ea889"}},{"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":"1bab583eb7e88a419a560132b90ed537242ed3dd40c4a8ac52c8b435741b9dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-graphics-gl/src/server.rs:1363-1372 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/server.rs:1363\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efdf785b1df8f2aba6c61678dc43a6d591b528b08bfb5d6128877e73118bf8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fyrox-graphics-gl/src/server.rs:1382-1392 | 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-graphics-gl/src/server.rs:1382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/server.rs"},"region":{"startLine":1382}}}],"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":"baf08fe32be546415c9d726c8c2e2f588e46a2452335b7f1ff9785572640818e"}},{"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:872-877 | 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 8 separate duplicated blocks between them, totalling at least 94 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":872}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/physics/character.rs:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060old_new_mapping\u0060 to \u0060\u0026NodeHandleMap\u003CNode\u003E\u0060 in one and \u0060\u0026NodeHandleMap\u003CUiNode\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"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 2): fyrox-impl/src/scene/graph/mod.rs:1633-1639 | fyrox-ui/src/lib.rs:3290-3296 \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":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea07939c928a8f97e4ca4f04004f37108e5d7e004cba2cbef39687f3ebf1c330"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/bit.rs:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (10 lines \u00D7 2): fyrox-ui/src/stack_panel.rs:239-248 | fyrox-ui/src/wrap_panel.rs:263-272 \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/stack_panel.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebfe6ed2a291b15b1343b371e0fb0f73937a1cb17cd17d9f048fb4e4dd8e8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/particle.rs:90-103 | editor/src/particle.rs:112-125 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/particle.rs:90\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/particle.rs:87\u0060 calls \u0060build\u0060 and \u0060editor/src/particle.rs:110\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/particle.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9205b13b1209dd04e885ac82bc730422a72c2a4c9d0d4dab7382eaccc9dab40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:603-616 | editor/src/plugins/animation/toolbar.rs:635-647 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/toolbar.rs:603\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/plugins/animation/toolbar.rs:648\u0060 calls \u0060with_min_value\u0060 and \u0060editor/src/plugins/animation/toolbar.rs:617\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5019efaefec20b21a3dc278e27f6f4a953536762df363f800e1523505b5e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-ui/src/curve/mod.rs:1866-1879 | fyrox-ui/src/curve/mod.rs:1889-1902 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/curve/mod.rs:1866\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b087f52df7c9fd7dafe8e6c64b64f3f90a557a917997df3f6caf116c94cd0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): editor/src/particle.rs:176-189 | fyrox-ui/src/path.rs:209-222 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/particle.rs:176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060editor/src/particle.rs:191\u0060 calls \u0060add_column\u0060, \u0060auto\u0060 and \u0060fyrox-ui/src/path.rs:224\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/particle.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3e46dbd89d813b38c9aa49a436b12902550353509ee55b78afe7ce1cc4fe5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): editor/src/asset/dependency.rs:124-137 | editor/src/asset/mod.rs:973-986 | editor/src/plugins/export.rs:274-287 | editor/src/plugins/inspector/editors/spritesheet/window.rs:330-343 | editor/src/plugins/ragdoll.rs:1102-1115 | editor/src/plugins/settings.rs:149-162 | fyrox-ui/src/messagebox.rs:363-376 | fyrox-ui/src/messagebox.rs:417-430 \u2014 before extracting anything, compare \u0060editor/src/asset/dependency.rs\u0060 and \u0060editor/src/plugins/ragdoll.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/dependency.rs:124\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/dependency.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e379e8e8ab57af58ba661cb62a4f224a6c68a12560e3a863d6a5b280cca35cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fyrox-ui/src/curve/mod.rs:1973-1986 | fyrox-ui/src/inspector/mod.rs:1574-1587 \u2014 \u0060fyrox-ui/src/curve/mod.rs\u0060 and \u0060fyrox-ui/src/inspector/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 3 separate duplicated blocks between them, totalling at least 36 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/curve/mod.rs:1973\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8112827fe97f72ceae50fc31624d6096199b9bc520bf3d9bb8546ee71e74a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fyrox-impl/src/renderer/shadow/point.rs:81-93 | fyrox-impl/src/renderer/shadow/spot.rs:66-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/renderer/shadow/point.rs:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/shadow/point.rs"},"region":{"startLine":81}}}],"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/dim2/joint.rs:349\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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): editor/src/configurator.rs:234-246 | editor/src/scene/dialog.rs:116-128 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/configurator.rs:234\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/configurator.rs:231\u0060 calls \u0060with_tab_index\u0060, \u0060Some\u0060, \u0060with_enabled\u0060 and \u0060editor/src/scene/dialog.rs:114\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/configurator.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4820a1d3adc955e69a55d70dde39775f270bda695f637a0753375210e98088e"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-build-tools/src/lib.rs:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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 (23 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:902-924 | fyrox-impl/src/scene/dim2/collider.rs:707-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 8 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/collider.rs:902\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"c277d6bba787391b11d1e068ec261ebe67147e8435c033f41afd4065b87618b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/plugins/animation/toolbar.rs:636-648 | editor/src/plugins/animation/toolbar.rs:653-664 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/toolbar.rs:636\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/toolbar.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ec3341ca696d23ca6a2192ebced00cf7f9ca7c7dc59be859fe5c6e41d26beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/scene/property.rs:444-456 | editor/src/scene/selector.rs:382-393 \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 7 separate duplicated blocks between them, totalling at least 78 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:444\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb93e18928ea4f72572b7dd469408f5091e78f1c357c73ec2ce0a29f8941c1"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/ragdoll.rs:729\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"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): editor/src/scene_viewer/mod.rs:399-410 | editor/src/scene_viewer/mod.rs:424-435 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene_viewer/mod.rs:399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6844d4cafa3b3c8003be5a942ac0a999808992786640055aea929f14f135d9"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-build-tools/src/lib.rs:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-build-tools/src/lib.rs:202\u0060 calls \u0060to_string\u0060 and \u0060fyrox-build-tools/src/lib.rs:181\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"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 (11 lines \u00D7 2): editor/src/audio/mod.rs:227-238 | editor/src/audio/preview.rs:127-137 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/audio/mod.rs:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b6943c36e69feaab25f3c9b4e32ab66b1d68bdb177011c83a796e1624fa7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): editor/src/audio/mod.rs:229-240 | editor/src/audio/mod.rs:260-271 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/audio/mod.rs:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8530f11f982375c7f6d959f797e57d52711289556bfdb4b6d9dd4686ab561717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): editor/src/scene_viewer/mod.rs:399-410 | editor/src/scene_viewer/mod.rs:424-435 | editor/src/scene_viewer/mod.rs:449-459 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene_viewer/mod.rs:399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d765fe9f7bb2a3310f7c76c8122ea4a3098aa2ec8b8b1425d5674b22c28248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/curve/mod.rs:1961-1971 | fyrox-ui/src/inspector/mod.rs:1568-1578 \u2014 \u0060fyrox-ui/src/curve/mod.rs\u0060 and \u0060fyrox-ui/src/inspector/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 3 separate duplicated blocks between them, totalling at least 36 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/curve/mod.rs:1961\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab98160c118642ccd4cd43a333e7f91e986ef6fc99761f2f0025e565526b4af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fyrox-ui/src/input.rs:271-281 | fyrox-ui/src/input.rs:283-293 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/input.rs:271\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/input.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff20b5dc4fc0426bca2f6ef6f355a1b3afaf37561acf2f22fcb005ca6a9f8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): fyrox-ui/src/curve/mod.rs:1917-1927 | fyrox-ui/src/curve/mod.rs:1961-1970 | fyrox-ui/src/inspector/mod.rs:1568-1577 \u2014 \u0060fyrox-ui/src/curve/mod.rs\u0060 and \u0060fyrox-ui/src/inspector/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 3 separate duplicated blocks between them, totalling at least 36 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/curve/mod.rs:1917\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5d2591c14d2d1f34d45bb7b90d36e4004f75fdf228acc8de55f49234433037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/inspector/editors/spritesheet/window.rs:262-272 | editor/src/plugins/inspector/editors/spritesheet/window.rs:281-291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/inspector/editors/spritesheet/window.rs:262\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/inspector/editors/spritesheet/window.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f4a9347c3fac4e3fd4024ca39c2bba04d3de1128791754fc72a37261abe26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): editor/src/plugins/export.rs:263-273 | editor/src/plugins/settings.rs:138-148 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/export.rs:263\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/export.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0209887e77314bb029b69f253982d218e8baf465ab527b180829bd793efd606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/interaction/gizmo/scale_gizmo.rs:137-146 | editor/src/interaction/terrain.rs:254-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/interaction/gizmo/scale_gizmo.rs:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/scale_gizmo.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e77051caf60604a348cfa68640a1a6b0401d4b6220863b437d4c656faa1fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fyrox-ui/src/color/gradient.rs:371-380 | fyrox-ui/src/log.rs:64-73 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/color/gradient.rs:371\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/color/gradient.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a76b6657edd100e31150279b85891226619ab17eb5971f64e007d1353fd74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/particle.rs:130-139 | editor/src/particle.rs:183-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/particle.rs:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/particle.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe15334c108667e818a77fabbe0066ee285d87f23c7ff5630b4f02ca297208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): editor/src/scene_viewer/mod.rs:139-148 | editor/src/scene_viewer/mod.rs:155-164 | editor/src/scene_viewer/mod.rs:171-180 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene_viewer/mod.rs:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene_viewer/mod.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5269ec78612da478592ae800116628d3d0544c2bb4b8ca0da655c7fa3c98bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): editor/src/scene/property.rs:200-209 | editor/src/scene/property.rs:252-261 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/scene/property.rs:200\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d533f06927c5bd6dcd2f463dd5b9ccd4d7f11d0d00751d35a66bf7ae9fea18"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/mesh.rs:350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:574-582 | editor/src/plugins/tilemap/wfc.rs:551-559 \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 144 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:574\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43c454b208b23497fd9b6aaa8f0ec3635bf30184a1b819cd2b069d45d799f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/plugins/tilemap/autotile.rs:580-588 | editor/src/plugins/tilemap/autotile.rs:593-601 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/tilemap/autotile.rs:580\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d89df5dd01568a32241a0b2edfca8ab70d03ee3c688f7f8df359f6dff694d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-build-tools/src/export/utils.rs:147-155 | fyrox-build-tools/src/export/utils.rs:174-182 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-build-tools/src/export/utils.rs:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fyrox-build-tools/src/export/utils.rs:171\u0060 calls \u0060arg\u0060 and \u0060fyrox-build-tools/src/export/utils.rs:144\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-build-tools/src/export/utils.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"20af5f0998d27b93e5c14b2736cfa44726c5ba5eea20c5cf065a1cfbcc5f03f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/asset/dependency.rs:90-98 | editor/src/plugins/light.rs:121-129 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/asset/dependency.rs:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/dependency.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"057728e656ca27798721bcc601a6cde163d0b0bb494e033b93ab1e9d18311962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): editor/src/lib.rs:976-984 | editor/src/lib.rs:986-994 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/lib.rs:976\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b8b3365d20c85e54d160c1067d0bd395e74322fa0fdd6b8ef849465e5ff920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fyrox-ui/src/file_browser/mod.rs:691-699 | fyrox-ui/src/file_browser/mod.rs:704-712 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/file_browser/mod.rs:691\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/file_browser/mod.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef382e34bdc73c544503ae92196d8538a91810aa875f2c34b0a4a30994c971e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/light.rs:124-130 | editor/src/scene/dialog.rs:62-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/light.rs:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/light.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71dfcacf1d57b366db89f047eaee1c62866507601c03a322a703bda1802e99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fyrox-impl/src/scene/collider.rs:838-844 | 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 8 separate duplicated blocks between them, totalling at least 94 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":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66474153c25895b342d0bd6eea114ee975e11eafa7f6c7ce45dbed63fa38cf"}},{"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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"0354d00c33ea9bd976ca3417dc0cd53dea937b78322460dd8fcf9362f23c9ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): editor/src/plugins/animation/track.rs:882-887 | editor/src/plugins/animation/track.rs:888-893 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/plugins/animation/track.rs:882\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/animation/track.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"070dc1092af935f553e207f25e5d5596170b06b85f13460dd5f770ec3bc7018a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): fyrox-ui/src/inspector/editors/texture_slice.rs:623-628 | fyrox-ui/src/inspector/editors/texture_slice.rs:630-635 | fyrox-ui/src/inspector/editors/texture_slice.rs:637-642 | fyrox-ui/src/inspector/editors/texture_slice.rs:644-649 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/inspector/editors/texture_slice.rs:623\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/texture_slice.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bacbe0a902dcf65108a9fc510373a8e20805a6ef10f60b223decfc9a4f23bd"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060editor/src/mesh.rs:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:257-262 | 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 65 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060editor/src/interaction/gizmo/scale_gizmo.rs:192\u0060 calls \u0060set_mesh_diffuse_color\u0060, \u0060opaque\u0060 and \u0060editor/src/interaction/gizmo/move_gizmo.rs:256\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9812434f573c29651f4293dcb6a0fe7eb2d8b1e8b29e1aac6a8a88031bc79cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): editor/src/plugins/tilemap/palette.rs:1583-1589 | editor/src/plugins/tilemap/palette.rs:1591-1597 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/palette.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"41871afab39fc595f5fd240e3cd9b2bb58d712a0ef7dcecd99c963e64904e473"}},{"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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-impl/src/scene/mesh/surface.rs:576\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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:509-513 | fyrox-ui/src/style/mod.rs:574-578 \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":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"72397e871f024de44f0e6f3669ee9e3be45fea00789a0c7602f89dddf7a426b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fyrox-ui/src/test.rs:168-179 | fyrox-ui/src/test.rs:181-198 \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-ui/src/test.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc084b5ddaa5a0ae17463881f4d2507f6fb3c326e9788cbeba5fe7a60fd39cfe"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fyrox-ui/src/test.rs:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"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":"f02faca58c18ff8c080eec2213ddd79a327af2172cd7762cc479ec30f4ab0e86"}},{"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":"D6","level":"warning","message":{"text":"Low cohesion: TileSetUpdate (LCOM4 11): TileSetUpdate\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/update.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a33d72e612b15dc01af336ade81855454271d271ec364cd5bda36ab657c99a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AutoTileMacro (LCOM4 10): AutoTileMacro\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/autotile.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dfd58ee34baa4367d8c081d7ab50fc78414e7bcca5fb9be01fee08c602128b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WfcMacro (LCOM4 8): WfcMacro\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/tilemap/wfc.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"285c4ade616033ba9416c96daf03efb122e08b80b68518c76611dc8ed499cd04"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TransTilesUpdate (LCOM4 8): TransTilesUpdate\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/update.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce607e5d4a69ccab1903943f01c9588e21a74d530a520ad79032465b5c3f9cc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Pool (LCOM4 6): Pool\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/pool/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d65ccbb33b022d4a6ef0317dfc184de060aa8907ac52257c4fc50738c9297fd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Widget (LCOM4 6): Widget\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/widget.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b4997246de9736f83475407f9efecb630955d12bb033956864971e18aad2e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Visitor (LCOM4 4): Visitor\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4460372d67b2db525fe91d53352d3928161e95237e8d89465800badc68af9f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TypeArgs (LCOM4 4): TypeArgs\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core-derive/src/reflect/args.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a46fbffdcb31014564ed662d7a058ab8bc5c4467c6db9ddbd2d7a5579fa7462"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SoundSource (LCOM4 4): SoundSource\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-sound/src/source.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6062c630f95f9d283e30ce0bf7331188767ebbfe50f0d13d5715f9c1c65f223"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CurveEditorBuilder (LCOM4 4): CurveEditorBuilder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/curve/mod.rs"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fde4403c59547b54a7df8f5df78b130543d78c9a5593b3043f3aecd300823e"}},{"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"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/text_box.rs: fyrox-ui/src/text_box.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 99 in TextBox::handle_routed_message at line 1147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/text_box.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/text_box.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e97a6de343c68569a2cda736ef4434c722bb44fdce3f58773d388c9c0a69910"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/scene_viewer/mod.rs: editor/src/scene_viewer/mod.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in SceneViewer::handle_ui_message at line 698. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \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":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3b011117b0922dc97408a2e4e63acb092338bd14a119a56d7ed7f794f88760"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/inspector/mod.rs: editor/src/plugins/inspector/mod.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in InspectorPlugin::on_ui_message at line 571. 2 of those changes were fix/bug commits, and the other 14 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \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":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d338ff5e2f17fbc42743b95193d601664c2ccd4a31a5c2ed7b626745966c736"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/inspector/mod.rs: fyrox-ui/src/inspector/mod.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Inspector::handle_routed_message at line 1734. 3 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/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":"fyrox-ui/src/inspector/mod.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"34685a84f43c4ef4526ce68c6745feee7a9eb3cbad378301f900f1ff00aeab51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/formatted_text.rs: fyrox-ui/src/formatted_text.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in FormattedText::arrange at line 1088. 5 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \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":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"4597032c477612d002b691f30e287ff11ea01cddbedf057ba7423383e2044664"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/asset/mod.rs: editor/src/asset/mod.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in AssetBrowser::handle_ui_message at line 632. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- editor/src/asset/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/asset/mod.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"d075fc06764dd5b4324adaf072b7f74122f8940fbcaef15984c487b8cecde15d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/world/menu.rs: editor/src/world/menu.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SceneNodeContextMenu::handle_ui_message at line 280. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- editor/src/world/menu.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/world/menu.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"102939ac5fcc2fb384096d75d56ed3b4bd05341ca9bc155c85cedb1f01a13872"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/scroll_bar.rs: fyrox-ui/src/scroll_bar.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ScrollBar::handle_routed_message at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/scroll_bar.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/scroll_bar.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6a230fab8f83f86a49c498c420f4aeff64265eea7ba8f0e6df3d4f0e907fcb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/markdown.rs: fyrox-ui/src/markdown.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in fyrox_ui::markdown::markdown_to_visual_tree at line 98. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/markdown.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/markdown.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5b2715616f4494de0201647bf996b1bc4d38769a80e94edd3c878248c874e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/audio/mod.rs: editor/src/audio/mod.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AudioPanel::handle_ui_message at line 368. 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-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- editor/src/audio/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/audio/mod.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"209b6218eb869b5a9deac9d06105a33413a361c97b30217099f436e0fa3af3ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/asset/menu.rs: editor/src/asset/menu.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in AssetItemContextMenu::handle_ui_message at line 343. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- editor/src/asset/menu.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/asset/menu.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc34fabde90709c9299d4417c796361bea194fc9e4560e6a6543c6ccb7214e23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/menu.rs: fyrox-ui/src/menu.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in MenuItem::handle_routed_message at line 547. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/menu.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/menu.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"80667d9756b79daca9cca86d94059f790ab2524de95e4c02dbd04e5a07b74bc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/settings.rs: editor/src/plugins/settings.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SettingsWindow::handle_ui_message at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \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":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e6de029f8c79dd233c0989c2d96e25549dbf23299772d2db4b636ae9afde56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-impl/src/renderer/light.rs: fyrox-impl/src/renderer/light.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in DeferredLightRenderer::render at line 254. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-impl/src/renderer/light.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-impl/src/renderer/light.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bc53a754f4c3d04894ee23ae5b2d37c09b64c87f8a478cf998539e0e3e6638"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/tilemap/palette.rs: editor/src/plugins/tilemap/palette.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in PaletteWidget::draw at line 1695. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- editor/src/plugins/tilemap/palette.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/tilemap/palette.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"90749e8a9408f4e20aafa796b4b2a989f298875359c228c28b642138b8ce5812"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fyrox-ui/src/list_view.rs: fyrox-ui/src/list_view.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ListView::handle_routed_message at line 395. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/list_view.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/list_view.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af2a966841a7fee1cd005373bc46edbf2be834a6c49e414deb1796ad7cb5dfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: editor/src/plugins/inspector/editors/surface.rs: editor/src/plugins/inspector/editors/surface.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SurfaceDataPropertyEditor::handle_routed_message at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- editor/src/plugins/inspector/editors/surface.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/surface.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c66766b1e7993ad33a66c93363552614b0ac8dd939cea97debf5d5ecf532eba"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: fyrox-ui/src/nine_patch.rs: fyrox-ui/src/nine_patch.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 8 (its worst body is NinePatch::handle_routed_message at line 516), AT OR 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: \u201Cdocs \u002B tests fixes\u201D; \u201Cfixed pm compilation \u002B fixed clippy warnings\u201D; \u201Cfixed bug when nine patch texture not being passed to slice editor\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \u002B03:00\u0027 --full-history --no-merges -- fyrox-ui/src/nine_patch.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/nine_patch.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59c6e4a5142dd7824c59a4411e01ae8fae67c8f271ba26cc9693ba05dbd84ce"}},{"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), AT OR 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-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 17:25:58 \u002B03:00\u0027 --until=\u00272026-11-14 17:25:58 \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":"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":"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: 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: 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 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":1920}}}],"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":1962}}}],"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":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"006f49862f215452c837bc837904689553f1a5990e6a85e3c175ec3da931c83f"}},{"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":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"88185322741b6dae2a0e543234304b9631e9a1ce226a0f6cf334cd6a2fc82cb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add navigation for links. \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/markdown.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"289c5e600ab26eb89b1a5121fe4a5401023ecde19c2ca24856d121e0c4abffb4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support checked items. \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/markdown.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf4017152022e077bbfb5800e94b02c980c4ad7693cc5817f3c4b727c90398c"}},{"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":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a9bc9f2f596e202f5e5eb8837898987c37bee586da321a3f5b37add2ba567b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace this with derived impl in Fyrox 2.0 and remove backward compatibility. \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/style/mod.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"73950d26457b23275153a6910051add96b8d938eb0d17c1c0ec5ac8d72910fce"}},{"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":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91d2def4450a593bd95f71f9f4c7abee2519f2444952657a89924595c8d9d0b"}},{"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":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"0470ad6ca42a526a1b0d2bea3655c3a2f3a708d191c397804c088fc18d5f88ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO. Send context in Variant message instead of creating it 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-ui/src/inspector/editors/enumeration.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae12d64794bf7f544564a402462f5152e8170d495d39bde7598a02e1cdc6d78"}},{"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: 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: 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 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":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92161af6f0341db6aa4e260656568c079b4a02a5a02499ae207582f7064497"}},{"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":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd81fb474db80f33de91375ed6faa37c5e2c643425feb0dd436991c515491ef"}},{"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: 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":"TodoComment repeated across 15 files: The identical TodoComment appears in 15 files (19 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 19 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":"fyrox-impl/src/scene/accel.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"831b1652707d0ac8d11bd200bc77cbeba9130732d1a7f3b58a89a828da20276a"}},{"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: 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: 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: 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: /// 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":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f632f24e9ccc93324ed31630141a05ede5246264c8e5ec501f3a9c73bbd8721"}},{"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":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"13035fbec490c68b73c9ec4a32906ff608d7a2ab68390db36189e122e92dbb85"}},{"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: 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":"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: // 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":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f663cb18028cb93e037e479289ee6cec3007a74633f0676828886503f45d1"}},{"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 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: 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. 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: 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: 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":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c94ce087265ce05b5efab227d08136d929e4e81dd75044ef2d95ea233fca9"}},{"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: 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":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a241e6181d371c2df2379f88a5b5f125f2c103a6e6f12b41c4c35fc2251dc55"}},{"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: 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":"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: 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":"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/set.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aacddaf1d8bab7f163a41c7460a96079d07a754c1de232ebb4dfcd6713114f"}},{"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: 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":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9abc1464f5369bbf749a344bc64b17f47bf00eb2f5ef8581eebe7b7ff8b21"}},{"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: 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":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"210632948922db3ab6570010506f6baaf4dc6b75c8b307aba688315a34956272"}},{"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: 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":"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":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbadcffb9c8e9d34bf7d139261bca2152e2f34a16cf1c3a110665a7a5ca5f4f5"}},{"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":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fd3fe1e882b9e2deed82a245b450e55e07778d04af033c85ecd8a8830889e9"}},{"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":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8305e19320983c71d006bd85cc11803d599bbd3a29d68c397ce23aec5828b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO. Make this impl mandatory and refactor/unify deletion in general. \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/mod.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f979324d072c17ebd7b0b753d17db4225003a9c205e20b83b0fe635a354290dd"}},{"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: 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":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deedaefa846721fb27560bcd83c13655f3294ca41f40af6f015ad798ec45fe7"}},{"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":177}}}],"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":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"8119130d2c561f0355be8a4f7d3578c033407802bddebbefded999a42a5f702c"}},{"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":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c70ac58045fe4dcb71db8f5b888fa85f8386e0c5809dbe19705af405d4ec4"}},{"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":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"318df5801869f0149b397e327c6b9c7376fe57c1e358b16c2b8b7b1066382543"}},{"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: 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":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cc0ba3c7c500108a5dc61b2a560c6a745b3a42e680c392440a01d4ef016412"}},{"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: 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":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"569e15a843e015cc0f7bf9b6347989e26b1224ce7e68c0dabec7ca2ae9e34309"}},{"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":121}}}],"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":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e6ed75f5c57c5282fc6554c272a2ef66988201c00cfb49d026853525b6416d"}},{"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":122}}}],"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":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5e923bc19d7885e8f26ebe9437871af1dcf11581e351ceac43ea47d25a31c"}},{"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. ADRs are expected here because \u0060template/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"template/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffa758599e76d121c1676a213af8e292ef1a581d010f9df9848c31489656585"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 24 project(s) overshoot their size bounds, lowering Project Cohesion to 7.5/10. The most over is \u0060editor\u0060 (72585 LoC, 590 module-visible types across 35 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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/update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"816a6e06d7c5d586de68256f03819ac7f01df0eb696aa0a108d316f8e1e04309"}},{"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":"editor/src/plugins/tilemap/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f303396779a4699665a9ecb100e227e5fbb062014d14eb8fa444662bd50a139"}},{"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-autotile/src/wave.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08215d4876fa2a56c4a52bb4c9c8fb8ad771a43e9d400b28108bc2be6e74b00"}},{"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/transform.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d18d862e4e8938da4ab3018238cbb435d5a38acc134285a6b7b5f3a23ed56ea"}},{"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): 14 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-impl/src/scene/terrain/brushstroke/strokechunks.rs, fyrox-ui/src/bbcode.rs, fyrox-math/src/segment.rs, fyrox-impl/src/scene/tilemap/effect.rs, fyrox-impl/src/resource/gltf/simplify.rs, fyrox-core-derive/src/reflect/prop.rs, fyrox-impl/src/resource/gltf/uri.rs (and 6 more) (20 orphaned of 600 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 600 of the 649 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":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/brushstroke/brushraster.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375f03ec5e1a3e6601d7f6b90cc9c046af4faddca268808639ded4e25b9bf7a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/terrain/brushstroke/strokechunks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98a26017b5bf00752c218723d5460c37514d269b574bf5db9db9153b01466af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/bbcode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a447cdc4f589996555231bc3557383e416542aeb92b3ef6dc28ad4596b95459"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-math/src/segment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c77b8be7bc235ce013822a5702a84e80b5b3cd46b76e2cc00bbacfbfd4f0120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/tilemap/effect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6550b66c9b4dcd8b08b0bf03990001b8a1df2234e3e8ea891b0f3317b42ca1c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/gltf/simplify.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fcc7b0925aeae1968ae62182afb0a797c37508bfb130dd13d118eb5eabc259"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core-derive/src/reflect/prop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0d2017f065a8577085ac1080bfda605e1781efa0b720da45ff648652cb841b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/gltf/uri.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a005cce64c819d994d796f46f11ff9dfed3372231df0fd46ffaa15e70257a03"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/renderer/hdr/luminance/histogram_luminance_evaluator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a4385e95f139b9722f158c78a99eccfa27f94d2a0386c896be94e2fcd01636"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core-derive/src/visit/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1700342efcec58ab85ff34e1393c2e78c9d268a682f0de2a67635b688e45b635"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/safelock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1156997034a55a8d696573300198593167ad8b4e90db6d0b0cba06942d43337"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/gltf/iter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcc39f2c1835b0d9db9d856d3dca2144a4d79346a27b95c0896abbff80778c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/immutable_string.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7944aef8ca6234363b4a8761bb536526025f286d2c27d9bbb077e74c13b899"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core-derive/src/reflect/syntax.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d7b7d9dd278879a328dd58d856504670490fe02e9d9b113ce216507e1aa50b"}},{"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 52% of the time (28 of the 54 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 28 shared commits counted here, the most recent 3 are \u0060589b4f15\u0060 improved resource hot reloading in the editor; \u006066d1b34f\u0060 pass dyn type constructors when deserializing scenes/uis; \u0060f433968e\u0060 process file system events on every frame \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_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 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: selection.rs \u2194 selection.rs: \u0060editor/src/ui_scene/selection.rs\u0060 and \u0060editor/src/world/selection.rs\u0060 change together 67% of the time (12 of the 18 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 12 shared commits counted here, the most recent 3 are \u0060edd9b93b\u0060 fixed type editors for ui/game scene; \u0060d332af41\u0060 improve validation of widget deletion; \u00601564436f\u0060 unify selection deletion for game/ui scenes \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: 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: mod.rs \u2194 selection.rs: \u0060editor/src/audio/mod.rs\u0060 and \u0060editor/src/plugins/animation/selection.rs\u0060 change together 57% of the time (8 of the 14 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 8 shared commits counted here, the most recent 3 are \u0060edd9b93b\u0060 fixed type editors for ui/game scene; \u00607eaf5def\u0060 fixed doc provider; \u0060bee807ea\u0060 fixed downcasting for widgets and scene nodes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/audio/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"939e02feb1857fed0eca164ffd6c47ee1ef00b1abe9ef7d4d1144dcacdd7a5ee"}},{"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 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060d362f35c\u0060 experimental ui style system refactoring; \u0060113945a0\u0060 finished transition to typed handles for ui; \u006078c43162\u0060 add layout invalidation for all widgets with custom draw methods \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":"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: panel.rs \u2194 particle.rs: \u0060editor/src/camera/panel.rs\u0060 and \u0060editor/src/particle.rs\u0060 change together 53% of the time (9 of the 17 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 \u0060df1a92e3\u0060 typed handles for \u0060CheckBox\u0060 widget; \u0060a420478c\u0060 Improving how selection changes are handled; \u0060bbc7c2e8\u0060 refactored check box message to use \u0060send/post\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/camera/panel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03420ae887350bf275f48baa1608d586d78376329955b90c4df4b9ea3838784b"}},{"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: selection.rs \u2194 selection.rs: \u0060editor/src/interaction/navmesh/selection.rs\u0060 and \u0060editor/src/ui_scene/selection.rs\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 8 shared commits counted here, the most recent 3 are \u0060edd9b93b\u0060 fixed type editors for ui/game scene; \u00607eaf5def\u0060 fixed doc provider; \u0060bee807ea\u0060 fixed downcasting for widgets and scene nodes \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":"c9198b45ceba034dee4058d4d5ac1ca97b58f4c11b1c9ebbec6abe5699963b55"}},{"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 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 8 shared commits counted here, the most recent 3 are \u0060edd9b93b\u0060 fixed type editors for ui/game scene; \u00607eaf5def\u0060 fixed doc provider; \u0060bee807ea\u0060 fixed downcasting for widgets and scene nodes \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":"1864fd7497d1e321e4cbf572c4f073d6905a2b20b702e11aa23a6e1a06c5b047"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: selection.rs \u2192 mod.rs, selection.rs, selection.rs, selection.rs: \u0060editor/src/plugins/absm/selection.rs\u0060 changes together with 4 other files \u2014 \u0060editor/src/audio/mod.rs\u0060, \u0060editor/src/interaction/navmesh/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 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/selection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4273c587f31f574256f1e186d1b113a8a505a5f82360343830bff03487ad57"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dialog.rs \u2194 menu.rs: \u0060editor/src/scene/dialog.rs\u0060 and \u0060editor/src/world/menu.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 \u006027835191\u0060 check for cross-refs when deleting widgets; \u00601564436f\u0060 unify selection deletion for game/ui scenes; \u0060128d6c57\u0060 moved command stack to EditorSceneEntry \u002Bfixed animation commands for ui (at that commit the file was still \u0060editor/src/world/graph/menu.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/dialog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4954bdbc5513f22b361023448424eb2153092bd1c4f5db14c92f7e2850217f00"}},{"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":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"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":"M4","level":"note","message":{"text":"README/code drift: fyrox-impl/README.md links to \u0060CONTRIBUTING.md\u0060, but \u0060fyrox-impl/CONTRIBUTING.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/README.md"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d98785cc2d00b008e2f84d4488765b1d1a351458ab249664086bef2ff241c82"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: fyrox/README.md links to \u0060CONTRIBUTING.md\u0060, but \u0060fyrox/CONTRIBUTING.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox/README.md"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c697b5bc1ba6d1520695b0cb6b61b9723517a640e952a9b376030e88bf56a15"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.message.data::\u003CInspectorMessage\u003E() \u0026\u0026 ctx.message.direction() == MessageDirection::FromWidget\u0060 appears character-identically in 2 files \u2014 fyrox-ui/src/inspector/editors/inspectable.rs, fyrox-ui/src/inspector/editors/refcell.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/inspector/editors/inspectable.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e56f8629ec7cda89c4e2cf05bbfe6d18723fd73f54346efe0620c722c00e30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060editor_selection.as_graph() \u0026\u0026 !selection.is_empty()\u0060 appears character-identically in 2 files \u2014 editor/src/interaction/rotate_mode.rs, editor/src/interaction/scale_mode.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/rotate_mode.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ae980128bb03faa64bc0c71a721296895dea39bfc24bf2063d9d0cd2cb4d56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.metadata() \u0026\u0026 !file_metadata.file_type().is_file()\u0060 appears character-identically in 2 files \u2014 fyrox-build-tools/src/export/android.rs, fyrox-build-tools/src/export/pc.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-build-tools/src/export/android.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6402c80789b21dd65c505dea124cba28b14b5ab828a5e88686ed636239fa7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.path().file_stem() \u0026\u0026 stem == OsStr::new(package_name)\u0060 appears character-identically in 2 files \u2014 fyrox-build-tools/src/export/android.rs, fyrox-build-tools/src/export/pc.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-build-tools/src/export/android.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"77af12e7572f95ea8ab9b010b526553627af36003b8ff45d95cef25462871cfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060handle == self.a_handle || handle == self.b_handle || handle == self.c_handle\u0060 appears character-identically in 2 files \u2014 editor/src/plugins/collider/triangle.rs, editor/src/plugins/collider/triangle2d.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/triangle.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde852753ec0cc29bb9abaee52b1c3c08e78c21f71807a2ef797b50262010a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060handle == self.begin_handle || handle == self.end_handle\u0060 appears character-identically in 4 files \u2014 editor/src/plugins/collider/capsule.rs, editor/src/plugins/collider/capsule2d.rs, editor/src/plugins/collider/segment.rs, editor/src/plugins/collider/segment2d.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/collider/capsule.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"246275c024bd7b68b67a929338e3106b7de3f8866c5f971e1917bb0a1c12263c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.downcast_ref::\u003CString\u003E().is_some() || key.downcast_ref::\u003CImmutableString\u003E().is_some()\u0060 appears character-identically in 2 files \u2014 editor/src/scene/property.rs, fyrox-core/src/reflect/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6425387506663ddc186fa718c653ec30bff2620d0992caef436365e151583c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.data() \u0026\u0026 message.destination() == self.handle\u0060 appears character-identically in 3 files \u2014 editor/src/asset/menu.rs, editor/src/plugins/absm/blendspace.rs, editor/src/plugins/tilemap/tile_editor.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/asset/menu.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913665d3e78de3c6457468dc71b69336b90234df2ef94a353dc2fbd8b2b0c9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.data() \u0026\u0026 message.destination() == self.menu.handle()\u0060 appears character-identically in 2 files \u2014 editor/src/plugins/absm/state_graph/context.rs, editor/src/plugins/absm/state_viewer/context.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/context.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9fc80cf61772ec7f5db123214ff5232101f71e693050dd82296f18a77177c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.data() \u0026\u0026 message.destination() == self.window\u0060 appears character-identically in 6 files \u2014 editor/src/mesh.rs, editor/src/plugins/export.rs, editor/src/plugins/light.rs, editor/src/plugins/stats.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/mesh.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9db70d4219a7bc30c8940192d51ff62074d3936b56011726e92950669cd0e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.destination() == self.handle() || self.widget.has_descendant(message.destination(), ui)\u0060 appears character-identically in 2 files \u2014 fyrox-ui/src/check_box.rs, fyrox-ui/src/dropdown_list.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/check_box.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"be154947196624fb87beea7d9d1308e4aaa836b6e597a87fe8f43940b6be3dbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.destination() == self.selector \u0026\u0026 message.direction() == MessageDirection::FromWidget\u0060 appears character-identically in 2 files \u2014 editor/src/scene/property.rs, editor/src/scene/selector.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/property.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"214947dbcfeb76d6d549a658a0f085f1aae66e84cc39a7bac69b1d2fb1b62287"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.direction() == MessageDirection::FromWidget \u0026\u0026 !message.handled()\u0060 appears character-identically in 2 files \u2014 editor/src/plugins/absm/canvas.rs, fyrox-ui/src/color/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/canvas.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7529fb1e5cafc23f253e25d6bddae438f0c404fff0fda7a7ff6d1ec67ec81408"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060picked == self.x_axis || picked == self.x_arrow\u0060 appears character-identically in 2 files \u2014 editor/src/interaction/gizmo/move_gizmo.rs, editor/src/interaction/gizmo/scale_gizmo.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"70390643c342c4872e1085bb95145d9147a14f148e6ced056b9073dc13dc563b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060picked == self.y_axis || picked == self.y_arrow\u0060 appears character-identically in 2 files \u2014 editor/src/interaction/gizmo/move_gizmo.rs, editor/src/interaction/gizmo/scale_gizmo.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e250c19cc88b5273d17dd08755de57210fb3098307e4d286b97cee4bbbfdc0af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060picked == self.z_axis || picked == self.z_arrow\u0060 appears character-identically in 2 files \u2014 editor/src/interaction/gizmo/move_gizmo.rs, editor/src/interaction/gizmo/scale_gizmo.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/interaction/gizmo/move_gizmo.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ff2a003333e415e94098cde6a27796578e4e8c863844533b517e5aa9ab255"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060renderer::is_shadow_pass(ctx.render_pass_name) \u0026\u0026 !self.cast_shadows()\u0060 appears character-identically in 3 files \u2014 fyrox-impl/src/scene/mesh/mod.rs, fyrox-impl/src/scene/particle_system/mod.rs, fyrox-impl/src/scene/terrain/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/mesh/mod.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa950d0bac5b3a0a28c3de25aef87db5fa413015a232a7c1222873aa97a4494c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rigid_body_node.need_sync_model() || !actions.is_empty()\u0060 appears character-identically in 2 files \u2014 fyrox-impl/src/scene/dim2/physics/mod.rs, fyrox-impl/src/scene/graph/physics/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a50a76320926dc342ecc7822fce3330dc5487b4234a1c75280e2023b9e8e60c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.bodies.get(native_body1).is_none() || self.bodies.get(native_body2).is_none()\u0060 appears character-identically in 2 files \u2014 fyrox-impl/src/scene/dim2/physics/mod.rs, fyrox-impl/src/scene/graph/physics/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"982f3f5b8fd7bf87d9b7bb2fc2fc24232012365408124b459b6523c887494a0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.bodies.get(rigid_body.native.get()) \u0026\u0026 native.body_type() != RigidBodyType::Fixed\u0060 appears character-identically in 2 files \u2014 fyrox-impl/src/scene/dim2/physics/mod.rs, fyrox-impl/src/scene/graph/physics/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/dim2/physics/mod.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5667982090221dc5f6470c81816f9bbbeca985f94fe897934b678cad14a78ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.original_handle_in_resource.is_some() \u0026\u0026 self.resource.is_some()\u0060 appears character-identically in 2 files \u2014 fyrox-impl/src/scene/base.rs, fyrox-ui/src/widget.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/base.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"f795be0233b6c7112fb8692db796304094dbf4746d4d80dc017ecd7670a86ceb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.prev_layer != current_selection.layer || current_selection.absm_node_handle != Handle::\u003CN\u003E::from(self.prev_absm)\u0060 appears character-identically in 2 files \u2014 editor/src/plugins/absm/state_graph/mod.rs, editor/src/plugins/absm/state_viewer/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/absm/state_graph/mod.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce3dbfaeb5e3d3317d59407295d6b1f20dc778dacf4b4eb3cffc8226b1fc2fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.shape.need_sync() || self.friction.need_sync() || self.density.need_sync() || self.restitution.need_sync() || self.is_sensor.need_sync(\u2026\u0060 appears character-identically in 2 files \u2014 fyrox-impl/src/scene/collider.rs, fyrox-impl/src/scene/dim2/collider.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/scene/collider.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e0a0f944c1436d64c49ebf819e91f879725581bb0e8e8d9e2895b00cf5b274"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060server.gl.supports_debug() \u0026\u0026 server.named_objects.get()\u0060 appears character-identically in 3 files \u2014 fyrox-graphics-gl/src/buffer.rs, fyrox-graphics-gl/src/geometry_buffer.rs, fyrox-graphics-gl/src/texture.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-graphics-gl/src/buffer.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07371b8341de5000d8239c6cb3e8394c0ab72397f6d26def7f43888dadc7b31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ui.active_tooltip() \u0026\u0026 !active_tooltip.shown\u0060 appears character-identically in 2 files \u2014 editor/src/lib.rs, project-manager/src/main.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/lib.rs"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9380953cfa5a9a97031c23a2d59c5a30de806080e40251e9968705c32fb78ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visitor.is_reading() \u0026\u0026 self.pool.get_capacity() != 0\u0060 appears character-identically in 2 files \u2014 fyrox-animation/src/lib.rs, fyrox-impl/src/scene/graph/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-animation/src/lib.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f906660a81555b79bbad264c1ffdeb3c3721525921c1816ce1bbc34f818f51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width != frame_size.x as u32 || height != frame_size.y as u32\u0060 appears character-identically in 2 files \u2014 editor/src/scene/mod.rs, editor/src/ui_scene/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/scene/mod.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fe47b974bcb57aa9b6ff81ac10882828550f0922e0efccde16a6c8d18a4415"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060compressed_length\u0060 is read from the bytes being parsed at line 54 (\u0060read_u32\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 62 \u2014 and nowhere in its scope is \u0060compressed_length\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060compressed_length\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/document/binary.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d6b7cbe13e0fb463757f3c55200cfa4e4d719b9e5856b22debd46966066923"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060length\u0060 is read from the bytes being parsed at line 78 (\u0060read_u32\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 79 \u2014 and nowhere in its scope is \u0060length\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060length\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-impl/src/resource/fbx/document/binary.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2f9f777ecc7f6b053ece81fbdd03f6802cf2a4833ffb9e876dda66daf8352f"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060name_len\u0060 is read from the bytes being parsed at line 66 (\u0060read_u32\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 67 \u2014 and nowhere in its scope is \u0060name_len\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060name_len\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed3355bea5e43ba1741977e2dabd5134e877537afa0a5c9e869e0de1719fb7b"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060len\u0060 is read from the bytes being parsed at line 104 (\u0060read_u32\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 105 \u2014 and nowhere in its scope is \u0060len\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060len\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b981a5aa4098087540314a9f7389f4c0c27c3cc53fc6c42023cd018b5f5fb9df"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060data_size\u0060 is read from the bytes being parsed at line 142 (\u0060read_u64\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 143 \u2014 and nowhere in its scope is \u0060data_size\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060data_size\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"025ecd48e694b4093f3777d524cd83e0686acfebdcb62899d3fea2588eabf32a"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060len\u0060 is read from the bytes being parsed at line 194 (\u0060read_u32\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 195 \u2014 and nowhere in its scope is \u0060len\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060len\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e721b4158bba32e3d6defce77532cce8918cfebedd11982240209f67f847b78"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060name_len\u0060 is read from the bytes being parsed at line 208 (\u0060read_u32\u0060), then used to size a \u0060vec![\u2026; n]\u0060 at line 209 \u2014 and nowhere in its scope is \u0060name_len\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060name_len\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb532a4ee1e5c4101e994abee959d7bc1baec4befcc1456ee29dc4f549904fef"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060child_count\u0060 is read from the bytes being parsed at line 225 (\u0060read_u32\u0060), then used to size a \u0060Vec::with_capacity\u0060 at line 226 \u2014 and nowhere in its scope is \u0060child_count\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with \u0060memory allocation of \u2026 bytes failed\u0060 \u2014 an abort, not a panic, so no \u0060catch_unwind\u0060 intercepts it and the whole process dies; a 64-bit length past \u0060isize::MAX\u0060 panics with \u0060capacity overflow\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060child_count\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/visitor/reader/binary.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cbcb3dc90f16c52c7e175ea03def50049de857b139cf65e2c84ba1df4c22af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060make_sphere\u0060 turns every \u0060Err\u0060 into \u0060Default::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a48d2d272ff336fdfae520e4675bb03bf23565d65861a5e1d8c09335b5fa1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060make_cuboid\u0060 turns every \u0060Err\u0060 into \u0060Default::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"editor/src/plugins/ragdoll.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9c0af48ba6e9c4cf3c631bc37de99763a74ffd5d6f37459621a98669fd8b77"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060string_peer_address\u0060 turns every \u0060Err\u0060 into \u0060\u0022Unknown\u0022.into()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-core/src/net.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f2abbfc732f45a9509e40f3c8d857b688def4530dad3dc22b970729a66716"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060copy_node_recursive_with_limit\u0060 turns every \u0060Err\u0060 into \u0060Default::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fyrox-ui/src/lib.rs"},"region":{"startLine":3477}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c61a248a58be8641ee7243ee0e32992c45461f1a5409f174309809a455bb5c"}},{"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":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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."]}]}