AI Slop Code Risk Monitor

vuejs/vue

SlopCodeMonitor badge for vuejs/vue Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for vuejs/vue, a TypeScript project with 212,501 GitHub stars. SynthScan examined 88,194 lines of code across 483 source files, recording 90 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.

1.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2024-10-10
Last Push
212.5K
Stars
TypeScript
Language
88.2K
Lines of Code
483
Files
90
Pattern Hits
2026-11-27
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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-27.

Cognitive Ownership Risk 4.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 89 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 1.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 27 finding(s).

PR Review Velocity Impact 5.0/100 · LOW

Which changes need focused human review? 90 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 0LOW 90

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 90 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.

Over-Commented Block60 hits · 60 pts
SeverityFileLineSnippetContext
LOWtypes/jsx.d.ts1// This code is based on react definition in DefinitelyTyped published under the MIT license.COMMENT
LOWtypes/test/v3/define-component-test.tsx301 )COMMENT
LOWtypes/test/v3/define-component-test.tsx321// expectError(<MyComponent />)COMMENT
LOW…/unit/features/component/component-scoped-slot.spec.ts521 waitForUpdate(() => {COMMENT
LOWtest/unit/features/v3/setupTemplateRef.spec.ts341 // render: () => h('div', 'bar')COMMENT
LOWtest/unit/features/v3/setupTemplateRef.spec.ts361 // expect(elRef1.value).toBe(elRef2.value)COMMENT
LOWtest/unit/features/v3/setupTemplateRef.spec.ts381 // mounted() {COMMENT
LOWtest/unit/features/v3/reactivity/ref.spec.ts121COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts41 expect(isReadonly(reactiveProxy.foo)).toBe(true)COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts61COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts81 // const sroMap = shallowReadonly(original)COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts101 // `Set operation on key "foo" failed: target is readonly.`COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts121 // })COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts141 // const obj = { foo: 1 }COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts161COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts181 // expect(values2[0][1]).toBe(val)COMMENT
LOW…st/unit/features/v3/reactivity/shallowReadonly.spec.ts201 // `Set operation on key "foo" failed: target is readonly.`COMMENT
LOWtest/unit/features/v3/reactivity/reactive.spec.ts61 // // subtypes of SetCOMMENT
LOWtest/unit/features/v3/reactivity/reactive.spec.ts81COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts61 // @discrepancy no shallow/non-shallow versions from the same source -COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts81COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts101COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts121 // test('should not get reactive on foreach', () => {COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts141 // )COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts161 // shallowArray.push(a)COMMENT
LOW…st/unit/features/v3/reactivity/shallowReactive.spec.ts181 // () => {COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts101 expect(dummy).toBe(1)COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts121 // // getCOMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts141COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts161 // dummy = wrapped[0].aCOMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts181 // const key2 = {}COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts201 // const key = {}COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts221COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts241 // for (const [key, value] of wrapped) {COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts261 // )COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts281 // })COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts301 // test('should not allow mutation & not trigger effect', () => {COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts321 // expect(wrapped.size).toBe(2)COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts381 // dummy = roMap.get('foo')COMMENT
LOWtest/unit/features/v3/reactivity/readonly.spec.ts401 // const a = reactive(new Map())COMMENT
LOWtest/helpers/wait-for-update.ts1import Vue from 'vue'COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts481 // test('should work', () => {COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts501 // })COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts521 // <script setup>COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts541 // test('avoid unref() when necessary', () => {COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts561 // { inlineTemplate: true }COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts581 // // no need to mark constant fns in patch flagCOMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts601 // )COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts621 // </script>COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts641 // })COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts661 // })COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts681 // )COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts701 // let lett = 1COMMENT
LOWpackages/compiler-sfc/test/compileScript.spec.ts721 // const { content } = compile(COMMENT
LOWpackages/compiler-sfc/src/compileScript.ts741 // if (enableReactivityTransform && shouldTransform(script.content)) {COMMENT
LOWpackages/compiler-sfc/src/compileScript.ts1001 // // normal <script> had ref bindings that maybe used in <script setup>COMMENT
LOWpackages/compiler-sfc/src/compileScript.ts1061 for (const key in typeDeclaredProps) {COMMENT
LOWpackages/compiler-sfc/src/stylePlugins/scoped.ts141 }COMMENT
LOWsrc/platforms/web/runtime/modules/events.ts61 // AFTER it was attached.COMMENT
LOWsrc/core/util/next-tick.ts21// Here we have async deferring wrappers using microtasks.COMMENT
Hyper-Verbose Identifiers27 hits · 27 pts
SeverityFileLineSnippetContext
LOWtest/unit/features/error-handling.spec.ts265function createErrorTestComponents() {CODE
LOWtest/unit/features/error-handling.spec.ts476function assertBothInstancesActive(vm) {CODE
LOWpackages/compiler-sfc/src/cssVars.ts160export function genNormalScriptCssVarsCode(CODE
LOWpackages/compiler-sfc/src/babelUtils.ts119export function isInDestructureAssignment(CODE
LOWpackages/compiler-sfc/src/compileScript.ts477 function checkInvalidScopeReference(node: Node | undefined, method: string) {CODE
LOWpackages/compiler-sfc/src/compileScript.ts577 function genDestructuredDefaultValue(key: string): string | undefined {CODE
LOWpackages/compiler-sfc/src/compileScript.ts1675function analyzeBindingsFromOptions(node: ObjectExpression): BindingMetadata {CODE
LOWpackages/compiler-sfc/src/compileScript.ts1778function getObjectOrArrayExpressionKeys(value: Node): string[] {CODE
LOWpackages/compiler-sfc/src/compileScript.ts1790function resolveTemplateUsageCheckString(sfc: SFCDescriptor, isTS: boolean) {CODE
LOWpackages/server-renderer/test/ssr-template.spec.ts32async function createRendererWithManifest(CODE
LOWpackages/server-renderer/test/ssr-template.spec.ts434 function createClientManifestAssertions(runInNewContext) {CODE
LOWpackages/server-renderer/test/compile-with-webpack.ts50export async function createWebpackBundleRenderer(CODE
LOWpackages/server-renderer/src/render.ts101function registerComponentForCache(options, write) {CODE
LOW…ges/server-renderer/src/optimizing-compiler/codegen.ts108function genStringElementWithChildren(el, state) {CODE
LOW…renderer/src/bundle-renderer/create-bundle-renderer.ts32export function createBundleRendererCreator(CODE
LOWsrc/core/instance/init.ts106export function resolveConstructorOptions(Ctor: typeof Component) {CODE
LOWsrc/core/instance/render.ts91export function setCurrentRenderingInstance(vm: Component) {CODE
LOWsrc/core/vdom/create-functional-component.ts100export function createFunctionalComponent(CODE
LOWsrc/core/vdom/create-functional-component.ts153function cloneAndMarkFunctionalResult(CODE
LOWsrc/core/vdom/create-component.ts212export function createComponentInstanceForVnode(CODE
LOWsrc/core/vdom/patch.ts380 function removeAndInvokeRemoveHook(vnode, rm?: any) {CODE
LOWsrc/core/vdom/helpers/extract-props.ts12export function extractPropsFromVNodeData(CODE
LOWsrc/compiler/helpers.ts201export function getAndRemoveAttr(CODE
LOWsrc/compiler/helpers.ts222export function getAndRemoveAttrByRegex(el: ASTElement, name: RegExp) {CODE
LOWsrc/compiler/optimizer.ts124function isDirectChildOfTemplateFor(node: ASTElement): boolean {CODE
LOWsrc/compiler/error-detector.ts142function checkFunctionParameterExpression(CODE
LOWsrc/compiler/to-function.ts21export function createCompileToFunctionFn(compile: Function): Function {CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWbenchmarks/dbmon/ENV.js135 function getData(keepIdentity) {CODE
LOWsrc/core/instance/state.ts168export function getData(data: Function, vm: Component): any {CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/platforms/web/runtime/modules/attrs.ts96 key === 'placeholder' &&CODE