Build fast web applications with Rust.
This report summarizes scanner evidence for leptos-rs/leptos, a Rust project with 21,452 GitHub stars. SynthScan examined 167,367 lines of code across 1292 source files, recording 646 pattern matches distributed across 5 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? 642 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 646 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 646 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 | reactive_stores_macro/src/lib.rs | 21 | COMMENT | |
| LOW | reactive_stores_macro/src/lib.rs | 41 | /// T4, | COMMENT |
| LOW | reactive_stores_macro/src/lib.rs | 61 | /// 'a, | COMMENT |
| LOW | reactive_stores_macro/src/lib.rs | 81 | /// T1, | COMMENT |
| LOW | .config/nextest.toml | 1 | experimental = ["setup-scripts"] | COMMENT |
| LOW | router_macro/tests/ui.rs | 1 | //! Compile-fail coverage for the router macros' rejection rules. | COMMENT |
| LOW | router_macro/src/lib.rs | 21 | const RFC3986_PCHAR_OTHER: [char; 12] = | COMMENT |
| LOW | router_macro/src/lib.rs | 261 | /// surfaced to the nearest [`ErrorBoundary`](leptos::prelude::ErrorBoundary) instead of | COMMENT |
| LOW | router_macro/src/lib.rs | 281 | /// vec![/* todo: load blog posts */] | COMMENT |
| LOW | leptos_hot_reload/src/parsing.rs | 1 | use rstml::node::{CustomNode, NodeElement, NodeName}; | COMMENT |
| LOW | leptos_dom/.cargo/config.toml | 1 | # [build] | COMMENT |
| LOW | leptos_dom/examples/test-bench/src/main.rs | 121 | } | COMMENT |
| LOW | leptos_dom/examples/test-bench/src/main.rs | 141 | // } | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 181 | /// The `web-sys` scheduling APIs only return an integer id, but the `Closure` | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 201 | } else { | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 261 | /// See [`cancelIdleCallback()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback) | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 301 | /// completed its work and when there is no other code waiting to be run before | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 321 | /// The associated callback is freed when the reactive scope that created | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 381 | /// use leptos::{leptos_dom::helpers::debounce, logging::log, prelude::*, *}; | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 561 | } | COMMENT |
| LOW | leptos_dom/src/helpers.rs | 581 | /// // so .code() can be called | COMMENT |
| LOW | projects/ory-kratos/Cargo.toml | 101 | # Optional. Can be over-ridden with the command line parameter --bin-features | COMMENT |
| LOW | projects/sitemap_axum/Cargo.toml | 101 | # The features to use when compiling the bin target | COMMENT |
| LOW | projects/sitemap_axum/Cargo.toml | 121 | # The profile to use for the lib target when compiling for release | COMMENT |
| LOW | projects/hexagonal-architecture/Cargo.toml | 81 | COMMENT | |
| LOW | projects/hexagonal-architecture/end2end/tsconfig.json | 1 | { | COMMENT |
| LOW | projects/hexagonal-architecture/end2end/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func | COMMENT |
| LOW | projects/hexagonal-architecture/end2end/tsconfig.json | 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defau | COMMENT |
| LOW | projects/hexagonal-architecture/end2end/tsconfig.json | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project | COMMENT |
| LOW | projects/hexagonal-architecture/end2end/tsconfig.json | 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlate | COMMENT |
| LOW | …ts/hexagonal-architecture/end2end/playwright.config.ts | 61 | { | COMMENT |
| LOW | …ts/hexagonal-architecture/end2end/playwright.config.ts | 81 | COMMENT | |
| LOW | …ts/hexagonal-architecture/end2end/playwright.config.ts | 101 | // webServer: { | COMMENT |
| LOW | projects/session_auth_axum/Cargo.toml | 81 | # The port to use for automatic reload monitoring | COMMENT |
| LOW | projects/session_auth_axum/Cargo.toml | 101 | # The features to use when compiling the lib target | COMMENT |
| LOW | projects/nginx-mpmc/app-1/Cargo.toml | 101 | # If the --no-default-features flag should be used when compiling the bin target | COMMENT |
| LOW | projects/nginx-mpmc/shared-server-2/src/main.rs | 21 | #[cfg(not(feature = "ssr"))] | COMMENT |
| LOW | projects/nginx-mpmc/app-2/Cargo.toml | 61 | COMMENT | |
| LOW | projects/nginx-mpmc/app-2/Cargo.toml | 101 | bin-features = ["ssr"] | COMMENT |
| LOW | projects/sso_auth_axum/Cargo.toml | 81 | site-addr = "127.0.0.1:3000" | COMMENT |
| LOW | projects/sso_auth_axum/Cargo.toml | 101 | COMMENT | |
| LOW | projects/openapi-openai-api-swagger-ui/Cargo.toml | 101 | # Optional. Defaults to false. | COMMENT |
| LOW | …api-openai-api-swagger-ui/end2end/playwright.config.ts | 61 | { | COMMENT |
| LOW | …api-openai-api-swagger-ui/end2end/playwright.config.ts | 81 | COMMENT | |
| LOW | meta/src/html.rs | 21 | /// This component takes no props, but can take any number of spread attributes | COMMENT |
| LOW | meta/src/meta_tags.rs | 1 | use crate::register; | COMMENT |
| LOW | meta/src/meta_tags.rs | 21 | /// <main> | COMMENT |
| LOW | meta/src/body.rs | 21 | /// This component takes no props, but can take any number of spread attributes | COMMENT |
| LOW | meta/src/lib.rs | 1 | #![deny(missing_docs)] | COMMENT |
| LOW | meta/src/lib.rs | 21 | //! let (name, set_name) = create_signal("Alice".to_string()); | COMMENT |
| LOW | meta/src/style.rs | 1 | use crate::{OrDefaultNonce, register}; | COMMENT |
| LOW | meta/src/style.rs | 21 | /// </Style> | COMMENT |
| LOW | meta/src/link.rs | 1 | use crate::register; | COMMENT |
| LOW | meta/src/link.rs | 21 | /// href="myFont.woff2" | COMMENT |
| LOW | meta/src/link.rs | 41 | /// The [`fetchpriority`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-fetchpriority) attribu | COMMENT |
| LOW | meta/src/link.rs | 61 | media: Option<Oco<'static, str>>, | COMMENT |
| LOW | meta/src/title.rs | 181 | #[inline(always)] | COMMENT |
| LOW | meta/src/title.rs | 201 | /// view! { | COMMENT |
| LOW | meta/src/title.rs | 221 | /// <main> | COMMENT |
| LOW | meta/src/stylesheet.rs | 1 | use crate::register; | COMMENT |
| 574 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tachys/tests/svg_inert.rs | 5 | //! parses the fragment inside an SVG-namespaced scaffold so the markup inherits | COMMENT |
| MEDIUM | tachys/tests/svg_inert.rs | 41 | // The mounted element is the authored <text>, not a <g>/<svg> scaffold. | COMMENT |
| MEDIUM | tachys/tests/svg_inert.rs | 66 | /// children, ensuring the scaffold is still stripped and the namespace applied. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | reactive_stores/src/lib.rs | 450 | /// ## Return value | COMMENT |
| LOW | scripts/bump.sh | 23 | # Check if any file in the package directory changed since the member's release commit or latest tag release | COMMENT |
| LOW | scripts/update_nightly.sh | 16 | # Check if a date is provided as an argument | COMMENT |
| LOW | .github/workflows/run-cargo-make-task.yml | 266 | # Check if the counter_isomorphic can be built with leptos_debuginfo cfg flag in release mode | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tachys/src/html/attribute/key.rs | 369 | placeholder "placeholder", | CODE |
| LOW | examples/parent_child/src/lib.rs | 38 | "Lorem ipsum sit dolor amet." | CODE |
| LOW | examples/router/src/lib.rs | 207 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | examples/router/src/lib.rs | 207 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | integrations/axum/tests/axum_integration.rs | 994 | // to not require using cargo-nextest setup scripts to prepare this. Essentially if this is done | COMMENT |