AI Slop Code Risk Monitor

react/metro

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

🚇 The JavaScript bundler for React Native

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for react/metro, a JavaScript project with 5,659 GitHub stars. SynthScan examined 133,378 lines of code across 662 source files, recording 154 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.4 (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.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.7K
Stars
JavaScript
Language
133.4K
Lines of Code
662
Files
154
Pattern Hits
2026-10-31
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-10-31.

Cognitive Ownership Risk 5.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 5.9/100 · LOW

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

PR Review Velocity Impact 6.3/100 · LOW

Which changes need focused human review? 154 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

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.

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 10LOW 144

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

Hyper-Verbose Identifiers127 hits · 125 pts
SeverityFileLineSnippetContext
LOWscripts/updateVersion.js36function updateAllPackageManifests(CODE
LOWscripts/generateTypeScriptDefinitions.js338function removeUnusedGeneratedDeclarations(CODE
LOWscripts/generateTypeScriptDefinitions.js369function removeSingleBindingImportAtLine(CODE
LOW…ts/support/updateBabelTraverseFlowLibraryDefinition.js126function getGeneratedCodeInsertPosition(content, markerName) {CODE
LOW…pts/support/generateBabelTypesFlowLibraryDefinition.js179 `declare export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'fuCODE
LOW…pts/support/generateBabelTypesFlowLibraryDefinition.js181 `declare export function createUnionTypeAnnotation(types: Array<${NODE_PREFIX}FlowType>): ${NODE_PREFIX}UnionTypeAnnCODE
LOW…pts/support/generateBabelTypesFlowLibraryDefinition.js232 `declare export function prependToMemberExpression(member: ${NODE_PREFIX}MemberExpression, prepend: ${NODE_PREFIX}ExCODE
LOW…pts/support/generateBabelTypesFlowLibraryDefinition.js240 `declare export function getOuterBindingIdentifiers(node: Node, duplicates?: boolean): { [key: string]: ${NODE_PREFICODE
LOW…pts/support/generateBabelTypesFlowLibraryDefinition.js264 `declare export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (?BabelNode) => boolean`CODE
LOWpackages/metro-transform-worker/src/index.js840function countLinesAndTerminateMap(CODE
LOW…/metro-transform-plugins/src/inline-requires-plugin.js101 function inlineDestructuredRequire(CODE
LOW…/metro-transform-plugins/src/inline-requires-plugin.js398function isExcludedMemberAssignment(CODE
LOW…/metro-transform-plugins/src/inline-requires-plugin.js473function parseInlineableMemberAlias(CODE
LOW…/metro-transform-plugins/src/inline-requires-plugin.js546function parseInlineableDestructuring(CODE
LOW…/metro-transform-plugins/src/inline-requires-plugin.js676function isDirectlyEnclosedByBlock(t: Types, path: NodePath<Node>) {CODE
LOW…nsform-plugins/src/utils/createInlinePlatformChecks.js39export default function createInlinePlatformChecks(CODE
LOW…m-plugins/src/__tests__/normalizePseudoGlobals-test.js19function normalizePseudoglobalsCall(source: string, options?: Options) {CODE
LOWpackages/metro-runtime/src/polyfills/require.js332metroRequire.resolveWeak = function fallbackRequireResolveWeak() {CODE
LOWpackages/metro-resolver/src/PackageResolve.js193export function matchSubpathFromMainFields(CODE
LOWpackages/metro-resolver/src/resolve.js374function resolveFromNodeModulesPath(CODE
LOWpackages/metro-resolver/src/resolve.js404function resolveModuleFromTargetPath(CODE
LOWpackages/metro-resolver/src/resolve.js424function buildFailedToResolveNameError(CODE
LOWpackages/metro-resolver/src/resolve.js811function resolveSourceFileForAllExts(CODE
LOWpackages/metro-resolver/src/PackageImportsResolve.js33export function resolvePackageTargetFromImports(CODE
LOWpackages/metro-resolver/src/PackageExportsResolve.js46export function resolvePackageTargetFromExports(CODE
LOWpackages/metro-resolver/src/PackageExportsResolve.js234function flattenLegacySubpathValues(CODE
LOW…ro-resolver/src/utils/isSubpathDefinedInExportsLike.js21export function isSubpathDefinedInExportsLike(CODE
LOW…etro-resolver/src/utils/matchSubpathFromExportsLike.js23export function matchSubpathFromExportsLike(CODE
LOWpackages/buck-worker-tool/src/__tests__/worker-test.js166 afterEach(function assertThatAllWriteStreamsWereClosed() {CODE
LOWpackages/metro-symbolicate/src/symbolicate.js75 function checkAndRemoveArgWithValue(arg: string) {CODE
LOW…licate/src/__tests__/symbolicate-heap-snapshot-test.js81function findObjectByInboundProperty(CODE
LOW…es/metro/src/ModuleGraph/worker/collectDependencies.js417function processRequireContextCall(CODE
LOW…es/metro/src/ModuleGraph/worker/collectDependencies.js673function isInPromiseChainWithRejectionHandler(path: NodePath<>): boolean {CODE
LOW…es/metro/src/ModuleGraph/worker/collectDependencies.js724function getModuleNameFromCallArgs(path: NodePath<CallExpression>): ?string {CODE
LOW…/src/integration_tests/__tests__/babel-runtime-test.js23function getBabelRuntimeHelperPath() {CODE
LOW…tro/src/DeltaBundler/Serializers/sourceMapGenerator.js99async function sourceMapGeneratorNonBlocking(CODE
LOW…/metro/src/DeltaBundler/Serializers/sourceMapString.js29async function sourceMapStringNonBlocking(CODE
LOW…/metro/src/DeltaBundler/Serializers/sourceMapObject.js31async function sourceMapObjectNonBlocking(CODE
LOW…er/Serializers/baseJSBundleWithLazyModuleDefinition.js49export default function baseJSBundleWithLazyModuleDefinition(CODE
LOW…kages/metro/src/DeltaBundler/Serializers/helpers/js.js90function getDefaultAsyncDependencyPath(CODE
LOW…kages/metro/src/DeltaBundler/Serializers/helpers/js.js204function wrapModuleWithInlinedDependencyIds(CODE
LOW…ndler/Serializers/helpers/getInlineSourceMappingURL.js12export default function getInlineSourceMappingURL(sourceMap: string): string {CODE
LOWpackages/metro/src/DeltaBundler/__tests__/Graph-test.js284function computeInverseDependencies(CODE
LOWpackages/metro/src/shared/output/RamBundle/util.js61function combineSourceMapsAddingOffsets(CODE
LOWpackages/metro/src/lib/metroBabelRuntime.js31export function getMetroBabelRuntimePackageJsonPath(): string {CODE
LOWpackages/metro/src/lib/metroBabelRuntime.js45export function getMetroBabelRuntimeVersion(): string {CODE
LOWpackages/metro/src/lib/transformHelpers.js126function removeInlineRequiresBlockListFromOptions(CODE
LOWpackages/metro/src/lib/contextModule.js38export function deriveAbsolutePathFromContext(CODE
LOWpackages/metro/src/lib/parseCustomResolverOptions.js16export default function parseCustomResolverOptions(CODE
LOWpackages/metro/src/lib/relativizeSourceMap.js16export default function relativizeSourceMapInline(CODE
LOWpackages/metro/src/lib/parseCustomTransformOptions.js16export default function parseCustomTransformOptions(CODE
LOWpackages/metro/src/lib/bundleProgressUtils.js23export function calculateBundleProgressRatio(CODE
LOWpackages/metro/src/lib/metroRuntime.js20export function getMetroRuntimePackageJsonPath(): string {CODE
LOW…etro/src/lib/parseBundleOptionsFromBundleRequestUrl.js50export default function parseBundleOptionsFromBundleRequestUrl(CODE
LOWpackages/metro/src/lib/contextModuleTemplates.js58function getEmptyContextModuleTemplate(modulePath: string): string {CODE
LOWpackages/metro/src/lib/contextModuleTemplates.js77function getLoadableContextModuleTemplate(CODE
LOW…es/metro/src/lib/__tests__/metroSchemeResolver-test.js40function makeCapturingResolveRequest(): {CODE
LOWpackages/metro/src/lib/__tests__/imageSize-test.js350function createZeroLengthIcnsEntry() {CODE
LOWpackages/metro/src/lib/__tests__/imageSize-test.js357function createZeroLengthJpegSegment() {CODE
LOWpackages/metro/src/node-haste/DependencyGraph.js53function getOrCreateMap<T>(CODE
67 more matches not shown…
Decorative Section Separators8 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2665 // ┌─────────┐ ┌─────────┐ ────▶ ┌─────────┐COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2667 // └─────────┘ └─────────┘ └─────────┘COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2671 // ┌─────────┐ ┌────────┐COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2673 // └─────────┘ └────────┘COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2768 // ┌───────────────────┐COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2770 // ┌───────┐ ┌───┐ ┌───┐ ┌───┐COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2772 // └───────┘ └───┘ └───┘ └───┘COMMENT
MEDIUM⚡…/metro-runtime/src/polyfills/__tests__/require-test.js2774 // └─────────┘COMMENT
Over-Commented Block16 hits · 16 pts
SeverityFileLineSnippetContext
LOWscripts/generateTypeScriptDefinitions.js81 const linter = new ESLint({COMMENT
LOWscripts/generateApiSnapshots.js341// those annotations are pure noise. There is no config option to suppress themCOMMENT
LOWpackages/metro-babel-register/src/babel-register.js21const fs = require('node:fs');COMMENT
LOWpackages/metro-runtime/src/polyfills/require.js641 mod.dependencyMap = dependencyMap;COMMENT
LOW…/metro-runtime/src/polyfills/__tests__/require-test.js1441COMMENT
LOW…/metro-runtime/src/polyfills/__tests__/require-test.js2661 createModuleSystem(moduleSystem, true, '');COMMENT
LOWpackages/metro-symbolicate/src/ChromeHeapSnapshot.js181type ChromeHeapSnapshotFieldType =COMMENT
LOWpackages/metro-symbolicate/src/ChromeHeapSnapshot.js361 //COMMENT
LOWpackages/metro-core/src/Terminal.js101 *COMMENT
LOW…s/metro-file-map/src/lib/FileSystemChangeAggregator.js21 readonly #addedDirectories: Set<CanonicalPath> = new Set();COMMENT
LOWpackages/metro-file-map/src/lib/RootPathUtils.js181 // Lexically resolves the target against the symlink's directory. This isCOMMENT
LOWpackages/metro-file-map/src/lib/RootPathUtils.js241 let collapsedSegments = 0;COMMENT
LOWpackages/metro-file-map/src/lib/TreeFS.js701 } {COMMENT
LOWpackages/metro-file-map/src/lib/TreeFS.js841 // with our new target.COMMENT
LOWpackages/metro-source-map/src/encode.js61 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a,COMMENT
LOW.github/workflows/review-post.yml61 typeof c.path === 'string' && c.path.length < 500 && !c.path.startsWith('/') &&COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…ro-file-map/src/crawlers/__tests__/integration-test.js22// At runtime we use a more sophisticated + robust Watchman capability check,COMMENT
MEDIUM…kages/metro-file-map/src/watchers/__tests__/helpers.js28// At runtime we use a more sophisticated + robust Watchman capability check,COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…p/src/lib/__tests__/FileSystemChangeAggregator-test.js91function getData(aggregator: FileSystemChangeAggregator) {CODE