A high performance rust-powered UI layout library
This report summarizes scanner evidence for DioxusLabs/taffy, a Rust project with 3,727 GitHub stars. SynthScan examined 211,009 lines of code across 8487 source files, recording 159 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.8 (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? 153 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 159 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 159 distinct pattern matches across 5 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 | .markdownlint.yml | 1 | --- | COMMENT |
| LOW | .markdownlint.yml | 21 | # MD013: | COMMENT |
| LOW | benches/src/yoga_helpers.rs | 101 | // } | COMMENT |
| LOW | src/lib.rs | 1 | //! # Taffy | COMMENT |
| LOW | src/lib.rs | 21 | //! | COMMENT |
| LOW | src/lib.rs | 41 | //! - [parley](https://github.com/DioxusLabs/taffy/blob/main/examples/parley/src/main.rs) | COMMENT |
| LOW | src/lib.rs | 61 | #![cfg_attr(feature = "document-features", doc = document_features::document_features!())] | COMMENT |
| LOW | src/geometry.rs | 201 | /// The sum of [`Rect.start`](Rect) and [`Rect.end`](Rect) | COMMENT |
| LOW | src/geometry.rs | 221 | /// Both horizontal_axis_sum and vertical_axis_sum as a `Size<T>` | COMMENT |
| LOW | src/tree/cache.rs | 21 | // The `CacheKey` encodes two f32s as a u64. We know that the f32s will always be | COMMENT |
| LOW | src/tree/cache.rs | 141 | } | COMMENT |
| LOW | src/tree/cache.rs | 181 | std::thread_local! { | COMMENT |
| LOW | src/tree/cache.rs | 201 | /// Cached intermediate layout results | COMMENT |
| LOW | src/tree/layout.rs | 1 | //! Final data structures that represent the high-level UI layout | COMMENT |
| LOW | src/tree/layout.rs | 241 | COMMENT | |
| LOW | src/tree/layout.rs | 261 | /// This flag is ignored (treated as `true`) for axes where the corresponding known dimension is `None`. | COMMENT |
| LOW | src/tree/layout.rs | 341 | /// margin box within that area. | COMMENT |
| LOW | src/tree/layout.rs | 401 | /// Create a `AxisStaticPosition` which aligns the box within `area` according to its | COMMENT |
| LOW | src/tree/layout.rs | 441 | } | COMMENT |
| LOW | src/tree/layout.rs | 561 | /// can run after the algorithm has finished. When the container is a grid, per-box grid areas are | COMMENT |
| LOW | src/tree/layout.rs | 581 | pub struct LayoutOutput { | COMMENT |
| LOW | src/tree/layout.rs | 601 | /// lays them out. Empty (allocation-free) when there are no such descendants (the common case). | COMMENT |
| LOW | src/tree/layout.rs | 681 | pub fn from_outer_size(size: Size<f32>) -> Self { | COMMENT |
| LOW | src/tree/layout.rs | 701 | /// content of the node (the border boxes of its descendants plus their non-clipped overflow), | COMMENT |
| LOW | src/tree/traits.rs | 1 | //! The abstractions that make up the core of Taffy's low-level API | COMMENT |
| LOW | src/tree/traits.rs | 21 | //! ├── RoundTree - Round a float-valued` layout to integer pixels | COMMENT |
| LOW | src/tree/traits.rs | 41 | //! the `PrintTree` traits. | COMMENT |
| LOW | src/tree/traits.rs | 61 | //! ``` | COMMENT |
| LOW | src/tree/traits.rs | 81 | //! | COMMENT |
| LOW | src/tree/traits.rs | 101 | //! | COMMENT |
| LOW | src/tree/traits.rs | 121 | //! pub trait PrintTree: TraverseTree { | COMMENT |
| LOW | src/tree/traits.rs | 161 | } | COMMENT |
| LOW | src/tree/traits.rs | 201 | COMMENT | |
| LOW | src/tree/traits.rs | 221 | /// Interpreted in the containing block's axes (see [`LayoutPartialTree::get_core_container_style`]). | COMMENT |
| LOW | src/tree/traits.rs | 241 | COMMENT | |
| LOW | src/tree/traits.rs | 281 | /// their containing block, so [`round_layout`](crate::round_layout) skips them when visiting a | COMMENT |
| LOW | src/util/sys.rs | 1 | //! Allocator-flexible data types | COMMENT |
| LOW | src/util/front_back_vec_builder.rs | 1 | //! A fixed-capacity `Vec` builder that can be filled from both ends | COMMENT |
| LOW | src/style/float.rs | 1 | //! Style types for float layout | COMMENT |
| LOW | src/style/alignment.rs | 1 | //! Style types for controlling alignment. | COMMENT |
| LOW | src/style/alignment.rs | 21 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default)] | COMMENT |
| LOW | src/style/alignment.rs | 41 | FlexEnd, | COMMENT |
| LOW | src/style/alignment.rs | 61 | COMMENT | |
| LOW | src/style/alignment.rs | 81 | FlexEnd, | COMMENT |
| LOW | src/style/alignment.rs | 121 | /// `Unsafe`, except for absolutely positioned boxes whose alignment is instead | COMMENT |
| LOW | src/style/alignment.rs | 141 | /// Keeps the requested alignment even when the subject overflows the alignment | COMMENT |
| LOW | src/style/alignment.rs | 181 | /// Stretch to fill the container. | COMMENT |
| LOW | src/style/alignment.rs | 221 | } | COMMENT |
| LOW | src/style/alignment.rs | 321 | /// For Grid it controls alignment in the inline axis. | COMMENT |
| LOW | src/style/alignment.rs | 341 | COMMENT | |
| LOW | src/style/alignment.rs | 381 | /// content overflows the alignment container, to avoid data loss. | COMMENT |
| LOW | src/style/compact_length.rs | 221 | #[repr(transparent)] | COMMENT |
| LOW | src/style/compact_length.rs | 241 | /// (`min-content`, `max-content`, `fit-content`, `fit-content()`, `stretch`) and clear for `auto`, | COMMENT |
| LOW | src/style/compact_length.rs | 341 | pub const fn min_content() -> Self { | COMMENT |
| LOW | src/style/compact_length.rs | 361 | #[inline(always)] | COMMENT |
| LOW | src/style/compact_length.rs | 381 | /// `max(min_content, min(max_content, stretch))` | COMMENT |
| LOW | src/style/grid.rs | 21 | /// The template may be larger than the extents of the named areas due to unnamed (`.`) cells, | COMMENT |
| LOW | src/style/grid.rs | 421 | /// Defaults to `GridPlacement::Auto` | COMMENT |
| LOW | src/style/grid.rs | 881 | #[inline(always)] | COMMENT |
| LOW | src/style/grid.rs | 901 | /// `max(min_content, min(max_content, limit))` | COMMENT |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benches/Cargo.toml | 42 | # The library only contains helpers for the benchmarks. Disabling the default `libtest` bench harness for it | COMMENT |
| MEDIUM | src/compute/grid/mod.rs | 336 | // Absolutely positioned children do not take part in grid placement and do not create implicit tracks, | COMMENT |
| MEDIUM | src/compute/grid/placement.rs | 556 | (1, (line(2), auto(), line(1), auto()).into_grid_child(), (1, 2, 0, 1)), // Definitely positioned in | CODE |
| MEDIUM | src/compute/grid/placement.rs | 592 | (1, (line(-5), auto(), line(1), auto()).into_grid_child(), (-2, -1, 0, 1)), // Row 1. Definitely pos | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/common/text.rs | 1 | pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun | CODE |
| LOW | examples/common/text.rs | 1 | pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun | CODE |
| LOW | examples/parley/src/main.rs | 6 | pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun | CODE |
| LOW | examples/parley/src/main.rs | 6 | pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun | CODE |
| LOW | benches/benches/mixed.rs | 10 | pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun | CODE |
| LOW | benches/benches/mixed.rs | 10 | pub const LOREM_IPSUM : &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/common/src/lib.rs | 3 | /// Creates a `TaffyTree` that uses `TestNodeContext`. The purpose of this function is | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gentest/test_helper.js | 187 | function parseGridTrackDefinitions(input) { | CODE |