{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"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":"winit_win32::keyboard::physicalkey_to_scancode (cyclomatic 160): winit_win32::keyboard::physicalkey_to_scancode has cyclomatic complexity 160 (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":"winit-win32/src/keyboard.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"708f0fe20033dbf99b5994ff0b8fec3b1c42c79affae3e8676ee0b9442329b43"}},{"ruleId":"D1","level":"warning","message":{"text":"winit_win32::event_loop::public_window_callback_inner (cyclomatic 155): winit_win32::event_loop::public_window_callback_inner has cyclomatic complexity 155 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/event_loop.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"854783cd0a934d6f21076218ea5f472a2693bc7c15b8aa4d49d112fc1421edd2"}},{"ruleId":"D1","level":"warning","message":{"text":"winit_appkit::cursor::cursor_from_icon (cyclomatic 48): winit_appkit::cursor::cursor_from_icon has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/cursor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a140823c9dcaacea89b3e67f2e34c004d89002806a959117269e20a4c2f4907e"}},{"ruleId":"D1","level":"warning","message":{"text":"EventProcessor::process_xevent (cyclomatic 39): EventProcessor::process_xevent 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":"winit-x11/src/event_processor.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0778d5abae4aaedba5ac90807cf64ed6c1b757fb6de4e51cc2d2a746b746b6"}},{"ruleId":"D1","level":"warning","message":{"text":"TabletToolData::event (cyclomatic 36): TabletToolData::event has cyclomatic complexity 36 (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":"winit-wayland/src/types/wp_tablet_input_v2.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"379958506d96834d9e85e4462199d1e5029b073ebc379317635bf72a9f69b59f"}},{"ruleId":"D1","level":"warning","message":{"text":"winit_appkit::window_delegate::new_window (cyclomatic 34): winit_appkit::window_delegate::new_window has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0819a6901ba87c1f95dc7f86c8e1c14b690f35b858e761ad80689e2d63553071"}},{"ruleId":"D1","level":"warning","message":{"text":"WinitState::event (cyclomatic 34): WinitState::event has cyclomatic complexity 34 (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":"winit-wayland/src/seat/keyboard/mod.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a101fbf58355c9879395bc8c493d780f8fe980e4f4c8e1acb4de4246f35f60"}},{"ruleId":"D1","level":"warning","message":{"text":"UnownedWindow::new (cyclomatic 34): UnownedWindow::new has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/window.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a1369bf18d0acc72235f7922280f006861598563593eb14823a3c6039fd168"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyEventBuilder::process_message (cyclomatic 29): KeyEventBuilder::process_message has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: winit_win32::keyboard::scancode_to_physicalkey (cyclomatic 160) 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":"winit-win32/src/keyboard.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcd170aee248733e74c67185688175da27080a9e3c389d372282b8fca5fef02"}},{"ruleId":"D1","level":"warning","message":{"text":"EventLoop::handle_input_event (cyclomatic 28): EventLoop::handle_input_event has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"756c9d4913ad8ca6277d1188fa351a7be5fcb19e09171ce4e1543241fdeebce7"}},{"ruleId":"D1","level":"warning","message":{"text":"EventLoop::single_iteration (cyclomatic 27): EventLoop::single_iteration has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30bc2ccdef94fbcee029abdd31ed2110db6f740654db6f01857ebbc4771fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"WinitState::pointer_frame (cyclomatic 27): WinitState::pointer_frame has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/pointer/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebd354b5b9cdb677ec18a23d93e45e109702d3ede2ed0627e07d529eebd2ffb"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutCache::prepare_layout (cyclomatic 27): LayoutCache::prepare_layout 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. This is NOT this file\u0027s highest cyclomatic complexity: winit_win32::keyboard_layout::keycode_to_vkey (cyclomatic 196) 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":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0350561959fe779de42415bc1c33d470e5b6da7ac1b6d691c4cd3d2c3208557"}},{"ruleId":"D1","level":"warning","message":{"text":"EventLoop::single_iteration (cyclomatic 24): EventLoop::single_iteration 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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b94bb927e39bd59b9b02cbfd619dab1ed524f294f8614969529d96dee7f419"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowDelegate::set_fullscreen (cyclomatic 23): WindowDelegate::set_fullscreen 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"43508cffadbeb2c39f756dffedd13ab74092dc5b5fc3060ba6a408054a53e36e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentType::from (cyclomatic 22): ContentType::from 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":"winit-wayland/src/seat/text_input/mod.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c41aea8ee116c7400e17a919100b978141759161162cc46f640580e905d4c8b"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowFlags::apply_diff (cyclomatic 21): WindowFlags::apply_diff has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window_state.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"157014d536cb539efcc6fbdae44064d9a9a9541b6a8561516749ec5af40884e4"}},{"ruleId":"D1","level":"warning","message":{"text":"EventLoop::process_event (cyclomatic 20): EventLoop::process_event 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. This is NOT this file\u0027s highest cyclomatic complexity: winit_orbital::event_loop::convert_scancode (cyclomatic 110) 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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d40fcb8d72ed0af56d6204c39499f447699e3ad1776c88dca5613c2b615906"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowDelegate::new (cyclomatic 19): WindowDelegate::new has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcae898ac41406e317be6b1825b7d5bbab701789fbc0eacae5848c919cc2abbb"}},{"ruleId":"D1","level":"warning","message":{"text":"TextInputState::event (cyclomatic 19): TextInputState::event 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":"winit-wayland/src/seat/text_input/mod.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4856ece877e0a62a5af93a421eb021734a61e04c9c915b80a4e03b021280cc"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowFlags::to_window_styles (cyclomatic 19): WindowFlags::to_window_styles has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window_state.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0992b5f6fb2a41b49a0f02128c8a76564523499a5493c671050b999fb1914d"}},{"ruleId":"D1","level":"warning","message":{"text":"WinitView::handle_touches (cyclomatic 18): WinitView::handle_touches 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":"winit-uikit/src/view.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"016a32b7ddc56cce7a145fa84c874912da827bc00b7a36c350e2b43c7b9c851d"}},{"ruleId":"D1","level":"warning","message":{"text":"EventProcessor::client_message (cyclomatic 17): EventProcessor::client_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":"winit-x11/src/event_processor.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0459435c90a8ff985dbe24efb1278ae92a0140e60bfa75d42a7d2ec05de8b6"}},{"ruleId":"D1","level":"warning","message":{"text":"TabletToolAngle::tilt (cyclomatic 16): TabletToolAngle::tilt has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: MouseButton::try_from_u8 (cyclomatic 33) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-core/src/event.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafd144bac2fe096b64f434d1ae04ec6bb921b9b93a255171b53bdca0c6b162f"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowState::configure_frame_and_size (cyclomatic 16): WindowState::configure_frame_and_size 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":"winit-wayland/src/window/state/configure.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6367c686c1b6215990782683af7f0b3f2a88953c6aa43634bd644cc85f7834e"}},{"ruleId":"D1","level":"warning","message":{"text":"Shared::set_listener (cyclomatic 16): Shared::set_listener 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":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71c6fd06a92abc76faef6ff196690e7e7455679614d34058c941340903e5050"}},{"ruleId":"D1","level":"warning","message":{"text":"winit_win32::event_loop::handle_raw_input (cyclomatic 16): winit_win32::event_loop::handle_raw_input 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":"winit-win32/src/event_loop.rs"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc209c49d201587231bae19f5703d3c6ecf7ee784189a315614cd68babc707e4"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_win32::event_loop::public_window_callback_inner (cognitive 261): winit_win32::event_loop::public_window_callback_inner has cognitive complexity 261 (threshold 15). Drivers by points: if/else 85 (206 pts), match/switch 15 (38 pts), boolean chains 10, loops 3 (7 pts) (nesting depth added 148). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: winit-win32/src/event_loop.rs holds 2 of the 43 functions over the threshold \u2014 including the worst \u2014 and 259 of the 751 points over it (34%), 4.8\u00D7 the next-largest file (winit-x11/src/event_processor.rs at 54). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/event_loop.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fb824859f71ce51039ab2244fd0e0ca05a78f9d95401ef7f7a794e6688910a"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutCache::prepare_layout (cognitive 59): LayoutCache::prepare_layout has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (40 pts), match/switch 4 (9 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f33130246aa1c63dc7d5c6ac73d7d84b5846a14ba413c5c32650ddc70961309"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyEventBuilder::process_message (cognitive 54): KeyEventBuilder::process_message has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (43 pts), match/switch 4 (8 pts), boolean chains 3 (nesting depth added 27). 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":"winit-win32/src/keyboard.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfacf711d980e59a8c470608afb4bde2508cefed408b2992a11ea73dbc36544d"}},{"ruleId":"D2","level":"warning","message":{"text":"WinitView::handle_touches (cognitive 53): WinitView::handle_touches has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (43 pts), match/switch 3 (9 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/view.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d41fcf20623e197dbfa7bf602c1a9060c99d9ba4db2dd098728cd1e81e92325"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_appkit::cursor::cursor_from_icon (cognitive 49): winit_appkit::cursor::cursor_from_icon has cognitive complexity 49 (threshold 15). Drivers by points: if/else 32 (48 pts), match/switch 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/cursor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"af47bc7e821753259797d98ac83abcd5f7b90349128050dd7baa1cd430a37536"}},{"ruleId":"D2","level":"warning","message":{"text":"WinitState::event (cognitive 49): WinitState::event has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 14 (23 pts), boolean chains 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":"winit-wayland/src/seat/keyboard/mod.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"916eb1f1096629e014cc62e653319204f1633ae0b8587b1f8808debde0501465"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLoop::single_iteration (cognitive 41): EventLoop::single_iteration has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 6 (8 pts), match/switch 3 (5 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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef3b5bee9651de5ac0d72f1a3a9eb81bab163b3b628ffbe9c9cea6ff9f47a65"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLoop::handle_input_event (cognitive 39): EventLoop::handle_input_event has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 10 (19 pts), if/else 5 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 21). 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":"winit-android/src/event_loop.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ddfece478c4f9ec26ecb6832f7ecf02366ba34934735ffccdf5bbd1380bc41"}},{"ruleId":"D2","level":"warning","message":{"text":"WinitState::pointer_frame (cognitive 39): WinitState::pointer_frame has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 7 (15 pts), boolean chains 4, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/pointer/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd1c7e80a9effb337b7085b955a56e6d3ccf331b7b51db97d3c36468d5f6fb5"}},{"ruleId":"D2","level":"warning","message":{"text":"UnownedWindow::new (cognitive 39): UnownedWindow::new has cognitive complexity 39 (threshold 15). Drivers by points: if/else 27 (32 pts), match/switch 4, loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/window.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac3238e07b20aac5bd3ed5a33f0ab78ae5ed5285595280832c0b0e819e2f89e"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_appkit::window_delegate::new_window (cognitive 38): winit_appkit::window_delegate::new_window has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (26 pts), match/switch 4 (6 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"632e717e902f53fb14ac31687bcf05dfdcfd82762b064b8a4f76289f9da2295a"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessor::process_xevent (cognitive 36): EventProcessor::process_xevent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 5 (11 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_processor.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c679fea231068cf081b1ff02ee4aabb83c74fb43d20e4060114f7b78016187c1"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowDelegate::set_fullscreen (cognitive 28): WindowDelegate::set_fullscreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59f7c7cf47ebf83ef57f2a516349dc1c7627bb9384dff5377a3bb4f46d90425"}},{"ruleId":"D2","level":"warning","message":{"text":"TabletToolData::event (cognitive 28): TabletToolData::event has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 7 (16 pts), if/else 3 (10 pts), loops 1 (2 pts) (nesting depth added 17). 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":"winit-wayland/src/types/wp_tablet_input_v2.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a93cdb31ccf6af8f89147468c2562dcce7529d57a0ab3584882778267f0f80"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_win32::event_loop::handle_raw_input (cognitive 28): winit_win32::event_loop::handle_raw_input has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, loops 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: winit-win32/src/event_loop.rs holds 2 of the 43 functions over the threshold \u2014 including the worst \u2014 and 259 of the 751 points over it (34%), 4.8\u00D7 the next-largest file (winit-x11/src/event_processor.rs at 54). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/event_loop.rs"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d10d43ad4d52b2c66fd2d6c8dfbe96e06518467a6871d5498bce298b8cb307"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessor::client_message (cognitive 28): EventProcessor::client_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (26 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_processor.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6d614ba6585cd8d5de9adeff5afc64c99bbb1dec630c66b4b4a197440a468f"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowFlags::apply_diff (cognitive 27): WindowFlags::apply_diff has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window_state.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a8f66234970456b3afb0c706560b6f49ca4463e5af8c3e2cc2200ad3a32e77"}},{"ruleId":"D2","level":"warning","message":{"text":"WinitView::update_modifiers (cognitive 25): WinitView::update_modifiers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/view.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"16923f00fe4c5a85438ba276aaa0c5773c4e10f1e29a9643cebf510a5f097d18"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessor::configure_notify (cognitive 25): EventProcessor::configure_notify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 1, 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":"winit-x11/src/event_processor.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"368031d37b4854885bb4fef2831ad27ef72d43900509611d68378ff4f64a6cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"Shared::set_listener (cognitive 24): Shared::set_listener has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63a1702cbd50bbd99e5dea20265b5724bf69d5e75bc87075dc19a2d79672487"}},{"ruleId":"D2","level":"warning","message":{"text":"Device::new (cognitive 24): Device::new has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_loop.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f226d4fff6ef1025ee50043a3a5dc046955b9fafe944fb17944bca4f3044ebe6"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLoop::single_iteration (cognitive 23): EventLoop::single_iteration has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (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":"winit-android/src/event_loop.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b3f8871963a417d197a9b1e09cad9a8b3f315b1ecba37815a901c670704f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"TextInputState::event (cognitive 23): TextInputState::event has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/text_input/mod.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd35b7c616f053f2dc38a33e4e7688b7fc7ae997104c10a69aa67a30306759fd"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowFlags::to_window_styles (cognitive 23): WindowFlags::to_window_styles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (22 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":"winit-win32/src/window_state.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87b9c7b4f43287750a16d28262b98821e0d8b67c3d87013eb61ef548f9fba0e"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessor::xinput_key_input (cognitive 23): EventProcessor::xinput_key_input has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 1, 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":"winit-x11/src/event_processor.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"451c5b2b62b673ba757d5c2aedfbc82ac25db050b2f4ae058f18dc4f0b35237a"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_common::core_foundation::tracing_observers::tracing_observers (cognitive 20): winit_common::core_foundation::tracing_observers::tracing_observers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-common/src/core_foundation/tracing_observers.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a55cc034b767334ff53a9cb4561622cdd1bb57357a0d8ddc207431197f2b8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_uikit::app_state::handle_nonuser_events (cognitive 19): winit_uikit::app_state::handle_nonuser_events has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 3 (4 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":"winit-uikit/src/app_state.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a794ddf93d318c0961625d3be6497a24d02358ed4710c44628f3b0ef8c16db"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowDelegate::new (cognitive 18): WindowDelegate::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 3, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"f865864871227f489a3e4a19ad25ac085afc1d2a8d3cc52249778ea455c3f936"}},{"ruleId":"D2","level":"warning","message":{"text":"WinitState::remove_capability (cognitive 18): WinitState::remove_capability has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d609ade93799721a4f587a349bb7f032f7eaf7845b0c5a5fc39f10252a93471e"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowState::configure_frame_and_size (cognitive 18): WindowState::configure_frame_and_size has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/window/state/configure.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0cee87a7b4186ac79c11a72ef5e2d50b1710591234d36fcef179e7ba55b2ca"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorHandler::set_cursor (cognitive 18): CursorHandler::set_cursor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 3 (5 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":"winit-web/src/cursor.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4138bf0e8c8e6fb296cf763dd664694d1ddcd6e5c5ccaac940cd146b2b63f567"}},{"ruleId":"D2","level":"warning","message":{"text":"PartialKeyEventInfo::from_message (cognitive 18): PartialKeyEventInfo::from_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ee5f02b69f7eed28a76078023822abeee075b4ca47fdfdcbf9a96db21ca854"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorFlags::refresh_os_cursor (cognitive 18): CursorFlags::refresh_os_cursor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window_state.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2941b41e8a5aad7656b7cea5d8875e1aa60123e0f8ccba48a6892b5a7c84e5"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLoop::process_event (cognitive 17): EventLoop::process_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1, 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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"673b319c5c7014a0d3dc6ce44577aba23309140c5b794806078f23e25f807752"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyEventBuilder::synthesize_kbd_state (cognitive 17): KeyEventBuilder::synthesize_kbd_state has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (3 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebee7e788e4cd74642aa5ffb2532600553c1c8be36fada6695c4b0244fb839b"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessor::xkb_event (cognitive 17): EventProcessor::xkb_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_processor.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca027cb0a6558c5fb6deecf426ffe1e3b0c1968dc022591653180c76195cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_appkit::event::create_key_event (cognitive 16): winit_appkit::event::create_key_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/event.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33ad37f280ca307cde6c249b66a0f1626bf79ba7a2ef37b901e9eff17629f39"}},{"ruleId":"D2","level":"warning","message":{"text":"TabletToolTilt::angle (cognitive 16): TabletToolTilt::angle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-core/src/event.rs"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"284f1190fbddd91a9dfce1ea4423e0cabc6023ad3bf6ac4bde2e161d48a2d0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TabletToolAngle::tilt (cognitive 16): TabletToolAngle::tilt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-core/src/event.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cc53f133777765f962c94545ebc155b8a393a84df0d1836db89c9a768c0fe6"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLoop::poll_events_with_timeout (cognitive 16): EventLoop::poll_events_with_timeout has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49e6019a1f57158078b7426d5d84baa123c202d3c01213fbd01a142097aed70"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceDataObjectData::GetData (cognitive 16): SourceDataObjectData::GetData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 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":"winit-win32/src/dnd.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0c68421c6cb6acd02c5d4126bd6fa15a00d4afbd3780b8e4c6a2a4badb9976"}},{"ruleId":"D2","level":"warning","message":{"text":"PartialKeyEventInfo::finalize (cognitive 16): PartialKeyEventInfo::finalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8ce96c57407e67c5131ce8eb2510ae9b191f8ba7ef7779f1e10745f9fba6cd"}},{"ruleId":"D2","level":"warning","message":{"text":"winit_win32::dpi::hwnd_dpi (cognitive 16): winit_win32::dpi::hwnd_dpi has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/dpi.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"900bcec1bc3ec7e0b72886dcb0669e7748720dfbf2974771e27e259e64ce648e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_win32::event_loop::public_window_callback_inner: FunctionTooLong \u2014 winit_win32::event_loop::public_window_callback_inner runs 824 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 724 over it, 8.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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21bbe8164fb877b5e313d62e19e12d2e038744242bdc2e6a85d90863a0e8c22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event_loop.rs: FileTooLong \u2014 1678 significant 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 1178 over it, 3.36\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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9754f565dd9ebcaecd717860ea2d44e55015d58397a75a6d49c93f34726c642e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnownedWindow: TooManyMethods \u2014 97 methods. The bar is 30 methods; this is 67 over it, 3.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":"winit-x11/src/window.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f6946115958334f42c9d72ae789c8a19039171bbbe435047aca20b5047286"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnownedWindow: ClassTooLong \u2014 1251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 97 methods, 2 blocks, lines 432-2306. The bar is 400 significant lines; this is 851 over it, 3.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":"winit-x11/src/window.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b683708c40138a211f38309590c97b25736b18e4055b59ae4f60f0fa939901"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/window.rs: FileTooLong \u2014 1527 significant 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: UnownedWindow (2 blocks, 432-2306). The bar is 500 significant lines; this is 1027 over it, 3.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":"winit-x11/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e586ab2c569cebc1f64277f76228c94aa531d07214548f8f445293da83fc748"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnownedWindow.new: MethodTooLong \u2014 new runs 304 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 204 over it, 3.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":"winit-x11/src/window.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f957f93bab87ffdf82f36f8f0acb617baa5db0cc375ecd5197b2124c53c1bd7d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowDelegate: ClassTooLong \u2014 1205 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 78 methods, 7 blocks, lines 146-2530. The bar is 400 significant lines; this is 805 over it, 3.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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce2b8eb73932ba2cc75914c5530015e6a36332449e1fafe19ad4d61baca4cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/window_delegate.rs: FileTooLong \u2014 1485 significant 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 81% of them inside a single declaration: WindowDelegate (7 blocks, 146-2530). The bar is 500 significant lines; this is 985 over it, 2.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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbb5e774cb11a3cfb1a621ccc93b9b7f9463e8166669bbc34d01027ede25750"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_android::keycodes::to_logical: FunctionTooLong \u2014 winit_android::keycodes::to_logical runs 297 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/keycodes.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6196235e16e4bf12b211661989ee2923ba15e7cfebda8b5940e50e37ae04d41"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventProcessor: ClassTooLong \u2014 1099 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 39 methods, 2 blocks, lines 54-1891. The bar is 400 significant lines; this is 699 over it, 2.75\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":"winit-x11/src/event_processor.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3596eda8530dc0874655183435bc90d4224327282fcc9c79508acd012c42dab2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowDelegate: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d762c984b204c6382398d0dc987af5abf31e6693c9971a5d248a8cca510a14b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowState: TooManyMethods \u2014 78 methods, declared across 5 files: window/state.rs (47), state/frame.rs (12), state/cursor.rs (11), state/ime.rs (5), \u002B1 more file(s). The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/window/state.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee030e04daf64db3a290df49f1829f9750dd932d450191de46542692d3109e30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActiveEventLoop.register: MethodTooLong \u2014 register runs 245 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/event_loop/window_target.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7505a5261529c160cc484031fc48e02c52833095341d27a3aac899e81fa0560"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Inner: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.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":"winit-uikit/src/window.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1cf6abfeb5a0bb67cee40d1be442d9e2e317b9e059aa52dce50127ae573fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event_processor.rs: FileTooLong \u2014 1153 significant 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 95% of them inside a single declaration: EventProcessor (2 blocks, 54-1891). The bar is 500 significant lines; this is 653 over it, 2.31\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":"winit-x11/src/event_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5065f751c5c04afaa569625ed7ea7e8c66a7eca8a3573ccf6cba46e6149b3f79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/window.rs: FileTooLong \u2014 1135 significant 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: Window (6 blocks, 97-1233). The bar is 500 significant lines; this is 635 over it, 2.27\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":"winit-win32/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f6c39891ffea5968fa7e520364e05e5be1554839cc1a26646b943658edea8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_win32::keyboard_layout::vkey_to_non_char_key: FunctionTooLong \u2014 winit_win32::keyboard_layout::vkey_to_non_char_key runs 209 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe6c4d4d30f34c4fd0e3e53e3a5e435c5a3dc022a41985c6d44c4b30d7f1650"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_common::xkb::keymap::keysym_to_key: FunctionTooLong \u2014 winit_common::xkb::keymap::keysym_to_key runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e2fd8512beb67e78f313c62bc9fb24f3bce369be813f2312f4952b4ec4abdb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XConnection: TooManyMethods \u2014 61 methods, declared across 14 files: src/xdisplay.rs (16), util/geometry.rs (8), util/cursor.rs (7), src/monitor.rs (6), \u002B10 more file(s). The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/xdisplay.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e114ae17c0c190fc7f2eb693c7a304b00aaf3e0d6d595dfe4849f0fe4002fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_win32::keyboard_layout::keycode_to_vkey: FunctionTooLong \u2014 winit_win32::keyboard_layout::keycode_to_vkey runs 203 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6108661ab7258b6cc359fcfa1629e05c20a31c65cad62f1166d095d170ec376"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dnd.rs: FileTooLong \u2014 1013 significant 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 513 over it, 2.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":"winit-win32/src/dnd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ce2d8dfc79ca928c2fc35c5c7e51698ce28e3140312db6d95ea00aa75aeb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_common::xkb::keymap::physicalkey_to_scancode: FunctionTooLong \u2014 winit_common::xkb::keymap::physicalkey_to_scancode runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f51c06efb04d9e26b0c8729f8e500cbcbffb51d7d73021e69173be1c37a0ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_common::xkb::keymap::scancode_to_physicalkey: FunctionTooLong \u2014 winit_common::xkb::keymap::scancode_to_physicalkey runs 189 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 89 over it, 1.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":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b61d1022e38831191b844d4db3bfe7fa76c9c17cc2982044dbb62d6b1c4614"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/keyboard.rs: FileTooLong \u2014 881 significant 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 381 over it, 1.76\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":"winit-win32/src/keyboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2d6b25888cd6deb824c0d0f364111b72248688c81410f5e4f48e4d7ce18366"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_win32::keyboard::physicalkey_to_scancode: FunctionTooLong \u2014 winit_win32::keyboard::physicalkey_to_scancode 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":"winit-win32/src/keyboard.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd53e69c7cfb20cbfd1eb862fd5f37819cf8943572088c19f49251058ba02ca3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Window: ClassTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 23 methods, 6 blocks, lines 97-1233. The bar is 400 significant lines; this is 286 over it, 1.72\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":"winit-win32/src/window.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ab6159699d8cd50c342a95821a246393e516450368ce84bd82baac6b06a4a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_win32::keyboard::scancode_to_physicalkey: FunctionTooLong \u2014 winit_win32::keyboard::scancode_to_physicalkey 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":"winit-win32/src/keyboard.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5a7958b1e4063eaf06286b87b5b0a9955dbe42fa3bda078e5002ec650ccb7f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowCommon: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/window/common.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02e163bbc66b4c1978db7f1f2cd6a9c2a6fd4fc8f20a0040e9f9fdccfd3a525"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyEventBuilder.process_message: MethodTooLong \u2014 process_message runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/keyboard.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"67faefba46307bda97532c31fdd16dbcb0e0ce3ede6847a4966fa0705bf0ad08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventLoop.new: MethodTooLong \u2014 new runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_loop.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eac4a181cfac969521395bdbb9928cf4c262b0ab712b5d81e8ca916bf3508c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WinitState.event: MethodTooLong \u2014 event runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/keyboard/mod.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"339402d542a509e566d6a33bdd677e5fb9abb63606399b91984beeeb96d400e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Popup.new: MethodTooLong \u2014 new runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/popup.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a285e1701f3ba1ea7cf24cd3975a13edb7d8f626206600cef1c2352a1281827a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event_loop.rs: FileTooLong \u2014 764 significant 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 264 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3743c9696dade7b7b8e191715a7d4ef29e2811bafe165cf0c858777d9d3a67c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/keyboard_layout.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). The bar is 500 significant lines; this is 243 over it, 1.49\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":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4cd2d2cab5a381c93e4374b9f0276474ee892ea9f4610295236424c86d2fe4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: xkb/keymap.rs: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 241 over it, 1.48\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":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab501f348957f79f00edf88eb4d91bd81142fd9540b87eb2cc05d410e889576c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/view.rs: FileTooLong \u2014 736 significant 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 236 over it, 1.47\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":"winit-appkit/src/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e745c6320c8e9acca85cea8d0c50aa9f08e3501dbc7e9d4a330ed5dbc1de773c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_android::keycodes::to_physical_key: FunctionTooLong \u2014 winit_android::keycodes::to_physical_key runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/keycodes.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba0a426a21a6e6d1a46b3ae347f3cf518cd3372ead50be482881f5266b6e633"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventLoop.handle_input_event: MethodTooLong \u2014 handle_input_event 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":"winit-android/src/event_loop.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"382e507fe6372d112813f67e93737119cc5a38165407400614c69e8986743b56"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: WindowState: TooManyFields \u2014 40 stored fields beside 78 methods. The bar is 30 stored fields; this is 10 over it, 1.33\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":"winit-wayland/src/window/state.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"92be9da63d84de6ddbf48d5924912b68ef47bd5d46185412f9a300c2bccd2f35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_appkit::window_delegate::new_window: FunctionTooLong \u2014 winit_appkit::window_delegate::new_window runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c618f6d44dde684ada25b6d1c9bf9cc608726bdf87b7648f24c97bbb9d3157"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventProcessor.client_message: MethodTooLong \u2014 client_message runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_processor.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e47b19627e999258c04e35d2ccd03f37b32be91ff83b37eca2a92586ffc9ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event_loop/mod.rs: FileTooLong \u2014 656 significant 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 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadb5b0d771cad4e7d853a59b098c0f84c55d505ad5c68e52879b5990a536c38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WinitState.pointer_frame: MethodTooLong \u2014 pointer_frame runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/pointer/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43b71c850d6e0c421cf14a0d300e7644b023abe8444524f075fdce2b986e226"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event_loop.rs: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c841a21bbd5c47e726b246d64a04f6c8fe4794529e7c9032e3ddefda3761df68"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shared: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d5f9a68770f03a1529e7dafa993df359036760f9911322cd2edf1914201132"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventProcessor: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-x11/src/event_processor.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"784020b43aab68f39093e585db4700b31e6cc50292156f6d7a133c3046a84a19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WinitView.handle_touches: MethodTooLong \u2014 handle_touches runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.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":"winit-uikit/src/view.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a441b207c8eded8f7141e63bd99d7ea504c9b20bb77d23a7ab6a7212ca83aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_appkit::event::physicalkey_to_scancode: FunctionTooLong \u2014 winit_appkit::event::physicalkey_to_scancode 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":"winit-appkit/src/event.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c509a5bc059aaa83f5aaddf057c130aa3aa0ba38497a16b3b3cc73973f657ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_appkit::event::scancode_to_physicalkey: FunctionTooLong \u2014 winit_appkit::event::scancode_to_physicalkey 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":"winit-appkit/src/event.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ae5ebcfeaede825ca904c4ec5ef53cacea8ede66aa67fe309595e43134f6f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventLoop.single_iteration: MethodTooLong \u2014 single_iteration runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"68240dd9670b5a94aa3727454a193c018dee57ed1362e22d0226e3e85c3fc11a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_appkit::cursor::cursor_from_icon: FunctionTooLong \u2014 winit_appkit::cursor::cursor_from_icon 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":"winit-appkit/src/cursor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f165e85e11005c8e97587b3e44a1e35d8479eebb0c1fb806602e2c4d660e997"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event_loop.rs: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-orbital/src/event_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1f71552f7388675556a4abc9ceb51c81128b8ae360a25ce3aca353bbf39ee9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Shared.set_listener: MethodTooLong \u2014 set_listener 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":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e173addd6c586af9a2e083dc756ebc345e4f9691d62f07cd748840a8b8d830a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/window.rs: FileTooLong \u2014 588 significant 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 88 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":"winit-core/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef2fd12772102a53975466bb0cc327f9b9069fb8e1d26aa45fd2f825cc0395"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WinitView: TooManyMethods \u2014 35 methods, declared across 2 files: src/view.rs (26), src/view.rs (9). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/view.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"766f98c0d0ce3963be8f1694491a90c78801a02d1c4caddcbfb67fd54737acff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/monitor.rs: FileTooLong \u2014 576 significant 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 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/monitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc937378cf3706f548bba7804e0ce61b0facd8117d3cf72b4f4c29dd9c364d89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TabletToolData.event: MethodTooLong \u2014 event 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":"winit-wayland/src/types/wp_tablet_input_v2.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"710594271abe616c7c5b066cc585cf9f3a92f44a67dc25443ff5e19f8bc3a309"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: winit_orbital::event_loop::convert_scancode: FunctionTooLong \u2014 winit_orbital::event_loop::convert_scancode 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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d381c1e8033c87e9891d45b04bc4d04719bbdd18851a7a0d8a42e56a2e828c4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Canvas: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/web_sys/canvas.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396944783431dc91226a210bc2de6c9a53bdb665e9c681f8f42fc1761ea7e8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppState: 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":"winit-appkit/src/app_state.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"befec86c9ed9054c54279aa421d89c78d67b675890dcdfa8bdaa57283a4eaf4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowDelegate.set_fullscreen: MethodTooLong \u2014 set_fullscreen 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a12aac0bddad756e7a53e1558f9a2de9937090259ade5a362d208e2b8b77f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventLoop.process_event: MethodTooLong \u2014 process_event runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-orbital/src/event_loop.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cc587c4dd27a85c3f79759ce4f87362cc0c2a244ecb49b97fafa063c84f53a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/window.rs: FileTooLong \u2014 536 significant 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 36 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d188f9aed6558b28727579edb539e9ddfee7277acd31a0aba0c1fc164d30fba3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowState: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 78 methods, 3 blocks, lines 60-843. The bar is 400 significant lines; this is 28 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/window/state.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9350ccd4d7f1ce34c632cd419e73a801043eb4ab51d09c809cdf40d13922df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowDelegate.new: MethodTooLong \u2014 new 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c0ccb80008a0f543be98b6a251b75b5c385326727a794eb9a217420bd77099"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/view.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 93% of them inside a single declaration: WinitView (4 blocks, 45-749). 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":"winit-uikit/src/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3579d29a33e6cef35fecd85076c7256bd67800e3f2903db39e5883fa1f23dda3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: WinitState: TooManyFields \u2014 31 stored fields beside 4 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/state.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18397a9a2cbbb6afa92d1f6562fc267a23ffa00780cde08fe741145fdd342f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event_loop/runner.rs: FileTooLong \u2014 513 significant 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: Shared (2 blocks, 34-855). The bar is 500 significant lines; this is 13 over it, 1.03\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":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b891e02245847461590df6404c178a6494d44d71ca4e32396fb5fd5001f74d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/keycodes.rs: FileTooLong \u2014 509 significant 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 9 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":"winit-android/src/keycodes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d4048ff8f01b394d256da3ca473c5528a731ae91eebe3fb6f05173e855957"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Window.new: MethodTooLong \u2014 new 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":"winit-wayland/src/window/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"947feac9f501c722ce98379f2a44d71a3147281ccd1bd7a2520f87dba9990e93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event.rs: FileTooLong \u2014 502 significant 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 2 over it, 1.00\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":"winit-core/src/event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed59f1c8891b2ba3ea548388f7b993b706503ab5cb43e0b9e604d48ee3b713"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dnd.rs: FileTooLong \u2014 502 significant 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 2 over it, 1.00\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":"winit-wayland/src/dnd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f914c76797caa2d9c7d496dac927ba87afcd606691be32a28701aa2a0e05a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): winit-win32/src/window.rs:498-507 | winit-win32/src/window.rs:511-520 | winit-win32/src/window.rs:643-653 | winit-win32/src/window.rs:660-672 | winit-win32/src/window.rs:841-851 | winit-win32/src/window.rs:1023-1033 | winit-win32/src/window.rs:1040-1051 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"196308440d745bd9a60dd272fa6bd7aa06ff12b46d90b8bb7e275f216df72fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): winit-android/src/event_loop.rs:517-532 | winit-orbital/src/event_loop.rs:526-554 | winit-wayland/src/event_loop/mod.rs:188-211 | winit-x11/src/event_loop.rs:455-482 \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":"winit-android/src/event_loop.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10cd1792d04c66a5878c64b9bedc05d6a34afe7ffd3bd5ae3f9ed0a3f2e915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): winit-core/src/keyboard.rs:40-60 | winit-core/src/keyboard.rs:103-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-core/src/keyboard.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3fb9bb90723ee781c208f679addd2efc70131aea15ffeb9d250e9ecc31d2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): winit-wayland/src/popup.rs:203-222 | winit-wayland/src/window/mod.rs:177-197 \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":"winit-wayland/src/popup.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4816669ea91c5aa2a7e7f33eacc8721bcc08860661c65c660e2a9d8d62b1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): winit-wayland/src/state.rs:317-335 | winit-wayland/src/state.rs:360-377 \u2014 both copies are in the same file, so extract the block 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":"winit-wayland/src/state.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d76eecf6d53b82b7f6cd1898f0770106badfe3675237badf4c6ba00ce581c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): winit-wayland/src/event_loop/mod.rs:218-235 | winit-x11/src/event_loop.rs:489-505 \u2014 before extracting anything, compare \u0060winit-wayland/src/event_loop/mod.rs\u0060 and \u0060winit-x11/src/event_loop.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b3e00c707e0e6ce1e9811d167c74de333933fb7229a1ef5706fca7385704f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): winit-wayland/src/event_loop/mod.rs:293-310 | winit-x11/src/event_loop.rs:545-562 \u2014 before extracting anything, compare \u0060winit-wayland/src/event_loop/mod.rs\u0060 and \u0060winit-x11/src/event_loop.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c328fb48c0721b8d8ab054d292b55054afe6a4d979591e248361a2e7f3fc627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): winit-appkit/src/cursor.rs:51-67 | winit-appkit/src/cursor.rs:83-99 \u2014 both copies are in the same file, so extract the block 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":"winit-appkit/src/cursor.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"308a53ac1981a756bce020708d64ca0f05148ffacc9ce400fad1bdbcba85b6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): winit-web/src/web_sys/event.rs:290-306 | winit-web/src/web_sys/event.rs:309-325 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/web_sys/event.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1ed16dfbc75720a1eb269373b0f389c5858e263a53500ffb5110281adf79ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): winit-wayland/src/event_loop/mod.rs:456-469 | winit-wayland/src/event_loop/mod.rs:471-484 \u2014 both copies are in the same file, so extract the block 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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a36d84442a66d32c87553eacd09e335dd2f3043385a7c14cd0a471d5ded318c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): winit-x11/src/event_processor.rs:1610-1623 | winit-x11/src/event_processor.rs:1626-1637 \u2014 both copies are in the same file, so extract the block 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":"winit-x11/src/event_processor.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"998ea4e3fcf0c8ec8c28bedf2d8032b050d168bb36147960335aa9d1304228a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 4): winit-android/src/event_loop.rs:519-531 | winit-orbital/src/event_loop.rs:529-539 | winit-wayland/src/event_loop/mod.rs:191-201 | winit-x11/src/event_loop.rs:458-468 \u2014 before extracting anything, compare \u0060winit-wayland/src/event_loop/mod.rs\u0060 and \u0060winit-x11/src/event_loop.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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":"winit-android/src/event_loop.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58e5618f48bc5b8973800ca95d1d5964f8440daf085257fa9cd94ac4db2e3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): winit-android/src/event_loop.rs:379-390 | winit-android/src/event_loop.rs:423-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"561d20b79018b1e4325ea55cf1e8ff96e63a62350da2e4a5d9b1f8858a3bad3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): winit-uikit/src/view.rs:565-576 | winit-uikit/src/view.rs:624-636 \u2014 both copies are in the same file, so extract the block 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":"winit-uikit/src/view.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f08b714eae5069b8a279156f4e7b429701b6a61c61f918c50fa70e75c92d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): winit-web/src/web_sys/pointer.rs:92-104 | winit-web/src/web_sys/pointer.rs:154-166 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/web_sys/pointer.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e1bf2fa478be93dbf1c72a6d0361302d257a04f56442d7db3587c01a2d1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): winit-x11/src/ime/context.rs:265-277 | winit-x11/src/ime/context.rs:325-337 \u2014 both copies are in the same file, so extract the block 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":"winit-x11/src/ime/context.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ae7bf02793cac520d321c4fa8086246ca787cfeb96eec08364b78fa2608e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): winit-android/src/event_loop.rs:580-591 | winit-x11/src/event_loop.rs:527-538 \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":"winit-android/src/event_loop.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f25ca13164b48675fea7c8a348a8bc99b7c3ffad807deec7b5cb12559a9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): winit-common/src/xkb/keymap.rs:468-479 | winit-win32/src/keyboard.rs:1039-1050 \u2014 before extracting anything, compare \u0060winit-common/src/xkb/keymap.rs\u0060 and \u0060winit-win32/src/keyboard.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. 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":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"835511051e903e7ac7d63f9eacb4d6ed64473a33f99db34af5fa05673c989f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): winit-win32/src/event_loop.rs:1979-1990 | winit-win32/src/event_loop.rs:2009-2020 \u2014 both copies are in the same file, so extract the block 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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"0915918b57e9a362787510a10aa56e6befd2bdeb2a9e46f58c35d3bd637c156d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): winit-web/src/web_sys/canvas.rs:299-309 | winit-web/src/web_sys/canvas.rs:322-332 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/web_sys/canvas.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a9f0c517588ce175cef33113727ea477e842ba047e7bd342b7495adaa91f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): winit-android/src/event_loop.rs:365-374 | winit-android/src/event_loop.rs:441-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"49593282829ad50ae441a67f80a02cfb217639a1afc1c5037ea19a26b73d6128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): winit-common/src/xkb/keymap.rs:373-382 | winit-win32/src/keyboard.rs:1027-1036 \u2014 before extracting anything, compare \u0060winit-common/src/xkb/keymap.rs\u0060 and \u0060winit-win32/src/keyboard.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. 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":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e958c9d7ed0b2ae591609fb8d92e1a08ff0be3168f24e15ed1c1b78c245c2418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): winit-win32/src/window.rs:714-723 | winit-win32/src/window.rs:736-745 \u2014 both copies are in the same file, so extract the block 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":"winit-win32/src/window.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73836e4c5f7d6f2fb12d19401cff2016e74711cff751bcf96765eb7274f106c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-appkit/src/window_delegate.rs:1503-1511 | winit-appkit/src/window_delegate.rs:1525-1533 \u2014 both copies are in the same file, so extract the block 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec79f503d31bc83cc43f762fca52075f9900661a8ebfa323fea7e96d1d12e0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-common/src/xkb/keymap.rs:316-324 | winit-win32/src/keyboard.rs:923-931 \u2014 before extracting anything, compare \u0060winit-common/src/xkb/keymap.rs\u0060 and \u0060winit-win32/src/keyboard.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. 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":"winit-common/src/xkb/keymap.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58502b65a21320e21051411e56630458ec8a76ab4cab83e00c02b5100d2bd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-wayland/src/dnd.rs:666-674 | winit-wayland/src/dnd.rs:738-746 \u2014 both copies are in the same file, so extract the block 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":"winit-wayland/src/dnd.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"213a051e1573e77665c1c62730abda988624834253b5b480b9edb1507fe0c63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-wayland/src/dnd.rs:722-730 | winit-wayland/src/dnd.rs:778-786 \u2014 both copies are in the same file, so extract the block 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":"winit-wayland/src/dnd.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b562bd3dc7de55f28a93266415f99480e22284b0c6db5e588705eb933f0e7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-wayland/src/seat/pointer/pointer_gesture.rs:98-106 | winit-wayland/src/seat/pointer/pointer_gesture.rs:173-181 \u2014 both copies are in the same file, so extract the block 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":"winit-wayland/src/seat/pointer/pointer_gesture.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2e86513823320d15e1f8b49ccb926807b75483bba05e13f53edabe7b3d6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-win32/src/event_loop.rs:1918-1926 | winit-win32/src/event_loop.rs:1948-1956 \u2014 both copies are in the same file, so extract the block 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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ea48b5cc489d497fd736517b806ea29d4ab1e4b4f7b1ca91c5e921761e9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): winit-android/src/event_loop.rs:998-1005 | winit-uikit/src/window.rs:386-393 \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":"winit-android/src/event_loop.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d26b777ee1b0a3dcf3d943bcfa1efa4814b5008cee768eb5244790c0fc1eb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): winit-appkit/src/window_delegate.rs:1326-1333 | winit-appkit/src/window_delegate.rs:1345-1352 \u2014 both copies are in the same file, so extract the block 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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"64268ad178fdb43daede930407d739b38955304c54b8414ebb4d750ebd4a6255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): winit-appkit/src/event.rs:432-439 | winit-win32/src/keyboard.rs:1008-1015 \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":"winit-appkit/src/event.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"abadcb995b11ca4db081b968c8b5352196f5b3bdf3d5db724f0e361f0a577b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): winit-uikit/src/app_state.rs:361-368 | winit-uikit/src/app_state.rs:420-427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/app_state.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"30028d8fc8162378db55f4e712ff30c9cfd50914d13b2bb64078af264db4b811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): winit-win32/src/window.rs:563-570 | winit-win32/src/window.rs:602-609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bd2bd1a50d3b115c9ac52e54b5d43ca3b8f8793db49904e3972bdbcaf8ec26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): winit-uikit/src/window.rs:89-95 | winit-uikit/src/window.rs:314-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/window.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252da682ba3f08fad51928896ccc436e24e2e81eff2a6be5c7b879a10404749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): winit-win32/src/event_loop.rs:1916-1922 | winit-win32/src/event_loop.rs:1977-1983 \u2014 both copies are in the same file, so extract the block 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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be91a3955b3d33caad7de0853e5ca0371d1251b3613297ca23c48316bf751d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): winit-win32/src/event_loop.rs:1946-1952 | winit-win32/src/event_loop.rs:2007-2013 \u2014 both copies are in the same file, so extract the block 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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fd58b187da1623c07488538cf9bdbd8bcb42481a5037deccc965ae11af3a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): winit-web/src/web_sys/pointer.rs:47-52 | winit-web/src/web_sys/pointer.rs:65-70 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/web_sys/pointer.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7aa4c3afa1b4481566905d69db4b78f588c0ef6985e03673317fe7e824be4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): winit-win32/src/window.rs:499-503 | winit-win32/src/window.rs:512-516 | winit-win32/src/window.rs:644-649 | winit-win32/src/window.rs:661-666 | winit-win32/src/window.rs:842-847 | winit-win32/src/window.rs:1024-1029 | winit-win32/src/window.rs:1041-1046 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/window.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6050b4d053bfc14cb204e1d545acb5494773e8b73808dfd04308eaae26faf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): winit-web/src/web_sys/schedule.rs:125-129 | winit-web/src/web_sys/schedule.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/web_sys/schedule.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ee92101cda6d3e3da54481d03d835a9fe801a4349307ab3491b8b238124658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): winit-appkit/src/dnd.rs:81-88 | winit-wayland/src/dnd.rs:349-356 | winit-x11/src/dnd.rs:219-226 \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":"winit-appkit/src/dnd.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e76acc16e716b0c4bfcbcdcdb1170ed6ef9894d6e75a32d89b1708639c2bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): winit-appkit/src/event_loop.rs:89-95 | winit-win32/src/event_loop.rs:478-484 | winit-win32/src/window.rs:1057-1063 \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":"winit-appkit/src/event_loop.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5995acdedb63a41a22c5a080ea0f9ae875d17d1cc74db4b792218e71f48f15d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): winit-appkit/src/window.rs:334-338 | winit-uikit/src/window.rs:816-820 \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":"winit-appkit/src/window.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb995ee12f23228b894b7c58957b44cb5dffc99e5aeaad41ffaf92323c2b9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): winit-appkit/src/window.rs:340-349 | winit-uikit/src/window.rs:822-831 \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":"winit-appkit/src/window.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae1909b604cb72030356cbbf1b725c9dd3d54171f1953d3a39faf3c0d98316d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): winit-appkit/src/window.rs:351-355 | winit-uikit/src/window.rs:833-837 \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":"winit-appkit/src/window.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"af415ad88d05fef7c7b1e81f0bca537ebd564b30c483dfdd73120bbce3f3835f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-web/src/event_loop/runner.rs:408-416 | winit-web/src/event_loop/runner.rs:426-434 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10c25ceb44448a47b53bfebfe5e4517e713a7aa3f0fcd737c33dcd25d0cadde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): winit-wayland/src/window/state.rs:311-319 | winit-wayland/src/window/state.rs:336-344 \u2014 both copies are in the same file, so extract the block 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":"winit-wayland/src/window/state.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ee7ae54c69dc56ff952e241b0ceb82ef41f72051dca8145e2c07a1f9997df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): winit-web/src/event_loop/runner.rs:370-377 | winit-web/src/event_loop/runner.rs:389-396 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/event_loop/runner.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff15b3ce7cbdc755f0c3eebc7f884f6f5c3a8fd483a6f5d4bbb7b1e59f1ce921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): winit-web/src/web_sys/mod.rs:89-95 | winit-web/src/web_sys/mod.rs:110-116 \u2014 both copies are in the same file, so extract the block 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":"winit-web/src/web_sys/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"788561994d500738d022958b299f306cd446c1eb147494cf398a58032182a849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): winit-android/src/keycodes.rs:257-266 | winit-android/src/keycodes.rs:384-393 \u2014 both copies are in the same file, so extract the block 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":"winit-android/src/keycodes.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7127e83053c3bf250b3b15f8964f68a45549ee314be02727e4761ba0aec841b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): winit-appkit/src/cursor.rs:70-75 | winit-appkit/src/cursor.rs:101-106 \u2014 both copies are in the same file, so extract the block 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":"winit-appkit/src/cursor.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a68c8d14255ab3584364b3036d5359a649c8538a5ab6a63b74e5d866059d7e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: dpi: dpi: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f23c1388d9e2f0c6a6c864823e8ca7b0a5b6724b511e85c085444bab1aec68ab"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: winit-common: winit-common: abstractness 0.00, instability 0.25, distance 0.75 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"52c2b337212db0cc4586173689f5df6d695a1677e3d16fdb33f976798c2da30f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActiveEventLoop (LCOM4 4): ActiveEventLoop\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":"winit-appkit/src/event_loop.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eee84c2eafc4f5284e8e6cfeb852173107aeab3bac7a8f25dd9f80e00f637f4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WinitState (LCOM4 4): WinitState\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":"winit-wayland/src/state.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e1c3c849191fc95c3a73a084e801471a805caa777d6a9a7133f95436bc76b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActiveEventLoop (LCOM4 4): ActiveEventLoop\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":"winit-win32/src/event_loop.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab057387074f7663fd3509f553047cffa755cf546e4ef1905490ff223e3bb186"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-win32/src/event_loop.rs: winit-win32/src/event_loop.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 155 in winit_win32::event_loop::public_window_callback_inner at line 1202. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-win32/src/event_loop.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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedfe1ed4c8daaae749ddd6f5418a88a5a6db9469c61ee37aeb8f20dfcf4f847"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-appkit/src/window_delegate.rs: winit-appkit/src/window_delegate.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in winit_appkit::window_delegate::new_window at line 683. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-appkit/src/window_delegate.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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ee5920236a047286b22d003a63576d91eb332e3bac77ac6545cfdf944a1e6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-orbital/src/event_loop.rs: winit-orbital/src/event_loop.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in EventLoop::process_event at line 358. 2 of those changes were fix/bug commits, and the other 9 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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-orbital/src/event_loop.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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c61a6bb55ac63dc445eb29a697130b8856eec3f0c44c4a1e6cd4416f1b89a12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-wayland/src/event_loop/mod.rs: winit-wayland/src/event_loop/mod.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in EventLoop::single_iteration at line 356. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-wayland/src/event_loop/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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e2bb9f28d11f7bfedda2bc0739a53eb2089c72c638f0c05966a77e099189ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-x11/src/atoms.rs: winit-x11/src/atoms.rs changed 2 times in last 90 days, max cyclomatic complexity 90 in AtomName::atom_from at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-x11/src/atoms.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":"winit-x11/src/atoms.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2520d510b08410188ad729ad4cc907fac9af0419d79a36ad0514027d125f103"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-wayland/src/seat/pointer/mod.rs: winit-wayland/src/seat/pointer/mod.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WinitState::pointer_frame at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-wayland/src/seat/pointer/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":"winit-wayland/src/seat/pointer/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab226d239b650f703914460d03fb67b930012c1f1f6560a374348ec61f787da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-win32/src/window_state.rs: winit-win32/src/window_state.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WindowFlags::to_window_styles at line 303. 1 of those changes was a fix/bug commit, and the other 3 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-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-win32/src/window_state.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":"winit-win32/src/window_state.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79017458099362943f4b31bbfd4f3ecb707d17f75f29e59ce644820076d47e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-win32/src/window.rs: winit-win32/src/window.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in winit_win32::window::init at line 1582. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-win32/src/window.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":"winit-win32/src/window.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed87a7e5a2731e611b5327646c909b23df20b73a713299540918590e1213de6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: winit-wayland/src/types/wp_tablet_input_v2.rs: winit-wayland/src/types/wp_tablet_input_v2.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in TabletToolData::event at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 18:01:01 \u002B02:00\u0027 --until=\u00272026-09-25 18:01:01 \u002B02:00\u0027 --full-history --no-merges -- winit-wayland/src/types/wp_tablet_input_v2.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":"winit-wayland/src/types/wp_tablet_input_v2.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c945e8b37055dabe97aea13ff6c033f4bbc95f6d2b99ca92bcab571e0119b3a4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: winit-appkit/src/app.rs, winit-common/src/core_foundation/main_run_loop.rs, winit-appkit/src/ffi.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a11c49a00055ba63e64a5fe5b49589b131a92888da1e3b28f2bcfead7221aac1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is incorrect - will be solved in https://github.com/rust-windowing/winit/pull/3897"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed6fe764967241d959a3ed4b375b1d1400d6e3041de331d490fe3f34be32afe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is incorrect - will be solved in https://github.com/rust-windowing/winit/pull/3897"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"312f7804d9c3049ad80406f664955bf7b6c23666b547e5ff9216fbadeeefa066"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: how to forward this state to applications? \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":"winit-android/src/event_loop.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1799ad0bc73d5305a20b4e7c8a114ca8db61df288fd8f2bf876e056bee8e484"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: how to forward this state to applications? \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":"winit-android/src/event_loop.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3598825544a12633ebdc25d14dc8684d2cd3cdeded182a99f26d803ce4027"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: also how do we expose state restoration to apps? \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":"winit-android/src/event_loop.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cdd655c26ae1220c1bfda33f01d4e8963f7214b2b6222adef18da47961edee"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: maybe exit mainloop to drop things before being \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":"winit-android/src/event_loop.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"597ac3b91fa330914a2701a8fc718a55e606a81cb749f5b57ef91368c155c6e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mouse events \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":"winit-android/src/event_loop.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb21e3bd983d3ed335a24b59d3fa34cd6563ce454f5076798ea72db0d680e06b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mouse events \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":"winit-android/src/event_loop.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11b5ebcd6a61a8a495907412d956682010ff854cc36df0f5a836c7a31e3dae4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mouse events \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":"winit-android/src/event_loop.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5e95406f01b9b7c70ea5ee134e87261cfed68b63b9c622175eeca502a4277c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mouse events \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":"winit-android/src/event_loop.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a49d7d17cce2c293c4329f25859187febc86d9da640684747c1c5e6709a91a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mouse events \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":"winit-android/src/event_loop.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"901d85dc0e84fa0addb81077cc9d4f1a1b03fce425ad5797d82931ec6a1047a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mouse events \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":"winit-android/src/event_loop.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc53ef4661902db6a911ad5b49c0efabb45666095bfa349aca5fde5e32605bdf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this ignores the rest of the requested window attributes \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":"winit-android/src/event_loop.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"4087250d7ea7acc86dbee6e64efa5f59d9035078dd3f828cd04f9f38ad7d1420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: center the cursor if the window had mouse grab when it \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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda1fc3c87b1a2d85d03fdfdf379a6924baadc8b67cac1656c6f1c6d7ea727d0"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX the resize increments are only used during live resizes. \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":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e153225b2e45400d9b141394f3a0a3efdf965c614c036867df5b5de3ad72b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do this for real https://stackoverflow.com/a/40922095/5435443"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/window_delegate.rs"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5f4381d694d3c4350906c1acaa2540ecfa7989abaa1aa13755c9d3276a3319"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // this process.}, com.apple.inputmethod.EmojiFunctionRowItem TODO: Add an 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":"winit-appkit/src/view.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"39737ace4132e1774cc6af2372071af4909babd8e7ab4f48bee1c027dcee9303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use _replacement_range, requires changing the event to report surrounding text. \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":"winit-appkit/src/view.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22773e033ee9587908af5a3e39b9a0cbd8fd56bede811e32c4c935cfed2e52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use _replacement_range, requires changing the event to report surrounding text. \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":"winit-appkit/src/view.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4023d4551ca1e90d97fade1ac28e7c807931b250383ef957365b0cd8e09f314"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Be smarter about this: \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":"winit-appkit/src/monitor.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919b11935c33e971c6dcef851bfe14f250906be80dd9a6613a56c436129965a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once \u0060objc2\u0060 allows compiling on all platforms \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":"winit-appkit/src/lib.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e43169b0ebb5a7d0dddc829e9710528d128b7c1e24f03b88f712bafd29709"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once \u0060objc2\u0060 allows compiling on all platforms \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":"winit-uikit/src/lib.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ab102f1f3e4691633c7e8fad99575d36634da62ee18a29b8360cead82bdb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Upstream these \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":"winit-appkit/src/ffi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa48744c17cf1ecd7176813937931e1919b92504f01e88ecb8696e264285647"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Might not be ideal to do this \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":"winit-appkit/src/event_loop.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df48304f4231fac7a89f5088c49403f422762d6588c22d5e27d0ef56577ef0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should probably use \u0060readObjects\u0060, need to check how that works. \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":"winit-appkit/src/dnd.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"115e1db07bc07e0254201211efa5ec2ef5ab096ba077e4adbbe310c3a3e154f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is there a better way to do this? \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":"winit-appkit/src/dnd.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d0825edc0cf0f5f8c66abb58b43d4bba052d9f4948b05c28370df8adc93f52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(madsmtm): Put this logic in objc2-app-kit itself \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":"winit-appkit/src/cursor.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9402ec251edacc7d0b62781518d97e0230f10cb0c237d91033f0d40a8b38cea7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle PLists better \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":"winit-appkit/src/cursor.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b01f1b758eb9336492c2998dbf24f6f5bbbd7f1b1734f43d9c9738fbd0afa84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider using \u0060dataWithBytesNoCopy:\u0060 \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":"winit-appkit/src/cursor.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2170830b7fce3c150ada2a63116b94f4cdd60d9bcdf1b2c74627c7a7d0dc8ef"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Ensure this always runs (maybe use cargo-nextest or \u0060--test-threads=1\u0060?) \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":"winit-appkit/src/app.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da5d6220690fde2ad9d9e9b7bb63c5422ab7da84116672a8c8e1151ee6928f4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Can\u0027t test this yet, need some way to mock AppState. \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":"winit-appkit/src/app.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec9f6944470b3d0f0d45e1ca52e6314af2eddb74753d937224eeee2efc4cce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // - \u0060NSConnectionReplyMode\u0060: 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":"winit-common/src/core_foundation/main_run_loop.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0e16ca6534ddc36b8e3122e8aeb5c277ab10368526805d7421050bb8ce4f82"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Mark \u0060CFRunLoopSource\u0060 \u002B \u0060CFRunLoop\u0060 as \u0060Send\u0060 \u002B \u0060Sync\u0060. \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":"winit-common/src/core_foundation/event_loop_proxy.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eca47d8b20a7a4e531f3cd560b1c01486bb846f4bceb27977e8c62d04260ec1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Use this on macOS too. \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":"winit-common/src/core_foundation/event_loop_proxy.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be6777477be0ad74d332dc3f0bbae74e01f3af90ad4be7d8990cfb6b760d32f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Wire this up without using a static \u0060AtomicBool\u0060. \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":"winit-common/src/xkb/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a13aa9670c4f056be0010efd8f203906f71577fc99fb56bcc4b2e25fbdf381"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove that once split. \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":"winit-core/src/icon.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b232915ca39fae21a65b4825d127a1479c9cbd8ebd6542b5257abc9ff1d2f25"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Fix these. \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":"winit-core/src/event_loop/pump_events.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"99add8afea3734232eb8fefdfa8f653a20c4397af7e55ba953b40bfeb22ec442"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// - **macOS**: Unimplemented (TODO: Should call \u0060NSApplicationMain\u0060). \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":"winit-core/src/event_loop/never_return.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e086660616f56017dcd679920670637ffd275a837099aad4871341c4302dec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: min/max surface_size \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":"winit-orbital/src/window.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0209667ff01083713c0ef28811f56970187602c001c16eb14d5b40a0819bd94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: window_icon \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":"winit-orbital/src/window.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2c83f07e64640ed970f355bf16e907d8ec02c390f84a89105596f81a18bfef"}},{"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":"winit-orbital/src/window.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c756f9126d97077bdaecc9e91cc6c59105158f7ddf7e290a149ee8fc9d4c8ccb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adjust for window decorations \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":"winit-orbital/src/window.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2882a14c14d6cd13df55f3b1bc51f90e1c83c932d9391bc3a0c8bdbe1775e519"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adjust for window decorations \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":"winit-orbital/src/window.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f57e5287be54006be5b8b4a5a026f914613e4ebc49952c2207a084de815f3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adjust for window decorations \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":"winit-orbital/src/window.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9885b580cd783e8d3fb0a53ccdb3442dd11e9e7cd14643ef6933e9d1d33a493d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: exclusive fullscreen not supported on orbital \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":"winit-orbital/src/window.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a3155b5f4508c66a3705947f6f52424942d211c7ab489fff0748c595fdd12f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: monitor selection not supported on orbital \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":"winit-orbital/src/window.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5280aa24d7114b13c0606a1dca27238f34b02626567008618113a8ec67d565"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: monitor selection not supported on orbital \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":"winit-orbital/src/window.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ca6050cdaaf86fe7d1d697515b1c52714cf76a698e7cbca3e1e01881de920d"}},{"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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b06b293738c8bd96f8fea1fd64d4ffb7b8f5953187d5a8c62d464e17caee39"}},{"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":"winit-x11/src/event_processor.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2f8becd55d8e816b551f17100df6f641f9205676f802c65da8c16bb1a751b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: more control key variants? \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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de06c67a3efd6b16439f4a9870f957bc0795c715fc329e2ee02c88afaa4a74e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Screen, Clipboard, Drop \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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daa50b9529fa48747ed176f61123a84cde349e47538388e8b3325b1ff34ee01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unindent \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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7199aa587443ea28fb6c1b0548f3bf330ab2265172dd3fce43c14a9c54fcfc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: other exit codes \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":"winit-orbital/src/event_loop.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c741eaa623c7c65bd356bad064a3be83f7556c8037d68786c9da5a6af17c420e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: track fullscreen instead of relying on brittle float comparisons \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":"winit-uikit/src/window.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b70e05dda860b1974793e777aa84eebf7c7549b09b401be4e2d5580f47fa4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: transparency, visible \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":"winit-uikit/src/window.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ddac75729a190d10dbe7ee7c8e5c9ec10adfe6d1a80240403d93da7c0c2aeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make a better ordering \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":"winit-uikit/src/monitor.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2403a7b8d1a9bf0875dcc85fd4a49c5d7780d5aca8027e5b93a9c0765d1efdb8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: earlier OSs could calculate the refresh rate using \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":"winit-uikit/src/monitor.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb01f1e3ff9669f8eb4db7485a0774f188cc36564397ae7dd548b3f174eb41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kchibisov) we need to expose it somehow in winit. \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":"winit-wayland/src/state.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e747a7c39c4ea3185a7fcf48badaf4e0b93a8580e3772a6e2ba3e1ecfa92b"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Wait for the initial configure to arrive. \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":"winit-wayland/src/popup.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d70949db2f74df38a5ffc0ce4dd2156e185c4a12b7e4a62aa4455953fb1256"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Wait for the initial configure to arrive. \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":"winit-wayland/src/window/mod.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e16e90065c36ddc89ebbe582e9fa462afdb283efdcc21ab1fa96a9c4c38405"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kchibisov) v5 of the xdg_shell allows that. \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":"winit-wayland/src/popup.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0376e9c7b746d2a1e3d0b2fdb66888a5f266a390840250ff9e3a51482ee02d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kchibisov) v5 of the xdg_shell allows that. \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":"winit-wayland/src/popup.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"00094af40947a636a7e57e15a2071d32b54fab9609f0953c43683c523e6fafd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kchibisov) v5 of the xdg_shell allows that. \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":"winit-wayland/src/window/mod.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfe5b0927ab48728289463548fd92a4b5c156e7bc5a9252740d867210244023"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kchibisov) v5 of the xdg_shell allows that. \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":"winit-wayland/src/window/mod.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3179f6e826a18b338bff53ed8c43b6b8405222b49a037b35de9d2aae42b10d0"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX clients don\u0027t know whether they are minimized or not. \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":"winit-wayland/src/popup.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfde4f160bb75983756a91d81b5641cb7e6ca30fa44fce7d9a0fd64ea5e184fb"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX clients don\u0027t know whether they are minimized or not. \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":"winit-wayland/src/window/mod.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"397516527d6d10df23bff0ef5125c73aaf0b2660a39f76287909ba8fbeebe415"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is there a way to explicitly express that the data was not sent? \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":"winit-wayland/src/dnd.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b415aca8a2d9336e333ae0cf3ff9946e29db59e495aefb9a7c9d3939ff2666"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should properly parse MIME types using \u0060mime\u0060 or a similar crate. \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":"winit-wayland/src/dnd.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f82e048cedd235720589a402bb19cb35e8b4b889d9143c75552f52a4777a5a"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX drop after everything else, just to be safe. \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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"460dbe0c82f234b3fdd829368e45d27408916b9c3e7cdea539948753ce001aa4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove that RefCell once we can pass \u0060\u0026mut\u0060 in \u0060Window::new\u0060. \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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"caae71d001fbc0f11c7c10bb28624806c08f1d12fa2fa7fc54439d8766878cef"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: How do we get the correct seat for pointers here? \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":"winit-wayland/src/event_loop/mod.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0d16b2336153146a2409924e0ab53a92179f54e79fc1efdda21617674bb900"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: this is just for GNOME not fixing their ordering issue of modifiers. \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":"winit-wayland/src/seat/keyboard/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94502689393c74ac547c240d5f1a25d6691e3e931f905c853cc87123802562c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: part of the workaround from \u0060WlKeyboardEvent::Enter\u0060. \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":"winit-wayland/src/seat/keyboard/mod.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8149d8956ddd9a7c07718f869abe4f16148790a71ecfac80fd93855035c1e2fa"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX this check is essential, because \u0060leave\u0060 could have a \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":"winit-wayland/src/seat/text_input/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2822effc04fe00f95ef47b3229e2f46437dbcebcb73c72f412b14fad1879becb"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Currently to get the data device to initiate a drag-and-drop, we iterate through all \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":"winit-wayland/src/window/state.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb3e9de3037f798176c13161eac046a659cc5631bf20041e323edce83636006"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Do initial commit. \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":"winit-wayland/src/window/mod.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1d44086021dd18179610a2e594e04dd3d338737c38856c20677bd142d70edb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when Chrome can better advertise that they don\u0027t support unaccelerated \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":"winit-web/src/lock.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"142787a43ba08496c0c953d097e0fdababef06c5c5628d0f3fb33e0bbd9c547a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060-webkit-device-pixel-ratio\u0060. Requires Safari v16. \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":"winit-web/src/web_sys/resize_scaling.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"855ae75e9cd90fbd498a6160768d50db55bb639cba77a50c8e882d4a1a1da457"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: confirm/reproduce this problem, see: \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":"winit-web/src/web_sys/resize_scaling.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde6b59bd625d562918a3ea40ee567223bd796c17e8e3396d9851f043563f356"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when Safari supports \u0060devicePixelContentBoxSize\u0060. \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":"winit-web/src/web_sys/resize_scaling.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d00e3d57dae02cdc32445f972a1a5f300ebde607e125400104fca0e01e60a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify when Firefox actually implements it. \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":"winit-web/src/web_sys/mod.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5149d934622e6da3336214cb61ea184109ac8104af88a54f30e840c6e7e035b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify when Safari actually implements it. \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":"winit-web/src/web_sys/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"971cf00b3c7234060e50f95ec2013c2b9ef7f03f02cf8d02e8675e01733f3c45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace obsolete \u0060addListener()\u0060 with \u0060addEventListener()\u0060 and use \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":"winit-web/src/web_sys/media_query_handle.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"efac20e685759da530645ae555b2fa926fbd1e39b4ef276ec39c05b3955a50d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this when Firefox supports correct movement values in coalesced events and browsers \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":"winit-web/src/web_sys/event.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"106311cc6f8a1a49f70790a46c973ef9c5a76677072cb207b861841f2bdfbcc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when Safari supports \u0060getCoalescedEvents\u0060. \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":"winit-web/src/web_sys/event.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4c3cac315bf5ba0a94e923741d7ae63e2175863d4836210c411c5a386a4093"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Write a test once integration framework is ready to ensure that it holds. \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":"winit-win32/src/window.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d544d1ff35016619d85a04401c4a96df9e579ea3266d4b0b91016da36e98d1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Allow compiling on all platforms. \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":"winit-win32/src/lib.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df1fd0d157cda3518fbb90cc678155d7683a2d3fc9879bc9c875d8a97d46a4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate that we can skip on unidentified keys (probably never occurs?) \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":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c01e1c9ccd1993050a5c6e0e311ec89261da941a3b4fee330c8ab141f62b6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate that we can skip on unidentified keys (probably never occurs?) \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":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8129baf90ad33208cd22222c4afa7f81cbf600e23840eed17515e954aa4725e2"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: \u0060ToUnicodeEx\u0060 seems to fail getting the string for the numpad \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":"winit-win32/src/keyboard_layout.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21b49b45db93591ac36ab69615d410a7c91671909d2b28b8489c59dd4022c50"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Is the \u0060chars != \u0022 \u0022\u0060 check desired 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":"winit-win32/src/keyboard.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04979b91d2f18097f7c3e842262c182cf572188e4b1798e46dd1249fccd676f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Implement \u0060ActiveEventLoop\u0060 for \u0060Rc\u003CEventLoopRunner\u003E\u0060 directly. \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":"winit-win32/src/event_loop.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d1e30f14eb32cdffc005d267464971f25dedfb7e9fda7d07e4140ed0ce0fcd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: detect WM_DWMCOMPOSITIONCHANGED and call DwmEnableBlurBehindWindow if necessary \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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af31a815a9dbb4ccfb716d7fde660685e29a6f66d01a108f3a445bc281d68e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK(msiglreith): To add the drop shadow we slightly tweak the non-client area. \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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bcfe72a1f1ccfe8900648e4ce9901e24fa3efd92731bb682f28b7b08ae339f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out how to handle page scrolls \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":"winit-win32/src/event_loop.rs"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd11f8a377c0b4cf733b946c1bbe72282670314fe66dc7a24f1258e3ac757017"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Exposing the full native API to client applications is too error-prone so long as \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":"winit-win32/src/dnd.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b00233e2857b39a9d9776775d4fe177a58064117eec29aaa39ca4ebcffad13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: On macOS, option will disable copy (so if copy has higher precedence than move you can \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":"winit-win32/src/dnd.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"742acf4a4c2ca5bedd299f1b1511f8b73ded943d41f0a81df950a32a2b59f1a0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): Coalesce these into a flag (or similar) instead of handling them as events. \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":"winit-win32/src/event_loop/runner.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f66907717bd100d668047b1758e4425ae5c9ff6f58623748523e50e0d394b35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(notgull): I\u0027d like to remove this, but apparently Xlib and Xinput2 are tied together \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":"winit-x11/src/xdisplay.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e2b9ace13293134499499270233c91b5452bfc19c9541315d3e5d2555045e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The XSETTINGS window here can change. In the future, listen for DestroyNotify on \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":"winit-x11/src/xdisplay.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a47c59d9664ec22508a84d5016837717b02c6f10550ffc00100e94c3948da47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add better message. \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":"winit-x11/src/xdisplay.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60a9edfb269fe7c1990ce43c80bd4adbdd28e2f90d02fe4f3aa6f356b4fdab8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Enable drag and drop (TODO: extend API to make this toggleable) \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":"winit-x11/src/window.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afc121b3d699cfb5c93002a137c0a9083a35f28b6542753592c411802dd2008"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this is actually not correct if we\u0027re setting 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":"winit-x11/src/window.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4592935e494cd30c38eeb530379772858e02e49539da852e7327c3143e6505d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO timer \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":"winit-x11/src/window.rs"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d351c4098b4597a1a84084db144da4a4e657fc1c78ff8dfad4bc97c9bc3752"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX only update the error, if it wasn\u0027t handled by any of the hooks. \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":"winit-x11/src/event_loop.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4685677c566310cb55f7049438ca9935fbdef5fc3056cfb90e8bcd2828a8d47c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We store the converted selection back to \u0060XdndSelection\u0060. We should store 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":"winit-x11/src/dnd.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d041c28c6ec6933f43d9df3ef71f0a076bb8c5b11186c6e392527298435420dd"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: this struct doesn\u0027t destroy its XIC resource when dropped. \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":"winit-x11/src/ime/context.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7822eef8373f189b66db8a5cde7a2a9eb053e5e7c36142d9d13f13f24cf7d0d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(notgull): It may be worth it to use \u0060unsafe\u0060 to copy directly 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":"winit-x11/src/util/window_property.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"62baba8ed56e147d737fa1c2a0f67e529fedf61e8512eee5176db48b17766bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO read-out activation token. \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":"winit/examples/application.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3932254c1f774cf422cf31aefc44960cc2b82baed247f05ecac45ef1333667e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(madsmtm): This should be done by softbuffer internally in the future: \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":"winit/examples/util/fill.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c79f09f3f0f2c7a56d14a25c0a69cfcf6c1a7bbded24a5da04f104ba8825120"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: wasm-binding needs to be updated for that to be resolved, for now just silence it. \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":"winit/src/lib.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4a2b09d9de5a8db92c2924acff9c03b0792e093225d897d342d90a9c071ec6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Describe what this value contains for each platform \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":"winit/src/platform/scancode.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5c2d7ddb3187472100fc9483487c60806be91a687f7c4258bff1ee25516a38"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The README states the project\u0027s purpose but does not explain what winit itself does beyond \u0027a window creation and management library\u0027 with a one-line description. Expand on what winit provides: its API surface, notable features (e.g. platform-specific getters), and how it fits into the Rust GUI ecosystem."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b6f13bbc767db6a2e32c1a5db122ab461bfe90835632a8c0ffc3002ea95d2d"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: Usage is sketched but there are no runnable examples showing how to create a window or handle events. Add a usage example: write a minimal program that creates a window and prints its size."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306ce1e9ddf192f35fa1ed4e9d3138723afcdd1a90d9fc6db868d37950f93170"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant operations for retrieving data transfer content. \u0060fetch_data_transfer\u0060 takes a specific type filter, while \u0060data_transfer\u0060 takes only an ID. It is unclear if \u0060data_transfer\u0060 returns a generic container or if it is a legacy alias. The naming convention \u0060fetch_\u0060 vs direct noun access is inconsistent with other methods like \u0060create_proxy\u0060.: Remove \u0060data_transfer\u0060 and standardize on \u0060fetch_data_transfer\u0060 (or \u0060get_data_transfer\u0060) with a consistent signature. If \u0060data_transfer\u0060 is meant to be a convenience for \u0027get all types\u0027, rename it to \u0060get_all_data_transfer_types\u0060 or similar to clarify intent. (signatures: ActiveEventLoop.fetch_data_transfer(id: DataTransferId, type_: \u0026dyn TransferType): Result | ActiveEventLoop.data_transfer(id: DataTransferId): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a834398acf797fa452888b34ca0ce9f652c9ac097a3312739b038effb80c4296"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate methods with identical signatures and likely identical implementation intent. \u0060add_type\u0060 and \u0060with_type\u0060 are semantically equivalent in builder patterns.: Remove one of the methods (preferably \u0060add_type\u0060 if the builder is immutable-like, or \u0060with_type\u0060 if it follows standard builder conventions) to reduce API surface and confusion. (signatures: DataTransferSendBuilder.add_type(type_: Ty, func: F): Self | DataTransferSendBuilder.with_type(type_: Ty, func: F): Self)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"65e246ed34cc8cc1658bf1e777d8991303fd7516b833c1b3878924ec00b83524"}},{"ruleId":"D22","level":"warning","message":{"text":"While technically distinct (one converts physical to logical, the other logical to physical), the naming symmetry is broken by the parameter names. \u0060from_physical\u0060 takes a \u0060physical\u0060 arg, but \u0060from_logical\u0060 takes a \u0060logical\u0060 arg. However, looking at \u0060LogicalPosition.from_physical\u0060 vs \u0060PhysicalPosition.from_logical\u0060, the pattern is consistent. The inconsistency lies in \u0060PixelUnit\u0060 which lacks \u0060from_logical\u0060/\u0060from_physical\u0060 static constructors entirely, relying on \u0060to_logical\u0060/\u0060to_physical\u0060 instance methods. This forces users to use different patterns for \u0060PixelUnit\u0060 vs \u0060LogicalUnit\u0060/\u0060PhysicalUnit\u0060.: Add \u0060PixelUnit.from_logical\u0060 and \u0060PixelUnit.from_physical\u0060 static constructors to match the pattern established by \u0060LogicalUnit\u0060 and \u0060PhysicalUnit\u0060, or remove the static constructors from the latter to unify on instance methods. Given \u0060Pixel\u0060 is a primitive, the static constructors on \u0060LogicalUnit\u0060 are likely the outlier. (signatures: LogicalUnit.from_physical(physical: T, scale_factor: f64): Self | PhysicalUnit.from_logical(logical: T, scale_factor: f64): Self)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bcbfff118c1a8199bb3636478c4fe62310d2e8ac949a3f5e21bd7d288a1151f5"}},{"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":"18b19f247152b5c87af5bf97aaa161568436f75019f31efd50a5da36ae6eea4e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06aa10a13c5b28544c1b971801a88a24d9f696b1cdf6cafe9b2198b6d2cdc4fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9d142f7848c789b3c463d58ff4315f584a4ac2b3fb75ce49c4abbb2cb5dc365"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d266cf0ee2f113f16d7d7389c5f42778ab978c057c21d4f2ddbc3256f77e8b8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"676821df8212d2db36bafcbf5cb7658eff49cf90b2fbeb7001c967be6fea73f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89090a735723631d61c8d6d466f188eb1105b7ff9dde6e2ab90502720d076c6a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07d48275db3fb2892bd4f761735d47b6ab3fcc7871415dfc21ca2f86bb46b2bf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68d016ba408c80b69fb1f9eaa64bea9cf4dcabdb11682778dbe454af92473d27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33394ee39f39770f7a430febd0131f24983c2f80ad8e34937c28618fa87f07ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53041d0452eb7a0f6d7363cca46cccfc47fe77904a465fee573e39f7c59d9395"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91a9a07de525ab8ad2fcc8a0d030e63b249791ca7a01a8c961bcb33d20857531"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7be7d15ec550789de30d6f83e3694026e1cc728ab66281b4a7a977c5c868627"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"544c4a2303e57e60958ebdb6fd0080ef710d74b76fe4c14761c1aedd5f552ab7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f19fc865c57216518582aaae5939801ded8e425f8e1c3772a07b58b8f7b10068"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b9077655da35a72b680b0d819f053b1010ba685a23e6c3691b575b47ebc8214"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ef490a06bae41f9bf4584c42b91d13ead9f8a72179560f5b58ce0ee8a1eecea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"257bd4516fcb7ca607065726bb17c08afddde06926e57cd9e43e38dcd5a13db9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdcb688a800b1e0d847064bb236a08f37f7da1b165817fbf71afdab6f4f19088"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8500bd444dd29b22a2b7ee47bd5fb7323de7a5296fca9e95d0d7da12354cfcad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6948a9be397cebcf84d794ef69bb7a22caf8b4494007715fb5b0ad76eb91fb9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d302734be4e98bd324964484cae4242a57216790575642e1e2d89792a6546d2a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e9e9d938b2c8da22bea3ca1a54d8a9c4f22108683329559c9cdd3187495ca2c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50adbcd711dca68f872cf2be71adcafe71227cad845e99d760eb77a975a1047e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 15 of 137 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 137 of the 187 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: winit-win32/src/raw_input.rs, winit-x11/src/util/geometry.rs, winit-web/src/web_sys/schedule.rs, winit-web/src/web_sys/resize_scaling.rs, winit-x11/src/xsettings.rs, winit-x11/src/util/window_property.rs, winit-x11/src/util/modifiers.rs, winit-x11/src/util/wm.rs (and 7 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: output.rs \u2194 mod.rs: \u0060winit-wayland/src/output.rs\u0060 (context winit-wayland) and \u0060winit/src/platform_impl/linux/mod.rs\u0060 (context winit) sit in DIFFERENT parts of the tree yet change together 75% of the time (9 of the 12 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 9 shared commits counted here, the most recent 3 are \u0060ee245c56\u0060 api: make VideoModeHandle into VideoMode (at that commit the files were still \u0060src/platform_impl/linux/wayland/output.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u006058142680\u0060 Various \u0060Monitor/VideoModeHandle\u0060 methods now return an \u0060Option\u0060 (at that commit the files were still \u0060src/platform_impl/linux/wayland/output.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u00600ffcfd8a\u0060 Remove \u0060MonitorHandle::size/refresh_rate_millihertz()\u0060 (at that commit the files were still \u0060src/platform_impl/linux/wayland/output.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cccfa14a7238e579458914cc9edc56fb0fa3a529a5348eb28f6768c430916c4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: window.rs \u2194 mod.rs: \u0060winit-orbital/src/window.rs\u0060 (context winit-orbital) and \u0060winit/src/platform_impl/linux/mod.rs\u0060 (context winit) sit in DIFFERENT parts of the tree yet change together 66% of the time (19 of the 29 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 19 shared commits counted here, the most recent 3 are \u00603a60cbab\u0060 api: make EventLoopProxy wrap an opaque type (at that commit the files were still \u0060src/platform_impl/orbital/window.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u0060b2896d74\u0060 chore: always pull raw-window-handle (at that commit the files were still \u0060src/platform_impl/orbital/window.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u006002a0a91a\u0060 Remove \u0060raw-window-handle\u0060 v0.4 and v0.5 support (#3831) (at that commit the files were still \u0060src/platform_impl/orbital/window.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-orbital/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecad0f1579d2e96b7cddc460390e6eced94dd7c87e9ff4f59877244279e2f0d4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: output.rs \u2194 randr.rs: \u0060winit-wayland/src/output.rs\u0060 (context winit-wayland) and \u0060winit-x11/src/util/randr.rs\u0060 (context winit-x11) sit in DIFFERENT parts of the tree yet change together 58% of the time (7 of the 12 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 7 shared commits counted here, the most recent 3 are \u006031423554\u0060 winit-core: move monitor handle (at that commit the files were still \u0060src/platform_impl/linux/wayland/output.rs\u0060 and \u0060src/platform_impl/linux/x11/util/randr.rs\u0060); \u0060ee245c56\u0060 api: make VideoModeHandle into VideoMode (at that commit the files were still \u0060src/platform_impl/linux/wayland/output.rs\u0060 and \u0060src/platform_impl/linux/x11/util/randr.rs\u0060); \u006058142680\u0060 Various \u0060Monitor/VideoModeHandle\u0060 methods now return an \u0060Option\u0060 (at that commit the files were still \u0060src/platform_impl/linux/wayland/output.rs\u0060 and \u0060src/platform_impl/linux/x11/util/randr.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f885d7f6b4ea7d9c90ba62d892067665037a7d21a0350683f1b409427881fc"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: monitor.rs \u2194 mod.rs: \u0060winit-uikit/src/monitor.rs\u0060 (context winit-uikit) and \u0060winit/src/platform_impl/linux/mod.rs\u0060 (context winit) sit in DIFFERENT parts of the tree yet 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) \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 8 shared commits counted here, the most recent 3 are \u0060ee245c56\u0060 api: make VideoModeHandle into VideoMode (at that commit the files were still \u0060src/platform_impl/apple/uikit/monitor.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u006058142680\u0060 Various \u0060Monitor/VideoModeHandle\u0060 methods now return an \u0060Option\u0060 (at that commit the files were still \u0060src/platform_impl/apple/uikit/monitor.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u00600ffcfd8a\u0060 Remove \u0060MonitorHandle::size/refresh_rate_millihertz()\u0060 (at that commit the files were still \u0060src/platform_impl/apple/uikit/monitor.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/monitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b16a1e10f8d5f3bc1fe86c26dd0c735878b107f0fc451619a0bc7e58ea1119"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: window.rs \u2194 mod.rs: \u0060winit-uikit/src/window.rs\u0060 (context winit-uikit) and \u0060winit/src/platform_impl/linux/mod.rs\u0060 (context winit) sit in DIFFERENT parts of the tree yet change together 52% of the time (44 of the 84 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 44 shared commits counted here, the most recent 3 are \u0060ee245c56\u0060 api: make VideoModeHandle into VideoMode (at that commit the files were still \u0060src/platform_impl/apple/uikit/window.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u0060b2896d74\u0060 chore: always pull raw-window-handle (at that commit the files were still \u0060src/platform_impl/apple/uikit/window.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u00606e1b9fa2\u0060 api: replace \u0060WindowId\u0060 \u0060From/Into\u0060 \u0060u64\u0060 with \u0060WindowId::{from,into}\u2026 (at that commit the files were still \u0060src/platform_impl/apple/uikit/window.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63fd757a8eb0f92b97996474db5c175516a9a5dc1f428efb83a396ece1d0a00"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mod.rs \u2194 mod.rs: \u0060winit-wayland/src/window/mod.rs\u0060 (context winit-wayland) and \u0060winit/src/platform_impl/linux/mod.rs\u0060 (context winit) sit in DIFFERENT parts of the tree yet change together 51% of the time (42 of the 83 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 42 shared commits counted here, the most recent 3 are \u0060ee245c56\u0060 api: make VideoModeHandle into VideoMode (at that commit the files were still \u0060src/platform_impl/linux/wayland/window/mod.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u006059b1eb54\u0060 api: make OwnedDisplayHandle wrap an opaque type (at that commit the files were still \u0060src/platform_impl/linux/wayland/window/mod.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u0060b2896d74\u0060 chore: always pull raw-window-handle (at that commit the files were still \u0060src/platform_impl/linux/wayland/window/mod.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/window/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df54c8aade34566544fca3816c145ac60f42b4e78779ba3f26f91eabed9e8dbf"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: icon.rs \u2194 mod.rs: \u0060winit-win32/src/icon.rs\u0060 (context winit-win32) and \u0060winit/src/platform_impl/linux/mod.rs\u0060 (context winit) sit in DIFFERENT parts of the tree yet 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) \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 8 shared commits counted here, the most recent 3 are \u0060528fc3e5\u0060 Add enum CustomCursorError; \u006007c25b97\u0060 icon: refactor \u0060Icon\u0060 to be \u0060dyn\u0060 (at that commit the files were still \u0060src/platform_impl/windows/icon.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060); \u0060ae28eea4\u0060 cursor: refactor \u0060CustomCursor\u0060 to be \u0060dyn\u0060 (at that commit the files were still \u0060src/platform_impl/windows/icon.rs\u0060 and \u0060src/platform_impl/linux/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-win32/src/icon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a7bfb6201fa101901a2a1f7a953be84b7d5a8a64850edf838a6c1bbc15f939"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: event_loop.rs \u2194 mod.rs: \u0060winit-android/src/event_loop.rs\u0060 (context winit-android) and \u0060winit-wayland/src/seat/touch/mod.rs\u0060 (context winit-wayland) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00606a8a3344\u0060 macOS: add \u0060WindowEvent::PointerButton::is_macos_activation_click\u0060; \u0060edfb4b03\u0060 chore: remove platform FingerId (at that commit the files were still \u0060src/platform_impl/android/mod.rs\u0060 and \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060); \u0060c8c1eca3\u0060 api: move primary from FingerId to Pointer events (at that commit the files were still \u0060src/platform_impl/android/mod.rs\u0060 and \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-android/src/event_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5646350e6c5fb525adb14f49e2cb248cae545301835cfc9114cbf430e8b30096"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mod.rs \u2194 event_processor.rs: \u0060winit-wayland/src/seat/touch/mod.rs\u0060 (context winit-wayland) and \u0060winit-x11/src/event_processor.rs\u0060 (context winit-x11) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00606a8a3344\u0060 macOS: add \u0060WindowEvent::PointerButton::is_macos_activation_click\u0060; \u0060edfb4b03\u0060 chore: remove platform FingerId (at that commit the files were still \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060 and \u0060src/platform_impl/linux/x11/event_processor.rs\u0060); \u0060c8c1eca3\u0060 api: move primary from FingerId to Pointer events (at that commit the files were still \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060 and \u0060src/platform_impl/linux/x11/event_processor.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/touch/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21731e8a041fb45c1a784c41a1411731da1a1be4f5a38ffbf4a8f11f8e3c0e6b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: view.rs \u2194 mod.rs: \u0060winit-uikit/src/view.rs\u0060 (context winit-uikit) and \u0060winit-wayland/src/seat/touch/mod.rs\u0060 (context winit-wayland) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00606a8a3344\u0060 macOS: add \u0060WindowEvent::PointerButton::is_macos_activation_click\u0060; \u0060edfb4b03\u0060 chore: remove platform FingerId (at that commit the files were still \u0060src/platform_impl/apple/uikit/view.rs\u0060 and \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060); \u0060c8c1eca3\u0060 api: move primary from FingerId to Pointer events (at that commit the files were still \u0060src/platform_impl/apple/uikit/view.rs\u0060 and \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-uikit/src/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d750070d6d53c3e1851b4d10c55e13d544ef149607c620d09fe3be2a6d951ff9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mod.rs \u2194 event_loop.rs: \u0060winit-wayland/src/seat/touch/mod.rs\u0060 (context winit-wayland) and \u0060winit-win32/src/event_loop.rs\u0060 (context winit-win32) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00606a8a3344\u0060 macOS: add \u0060WindowEvent::PointerButton::is_macos_activation_click\u0060; \u0060edfb4b03\u0060 chore: remove platform FingerId (at that commit the files were still \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060 and \u0060src/platform_impl/windows/event_loop.rs\u0060); \u0060c8c1eca3\u0060 api: move primary from FingerId to Pointer events (at that commit the files were still \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060 and \u0060src/platform_impl/windows/event_loop.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/touch/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f89a629ef4d7a38cf16f79eadc400b7ef312bc4ed3e3f69fd05a6a34db9a34"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: util.rs \u2194 view.rs: \u0060winit-appkit/src/util.rs\u0060 and \u0060winit-appkit/src/view.rs\u0060 change together 67% of the time (10 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 10 shared commits counted here, the most recent 3 are \u0060cb39ab29\u0060 macOS: Move util::EMPTY_RANGE to usage spot (#3685) (at that commit the files were still \u0060src/platform_impl/macos/util.rs\u0060 and \u0060src/platform_impl/macos/view.rs\u0060); \u006029419d6c\u0060 Refactor macOS cursor code (#2463) (at that commit the files were still \u0060src/platform_impl/macos/util/mod.rs\u0060 and \u0060src/platform_impl/macos/view.rs\u0060); \u00606474891f\u0060 Fix macOS 32bit (#2327) (at that commit the files were still \u0060src/platform_impl/macos/util/mod.rs\u0060 and \u0060src/platform_impl/macos/view.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-appkit/src/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4c2f62c7858013c5e642728e595ade3e6678a03ba5cb7167ece0065f13013"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: window_target.rs \u2194 pointer.rs: \u0060winit-web/src/event_loop/window_target.rs\u0060 and \u0060winit-web/src/web_sys/pointer.rs\u0060 change together 61% of the time (19 of the 31 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 \u0060c8c1eca3\u0060 api: move primary from FingerId to Pointer events (at that commit the files were still \u0060src/platform_impl/web/event_loop/window_target.rs\u0060 and \u0060src/platform_impl/web/web_sys/pointer.rs\u0060); \u00604e3165f3\u0060 chore: remove platform DeviceId (at that commit the files were still \u0060src/platform_impl/web/event_loop/window_target.rs\u0060 and \u0060src/platform_impl/web/web_sys/pointer.rs\u0060); \u0060eccd9e41\u0060 api: overhaul pointer API (at that commit the files were still \u0060src/platform_impl/web/event_loop/window_target.rs\u0060 and \u0060src/platform_impl/web/web_sys/pointer.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-web/src/event_loop/window_target.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d472e4afb6002f0fd58a8d3b0d0d33b79ffc87c66c8c2a967b063150c6044ce"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 mod.rs: \u0060winit-wayland/src/seat/pointer/mod.rs\u0060 and \u0060winit-wayland/src/seat/touch/mod.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00606a8a3344\u0060 macOS: add \u0060WindowEvent::PointerButton::is_macos_activation_click\u0060; \u0060a9e7bef8\u0060 wayland: Update \u0060sctk\u0060 to 0.21; \u0060c8c1eca3\u0060 api: move primary from FingerId to Pointer events (at that commit the files were still \u0060src/platform_impl/linux/wayland/seat/pointer/mod.rs\u0060 and \u0060src/platform_impl/linux/wayland/seat/touch/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"winit-wayland/src/seat/pointer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cae366c9a9f921eb379d377bb2a79930380c3b2b1848dda81b63fe3501232f3"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"}},{"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":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: No package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock \u2014 JS installs aren\u0027t reproducible (SSDF PW.4.4). Commit your package manager\u0027s lockfile and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40a08798dc9f9c819eaa9f7c084938e1cf2517a9281aed2c31563d6f7d5ba90d"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":29,"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."]}]}