🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
This report summarizes scanner evidence for vuejs/core, a TypeScript project with 54,817 GitHub stars. SynthScan examined 183,271 lines of code across 637 source files, recording 92 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.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? 90 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 69 finding(s).
Which changes need focused human review? 92 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 92 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 | …core/__tests__/transforms/transformExpressions.spec.ts | 17 | function parseWithExpressionTransform( | CODE |
| LOW | …core/__tests__/transforms/transformExpressions.spec.ts | 623 | function compileWithBindingMetadata( | CODE |
| LOW | …ler-core/__tests__/transforms/transformElement.spec.ts | 44 | function parseWithElementTransform( | CODE |
| LOW | packages/compiler-core/src/codegen.ts | 785 | function genExpressionAsPropertyKey( | CODE |
| LOW | packages/compiler-core/src/validateExpression.ts | 28 | export function validateBrowserExpression( | CODE |
| LOW | packages/compiler-core/src/ast.ts | 774 | export function createConditionalExpression( | CODE |
| LOW | packages/compiler-core/src/ast.ts | 841 | export function createAssignmentExpression( | CODE |
| LOW | packages/compiler-core/src/transform.ts | 488 | export function createStructuralDirectiveTransform( | CODE |
| LOW | packages/compiler-core/src/babelUtils.ts | 163 | export function isInDestructureAssignment( | CODE |
| LOW | packages/compiler-core/src/utils.ts | 252 | export function advancePositionWithMutation( | CODE |
| LOW | …kages/compiler-core/src/transforms/transformElement.ts | 954 | function stringifyDynamicPropNames(props: string[]): string { | CODE |
| LOW | packages/compiler-core/src/transforms/cacheStatic.ts | 401 | function getConstantTypeOfHelperCall( | CODE |
| LOW | packages/compiler-core/src/transforms/cacheStatic.ts | 421 | function getGeneratedPropsConstantType( | CODE |
| LOW | packages/compiler-core/src/transforms/vIf.ts | 219 | function createCodegenNodeForBranch( | CODE |
| LOW | packages/compiler-core/src/transforms/vIf.ts | 240 | function createChildrenCodegenNode( | CODE |
| LOW | packages/runtime-dom/src/index.ts | 197 | function injectCompilerOptionsCheck(app: App) { | CODE |
| LOW | packages/runtime-dom/src/modules/style.ts | 153 | function shouldPreserveTextareaResizeStyle( | CODE |
| LOW | packages/compiler-sfc/src/parse.ts | 301 | function createDuplicateBlockError( | CODE |
| LOW | packages/compiler-sfc/src/compileScript.ts | 282 | function checkInvalidScopeReference(node: Node | undefined, method: string) { | CODE |
| LOW | packages/compiler-sfc/src/template/templateUtils.ts | 24 | export function normalizeDecodedImportPath(source: string): string { | CODE |
| LOW | packages/compiler-sfc/src/style/pluginScoped.ts | 372 | function canSplitDeepContainerPseudo(node: selectorParser.Pseudo): boolean { | CODE |
| LOW | packages/compiler-sfc/src/style/pluginScoped.ts | 378 | function splitSelectorForNestedDeep( | CODE |
| LOW | packages/compiler-sfc/src/style/cssVars.ts | 333 | export function genNormalScriptCssVarsCode( | CODE |
| LOW | …kages/compiler-sfc/src/script/analyzeScriptBindings.ts | 27 | function analyzeBindingsFromOptions(node: ObjectExpression): BindingMetadata { | CODE |
| LOW | …kages/compiler-sfc/src/script/analyzeScriptBindings.ts | 123 | export function getObjectOrArrayExpressionKeys(value: Node): string[] { | CODE |
| LOW⚡ | packages/compiler-sfc/src/script/importUsageCheck.ts | 45 | export function resolveTemplateVModelIdentifiers( | CODE |
| LOW⚡ | packages/compiler-sfc/src/script/importUsageCheck.ts | 52 | function resolveTemplateUsedIdentifiers( | CODE |
| LOW⚡ | packages/compiler-sfc/src/script/importUsageCheck.ts | 59 | function resolveTemplateAnalysisResult( | CODE |
| LOW | packages/compiler-sfc/src/script/utils.ts | 113 | export function createGetCanonicalFileName( | CODE |
| LOW | packages/compiler-sfc/src/script/defineProps.ts | 211 | function resolveRuntimePropsFromType( | CODE |
| LOW | packages/compiler-sfc/src/script/defineProps.ts | 332 | function genDestructuredDefaultValue( | CODE |
| LOW | …ages/compiler-sfc/src/script/definePropsDestructure.ts | 99 | export function transformDestructuredProps( | CODE |
| LOW | …ages/compiler-sfc/src/script/definePropsDestructure.ts | 207 | function walkFunctionScopeVarDeclarations( | CODE |
| LOW | packages/compiler-sfc/src/script/resolveType.ts | 154 | function recordResolvedElementDeps( | CODE |
| LOW | packages/compiler-sfc/src/script/resolveType.ts | 789 | function innerResolveTypeReference( | CODE |
| LOW | packages/reactivity/__tests__/reactiveArray.spec.ts | 120 | function expectHaveBeenCalledTimes(rawTarget: any[], times: number) { | CODE |
| LOW | packages/reactivity/src/collectionHandlers.ts | 270 | function createInstrumentationGetter(isReadonly: boolean, shallow: boolean) { | CODE |
| LOW | …es/runtime-core/__tests__/components/KeepAlive.spec.ts | 447 | async function assertNameMatchWithFlagExclude(props: KeepAliveProps) { | CODE |
| LOW | …ntime-core/__tests__/components/BaseTransition.spec.ts | 400 | async function testToggleOnOffBeforeFinish({ | CODE |
| LOW | …ntime-core/__tests__/components/BaseTransition.spec.ts | 587 | async function testToggleBranchesBeforeFinish( | CODE |
| LOW | packages/runtime-core/src/hydrationStrategies.ts | 36 | function elementIsVisibleInViewport(el: Element) { | CODE |
| LOW | packages/runtime-core/src/errorHandling.ts | 83 | export function callWithAsyncErrorHandling( | CODE |
| LOW | packages/runtime-core/src/component.ts | 1198 | export function getComponentPublicInstance( | CODE |
| LOW | packages/runtime-core/src/componentRenderContext.ts | 22 | export function setCurrentRenderingInstance( | CODE |
| LOW | packages/runtime-core/src/devtools.ts | 129 | function createDevtoolsComponentHook( | CODE |
| LOW | packages/runtime-core/src/devtools.ts | 154 | function createDevtoolsPerformanceHook( | CODE |
| LOW | packages/runtime-core/src/componentPublicInstance.ts | 713 | export function exposePropsOnRenderContext( | CODE |
| LOW | packages/runtime-core/src/componentPublicInstance.ts | 733 | export function exposeSetupStateOnRenderContext( | CODE |
| LOW | packages/runtime-core/src/renderer.ts | 2649 | function locateNonHydratedAsyncRoot( | CODE |
| LOW | packages/runtime-core/src/renderer.ts | 2669 | function resolveAsyncComponentPlaceholder(anchorVnode: VNode) { | CODE |
| LOW | packages/runtime-core/src/compat/componentFunctional.ts | 22 | export function convertLegacyFunctionalComponent( | CODE |
| LOW | packages/runtime-core/src/compat/componentAsync.ts | 26 | export function convertLegacyAsyncComponent( | CODE |
| LOW | packages/runtime-core/src/compat/renderFn.ts | 304 | export function defineLegacyVNodeProperties(vnode: VNode): void { | CODE |
| LOW | packages/runtime-core/src/compat/globalConfig.ts | 39 | export function installLegacyConfigWarnings(config: AppConfig): void { | CODE |
| LOW | packages/runtime-core/src/compat/globalConfig.ts | 65 | export function installLegacyOptionMergeStrats(config: AppConfig): void { | CODE |
| LOW | packages/runtime-core/src/compat/renderHelpers.ts | 65 | export function legacyBindObjectListeners(props: any, listeners: any): Data { | CODE |
| LOW | packages/runtime-core/src/compat/global.ts | 332 | export function installAppCompatProperties( | CODE |
| LOW | packages/runtime-core/src/compat/global.ts | 390 | function applySingletonAppMutations(app: App) { | CODE |
| LOW | packages/runtime-core/src/compat/instance.ts | 65 | export function installCompatInstanceProperties( | CODE |
| LOW | packages/runtime-core/src/components/Suspense.ts | 892 | function normalizeSuspenseChildren(vnode: VNode): void { | CODE |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages-private/dts-test/h.test-d.ts | 141 | h(Foo, { bar: 1, foo: 'ok' }) | COMMENT |
| LOW | packages-private/dts-test/h.test-d.ts | 161 | // // @ts-expect-error should fail on missing required prop | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 2561 | } = { | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 2621 | ], | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 2741 | // type: ErrorCodes.INCORRECTLY_OPENED_COMMENT, | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 2761 | // ] | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 2781 | // { | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3001 | // INCORRECTLY_CLOSED_COMMENT: [ | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3021 | // }, | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3041 | // { | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3061 | // loc: { offset: 11, line: 1, column: 12 } | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3081 | // { | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3121 | { | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3141 | // code: '<template><div id="foo"\r\nclass="bar"></div></template>', | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3161 | // }, | COMMENT |
| LOW | packages/compiler-core/__tests__/parse.spec.ts | 3181 | // { | COMMENT |
| LOW | packages/compiler-core/src/transforms/vOn.ts | 101 | // unnecessary to cache inside v-once | COMMENT |
| LOW | packages/runtime-dom/src/jsx.ts | 1 | // Note: this file is auto concatenated to the end of the bundled d.ts during | COMMENT |
| LOW | packages/runtime-dom/src/modules/events.ts | 101 | // inner click event triggers patch, event handler | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/shared/__tests__/looseEqual.spec.ts | 16 | const text = 'Lorem ipsum' | CODE |
| LOW | …s/runtime-core/__tests__/rendererOptimizedMode.spec.ts | 830 | render(h('div', { id: 'placeholder' }), root) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/runtime-core/src/vnode.ts | 584 | // #2078 make sure to merge refs during the clone instead of overwriting it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/runtime-core/src/renderer.ts | 748 | // #1689 For inside suspense + suspense resolved case, just call it | COMMENT |