Rust / Wasm framework for creating reliable and efficient web applications
This report summarizes scanner evidence for yewstack/yew, a Rust project with 32,842 GitHub stars. SynthScan examined 96,801 lines of code across 809 source files, recording 199 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.3 (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? 189 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 199 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 199 distinct pattern matches across 10 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 | Makefile.toml | 1 | ###################### | COMMENT |
| LOW | tools/ssr-e2e-harness/src/lib.rs | 121 | /// | COMMENT |
| LOW | examples/function_router/src/lib.rs | 1 | // # Implementation Note: | COMMENT |
| LOW | examples/axum_ssr_router/src/bin/ssr_router_server.rs | 161 | let tower_service = app.clone(); | COMMENT |
| LOW | examples/.cargo/dummy-min-size-config.toml | 1 | # This file is intentionally left empty. | COMMENT |
| LOW | examples/function_todomvc/src/hooks/use_bool_toggle.rs | 21 | fn deref(&self) -> &Self::Target { | COMMENT |
| LOW | examples/function_todomvc/src/hooks/use_bool_toggle.rs | 41 | /// move |_| { | COMMENT |
| LOW | packages/yew-router-macro/src/lib.rs | 1 | mod routable_derive; | COMMENT |
| LOW | packages/yew-router-macro/src/lib.rs | 21 | /// Secure, | COMMENT |
| LOW | packages/yew-macro/tests/derive_props/pass.rs | 1 | #![recursion_limit = "128"] | COMMENT |
| LOW | packages/yew-macro/tests/classes_macro/classes-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | …ro/tests/function_component_attr/without-props-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | …macro/tests/function_component_attr/with-props-pass.rs | 1 | // Shadow primitives | COMMENT |
| LOW | …s/yew-macro/tests/html_macro/generic-component-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/iterable-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/svg-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/dyn-prop-fail.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/block-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | …-macro/tests/html_macro/component-any-children-pass.rs | 1 | // Shadow primitives | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/dyn-element-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/for-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/dyn-prop-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/html-match-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/html-node-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/list-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/while-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/node-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/tests/html_macro/component-pass.rs | 1 | // Shadow primitives | COMMENT |
| LOW | …ckages/yew-macro/tests/html_macro/html-element-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | …ges/yew-macro/tests/html_macro/as-return-value-pass.rs | 1 | #![no_implicit_prelude] | COMMENT |
| LOW | packages/yew-macro/src/lib.rs | 1 | //! This crate provides Yew's procedural macro `html!` which allows using JSX-like syntax | COMMENT |
| LOW | packages/yew-macro/src/lib.rs | 21 | //! # unimplemented!() | COMMENT |
| LOW | packages/yew-macro/src/html_tree/mod.rs | 581 | /// to it, which lets us fall through cleanly whenever the next token run is | COMMENT |
| LOW | packages/yew-macro/src/html_tree/html_element.rs | 601 | ); | COMMENT |
| LOW | packages/yew/tests/use_state.rs | 161 | // deref_history fix: refcount was 2 → drops to 1 (still in Vec) | COMMENT |
| LOW | packages/yew/tests/use_state.rs | 221 | captured, | COMMENT |
| LOW | packages/yew/src/lib.rs | 1 | #![allow(clippy::needless_doctest_main)] | COMMENT |
| LOW | packages/yew/src/lib.rs | 21 | //! | COMMENT |
| LOW | packages/yew/src/lib.rs | 41 | //! } | COMMENT |
| LOW | packages/yew/src/lib.rs | 61 | //! html! { | COMMENT |
| LOW | packages/yew/src/lib.rs | 81 | )] | COMMENT |
| LOW | packages/yew/src/lib.rs | 101 | /// "three-beans", | COMMENT |
| LOW | packages/yew/src/lib.rs | 121 | /// [`html_nested!`]: ./macro.html_nested.html | COMMENT |
| LOW | packages/yew/src/lib.rs | 141 | /// struct ListProps { | COMMENT |
| LOW | packages/yew/src/lib.rs | 161 | /// # fn view(&self, ctx: &Context<Self>) -> Html { unimplemented!() } | COMMENT |
| LOW | packages/yew/src/lib.rs | 181 | /// <ListItem/> | COMMENT |
| LOW | packages/yew/src/lib.rs | 201 | /// can only contain elements of type `ListItem` using [`ChildrenRenderer<ListItem>`], | COMMENT |
| LOW | packages/yew/src/lib.rs | 221 | /// # Example | COMMENT |
| LOW | packages/yew/src/lib.rs | 241 | /// } | COMMENT |
| LOW | packages/yew/src/scheduler.rs | 361 | ))] | COMMENT |
| LOW | packages/yew/src/platform.rs | 1 | //! Yew's compatibility between JavaScript Runtime and Native Runtimes. | COMMENT |
| LOW | packages/yew/src/platform.rs | 21 | //! randomly select a worker thread from the internal pool. All tasks spawned with `spawn_local` | COMMENT |
| LOW | packages/yew/src/platform.rs | 41 | //! The Yew runtime is implemented with different runtimes depending on the target platform and can | COMMENT |
| LOW | packages/yew/src/server_renderer.rs | 41 | COMMENT | |
| LOW | packages/yew/src/dom_bundle/blist.rs | 281 | // lefts: | SSSSSSSS | ------ | EEEEEEEE | | COMMENT |
| LOW | packages/yew/src/dom_bundle/blist.rs | 321 | // or to | COMMENT |
| LOW | packages/yew/src/dom_bundle/subtree_root.rs | 81 | NEXT_ROOT_ID.fetch_add(1, Ordering::SeqCst) | COMMENT |
| LOW | packages/yew/src/dom_bundle/subtree_root.rs | 461 | // # More details: When nesting occurs | COMMENT |
| LOW | packages/yew/src/dom_bundle/position.rs | 201 | // clone the terminal next-sibling out of the chain before invoking `f`. Invoking `f` with | COMMENT |
| LOW | packages/yew/src/dom_bundle/traits.rs | 21 | COMMENT | |
| 115 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/yew/tests/use_state.rs | 148 | // Step 1: dispatch. The RefCell now contains a *new* Rc whose only | COMMENT |
| LOW⚡ | packages/yew/tests/use_state.rs | 152 | // Step 2: deref. In the original fix the Ref guard is dropped | COMMENT |
| LOW⚡ | packages/yew/tests/use_state.rs | 158 | // Step 3: dispatch again. The RefCell's old Rc is replaced. | COMMENT |
| LOW⚡ | packages/yew/tests/use_state.rs | 165 | // Step 4: churn the allocator. Create and drop many heap objects | COMMENT |
| LOW | packages/yew/tests/use_state.rs | 182 | // Step 5: read through the potentially-dangling reference. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/yew/tests/use_state.rs | 148 | // Step 1: dispatch. The RefCell now contains a *new* Rc whose only | COMMENT |
| LOW⚡ | packages/yew/tests/use_state.rs | 152 | // Step 2: deref. In the original fix the Ref guard is dropped | COMMENT |
| LOW⚡ | packages/yew/tests/use_state.rs | 158 | // Step 3: dispatch again. The RefCell's old Rc is replaced. | COMMENT |
| LOW⚡ | packages/yew/tests/use_state.rs | 165 | // Step 4: churn the allocator. Create and drop many heap objects | COMMENT |
| LOW | packages/yew/tests/use_state.rs | 182 | // Step 5: read through the potentially-dangling reference. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/yew-macro/src/html_tree/mod.rs | 501 | if comp.props.props.special.key.is_none() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/make_example_size_cmt.py | 1 | CODE | |
| LOW | ci/make_benchmark_ssr_cmt.py | 1 | CODE | |
| LOW | ci/make_benchmark_ssr_cmt.py | 1 | CODE | |
| LOW | ci/collect_sizes.py | 1 | CODE | |
| LOW | ci/collect_sizes.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/static/tutorial/data.json | 5 | "speaker": "John Doe", | CODE |
| LOW | …ckages/yew-macro/tests/html_macro/html-element-pass.rs | 58 | <input type="text" id="first-name" value="placeholder" /> | CODE |
| LOW | packages/yew/src/dom_bundle/position.rs | 100 | /// A new "placeholder" [DomSlot] that should not be used to insert nodes | COMMENT |
| LOW | packages/yew/src/virtual_dom/vlist.rs | 235 | vlist.add_child(VNode::VText(VText::new("lorem ipsum"))); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/.cargo/dummy-min-size-config.toml | 1 | # This file is intentionally left empty. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/yew/src/lib.rs | 14 | //! - Supports JavaScript interoperability, allowing developers to leverage NPM packages and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/yew-router/src/hooks.rs | 28 | /// If your `Routable` has a `#[not_found]` route, you can use `.unwrap_or_default()` instead of | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/check-translations.js | 22 | async function checkSuperfluousTranslations() { | CODE |