Repository Analysis

extension-js/extension.js

The cross-browser extension framework.

12.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of extension-js/extension.js, a TypeScript project with 5,032 GitHub stars. SynthScan v2.0 examined 116,679 lines of code across 785 source files, recording 730 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 12.1 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

12.1
Adjusted Score
12.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
5.0K
Stars
TypeScript
Language
116.7K
Lines of Code
785
Files
730
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 331LOW 399

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 730 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators324 hits · 976 pts
SeverityFileLineSnippetContext
MEDIUMplaywright.config.ts6// ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUMprograms/install/module.ts6// ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝COMMENT
MEDIUMprograms/develop/rslib.config.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/preview-entry.ts6// ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═══╝ ╚═╝╚══════╝ ╚══╝╚══╝COMMENT
MEDIUMprograms/develop/module.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/command-dev.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/rspack-config.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/bridge-entry.ts6// ╚═════╝ ╚═╝ ╚═╝╚═╝╚═════╝ ╚═════╝ ╚══════╝COMMENT
MEDIUMprograms/develop/types.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/command-build.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/command-preview.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUM…grams/develop/plugin-compatibility/feature-polyfill.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/plugin-compatibility/index.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝COMMENT
MEDIUM…lop/plugin-compatibility/compatibility-lib/messages.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/dev-server/compiler-hooks.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝COMMENT
MEDIUMprograms/develop/dev-server/frameworks.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/dev-server/messages.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/dev-server/cleanup.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/dev-server/auto-exit.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/dev-server/index.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝COMMENT
MEDIUMprograms/develop/dev-server/port-manager.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝COMMENT
MEDIUM…lop/plugin-special-folders/warn-upon-folder-changes.ts6// ╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝COMMENT
MEDIUMprograms/develop/plugin-special-folders/messages.ts6// ╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝COMMENT
MEDIUM…lop/plugin-special-folders/check-manifest-in-public.ts6// ╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝COMMENT
MEDIUMprograms/develop/plugin-special-folders/index.ts6// ╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝COMMENT
MEDIUMprograms/develop/plugin-special-folders/get-data.ts6// ╚══════╝╚═╝ ╚══════╝ ╚═════╝╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝COMMENT
MEDIUM…in-special-folders/folder-extensions/resolve-config.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUM…ugin-special-folders/folder-extensions/resolve-dirs.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUM…elop/plugin-special-folders/folder-extensions/utils.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUM…elop/plugin-special-folders/folder-extensions/types.ts6// ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝COMMENT
MEDIUMprograms/develop/plugin-compilation/boring.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUMprograms/develop/plugin-compilation/zip.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUMprograms/develop/plugin-compilation/index.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUMprograms/develop/plugin-compilation/env.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUMprograms/develop/plugin-compilation/clean-dist.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…develop/plugin-compilation/compilation-lib/messages.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…lop/plugin-compilation/compilation-lib/shared-state.ts6// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUMprograms/develop/plugin-web-extension/index.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…op/plugin-web-extension/feature-json/process-assets.ts6// ╚════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…lugin-web-extension/feature-json/track-dependencies.ts6// ╚════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…/develop/plugin-web-extension/feature-json/messages.ts6// ╚════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…p/plugin-web-extension/feature-json/json-validation.ts6// ╚════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…ams/develop/plugin-web-extension/feature-json/index.ts6// ╚════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═══╝COMMENT
MEDIUM…/develop/plugin-web-extension/shared/classic-concat.ts6// ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═════╝COMMENT
MEDIUM…lop/plugin-web-extension/feature-locales/validation.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…plugin-web-extension/feature-locales/process-assets.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…in-web-extension/feature-locales/track-dependencies.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…velop/plugin-web-extension/feature-locales/messages.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…gin-web-extension/feature-locales/compilation-error.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…/develop/plugin-web-extension/feature-locales/index.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…op/plugin-web-extension/feature-locales/get-locales.ts6// ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝COMMENT
MEDIUM…tension/feature-web-resources/collect-entry-imports.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…op/plugin-web-extension/feature-web-resources/index.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…on/feature-web-resources/web-resources-lib/messages.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…feature-web-resources/web-resources-lib/resolve-war.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…e-web-resources/web-resources-lib/generate-manifest.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…sion/feature-web-resources/web-resources-lib/shared.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…ature-web-resources/web-resources-lib/clean-matches.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…e-web-resources/steps/collect-content-entry-imports.ts6// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝COMMENT
MEDIUM…p/plugin-web-extension/feature-icons/normalize-keys.ts6// ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝COMMENT
264 more matches not shown…
Hyper-Verbose Identifiers317 hits · 327 pts
SeverityFileLineSnippetContext
LOW…tensions/extension-js-devtools/src/background/index.ts45async function getUserDevExtensionStatus(): Promise<DxStatusResponse> {CODE
LOW…tensions/extension-js-devtools/src/background/index.ts182function isUserDevExtensionForReload(CODE
LOWprograms/install/module.ts38export function getManagedBrowsersCacheRoot(): string {CODE
LOWprograms/install/module.ts42export function getManagedBrowserInstallDir(browser: string): string {CODE
LOWprograms/install/lib/messages.ts41export function edgeInstallNeedsInteractivePrivilegedSession(): string {CODE
LOWprograms/install/lib/messages.ts52export function edgeInstallUsingSystemBinary(path: string): string {CODE
LOWprograms/install/lib/runner.ts26function detectCurrentPackageManager(): PackageManagerName {CODE
LOWprograms/install/lib/runner.ts134export function edgeInstallNeedsInteractivePrivilegedSession(): boolean {CODE
LOWprograms/install/lib/runner.ts138export function isEdgePrivilegeEscalationFailure(stderr: string): boolean {CODE
LOW…lop/plugin-compatibility/compatibility-lib/messages.ts28export function webextensionPolyfillNotFound() {CODE
LOW…lop/plugin-compatibility/compatibility-lib/messages.ts42export function compatibilityPolyfillEnabled(CODE
LOW…lop/plugin-compatibility/compatibility-lib/messages.ts52export function compatibilityPolyfillSkipped(CODE
LOW…lop/plugin-compatibility/compatibility-lib/messages.ts59export function compatibilityPolyfillDisabled(browser: DevOptions['browser']) {CODE
LOWprograms/develop/dev-server/compiler-hooks.ts13export function setupCompilerLifecycleHooks(compiler: Compiler): void {CODE
LOWprograms/develop/dev-server/compiler-hooks.ts27export function setupNoBrowserBannerOnFirstDone(opts: {CODE
LOWprograms/develop/dev-server/compiler-hooks.ts54export function setupCompilerDoneDiagnostics(CODE
LOWprograms/develop/dev-server/index.ts100function hasGuardedManifestDiskPath(filePath: unknown) {CODE
LOWprograms/develop/dev-server/index.ts111function suppressManifestOutputWrites(CODE
LOWprograms/develop/dev-server/index.ts180function installManifestDiskWriteGuard(manifestOutputPath: string) {CODE
LOWprograms/develop/dev-server/port-manager.ts65function resolveInstanceIdOverride(): string | undefined {CODE
LOW…evelop/dev-server/control-bridge/control-port-store.ts35export function legacyControlPortFilePath(CODE
LOW…evelop/dev-server/control-bridge/control-port-store.ts57export function writePersistedControlPort(CODE
LOW…/develop/dev-server/control-bridge/producer-runtime.ts350 function reinjectContentScriptEntry(entry) {CODE
LOW…/develop/dev-server/control-bridge/producer-runtime.ts439 function reregisterForFutureNavigations(entries) {CODE
LOW…/develop/dev-server/control-bridge/producer-runtime.ts992export function buildBridgeProducerSource(opts: BuildProducerOptions): string {CODE
LOWprograms/develop/plugin-special-folders/messages.ts11export function serverRestartRequiredFromSpecialFolderMessageOnly(CODE
LOWprograms/develop/plugin-special-folders/messages.ts24export function specialFoldersSetupSummary(CODE
LOWprograms/develop/plugin-special-folders/messages.ts32export function specialFolderChangeDetected(CODE
LOWprograms/develop/plugin-special-folders/get-data.ts175function filterUnreferencedScripts(CODE
LOWprograms/develop/plugin-special-folders/get-data.ts250export function getSpecialFoldersDataForCompiler(CODE
LOWprograms/develop/plugin-special-folders/get-data.ts264export function getSpecialFoldersDataForProjectRoot(CODE
LOWprograms/develop/plugin-special-folders/get-data.ts284function finalizeSpecialFoldersData(CODE
LOW…in-special-folders/folder-extensions/resolve-config.ts94function ensurePathsUnderExtensions(CODE
LOW…in-special-folders/folder-extensions/resolve-config.ts165async function resolveStoreExtensionToPath(opts: {CODE
LOW…in-special-folders/folder-extensions/resolve-config.ts210export async function resolveCompanionExtensionsConfig(opts: {CODE
LOW…ugin-special-folders/folder-extensions/resolve-dirs.ts21export function resolveCompanionExtensionDirs(opts: {CODE
LOW…ograms/develop/plugin-compilation/__spec__/env.spec.ts127 function createCompilationWithAssets(files: Record<string, string>) {CODE
LOW…lop/plugin-compilation/compilation-lib/shared-state.ts56export function setPendingCompilationLine(line: string) {CODE
LOW…op/plugin-web-extension/feature-json/process-assets.ts15function getProjectPathFromCompilation(CODE
LOW…/develop/plugin-web-extension/feature-json/messages.ts78export function invalidManagedSchemaStructure(CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts9export function manifestNotFoundMessageOnly(absPath: string) {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts23export function defaultLocaleSpecifiedButLocalesMissing() {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts27export function defaultLocaleFolderMissing(defaultLocale: string) {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts31export function defaultLocaleMessagesMissing(defaultLocale: string) {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts35export function localesPresentButNoDefaultLocale() {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts43export function missingManifestMessageKey(key: string, defaultLocale?: string) {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts77export function localesValidationDetected(issue: string) {CODE
LOW…velop/plugin-web-extension/feature-locales/messages.ts81export function localesMustBeAtProjectRoot(CODE
LOW…tension/feature-web-resources/collect-entry-imports.ts82export function collectContentScriptEntryImports(CODE
LOW…feature-web-resources/web-resources-lib/resolve-war.ts126function isValidChromeMatchPattern(pattern: string): boolean {CODE
LOW…e-web-resources/web-resources-lib/generate-manifest.ts144function isCanonicalContentScriptCss(resource: string) {CODE
LOW…e-web-resources/web-resources-lib/generate-manifest.ts148function toCanonicalContentScriptCss(jsFile: string) {CODE
LOW…develop/plugin-web-extension/feature-icons/messages.ts36export function manifestIconsEntrypointChange(CODE
LOW…develop/plugin-web-extension/feature-icons/messages.ts80export function iconsNormalizationSummary(CODE
LOW…elop/plugin-web-extension/feature-manifest/messages.ts29export function serverRestartRequiredFromManifestError(CODE
LOW…elop/plugin-web-extension/feature-manifest/messages.ts48export function legacyManifestPathWarning(legacyPath: string) {CODE
LOW…elop/plugin-web-extension/feature-manifest/messages.ts97export function manifestLegacyWarningsSummary(count: number) {CODE
LOW…-extension/feature-manifest/normalize-manifest-path.ts9export function normalizeManifestOutputPath(originalPath: string) {CODE
LOW…-manifest/manifest-overrides/common/content_scripts.ts30function isAlreadyBundledContentScripts(contentScripts: any[]) {CODE
LOW…eb-extension/feature-manifest/manifest-lib/manifest.ts45export function setOriginalManifestContent(CODE
257 more matches not shown…
Over-Commented Block78 hits · 78 pts
SeverityFileLineSnippetContext
LOWplaywright.config.ts41 // the chromium worker's mid-flight edit ("Open sidebar RELOADED_<ts>")COMMENT
LOWplaywright.config.ts101 /* Test against mobile viewports. */COMMENT
LOWplaywright.config.ts121COMMENT
LOWextension-env.d.ts1// Required Extension.js types for TypeScript projects.COMMENT
LOW…tensions/extension-js-devtools/src/background/index.ts161chrome.runtime.onStartup.addListener(async () => {COMMENT
LOW…tensions/extension-js-devtools/src/content/scripts.tsx41COMMENT
LOWprograms/develop/preview-entry.ts1// ██████╗ ██████╗ ███████╗██╗ ██╗██╗███████╗██╗ ██╗COMMENT
LOWprograms/develop/rspack-config.ts281 if (/^(chrome|moz)-extension:|^safari-web-extension:/i.test(request)) {COMMENT
LOWprograms/develop/rspack-config.ts441 ]COMMENT
LOWprograms/develop/rspack-config.ts521 // PerfBudgetsPlugin (registered above) applies extension-aware,COMMENT
LOWprograms/develop/rspack-config.ts541 // when a vendor ESM module (e.g. tslib.es6.mjs) gets hoisted into a factoryCOMMENT
LOWprograms/develop/dev-server/connectable-host.ts1// The dev server binds to one host (`--host`, e.g. 0.0.0.0 for aCOMMENT
LOW…/develop/dev-server/control-bridge/producer-runtime.ts21 // Capture extension event listeners at install time. The producer isCOMMENT
LOW…/develop/dev-server/control-bridge/producer-runtime.ts501 if (!chrome) return;COMMENT
LOW…/develop/dev-server/control-bridge/producer-runtime.ts601COMMENT
LOW…/develop/dev-server/control-bridge/producer-runtime.ts721 messageParts: sanitize([].slice.call(arguments)),COMMENT
LOW…/develop/dev-server/control-bridge/producer-runtime.ts781 shipRelayedLog(msg.__extjsBridgeLog, sender);COMMENT
LOW…elop/plugin-special-folders/emit-root-absolute-refs.ts1// Root-absolute reference fallback (Chrome semantics).COMMENT
LOWprograms/develop/plugin-special-folders/get-data.ts1// ███████╗██████╗ ███████╗ ██████╗██╗ █████╗ ██╗ ███████╗ ██████╗ ██╗ ██████╗ ███████╗██████╗ ███████╗COMMENT
LOWprograms/develop/plugin-special-folders/get-data.ts101// file has no Node "tell", yet it's still not a browser script, so enrolling itCOMMENT
LOWprograms/develop/plugin-compilation/env.ts261 filteredEnvVars['import.meta.env'] = JSON.stringify(importMetaEnvObject)COMMENT
LOW…e-web-resources/web-resources-lib/generate-manifest.ts341 // Also expose emitted CSS under content_scripts/ to content scripts directly.COMMENT
LOW…/feature-manifest/manifest-overrides/mv2/background.ts1// ███╗ ███╗ █████╗ ███╗ ██╗██╗███████╗███████╗███████╗████████╗COMMENT
LOW…-manifest/manifest-overrides/common/content_scripts.ts61 // 1) Keep user-defined content scripts indices stable andCOMMENT
LOW…ifest/steps/apply-dev-defaults-lib/patch-background.ts1// ███████╗ ██████╗██████╗ ██╗██████╗ ████████╗███████╗COMMENT
LOW…extension/feature-html/steps/ensure-hmr-for-scripts.ts141 // pipeline feeds through here) must get the CJS `module.hot` API instead,COMMENT
LOW…re-html/steps/add-scripts-and-styles-to-compilation.ts41 for (const field of Object.entries(htmlEntries)) {COMMENT
LOW…/develop/plugin-web-extension/feature-scripts/index.ts61 }).apply(compiler)COMMENT
LOW…-lib/minimum-files/minimum-background-file-chromium.ts1// ███████╗ ██████╗██████╗ ██╗██████╗ ████████╗███████╗COMMENT
LOW…gin-web-extension/feature-scripts/steps/add-scripts.ts41COMMENT
LOW…gin-web-extension/feature-scripts/steps/add-scripts.ts181 // the build. Collect the content-script-claimed paths so those `scripts/`COMMENT
LOW…pts/steps/setup-reload-strategy/inject-bridge-relay.ts1// ███████╗ ██████╗██████╗ ██╗██████╗ ████████╗███████╗COMMENT
LOW…gy/add-content-script-wrapper/classic-concat-loader.ts1// ███████╗ ██████╗██████╗ ██╗██████╗ ████████╗███████╗COMMENT
LOW…gy/add-content-script-wrapper/classic-concat-loader.ts121 // *statically* collect its top-level `require('katex')` and fail with "ModuleCOMMENT
LOW…-target-webextension-fork/lib/webpack5/HMRDevServer.ts21 // Overlay doesn't work well in content script.COMMENT
LOW…s/develop/__spec__/build-untraced-runtime-deps.spec.ts1// Real-rspack regression gate for runtime-loaded file tracing — the corpusCOMMENT
LOWprograms/develop/__spec__/build-content-script.spec.ts1// Real-rspack regression gate for the content-script + browser-shim buildCOMMENT
LOWprograms/develop/__spec__/dist-target-shape.spec.ts1// Regression gate: enforce the per-target shape of `dist/` after the ESMCOMMENT
LOWprograms/develop/__spec__/build-env-injection.spec.ts1// Real-rspack regression gate for .env injection (corpus clusterCOMMENT
LOWprograms/develop/plugin-js-frameworks/index.ts441 }COMMENT
LOW…ms/develop/plugin-js-frameworks/js-tools/typescript.ts101export function defaultTypeScriptConfig(projectPath: string, _opts?: any) {COMMENT
LOW…ms/develop/plugin-js-frameworks/js-tools/typescript.ts121 // Use Node's module resolution algorithm; useful if usingCOMMENT
LOW…ograms/develop/plugin-js-frameworks/js-tools/preact.ts41 // live-reload in dev (the app still mounts and updates on change; it justCOMMENT
LOWprograms/develop/plugin-perf-budgets/categorize.ts1// Asset categorization for browser-extension performance budgets.COMMENT
LOWprograms/develop/plugin-perf-budgets/index.ts1// ██████╗ ███████╗██████╗ ███████╗ ██████╗ ██╗ ██╗██████╗ ██████╗ ███████╗████████╗███████╗COMMENT
LOWprograms/develop/lib/dark-mode.ts1// ██████╗ ███████╗██╗ ██╗███████╗██╗ ██████╗ ██████╗COMMENT
LOWprograms/develop/lib/generate-extension-types.ts21 const fileContent = `\COMMENT
LOWprograms/develop/lib/resource-path.ts1// ██████╗ ███████╗███████╗ ██████╗ ██╗ ██╗██████╗ ██████╗███████╗COMMENT
LOWprograms/develop/lib/resource-path.ts21// • macOS: `$TMPDIR` is a symlink (`/var` -> `/private/var`); native andCOMMENT
LOWprograms/develop/lib/manifest-utils.ts1// ██████╗ ███████╗██╗ ██╗███████╗██╗ ██████╗ ██████╗COMMENT
LOWprograms/develop/lib/rust-min-stack.ts1// ██████╗ ███████╗██╗ ██╗███████╗██╗ ██████╗ ██████╗COMMENT
LOW…evelop/lib/__spec__/companion-firefox-mv3-apis.spec.ts1// Regression gate: companion devtools/theme extensions must not call MV3-onlyCOMMENT
LOWprograms/develop/plugin-browsers/reload-dispatch.ts1// ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗███████╗██████╗ ███████╗COMMENT
LOWprograms/develop/plugin-browsers/index.ts521 const outputPath = String(compilation.options?.output?.path || '')COMMENT
LOWprograms/develop/plugin-browsers/safari-dev-plugin.ts1// ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗███████╗██████╗ ███████╗COMMENT
LOW…develop/plugin-browsers/__spec__/classify.unit.spec.ts1// Classifier spec for `BrowsersPlugin.apply`.COMMENT
LOW…develop/plugin-browsers/__spec__/classify.unit.spec.ts241 h.triggerWatchRun(['_locales/en/messages.json'])COMMENT
LOW…/develop/plugin-css/preprocessor-passthrough-loader.ts1// ██████╗███████╗███████╗COMMENT
LOWprograms/develop/plugin-css/css-parse-guard-loader.ts1// ██████╗███████╗███████╗COMMENT
LOW…velop/plugin-css/__spec__/url-query-regression.spec.ts1import {describe, it, expect, beforeAll, afterAll} from 'vitest'COMMENT
18 more matches not shown…
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMprograms/develop/plugin-compilation/env.ts319 // Prefer compilation assets to be robust against different bundler versionsCOMMENT
MEDIUMprograms/develop/lib/transpile-packages.ts163// robust to the same cross-platform path-form differences the content-scriptCOMMENT
MEDIUM.github/workflows/reload-matrix-smoke.yml3# EXPERIMENTAL / MANUAL. The reload-matrix harness measures ground-truthCOMMENT
MEDIUM.github/workflows/reload-matrix-smoke.yml44 # Produces programs/extension/dist/cli.cjs, which the harness runs inCOMMENT
MEDIUM.github/workflows/reload-matrix-smoke.yml49 # Reconstruct the gitignored vendored path the harness expects. Try theCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMprograms/create/module.ts75 // have no Deno analog in our scaffold) with a tasks-only deno.jsonc besideCOMMENT
MEDIUMprograms/create/steps/write-package-json.ts85// warning is pure noise. Suppress it in every scaffold so `pnpm install` is clean.COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWprograms/develop/lib/zip.ts59 // Step 1: Download the ZIP fileCOMMENT
LOWprograms/develop/lib/zip.ts91 // Step 2: Extract the ZIP file from the bufferCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWprograms/develop/lib/zip.ts59 // Step 1: Download the ZIP fileCOMMENT
LOWprograms/develop/lib/zip.ts91 // Step 2: Extract the ZIP file from the bufferCOMMENT