Repository Analysis

nuxt/nuxt

the full-stack Vue framework

1.1 Likely human-written View on GitHub
1.1
Adjusted Score
1.1
Raw Score
100%
Time Factor
2026-05-29
Last Push
60,301
Stars
TypeScript
Language
127,510
Lines of Code
846
Files
68
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 5HIGH 0MEDIUM 1LOW 62

Pattern Findings

68 matches across 6 categories. Click a row to expand file-level details.

Hallucination Indicators5 hits · 70 pts
SeverityFileLineSnippet
CRITICALdocs/3.guide/4.modules/5.recipes-advanced.md176nuxt.options.typescript.tsConfig.include.push(resolve('./augments.d.ts'))
CRITICALdocs/3.guide/4.modules/5.recipes-advanced.md180nuxt.options.typescript.sharedTsConfig.include.push(resolve('./augments.d.ts'))
CRITICALdocs/3.guide/4.modules/5.recipes-advanced.md184nuxt.options.typescript.nodeTsConfig.include.push(resolve('./augments.d.ts'))
CRITICALdocs/3.guide/4.modules/5.recipes-advanced.md190nuxt.options.nitro.typescript.tsConfig.include.push(resolve('./augments.d.ts'))
CRITICALpackages/nuxt/src/pages/module.ts608 nuxt.options.vite.resolve.dedupe.push('vue-router')
Hyper-Verbose Identifiers46 hits · 50 pts
SeverityFileLineSnippet
LOWtest/nuxt/view-transitions.test.ts114 function installViewTransitionGuard (defaultConfig: { enabled: boolean | 'always', types?: string[] }) {
LOWtest/nuxt/loading-indicator.test.ts95 async function expectNavigatesWithLoading (path: string | RouteLocationRaw, onLoad?: () => void) {
LOWdocs/4.api/3.utils/define-nuxt-route-middleware.md16export function defineNuxtRouteMiddleware (middleware: RouteMiddleware): RouteMiddleware
LOWscripts/_utils.ts120export async function getPreviousReleasedCommits () {
LOWpackages/nitro-server/src/index.ts1061function getDevHandlerAllowedHosts (nuxt: Nuxt): ReadonlySet<string> | true {
LOW…ges/nitro-server/src/runtime/utils/renderer/islands.ts74export function renderStreamedIslandTeleports (ssrContext: NuxtSSRContext, nonceAttr = ''): string {
LOWpackages/nitro-server/src/runtime/handlers/renderer.ts876function stripInlineOnlyPayloadFields (payload: NuxtSSRContext['payload']): NuxtSSRContext['payload'] {
LOWpackages/kit/src/dependency.ts39export async function ensureDependencyInstalled (names: string, options?: EnsureDependencyInstalledOptions): Promise<boo
LOWpackages/kit/src/dependency.ts40export async function ensureDependencyInstalled (names: string[], options?: EnsureDependencyInstalledOptions): Promise<t
LOWpackages/kit/src/dependency.ts41export async function ensureDependencyInstalled (names: string | string[], options: EnsureDependencyInstalledOptions = {
LOWpackages/kit/src/module/compatibility.ts7function resolveNuxtModuleEntryName (m: NuxtOptions['modules'][number]): string | false {
LOWpackages/kit/src/module/compatibility.ts33export async function hasNuxtModuleCompatibility (module: string | NuxtModule, semverVersion: string, nuxt: Nuxt = useNu
LOWpackages/webpack/src/utils/config.ts22export function createWebpackConfigContext (nuxt: Nuxt): WebpackConfigContext {
LOWpackages/vite/src/plugins/public-dirs.ts105export function useResolveFromPublicAssets () {
LOWpackages/vite/src/plugins/vite-node.ts242 function collectInvalidatedSsrModules (ssrServer: ViteDevServer) {
LOWpackages/vite/src/plugins/vite-node.ts301function createViteNodeSocketServer (nuxt: Nuxt, ssrServer: ViteDevServer, clientServer: ViteDevServer, invalidates: Set
LOWpackages/vite/src/plugins/module-preload-polyfill.ts7export function ModulePreloadPolyfillPlugin (): Plugin {
LOWpackages/nuxt/test/compiler.test.ts227 function getFirstParsedFunctionCall (code: string, functions: RegExp): FunctionCallMetadata | null {
LOWpackages/nuxt/src/core/app.ts276export function checkForCircularDependencies (_plugins: Array<NuxtPlugin & Omit<PluginMeta, 'enforce'>>) {
LOWpackages/nuxt/src/core/external-config-files.ts10export async function checkForExternalConfigurationFiles () {
LOWpackages/nuxt/src/core/external-config-files.ts69async function checkAndWarnAboutConfigFileExistence (options: CheckAndWarnAboutConfigFileExistenceOptions) {
LOWpackages/nuxt/src/core/perf.ts84function getRetainedMemorySnapshot (): MemorySnapshot {
LOWpackages/nuxt/src/core/plugins/prehydrate.ts9export function PrehydrateTransformPlugin () {
LOWpackages/nuxt/src/core/plugins/import-protection.ts18export function createImportProtectionPatterns (nuxt: { options: NuxtOptions }, options: NuxtImportProtectionOptions) {
LOWpackages/nuxt/src/core/utils/parse-utils.ts154 function getParsedMemberExpression (memberExpression: ESTree.MemberExpression): Omit<FunctionCallMetadata, 'callExpres
LOWpackages/nuxt/src/core/utils/parse-utils.ts269export function parseStaticExportIdentifiers (node: ESTree.ExportNamedDeclaration | ESTree.ExportDefaultDeclaration | ES
LOWpackages/nuxt/src/core/utils/names.ts20export function resolveComponentNameSegments (fileName: string, prefixParts: string[]) {
LOWpackages/nuxt/src/app/composables/script-stubs.ts40export function useScriptPlausibleAnalytics (...args: unknown[]): void {
LOWpackages/nuxt/src/app/composables/script-stubs.ts44export function useScriptCloudflareWebAnalytics (...args: unknown[]): void {
LOWpackages/nuxt/src/app/composables/script-stubs.ts60export function useScriptGoogleTagManager (...args: unknown[]): void {
LOWpackages/nuxt/src/app/composables/script-stubs.ts140export function useScriptDatabuddyAnalytics (...args: unknown[]): void {
LOWpackages/nuxt/src/app/composables/script-stubs.ts160export function useScriptMixpanelAnalytics (...args: unknown[]): void {
LOWpackages/nuxt/src/app/composables/router.ts55export function defineNuxtRouteMiddleware (middleware: RouteMiddleware): RouteMiddleware {
LOWpackages/nuxt/src/app/composables/lazy-hydration.ts13export function defineLazyHydrationComponent (_strategy: string, _source: AsyncComponentLoader<any>): any {}
LOWpackages/nuxt/src/app/components/nuxt-link.ts153 function isHashLinkWithoutHashMode (link: unknown): boolean {
LOWpackages/nuxt/src/app/components/nuxt-link.ts157 function resolveTrailingSlashBehavior (to: string, resolve: Router['resolve'], trailingSlash?: NuxtLinkOptions['traili
LOWpackages/nuxt/src/app/components/nuxt-link.ts158 function resolveTrailingSlashBehavior (to: RouteLocationRaw, resolve: Router['resolve'], trailingSlash?: NuxtLinkOptio
LOWpackages/nuxt/src/app/components/nuxt-link.ts159 function resolveTrailingSlashBehavior (to: RouteLocationRaw | undefined, resolve: Router['resolve'], trailingSlash?: N
LOWpackages/nuxt/src/app/components/nuxt-link.ts559function applyTrailingSlashBehavior (to: string, trailingSlash: NuxtLinkOptions['trailingSlash']): string {
LOWpackages/nuxt/src/components/scan.ts173function warnAboutDuplicateComponent (componentName: string, filePath: string, duplicatePath: string) {
LOWpackages/nuxt/src/components/plugins/tree-shake.ts182function isComponentNotCalledInSetup (code: string, id: string, name: string): string | void {
LOWpackages/nuxt/src/components/plugins/tree-shake.ts246function findMatchingPatternToRemove (node: ESTree.BindingPattern, toRemoveIfMatched: ESTree.Node, name: string, removed
LOWpackages/nuxt/src/pages/utils.ts355function normalizeComponentWithName (page: NuxtPage, isSyncImport: boolean | undefined, pageImportName: string, pageImpo
LOWpackages/nuxt/src/compiler/plugins/keyed-functions.ts167 function getFunctionMetaByLocalName (localName: string, source: string): BackwardsCompatibleKeyedFunction | unde
LOW…/nuxt/src/compiler/plugins/keyed-function-factories.ts27export function parseKeyedFunctionFactory (node: ESTree.ExportNamedDeclaration | ESTree.ExportDefaultDeclaration, filter
LOW…/nuxt/src/compiler/plugins/keyed-function-factories.ts31 function processVariableDeclarator (node: ESTree.VariableDeclarator) {
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippet
LOWtest/setup-env.ts21}
LOWdocs/4.api/5.kit/1.modules.md221 onInstall (nuxt) {
LOWdocs/6.bridge/10.configuration.md21 // vite: true,
LOWdocs/6.bridge/10.configuration.md41 // Disable Nuxt 3 compatible `nuxtApp` interface
LOWpackages/nitro-server/src/runtime/handlers/renderer.ts501 // 5. Render the shell head (atomically renders and clears entries pushed
LOWpackages/webpack/src/presets/base.ts201 // type: 'filesystem',
LOWpackages/nuxt/src/core/perf.ts141const SLOW_HOOK_THRESHOLD_MS = Number(process.env.NUXT_PERF_SLOW_HOOK_MS) || 50
LOW.github/workflows/scorecards.yml41 with:
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippet
LOWdocs/4.api/2.composables/use-head.md116const profile = ref({ name: 'John Doe' })
LOWdocs/4.api/5.kit/10.templates.md186 name: 'John Doe',
LOWdocs/3.guide/5.recipes/4.sessions-and-authentication.md62 name: 'John Doe',
LOWdocs/3.guide/6.going-further/1.events.md30 name: 'John Doe',
LOWdocs/3.guide/6.going-further/1.events.md45 name: 'John Doe',
LOWdocs/3.guide/6.going-further/1.events.md50 name: 'John Doe',
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWscripts/release.ts42 // Step 1: Request GitHub OIDC id_token with npm audience
LOWscripts/release.ts52 // Step 2: Exchange with npm registry for a short-lived publish token
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM…/nuxt/src/compiler/plugins/keyed-function-factories.ts436 // TODO: use sth more robust for rewriting optionals