A batteries-included framework for building web apps
This report summarizes scanner evidence for tokio-rs/topcoat, a Rust project with 6,287 GitHub stars. SynthScan examined 184,102 lines of code across 1321 source files, recording 652 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 3.5 (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? 646 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? 652 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 652 distinct pattern matches across 4 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 | release-plz.toml | 1 | [workspace] | COMMENT |
| LOW | crates/topcoat-view/grammar/src/props.rs | 1 | use heck::ToSnakeCase; | COMMENT |
| LOW | crates/topcoat-view/grammar/src/props.rs | 41 | /// required fields. | COMMENT |
| LOW | crates/topcoat-view/grammar/src/props.rs | 321 | #[automatically_derived] | COMMENT |
| LOW | crates/topcoat-view/grammar/src/component.rs | 21 | /// | COMMENT |
| LOW | crates/topcoat-view/grammar/src/view/hir/scope.rs | 41 | COMMENT | |
| LOW | crates/topcoat-view/grammar/src/view/hir/scope.rs | 61 | COMMENT | |
| LOW | crates/topcoat-view/grammar/src/view/hir/emit.rs | 1 | use proc_macro2::{Span, TokenStream}; | COMMENT |
| LOW | crates/topcoat-view/grammar/src/view/hir/emit.rs | 61 | /// Registers the hoisted binding `ident` as a joined unit and splices | COMMENT |
| LOW | …es/topcoat-view/grammar/src/view/hir/node/component.rs | 21 | pub ordinal: u32, | COMMENT |
| LOW | crates/topcoat-view/benches/render.rs | 1 | //! Micro-benchmarks for [`View::render`]. | COMMENT |
| LOW | crates/topcoat-view/src/format.rs | 1 | #[cfg(feature = "http")] | COMMENT |
| LOW | crates/topcoat-view/src/element_id.rs | 1 | use std::panic::Location; | COMMENT |
| LOW | crates/topcoat-view/src/element_id.rs | 21 | /// #[component] | COMMENT |
| LOW | crates/topcoat-view/src/hoist.rs | 61 | thread_local! { | COMMENT |
| LOW | crates/topcoat-view/src/hoist.rs | 81 | COMMENT | |
| LOW | crates/topcoat-view/src/string.rs | 1 | use std::ops::Deref; | COMMENT |
| LOW | crates/topcoat-view/src/string.rs | 21 | COMMENT | |
| LOW | crates/topcoat-view/src/string.rs | 61 | /// | COMMENT |
| LOW | crates/topcoat-view/src/props.rs | 1 | /// A properties struct whose builder checks required fields at compile time. | COMMENT |
| LOW | crates/topcoat-view/src/buffer.rs | 21 | pub(crate) use scope::*; | COMMENT |
| LOW | crates/topcoat-view/src/buffer.rs | 61 | /// Returns this buffer's unique id. | COMMENT |
| LOW | crates/topcoat-view/src/view.rs | 21 | /// An update to a live region, returned by [`View::poll_swap`]. | COMMENT |
| LOW | crates/topcoat-view/src/view.rs | 41 | /// If it is live, call [`poll_swap`](Self::poll_swap) for region updates | COMMENT |
| LOW | crates/topcoat-view/src/internal/yielder.rs | 81 | guard!(DriveInputGuard, DRIVE_INPUT: DriveInput); | COMMENT |
| LOW | crates/topcoat-view/src/internal/suspense_view.rs | 41 | /// The fallback went out and the child is still pending. The flag says | COMMENT |
| LOW | crates/topcoat-view/src/internal/builder.rs | 21 | Self { cx, parts } | COMMENT |
| LOW | crates/topcoat-view/src/internal/capture.rs | 1 | /// Moves a control-flow body's pattern bindings into its nested view. | COMMENT |
| LOW | crates/topcoat-view/src/html/element.rs | 1 | use topcoat_core::context::Cx; | COMMENT |
| LOW | crates/topcoat-view/src/html/attribute.rs | 21 | value: V, | COMMENT |
| LOW | crates/topcoat-view/src/html/escape.rs | 1 | use core::fmt; | COMMENT |
| LOW | crates/topcoat-view/src/html/escape.rs | 21 | /// | COMMENT |
| LOW | crates/topcoat-view/src/html/escape.rs | 41 | AttributeKey, | COMMENT |
| LOW | crates/topcoat-view/src/html/node.rs | 1 | use std::borrow::Cow; | COMMENT |
| LOW | crates/topcoat-view/src/html/node.rs | 161 | COMMENT | |
| LOW | crates/topcoat-view/src/html/class.rs | 1 | use std::borrow::Cow; | COMMENT |
| LOW | crates/topcoat-view/src/html/class.rs | 321 | /// | COMMENT |
| LOW | crates/topcoat-view/src/html/class.rs | 361 | // The surrounding class list has already written any separator for | COMMENT |
| LOW | crates/topcoat-view/src/html/attribute/key.rs | 1 | use std::{ | COMMENT |
| LOW | crates/topcoat-view/src/html/attribute/attributes.rs | 21 | map: HashMap<AttributeKey, AttributeValue>, | COMMENT |
| LOW | crates/topcoat-view/src/html/attribute/value.rs | 1 | use std::borrow::Cow; | COMMENT |
| LOW | crates/topcoat-view/src/html/attribute/value.rs | 21 | /// }) | COMMENT |
| LOW | crates/topcoat-view/src/html/attribute/value.rs | 301 | #[derive(Debug, Default, Clone)] | COMMENT |
| LOW | crates/topcoat-view/src/buffer/handle.rs | 21 | /// | COMMENT |
| LOW | crates/topcoat-view/src/buffer/handle.rs | 181 | self.render_into(cx, &mut Formatter::new(&mut html)); | COMMENT |
| LOW | crates/topcoat-view/src/buffer/handle.rs | 241 | } | COMMENT |
| LOW | crates/topcoat-view/src/buffer/part.rs | 41 | self.sink.$method(value); | COMMENT |
| LOW | crates/topcoat-view/src/buffer/part.rs | 181 | } | COMMENT |
| LOW | crates/topcoat-view/src/buffer/part.rs | 201 | /// Use this only for trusted markup. Passing untrusted input defeats the | COMMENT |
| LOW | crates/topcoat-view/src/buffer/instruction.rs | 21 | #[non_exhaustive] | COMMENT |
| LOW | crates/topcoat-view/src/buffer/instruction.rs | 41 | /// A `u32` rendered as text. | COMMENT |
| LOW | crates/topcoat-view/src/buffer/instruction.rs | 61 | /// The string is held as a reference to a `&'static str` so the operand | COMMENT |
| LOW | crates/topcoat-router/macro/docs/page.md | 81 | A page doubles as a [component](../view/attr.component.html): calling it inside [`view!`](../view/macro.view.html) rende | COMMENT |
| LOW | crates/topcoat-router/src/response.rs | 21 | const TEXT_PLAIN: HeaderValue = HeaderValue::from_static("text/plain; charset=utf-8"); | COMMENT |
| LOW | crates/topcoat-router/src/response.rs | 41 | /// | COMMENT |
| LOW | crates/topcoat-router/src/response.rs | 61 | /// } | COMMENT |
| LOW | crates/topcoat-router/src/response.rs | 81 | /// conversion needs. | COMMENT |
| LOW | crates/topcoat-router/src/response.rs | 101 | } | COMMENT |
| LOW | crates/topcoat-router/src/page.rs | 81 | COMMENT | |
| LOW | crates/topcoat-router/src/page.rs | 161 | } | COMMENT |
| 583 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/topcoat-ui/src/manage/scaffold.rs | 9 | /// Options for [`scaffold`]. | COMMENT |
| MEDIUM | crates/topcoat-ui/src/manage/scaffold.rs | 17 | /// A file planned by [`scaffold`]. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/topcoat-l10n/grammar/src/fluent/translate.rs | 172 | assert_eq!(translate.key.attribute().as_deref(), Some("placeholder")); | CODE |
| LOW | crates/topcoat-l10n/grammar/src/fluent/common/key.rs | 172 | r#"password-field."placeholder""#, | CODE |
| LOW | crates/topcoat-l10n/grammar/src/fluent/common/key.rs | 177 | ("password-field".to_owned(), Some("placeholder".to_owned())), | CODE |
| LOW | crates/topcoat-l10n/src/fluent/catalog.rs | 232 | catalog.format(&locale!("de"), "login-input", Some("placeholder"), &[]), | CODE |
| LOW | crates/topcoat-l10n/src/fluent/catalog.rs | 243 | .format(&locale!("en"), "login-input", Some("placeholder"), &[]) | CODE |
| LOW | crates/topcoat-l10n/src/fluent/translation.rs | 301 | test_translation_record!(NAMESPACE, "login-input", Some("placeholder")), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/topcoat-runtime/browser/src/dom/view.ts | 12 | export function isAttributeValueViewParts( | CODE |