Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.
This report summarizes scanner evidence for slint-ui/slint, a Rust project with 24,339 GitHub stars. SynthScan examined 638,500 lines of code across 2304 source files, recording 1805 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1714 finding(s).
Are imports declared and package/API names verified? 52 finding(s).
Are wrappers, guards, and repeated structures necessary? 605 finding(s).
Which changes need focused human review? 1805 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1805 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .clippy.toml | 1 | # Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/lsp/preview.rs | 161 | fn resource_url_mapper() -> Option<i_slint_compiler::ResourceUrlMapper> { | COMMENT |
| LOW | tools/lsp/host_language_search.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/lsp/host_language_search.rs | 41 | /// Hard limits on scan work. The host-language follow-up runs in a | COMMENT |
| LOW | tools/lsp/host_language_search.rs | 241 | COMMENT | |
| LOW | tools/lsp/host_language_search.rs | 321 | /// literals, raw strings, lifetimes, or any other language construct. The | COMMENT |
| LOW | tools/lsp/language.rs | 301 | InternalError, | COMMENT |
| LOW | tools/lsp/connector.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/lsp/fmt/fmt.rs | 2261 | /// ```slint | COMMENT |
| LOW | tools/lsp/connector/remote.rs | 121 | COMMENT | |
| LOW | tools/lsp/preview/user_settings.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/lsp/preview/debug.rs | 101 | COMMENT | |
| LOW | tools/lsp/preview/outline.rs | 21 | trait Tree { | COMMENT |
| LOW | tools/lsp/preview/macos_titlebar.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/slintpad/playwright.config.ts | 61 | }, | COMMENT |
| LOW | tools/slintpad/tests/populate-command.spec.ts | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/viewer/remote.rs | 21 | // Set by CI when building the desktop and iOS binaries so users can report | COMMENT |
| LOW | tools/viewer/build.rs | 41 | /// attribution page of the remote viewer's idle screen (remote.rs embeds the | COMMENT |
| LOW | tools/viewer/main.rs | 101 | #[arg(long, value_name = "code", requires = "remote", conflicts_with = "no_pairing")] | COMMENT |
| LOW | tools/viewer/main.rs | 161 | /// to be passed to the shell to be executed. Occurrences of `$1` will be replaced by the first argument, | COMMENT |
| LOW | tools/viewer/android/build-aab.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/viewer/android/build-native.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/viewer/android/install-aab.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/viewer/ci_scripts/ci_post_clone.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/viewer/remote/apple.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/viewer/remote/apple.rs | 21 | COMMENT | |
| LOW | tools/slint-sc-coverage/source_map.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/slint-sc-coverage/lib.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/slint-sc-coverage/main.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/slint-sc-coverage/expectations.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/slint-sc-coverage/expectations.rs | 21 | //! A caret line starts in the first column, so a point in the four columns | COMMENT |
| LOW | tools/compiler/main.rs | 41 | #[value(alias = "false")] | COMMENT |
| LOW | tools/compiler/main.rs | 61 | #[cfg_attr(feature = "cpp", doc = "'cpp' generates a C++ header.")] | COMMENT |
| LOW | tools/compiler/main.rs | 81 | #[cfg(feature = "slint-sc")] | COMMENT |
| LOW | tools/compiler/main.rs | 101 | #[arg(name = "file")] | COMMENT |
| LOW | tools/compiler/main.rs | 121 | depfile: Option<std::path::PathBuf>, | COMMENT |
| LOW | tools/compiler/main.rs | 141 | #[arg(long = "bundle-translations", name = "path")] | COMMENT |
| LOW | tools/editor/preview.rs | 201 | } | COMMENT |
| LOW | tools/editor/windows.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/editor/flatpak.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tools/editor/preview/outline.rs | 21 | trait Tree { | COMMENT |
| LOW | tools/editor/preview/macos_titlebar.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | docker/sysroot-apt-install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | editors/tree-sitter-slint/grammar.js | 921 | // A backslash that starts no known escape is a semantic error, not a | COMMENT |
| LOW | editors/tree-sitter-slint/run_tests.sh | 41 | COMMENT | |
| LOW | editors/vscode/src/lsp_commands.ts | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | editors/vscode/src/snippets.ts | 1 | // Copyright © Danny Tuppeny <danny@tuppeny.com> | COMMENT |
| LOW | tests/screenshots/anyrender.rs | 341 | px[1] = ((px[1] as u32 * 255 / a).min(255)) as u8; | COMMENT |
| LOW | tests/screenshots/replay-anyrender.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/screenshots/fonts/convert.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | tests/driver/driverlib/fork_harness.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/driverlib/lib.rs | 121 | Ok(results) | COMMENT |
| LOW | tests/driver/rust/template.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/crashes.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/widgets-fluent.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/imports.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/types.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/elements.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/layout.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| LOW | tests/driver/rust/tests/lookup.rs | 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> | COMMENT |
| 998 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 54 | def test_gradient_stop_partial_hex_typing_cancels_without_source_changes( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 86 | def test_live_rgb_typing_preserves_edit_start_alpha( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 134 | def test_live_rgb_typing_recaptures_alpha_for_the_next_edit( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 167 | def test_opacity_scrub_cancellation_preserves_exact_alpha( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 215 | def test_gradient_stop_rows_edit_color_and_opacity_without_opening_stop_panel( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 255 | def test_gradient_stop_opacity_scrub_keeps_capture( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 326 | def test_stop_drag_crosses_neighbors_without_losing_capture( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 375 | def test_linear_canvas_activation_and_colour( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 427 | def test_linear_endpoint_drag_and_session_history( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 459 | def test_linear_double_click_and_delete( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 485 | def test_linear_drag_escape_restores_gesture( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 508 | def test_linear_axis_translation_tracks_rotated_rectangles( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 539 | def test_linear_layout_size_and_keyboard( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 586 | def test_linear_outside_click_accepts_before_selecting_another_rectangle( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 616 | def test_linear_external_edit_cancels_stale_draft( | STRING |
| LOW | …s/editor/ui-tests/tests/test_linear_gradient_canvas.py | 642 | def test_linear_extended_axis_round_trip( | STRING |
| LOW | tools/editor/ui-tests/tests/test_source_safety.py | 37 | def test_imported_file_edit_targets_only_nested_source( | CODE |
| LOW | tools/editor/ui-tests/tests/test_source_safety.py | 81 | def test_stale_selection_commit_is_rejected( | CODE |
| LOW | tools/editor/ui-tests/tests/test_source_safety.py | 102 | def test_stale_revision_commit_is_rejected( | CODE |
| LOW | tools/editor/ui-tests/tests/test_source_safety.py | 133 | def test_deleted_root_file_recovers_without_relaunch( | CODE |
| LOW | tools/editor/ui-tests/tests/test_source_safety.py | 157 | def test_deleted_import_recovers_without_relaunch( | CODE |
| LOW | tools/editor/ui-tests/tests/test_source_safety.py | 183 | def test_initial_broken_source_recovers_without_relaunch( | CODE |
| LOW | tools/editor/ui-tests/tests/test_wrap_in_layout.py | 50 | def test_wrap_in_layout_writes_exact_source( | CODE |
| LOW | tools/editor/ui-tests/tests/test_hover_refresh.py | 32 | def test_source_removal_clears_hover_without_pointer_motion( | CODE |
| LOW | tools/editor/ui-tests/tests/test_hover_refresh.py | 55 | def test_undo_moves_hovered_element_away_from_stationary_pointer( | CODE |
| LOW | tools/editor/ui-tests/tests/test_hover_refresh.py | 96 | def test_preview_reload_refreshes_hover_geometry_without_pointer_motion( | STRING |
| LOW | tools/editor/ui-tests/tests/test_hover_refresh.py | 116 | def test_preview_reload_updates_hover_target_without_pointer_motion( | STRING |
| LOW | tools/editor/ui-tests/tests/test_hover_refresh.py | 144 | def test_preview_reload_preserves_hover_suppression( | STRING |
| LOW | tools/editor/ui-tests/tests/test_checkable.py | 41 | def test_checkable_switch_writes_exact_source_and_shows_checked( | CODE |
| LOW | tools/editor/ui-tests/tests/test_checkable.py | 76 | def test_checked_switch_on_checkable_button_writes_exact_source( | CODE |
| LOW | tools/editor/ui-tests/tests/test_scroll_indicators.py | 17 | def test_file_selection_preserves_scrolled_row_positions( | CODE |
| LOW | tools/editor/ui-tests/tests/test_scroll_indicators.py | 66 | def test_tree_indicators_scroll_without_losing_virtualization( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 28 | def test_recompilation_preserves_inspector_focus_after_file_tree_navigation( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 59 | def test_file_tree_renames_file_inline( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 87 | def test_file_tree_renames_file_from_context_menu( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 115 | def test_file_tree_copies_path_from_context_menu( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 141 | def test_file_tree_saves_rename_when_focus_moves( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 172 | def test_file_tree_limits_rename_error_to_edited_row( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 194 | def test_file_tree_opens_sibling_component( | CODE |
| LOW | tools/editor/ui-tests/tests/test_navigation.py | 212 | def test_file_tree_switches_image_and_component_surfaces( | CODE |
| LOW | tools/editor/ui-tests/tests/canvas_interactions.py | 439 | def wait_for_no_rectangle_hover(window: slint_testing.Window) -> None: | CODE |
| LOW | tools/editor/ui-tests/tests/test_inspector_checked.py | 27 | def test_checked_switch_writes_exact_source( | CODE |
| LOW | tools/editor/ui-tests/tests/test_layout_spacing.py | 49 | def test_layout_scrub_previews_and_reverts( | STRING |
| LOW | tools/editor/ui-tests/tests/test_layout_spacing.py | 132 | def test_layout_bindings_are_editable_without_scrubbing( | STRING |
| LOW | tools/editor/ui-tests/tests/test_layout_spacing.py | 196 | def test_layout_numeric_input( | STRING |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 36 | def test_radial_activation_preserves_the_actual_picker( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 108 | def test_ellipse_endpoint_cancel_restores_radius_and_rectangle_rotation( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 147 | def test_off_center_ellipse_endpoint_tracks_pointer_while_rotating_element( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 173 | def test_off_center_ellipse_radius_crosses_rectangle_pivot_without_rotation( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 203 | def test_radial_radius_save_reopen_and_history( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 240 | def test_ellipse_radii_save_and_reopen( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 289 | def test_ellipse_endpoint_rotates_rectangle_and_saves_one_edit( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 349 | def test_ellipse_handle_rotation_keeps_picker_and_saves_without_radius_change( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 397 | def test_explicit_equal_radius_ellipse_survives_stop_edit( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 427 | def test_shift_resize_either_ellipse_axis_makes_circle( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 472 | def test_dragging_circle_radius_creates_ellipse( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 510 | def test_ellipse_handles_keyboard_and_drag_cancel( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 550 | def test_ellipse_center_and_stop_save_with_history( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 586 | def test_radial_endpoint_rotation_saves_rectangle_and_noop_does_not_write_source( | CODE |
| LOW | …s/editor/ui-tests/tests/test_radial_gradient_canvas.py | 621 | def test_radial_stops_cross_insert_delete_and_color( | CODE |
| 506 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/lsp/preview.rs | 168 | /// ┌─────────────┐ | COMMENT |
| MEDIUM⚡ | tools/lsp/preview.rs | 170 | /// │ └─────────────┘ │ | COMMENT |
| MEDIUM⚡ | tools/lsp/preview.rs | 172 | /// ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ | COMMENT |
| MEDIUM⚡ | tools/lsp/preview.rs | 174 | /// └─────────────┘ └─────────────┘ └─────────────┘ | COMMENT |
| MEDIUM⚡ | tools/lsp/preview.rs | 177 | /// └───────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | tools/editor/preview.rs | 210 | /// ┌─────────────┐ | COMMENT |
| MEDIUM⚡ | tools/editor/preview.rs | 212 | /// │ └─────────────┘ │ | COMMENT |
| MEDIUM⚡ | tools/editor/preview.rs | 214 | /// ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ | COMMENT |
| MEDIUM⚡ | tools/editor/preview.rs | 216 | /// └─────────────┘ └─────────────┘ └─────────────┘ | COMMENT |
| MEDIUM⚡ | tools/editor/preview.rs | 219 | /// └───────────────────────────────────────┘ | COMMENT |
| MEDIUM | internal/interpreter/eval_layout.rs | 19 | // ── Value → layout-type converters ────────────────────────────────────────── | COMMENT |
| MEDIUM | internal/interpreter/eval_layout.rs | 162 | // ── Dispatch ──────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/core/graphics/brush.rs | 672 | // Step 1: Apply rotation by adding from_angle and wrapping to [0, 1) range | COMMENT |
| LOW | internal/core/graphics/brush.rs | 684 | // Step 2: Separate duplicate positions with different colors to avoid flickering | COMMENT |
| LOW⚡ | internal/core/graphics/brush.rs | 695 | // Step 3: Sort by rotated position | COMMENT |
| LOW⚡ | internal/core/graphics/brush.rs | 700 | // Step 4: Add boundary stops at 0.0 and 1.0 if missing | COMMENT |
| LOW | docs/development/ffi-language-bindings.md | 404 | ### Step 1: Add to Internal Module | COMMENT |
| LOW | docs/development/ffi-language-bindings.md | 425 | ### Step 2: Update cbindgen (for C++) | COMMENT |
| LOW | docs/development/ffi-language-bindings.md | 435 | ### Step 3: Add C++ Wrapper | COMMENT |
| LOW | docs/development/ffi-language-bindings.md | 448 | ### Step 4: Add Python Binding | COMMENT |
| LOW | docs/development/ffi-language-bindings.md | 461 | ### Step 5: Add Node.js Binding | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 353 | // Step 1: Configure charge LED (register 0x69 = 105 decimal) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 360 | // Step 2: Enable ALDO outputs (register 0x90 = 144 decimal) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 367 | // Step 3: Configure ALDO4 voltage (register 0x95 = 149 decimal) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 387 | // Step 1: Configure Port 0 Configuration (register 0x02) <- 0b00000101 (0x05) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 394 | // Step 2: Configure Port 1 Configuration (register 0x03) <- 0b00000011 (0x03) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 401 | // Step 3: Configure Port 0 Output (register 0x04) <- 0b00011000 (0x18) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 408 | // Step 4: Configure Port 1 Output (register 0x05) <- 0b00001100 (0x0C) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 415 | // Step 5: Configure register 0x11 <- 0b00010000 (0x10) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 422 | // Step 6: Configure register 0x13 <- 0b11111111 (0xFF) | COMMENT |
| LOW | api/slint-sc/tests/driver.rs | 246 | // Step 1: Run slint-compiler | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 259 | // Step 2: Extract test code from ```rust blocks in comments | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 268 | // Step 3: Create test .rs file | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 274 | // Step 4: Compile with rustc | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 288 | // Step 5: Run the test binary | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 295 | // Step 7: Compare the screenshots against the references | COMMENT |
| LOW | api/slint-sc/tests/driver.rs | 341 | // Step 6: The coverage of the case must be what the case states, if it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/lsp/preview/eval.rs | 324 | /// The purpose of this function is to be able to show some not totally useless representation of | COMMENT |
| LOW | tools/editor/preview/eval.rs | 323 | /// The purpose of this function is to be able to show some not totally useless representation of | COMMENT |
| LOW | internal/core/graphics/brush.rs | 672 | // Step 1: Apply rotation by adding from_angle and wrapping to [0, 1) range | COMMENT |
| LOW | internal/core/graphics/brush.rs | 684 | // Step 2: Separate duplicate positions with different colors to avoid flickering | COMMENT |
| LOW⚡ | internal/core/graphics/brush.rs | 695 | // Step 3: Sort by rotated position | COMMENT |
| LOW⚡ | internal/core/graphics/brush.rs | 700 | // Step 4: Add boundary stops at 0.0 and 1.0 if missing | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 353 | // Step 1: Configure charge LED (register 0x69 = 105 decimal) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 360 | // Step 2: Enable ALDO outputs (register 0x90 = 144 decimal) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 367 | // Step 3: Configure ALDO4 voltage (register 0x95 = 149 decimal) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 387 | // Step 1: Configure Port 0 Configuration (register 0x02) <- 0b00000101 (0x05) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 394 | // Step 2: Configure Port 1 Configuration (register 0x03) <- 0b00000011 (0x03) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 401 | // Step 3: Configure Port 0 Output (register 0x04) <- 0b00011000 (0x18) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 408 | // Step 4: Configure Port 1 Output (register 0x05) <- 0b00001100 (0x0C) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 415 | // Step 5: Configure register 0x11 <- 0b00010000 (0x10) | COMMENT |
| LOW⚡ | …les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs | 422 | // Step 6: Configure register 0x13 <- 0b11111111 (0xFF) | COMMENT |
| LOW | api/slint-sc/tests/driver.rs | 246 | // Step 1: Run slint-compiler | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 259 | // Step 2: Extract test code from ```rust blocks in comments | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 268 | // Step 3: Create test .rs file | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 274 | // Step 4: Compile with rustc | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 288 | // Step 5: Run the test binary | COMMENT |
| LOW⚡ | api/slint-sc/tests/driver.rs | 295 | // Step 7: Compare the screenshots against the references | COMMENT |
| LOW | api/slint-sc/tests/driver.rs | 341 | // Step 6: The coverage of the case must be what the case states, if it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/driver/driverlib/Cargo.toml | 20 | # The fork harness for test binaries whose tests must run on the process main thread. | COMMENT |
| MEDIUM | tests/driver/driverlib/lib.rs | 6 | #[cfg(feature = "fork-harness")] | COMMENT |
| LOW | tests/backends/Cargo.toml | 19 | # the right backend and doesn't accidentally just use the default backend! | COMMENT |
| MEDIUM | internal/live-preview/tests/reload_imported_file.rs | 11 | #[path = "live_reload/harness.rs"] | COMMENT |
| MEDIUM | internal/live-preview/tests/coalesced_reload.rs | 10 | #[path = "live_reload/harness.rs"] | COMMENT |
| MEDIUM | internal/live-preview/tests/threaded_reload.rs | 10 | #[path = "live_reload/harness.rs"] | COMMENT |
| MEDIUM | internal/live-preview/tests/reload_after_error.rs | 11 | #[path = "live_reload/harness.rs"] | COMMENT |
| MEDIUM | internal/live-preview/tests/reload_compiler_config.rs | 10 | #[path = "live_reload/harness.rs"] | COMMENT |
| MEDIUM | internal/renderers/software/lib.rs | 2558 | // seamless edge (scaling each from its source extent drifted apart). | COMMENT |
| MEDIUM | scripts/slint_sc_test_suite.sh | 33 | # harness per invocation may honor it. The captured logs are parsed by | COMMENT |
| MEDIUM | .github/workflows/node_test_reusable.yaml | 84 | # Release is only applied to the harness that drives the node.js invocations, but needed | COMMENT |
| LOW | api/rs/slint/Cargo.toml | 75 | ## environment, we need a replacement. Using this feature, Slint will just use static variable | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/lsp/preview/properties.rs | 442 | && [SmolStr::new_static("text"), SmolStr::new_static("placeholder")] | CODE |
| LOW | tools/editor/preview/properties.rs | 420 | && [SmolStr::new_static("text"), SmolStr::new_static("placeholder")] | CODE |
| LOW | api/rs/slint/tests/text_input_long_press.rs | 64 | let instance = setup("Lorem Ipsum Dolor Sit"); | CODE |
| LOW | api/rs/slint/tests/text_input_long_press.rs | 84 | let instance = setup("Lorem Ipsum Dolor Sit"); | CODE |
| LOW | api/rs/slint/tests/text_input_selection_offsets.rs | 18 | text: "Lorem Ipsum"; | CODE |
| LOW | demos/printerdemo/node/main.js | 36 | owner: "user@example.com", | CODE |
| LOW | demos/usecases/rust/src/lib.rs | 75 | let message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labo | CODE |
| LOW | demos/usecases/rust/src/lib.rs | 75 | let message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labo | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 22 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 22 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 27 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 27 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 32 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 32 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 37 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 37 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 42 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 42 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 47 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 47 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 52 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 52 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 57 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| LOW⚡ | demos/usecases/cpp/main.cpp | 57 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/editor/ui-tests/tests/ui_assertions.py | 4 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_ui_assertions.py | 4 | CODE | |
| LOW | docs/python/gen_mdx.py | 23 | CODE | |
| LOW | docs/astro/src/content/code/main_game_logic.py | 5 | CODE | |
| LOW | docs/astro/src/content/code/main_game_logic.py | 6 | CODE | |
| LOW | docs/astro/src/content/code/main_tiles_from_python.py | 5 | CODE | |
| LOW | docs/astro/src/content/code/main_tiles_from_python.py | 6 | CODE | |
| LOW | docs/astro/src/content/code/main_tiles_from_python.py | 10 | CODE | |
| LOW | examples/memory/main.py | 5 | CODE | |
| LOW | examples/memory/main.py | 6 | CODE | |
| LOW | examples/memory/main.py | 11 | CODE | |
| LOW | examples/memory/main.py | 11 | CODE | |
| LOW | examples/async-io/main.py | 5 | CODE | |
| LOW | scripts/build-demo-images.py | 35 | CODE | |
| LOW | api/python/slint/tests/registry/e2e.py | 42 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 26 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 29 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 29 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 29 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 29 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 29 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 29 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/editor/ui-tests/tests/ui_driver.py | 200 | except Exception as error: | CODE |
| LOW | tools/editor/ui-tests/tests/ui_reporting.py | 38 | except Exception as error: | CODE |
| LOW | tools/editor/ui-tests/tests/ui_reporting.py | 62 | except Exception as diagnostic_error: | CODE |
| LOW | tools/editor/ui-tests/tests/ui_reporting.py | 110 | except Exception: | CODE |
| LOW | internal/core/gdb_pretty_printers.py | 17 | except Exception as e: | CODE |
| LOW | internal/core/gdb_pretty_printers.py | 32 | except Exception as e: | CODE |
| LOW | internal/core/gdb_pretty_printers.py | 84 | except Exception as e: | CODE |
| LOW | internal/core/gdb_pretty_printers.py | 97 | except Exception as e: | CODE |
| MEDIUM | internal/core/gdb_pretty_printers.py | 13 | def to_string(self): | CODE |
| MEDIUM | internal/core/gdb_pretty_printers.py | 20 | def children(self): | CODE |
| MEDIUM | internal/core/gdb_pretty_printers.py | 81 | def to_string(self): | CODE |
| MEDIUM | internal/core/gdb_pretty_printers.py | 87 | def children(self): | CODE |
| LOW | api/python/slint/tests/test_async.py | 73 | except Exception as e: # noqa: BLE001 -- surface any failure to the main thread | CODE |
| LOW | api/python/slint/tests/test_async.py | 164 | except Exception as e: | CODE |
| LOW | api/python/slint/tests/test_async.py | 188 | except Exception: # noqa: BLE001 -- any exception means the test failed | CODE |
| LOW | api/python/slint/tests/test_async.py | 227 | except Exception as e: | CODE |
| LOW | demos/printerdemo/python/main.py | 77 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/editor/ui-tests/tests/editor_sync.py | 35 | except FileNotFoundError: | CODE |
| HIGH | api/python/slint/slint/__init__.py | 536 | except ImportError: | CODE |
| HIGH | api/python/slint/slint/__init__.py | 657 | except (NotImplementedError, RuntimeError, ValueError): | CODE |
| HIGH | api/python/slint/slint/loop.py | 73 | except KeyError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | .github/workflows/visual_editor_windows_msix.yaml | 264 | $manifest.Package.Applications.Application.VisualElements.SetAttribute("DisplayName", $display) | CODE |
| CRITICAL | api/python/slint/tests/test_loader.py | 24 | instance = loader.demos.printerdemo.ui.printerdemo.MainWindow() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/editor/ui-tests/tests/ui_driver.py | 177 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_rectangle_border.py | 101 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_reload_diagnostics.py | 25 | CODE | |
| LOW | tools/editor/ui-tests/tests/ui_reporting.py | 49 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_shadow_canvas.py | 294 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_shadow_canvas.py | 488 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_shadow_canvas.py | 658 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_undo_redo.py | 157 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_inspector.py | 883 | CODE | |
| LOW | tools/editor/ui-tests/tests/test_inspector.py | 1790 | CODE | |
| LOW | editors/tree-sitter-slint/test-to-corpus.py | 24 | CODE | |
| LOW | internal/core/gdb_pretty_printers.py | 39 | CODE | |
| LOW | docs/python/gen_mdx.py | 191 | CODE | |
| LOW | docs/python/gen_mdx.py | 552 | CODE | |
| LOW | scripts/build-demo-images.py | 216 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 163 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 305 | CODE | |
| LOW | api/python/slint/slint/__init__.py | 166 | CODE | |
| LOW | api/python/slint/slint/_native.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | api/python/slint/tests/test_models.py | 66 | "array.push(): the model ReadOnly does not support this modification" in err | CODE |
| HIGH | api/python/slint/tests/test_models.py | 45 | public function push-one() { ints.push(4) } | STRING |
| HIGH | api/python/slint/tests/test_models.py | 371 | public function push-one(value: int) { ints.push(value) } | STRING |
| HIGH | api/python/slint/tests/test_models.py | 374 | public function push-one-empty() { empty-ints.push(0) } | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/driver/python/python.rs | 114 | pop_front_if("# This file is auto-generated"); | CODE |
| MEDIUM | internal/compiler/generator/python.rs | 409 | writeln!(f, "# This file is auto-generated\n")?; | CODE |
| MEDIUM | api/python/slint/slint/__init__.py | 313 | """This function is the low-level entry point into Slint for instantiating components. It loads the `.slint` file at | STRING |
| MEDIUM | api/python/slint/slint/__init__.py | 396 | """This function is the low-level entry point into Slint for instantiating components. It loads the `.slint` file at | STRING |
| MEDIUM | xtask/src/license_headers_check.rs | 173 | let end_line = "# This file is distributed under the same license as the "; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/python/slint/tests/test_int_types.py | 204 | def set_row_data(self, row: int, value: int) -> None: | CODE |
| LOW | api/python/slint/slint/models.py | 39 | def set_row_data(self, row: int, value: T) -> None: | CODE |
| LOW | api/python/slint/slint/models.py | 128 | def set_row_data(self, row: int, value: T) -> None: | CODE |
| LOW | api/python/slint/slint/models.py | 265 | def set_row_data(self, row: int, value: T) -> None: | CODE |
| LOW | api/python/slint/slint/__init__.py | 584 | def set_xdg_app_id(app_id: str) -> None: | CODE |
| LOW | api/python/slint/slint/__init__.py | 701 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/core/items.rs | 16 | - Don't forget to update the documentation | CODE |
| LOW | internal/core/model.rs | 145 | /// // don't forget to call row_changed | COMMENT |
| LOW | internal/backends/qt/qt_widgets.rs | 16 | - Don't forget to update the documentation | CODE |
| MEDIUM | examples/slide_puzzle/index.html | 42 | build is done for demonstration purposes. Native applications are the real target of the toolkit. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/make-screenshots.sh | 8 | # Set SLINT_VIEWER_BIN to a prebuilt host viewer; otherwise a debug build is | COMMENT |
| LOW | scripts/make-screenshots.sh | 10 | # Set SLINT_BUILD_NUMBER to also show a build line. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/crater.yaml | 391 | # - git_url: "https://github.com/stars-labs/mpc-wallet" # uses properties that don't exist (AI hall | COMMENT |