A cross-platform GUI library for Rust, inspired by Elm
This report summarizes scanner evidence for iced-rs/iced, a Rust project with 31,871 GitHub stars. SynthScan examined 107,561 lines of code across 514 source files, recording 406 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 3.7 (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? 401 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 406 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 406 distinct pattern matches across 7 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 | core/src/font.rs | 81 | COMMENT | |
| LOW | core/src/renderer.rs | 61 | callback: impl FnOnce(Result<image::Allocation, image::Error>) + Send + 'static, | COMMENT |
| LOW | core/src/length.rs | 1 | //! Describe amounts of space accurately. | COMMENT |
| LOW | core/src/widget.rs | 21 | COMMENT | |
| LOW | core/src/backend.rs | 1 | //! Graphical backends are designed to aid in rendering computer graphics to a monitor. | COMMENT |
| LOW | core/src/backend.rs | 141 | pub struct Settings { | COMMENT |
| LOW | core/src/color.rs | 1 | //! Manage colors in different color spaces. | COMMENT |
| LOW | core/src/color.rs | 381 | } | COMMENT |
| LOW | core/src/lib.rs | 101 | COMMENT | |
| LOW | core/src/lib.rs | 121 | /// # let element: Option<()> = Some(()); | COMMENT |
| LOW | core/src/event.rs | 41 | pub enum Status { | COMMENT |
| LOW | core/src/border.rs | 21 | /// # | COMMENT |
| LOW | core/src/image.rs | 81 | Path(Id, PathBuf), | COMMENT |
| LOW | core/src/image.rs | 221 | /// A memory allocation of a [`Handle`], often in GPU memory. | COMMENT |
| LOW | core/src/image.rs | 281 | COMMENT | |
| LOW | core/src/image.rs | 301 | /// | COMMENT |
| LOW | core/src/padding.rs | 1 | //! Space stuff around the perimeter. | COMMENT |
| LOW | core/src/padding.rs | 21 | /// # struct Widget; | COMMENT |
| LOW | core/src/content_fit.rs | 1 | //! Control the fit of some content (like an image) within a space. | COMMENT |
| LOW | core/src/content_fit.rs | 21 | /// within the window. This won't distort the image or crop/hide any edges, | COMMENT |
| LOW | core/src/content_fit.rs | 41 | Cover, | COMMENT |
| LOW | core/src/rotation.rs | 1 | //! Control the rotation of some content (like an image) within a space. | COMMENT |
| LOW | core/src/text.rs | 41 | COMMENT | |
| LOW | core/src/text.rs | 141 | } | COMMENT |
| LOW | core/src/text.rs | 161 | /// and the font you are displaying in your application. | COMMENT |
| LOW | core/src/text.rs | 281 | pub index: usize, | COMMENT |
| LOW | core/src/text.rs | 321 | COMMENT | |
| LOW | core/src/text.rs | 621 | COMMENT | |
| LOW | core/src/input_method.rs | 1 | //! Listen to input method events. | COMMENT |
| LOW | core/src/input_method.rs | 81 | /// | COMMENT |
| LOW | core/src/input_method.rs | 101 | /// preedit: Some(Preedit { content: "2".to_owned(), selection: None, text_size: None }), | COMMENT |
| LOW | core/src/input_method.rs | 141 | preedit: preedit.as_ref().map(Preedit::to_owned), | COMMENT |
| LOW | core/src/input_method.rs | 161 | /// [`Commit`][Self::Commit] events. You should also start performing IME related requests | COMMENT |
| LOW | core/src/input_method.rs | 181 | /// Notifies when the IME was disabled. | COMMENT |
| LOW | core/src/settings.rs | 21 | /// The default [`Font`] to be used. | COMMENT |
| LOW | core/src/settings.rs | 41 | /// By default, it is enabled. | COMMENT |
| LOW | core/src/widget/text.rs | 1 | //! Text widgets display information through writing. | COMMENT |
| LOW | core/src/widget/text.rs | 41 | /// # mod iced { pub mod widget { pub fn text<T>(t: T) -> iced_core::widget::Text<'static, iced_core::Theme> { unimpleme | COMMENT |
| LOW | core/src/layout/flex.rs | 1 | //! Distribute elements using a flex-based layout. | COMMENT |
| LOW | core/src/mouse/cursor.rs | 1 | use crate::{Point, Rectangle, Transformation, Vector}; | COMMENT |
| LOW | core/src/window/user_attention.rs | 1 | /// The type of user attention to request. | COMMENT |
| LOW | core/src/window/event.rs | 1 | use crate::time::Instant; | COMMENT |
| LOW | core/src/window/event.rs | 41 | /// The user has requested for the window to close. | COMMENT |
| LOW | core/src/window/event.rs | 61 | /// | COMMENT |
| LOW | core/src/window/position.rs | 1 | use crate::{Point, Size}; | COMMENT |
| LOW | core/src/window/level.rs | 1 | /// A window level groups windows with respect to their z-position. | COMMENT |
| LOW | core/src/window/settings.rs | 61 | COMMENT | |
| LOW | core/src/window/settings.rs | 81 | pub blur: bool, | COMMENT |
| LOW | core/src/window/settings/windows.rs | 1 | //! Platform specific settings for Windows. | COMMENT |
| LOW | core/src/window/settings/windows.rs | 41 | /// Let the system decide when to round window corners. | COMMENT |
| LOW | core/src/window/settings/linux.rs | 1 | //! Platform specific settings for Linux. | COMMENT |
| LOW | core/src/text/editor.rs | 821 | Sequence(Vec<Self>), | COMMENT |
| LOW | core/src/text/paragraph.rs | 61 | /// Tests whether the provided point is within the boundaries of a | COMMENT |
| LOW | core/src/text/parser.rs | 21 | /// Creates a new [`Parser`] from its [`Self::Settings`]. | COMMENT |
| LOW | core/src/keyboard/key.rs | 1 | //! Identify keyboard keys. | COMMENT |
| LOW | core/src/keyboard/key.rs | 41 | /// | COMMENT |
| LOW | core/src/keyboard/key.rs | 121 | fn from(named: Named) -> Self { | COMMENT |
| LOW | core/src/keyboard/key.rs | 141 | /// This key is used enable the ISO Level 3 shift modifier (the standard `Shift` key is the | COMMENT |
| LOW | core/src/keyboard/key.rs | 161 | /// The `NumLock` or Number Lock key. Used to toggle numpad mode function for interpreting | COMMENT |
| LOW | core/src/keyboard/key.rs | 181 | /// The `Enter` or `↵` key. Used to activate current selection or accept current input. This key | COMMENT |
| 327 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/src/shell.rs | 13 | /// A [`Widget`] can leverage a [`Shell`] to trigger changes in an application, | COMMENT |
| MEDIUM | core/src/padding.rs | 6 | /// You can leverage the `From` trait to build [`Padding`] conveniently: | COMMENT |
| MEDIUM | core/src/text.rs | 55 | /// calculation of the [`Paragraph`] and leverage metrics hinting. | COMMENT |
| MEDIUM | futures/src/subscription.rs | 137 | /// You can leverage this helper to create a [`Subscription`] that spawns | COMMENT |
| MEDIUM | widget/src/themer.rs | 15 | /// This widget can be useful to leverage multiple `Theme` | COMMENT |
| MEDIUM | widget/src/component.rs | 95 | /// This method will be called every time the widget tree changes. You can leverage it to | COMMENT |
| MEDIUM | test/src/lib.rs | 38 | //! In this case, we leverage the [`Selector`] implementation of `&str`, which selects a widget by the text it contains. | COMMENT |
| MEDIUM | wgpu/src/primitive.rs | 43 | /// If you have complex composition needs, then you can leverage | COMMENT |
| MEDIUM | src/lib.rs | 379 | //! A common pattern is to leverage this composability to split an | COMMENT |
| MEDIUM | src/lib.rs | 472 | //! seamless. | COMMENT |
| MEDIUM | src/time.rs | 19 | /// You may care about purity if you want to leverage the `time-travel` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | core/src/widget/operation.rs | 132 | /// The animation to apply to a state change, as requested by an | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | benches/ipsum.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur at elit mollis, dictum nunc non, tempus metus. Sed ia | CODE |
| LOW⚡ | benches/ipsum.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur at elit mollis, dictum nunc non, tempus metus. Sed ia | CODE |
| LOW⚡ | benches/ipsum.txt | 3 | Cras ullamcorper tincidunt tellus non tempor. Integer pulvinar turpis quam, nec pharetra purus egestas non. Vivamus sed | CODE |
| LOW⚡ | benches/ipsum.txt | 3 | Cras ullamcorper tincidunt tellus non tempor. Integer pulvinar turpis quam, nec pharetra purus egestas non. Vivamus sed | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | futures/src/subscription.rs | 136 | /// # Creating an asynchronous worker with bidirectional communication | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | widget/tests/scrollable.rs | 1494 | // ─── Rail (track) interaction ──────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/release_summary.py | 30 | CODE |