The speed of a single-page web application without having to write any JavaScript
This report summarizes scanner evidence for hotwired/turbo, a JavaScript project with 7,400 GitHub stars. SynthScan examined 18,870 lines of code across 134 source files, recording 43 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 6.3 (Moderate 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-11-14.
Can maintainers explain intent, assumptions, and trade-offs? 35 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 35 finding(s).
Which changes need focused human review? 43 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 43 distinct pattern matches across 2 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 |
|---|---|---|---|---|
| CRITICAL | src/tests/functional/visit_tests.js | 96 | window.Turbo.config.drive.unvisitableExtensions.add(".unknown_svg") | CODE |
| CRITICAL | …tests/functional/form_submission_stream_cache_tests.js | 43 | const snapshot = window.Turbo.session.view.snapshotCache.get(new URL(location)) | CODE |
| CRITICAL | src/tests/functional/frame_submission_snapshot_tests.js | 174 | const snapshot = window.Turbo.session.view.snapshotCache.get(new URL(location)) | CODE |
| CRITICAL | src/tests/functional/preloader_invalidation_tests.js | 58 | return window.Turbo.session.view.snapshotCache.has(location) | CODE |
| CRITICAL | src/tests/functional/cache_racing_tests.js | 158 | const body = window.Turbo.session.view.snapshotCache.get(new URL(path, location.href))?.element | CODE |
| CRITICAL | src/tests/functional/cache_racing_tests.js | 171 | return window.Turbo.session.view.snapshotCache.get(new URL(path, location.href))?.element.querySelectorAll("#compone | CODE |
| CRITICAL | src/tests/functional/frame_history_restoration_tests.js | 24 | const snapshot = window.Turbo.session.view.snapshotCache.get(new URL(path, location.href)) | CODE |
| CRITICAL | src/tests/functional/frame_history_restoration_tests.js | 170 | const snapshot = window.Turbo.session.view.snapshotCache.get(new URL(path, location.href)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/util.js | 71 | export function removeTemporaryElementsFrom(root) { | CODE |
| LOW | src/util.js | 156 | export function getHistoryMethodForAction(action) { | CODE |
| LOW | src/util.js | 228 | export function queryAutofocusableElement(elementOrDocumentFragment) { | CODE |
| LOW | src/core/session.js | 507 | function extendURLWithDeprecatedProperties(url) { | CODE |
| LOW⚡ | src/core/morphing.js | 36 | export function shouldRefreshFrameWithMorphing(currentFrame, newFrame) { | CODE |
| LOW⚡ | src/core/morphing.js | 42 | function areFramesCompatibleForRefreshing(currentFrame, newFrame) { | CODE |
| LOW⚡ | src/core/morphing.js | 50 | export function closestFrameReloadableWithMorphing(node) { | CODE |
| LOW | src/core/bardo.js | 55 | function createPlaceholderForPermanentElement(permanentElement) { | CODE |
| LOW | src/core/snapshot.js | 75 | export function queryPermanentElementsAll(node) { | CODE |
| LOW | src/core/streams/stream_message_renderer.js | 25 | function getPermanentElementMapForFragment(fragment) { | CODE |
| LOW | src/core/streams/stream_message_renderer.js | 43 | async function withAutofocusFromFragment(fragment, callback) { | CODE |
| LOW | src/core/streams/stream_message_renderer.js | 90 | function firstAutofocusableElementInStreams(nodeListOfStreamElements) { | CODE |
| LOW | src/core/frames/frame_renderer.js | 63 | function readScrollLogicalPosition(value, defaultValue) { | CODE |
| LOW | src/core/drive/form_submission.js | 249 | function responseSucceededWithoutRedirect(response) { | CODE |
| LOW | src/core/drive/head_snapshot.js | 99 | function elementIsMetaElementWithName(element, name) { | CODE |
| LOW | src/tests/unit/snapshot_tests.js | 72 | function createSnapshotWithTargets(targets) { | CODE |
| LOW | src/tests/helpers/page.js | 155 | export async function nextAttributeMutationNamed(page, elementId, attributeName) { | CODE |
| LOW | src/tests/helpers/page.js | 169 | export async function noNextAttributeMutationNamed(page, elementId, attributeName) { | CODE |
| LOW | src/tests/functional/visit_tests.js | 353 | async function assertVisitDirectionAttribute(page, direction) { | CODE |
| LOW | …tests/functional/form_submission_stream_cache_tests.js | 32 | async function submitStreamAndRestorePage(page, { method, inFrame }) { | CODE |
| LOW | src/tests/functional/frame_navigation_tests.js | 166 | async function prepareShadowLinkNavigation(page) { | CODE |
| LOW | src/tests/functional/frame_navigation_tests.js | 174 | function trackFrameNavigationRequests(page) { | CODE |
| LOW⚡ | src/tests/functional/rendering_tests.js | 655 | function headScriptEvaluationCount(page) { | CODE |
| LOW⚡ | src/tests/functional/rendering_tests.js | 659 | function bodyScriptEvaluationCount(page) { | CODE |
| LOW⚡ | src/tests/functional/rendering_tests.js | 669 | function isNoscriptStylesheetEvaluated(page) { | CODE |
| LOW | src/tests/functional/content_security_policy_tests.js | 57 | async function expectProgressBarUnderPolicy(page, policy, { styled, styleSource }) { | CODE |
| LOW | src/tests/functional/scroll_restoration_tests.js | 85 | async function assertScrollsToTopAfterFrameNavigation(page, action) { | CODE |
| LOW | src/tests/functional/frame_tests.js | 1238 | async function withoutChangingEventListenersCount(page, callback) { | CODE |
| LOW | src/tests/functional/frame_tests.js | 1283 | function frameScriptEvaluationCount(page) { | CODE |
| LOW | …c/tests/functional/page_refresh_stream_action_tests.js | 73 | async function setLongerPageRefreshDebouncePeriod(page, period = 500) { | CODE |
| LOW | src/tests/functional/frame_promoted_history_tests.js | 313 | async function expectNoTemporaryElements(page) { | CODE |
| LOW | src/tests/functional/frame_promoted_history_tests.js | 332 | async function observeSecondFrameExtraction(page) { | CODE |
| LOW | src/elements/frame_element.js | 186 | function frameLoadingStyleFromString(style) { | CODE |
| LOW | src/observers/form_submit_observer.js | 49 | function submissionDoesNotDismissDialog(form, submitter) { | CODE |
| LOW | src/observers/form_submit_observer.js | 55 | function submissionDoesNotTargetIFrame(form, submitter) { | CODE |