AI Slop Code Risk Monitor

microsoft/playwright

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

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for microsoft/playwright, a TypeScript project with 98,923 GitHub stars. SynthScan examined 735,004 lines of code across 2477 source files, recording 1238 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
98.9K
Stars
TypeScript
Language
735.0K
Lines of Code
2.5K
Files
1.2K
Pattern Hits
2026-10-31
Scan Date
0.01
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.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.2/100 · LOW

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

Agent Over-Engineering Ratio 5.8/100 · LOW

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

PR Review Velocity Impact 10.3/100 · LOW

Which changes need focused human review? 1238 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 17HIGH 4MEDIUM 90LOW 1127

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 1238 distinct pattern matches across 16 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 Identifiers798 hits · 634 pts
SeverityFileLineSnippetContext
LOWbrowser_patches/firefox/juggler/TargetRegistry.js1181function fromProtocolReducedMotion(reducedMotion) {CODE
LOWbrowser_patches/firefox/juggler/content/PageAgent.js56function scrollNodeIntoViewIfNeeded(node, rect) {CODE
LOWtests/config/serviceWorkerCoverage.ts21export async function mergeServiceWorkerCoverage(page: PageLike) {CODE
LOWtests/config/utils.ts91export function suppressCertificateWarning() {CODE
LOWtests/config/proxy.ts145export async function setupSocksForwardingServer({CODE
LOWtests/playwright-test/reporter-blob.spec.ts1662function readAllFromStreamAsString(stream: NodeJS.ReadableStream): Promise<string> {CODE
LOWtests/playwright-test/reporter-blob.spec.ts1810 function patchPathSeparatorsRecursive(obj: any) {CODE
LOWtests/playwright-test/playwright-test-fixtures.ts136function startPlaywrightChildProcess(childProcess: CommonFixtures['childProcess'], baseDir: string, args: string[], env:CODE
LOWtests/playwright-test/reporter-html.spec.ts2344 function calculateTotalTestDuration(testNames: string[]) {CODE
LOWtests/playwright-test/loader.spec.ts1097 export async function utilityModuleThatImportsNodeModule() {CODE
LOWtests/library/resource-timing.spec.ts135function verifyConnectionTimingConsistency(timing) {CODE
LOW…sts/library/browsercontext-cookies-third-party.spec.ts569async function testThirdPartyCookiesAreBlocked(page: Page, context: BrowserContext, server: TestServer, allowsThirdPartyCODE
LOWtests/mcp/cli-fixtures.ts268export async function installSaveFilePickerMock(page: import('playwright-core').Page): Promise<() => Promise<Buffer>> {CODE
LOWtests/installation/playwright-test-plugin.spec.ts21function patchPackageJsonForPreReleaseIfNeeded(tmpWorkspace: string) {CODE
LOWtests/assets/input/handle-locator.html66 function setupAnnoyingInterstitial(event, times, capture) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js1212function getTargetInstForClickEvent(topLevelType, targetInst, nativeEvent) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js1218function getTargetInstForInputOrChangeEvent(topLevelType, targetInst, nativeEvent) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js1224function handleControlledInputBlur(inst, node) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js3191function accumulateDirectDispatchesSingle(event) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js3197function accumulateTwoPhaseDispatches(events) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js3201function accumulateTwoPhaseDispatchesSkipTarget(events) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js3205function accumulateEnterLeaveDispatches(leave, enter, from, to) {CODE
LOW⚡tests/assets/reading-list/react-dom_15.7.0.js3209function accumulateDirectDispatches(events) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js246function isFallbackCompositionStart(topLevelType, nativeEvent) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js351function getNativeBeforeInputChars(topLevelType, nativeEvent) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js405function getFallbackBeforeInputChars(topLevelType, nativeEvent) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1024function createAndAccumulateChangeEvent(inst, nativeEvent, target) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1050function manualDispatchChangeEvent(nativeEvent) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1096function getTargetInstForChangeEvent(topLevelType, targetInst) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1129function startWatchingForValueChange(target, targetInst) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1139function stopWatchingForValueChange() {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1162function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js1185function getTargetInstForInputEventPolyfill(topLevelType, targetInst, nativeEvent) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js2995function executeDispatchesInOrderStopAtTrueImpl(event) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js3022function executeDispatchesInOrderStopAtTrue(event) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js3135function accumulateDirectionalDispatches(inst, phase, event) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js3153function accumulateTwoPhaseDispatchesSingle(event) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js3162function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js3679function getDeclarationErrorAddendum(owner) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js5477function getDeclarationErrorAddendum(internalInstance) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js5516function checkAndWarnForMutatedStyle(style1, style2, component) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js6478function getRenderedHostOrTextFromComponent(component) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js6551function getClosestInstanceFromNode(node) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js7330function updateOptionsIfPendingUpdateAndMounted() {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js7343function getDeclarationErrorAddendum(owner) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js8460function pauseCurrentLifeCycleTimer() {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js8474function resumeCurrentLifeCycleTimer() {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js8701function ReactDefaultBatchingStrategyTransaction() {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js9011function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js9610function getReactRootElementInContainer(container) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js9664function batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js9726function nodeIsRenderedByOtherInstance(container) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js9753function getHostRootInstanceInContainer(container) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js9759function getTopLevelWrapperInContainer(container) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js11100function getMeasurementsSummaryMap(measurements) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js11300function ReactReconcileTransaction(useCreateElement) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js11657function ReactServerRenderingTransaction(renderToStaticMarkup) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js12030function createRendererWithWarning() {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js12041function findAllInRenderedTreeInternal(inst, test) {CODE
LOWtests/assets/reading-list/react-dom_15.7.0.js12450function getInternalInstanceReadyForUpdate(publicInstance, callerName) {CODE
738 more matches not shown…
Decorative Section Separators76 hits · 239 pts
SeverityFileLineSnippetContext
MEDIUMtests/playwright-test/reporter-attachment.spec.ts35 expect(text).toContain(' attachment #1: attachment (text/plain) ───────────────────────────────────────────────────CODE
MEDIUMtests/playwright-test/reporter-attachment.spec.ts56 expect(text).toContain(' attachment #1: screenshot (image/png) ────────────────────────────────────────────────────CODE
MEDIUMtests/playwright-test/reporter-attachment.spec.ts77 expect(text).toContain(' attachment #1: trace (application/zip) ───────────────────────────────────────────────────CODE
MEDIUMtests/playwright-test/reporter-attachment.spec.ts175 expect(result.output).toMatch(/^.*attachment #1: name \(text\/plain\).*\n.*\n.*──────/gm);CODE
MEDIUMtests/playwright-test/reporter-attachment.spec.ts190 expect(result.output).toMatch(/^.*attachment #1: Full name \(text\/plain\).*\n.*──────/gm);CODE
MEDIUMtests/playwright-test/reporter-attachment.spec.ts205 expect(result.output).toMatch(/^.*attachment #1: name \(text\/plain\).*\n.*\n.*──────/gm);CODE
MEDIUMtests/playwright-test/reporter-attachment.spec.ts318 expect(text).toContain(' attachment #1: attachment (text/plain) ───────────────────────────────────────────────────CODE
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt78# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt88# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt93# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt107# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt116# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt120# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt124# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt130# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt136# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt141# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt144# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt148# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt151# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt156# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt162# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt166# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt169# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt174# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt179# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt187# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt195# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt201# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt211# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt216# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt452# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt457# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt461# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt466# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt470# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt475# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt494# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt498# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt505# ============================================================================COMMENT
MEDIUM⚡tests/webview/expectations/webkit-webview-page.txt509# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt9# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt15# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt351# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt355# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt539# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt554# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt651# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt657# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt674# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt680# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt730# ============================================================================COMMENT
MEDIUMtests/webview/expectations/webkit-webview-page.txt735# ============================================================================COMMENT
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts897 # ---------------------COMMENT
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts904 # ---------------------COMMENT
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts958 # ---------------------COMMENT
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts966 # ---------------------COMMENT
MEDIUMtests/library/inspector/cli-codegen-python.spec.ts88 # ---------------------COMMENT
MEDIUMtests/library/inspector/cli-codegen-python.spec.ts113 # ---------------------COMMENT
MEDIUM…sts/library/inspector/cli-codegen-python-async.spec.ts93 # ---------------------COMMENT
16 more matches not shown…
Hallucination Indicators17 hits · 170 pts
SeverityFileLineSnippetContext
CRITICALpackages/playwright-core/src/server/dom.ts101 const sdkLanguage = this.frame._page.browserContext._browser.sdkLanguage();CODE
CRITICALpackages/playwright-core/src/server/frameSelectors.ts129 const locator = asLocator(this.frame._page.browserContext._browser.sdkLanguage(), selector);CODE
CRITICALpackages/playwright-core/src/server/frameSelectors.ts133 const locator = asLocator(this.frame._page.browserContext._browser.sdkLanguage(), selector);CODE
CRITICALpackages/playwright-core/src/server/network.ts449 const buffer = this._request._context.fetchRequest.fetchResponses.get(overrides.fetchResponseUid) || APIRequestCCODE
CRITICALpackages/playwright-core/src/server/videoRecorder.ts50 const ffmpegPath = registry.findExecutable('ffmpeg')!.executablePathOrDie(this._screencast.page.browserContext._browCODE
CRITICAL…ywright-core/src/server/dispatchers/frameDispatcher.ts294 progress.log(`${renderFullTitleForCall(progress.metadata, this._frame._page.browserContext._browser.sdkLanguage())}$CODE
CRITICALpackages/playwright-core/src/server/chromium/crPage.ts949 this._crPage._browserContext._browser._crPages.delete(this._crPage._targetId);CODE
CRITICALpackages/playwright-core/src/client/browser.ts123 this._browserType._playwright.selectors._contextsForSelectors.add(context);CODE
CRITICALpackages/isomorphic/cssTokenizer.ts696 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);CODE
CRITICALpackages/isomorphic/cssTokenizer.ts716 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);CODE
CRITICALpackages/isomorphic/cssTokenizer.ts775 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);CODE
CRITICALpackages/isomorphic/cssTokenizer.ts850 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);CODE
CRITICALpackages/isomorphic/cssTokenizer.ts873 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);CODE
CRITICALpackages/injected/src/recorder/recorder.ts1216 this._recorder.injectedScript.utils.builtins.setTimeout(() => element.classList.remove('succeeded'), 2000);CODE
CRITICALpackages/injected/src/recorder/pollingRecorder.ts57 this._recorder.injectedScript.utils.builtins.clearTimeout(this._pollRecorderModeTimer);CODE
CRITICALpackages/injected/src/recorder/pollingRecorder.ts60 this._pollRecorderModeTimer = this._recorder.injectedScript.utils.builtins.setTimeout(() => this._pollRecorderModeCODE
CRITICALpackages/injected/src/recorder/pollingRecorder.ts76 this._pollRecorderModeTimer = this._recorder.injectedScript.utils.builtins.setTimeout(() => this._pollRecorderMode()CODE
Fake / Example Data121 hits · 138 pts
SeverityFileLineSnippetContext
LOWtests/page/elementhandle-click.spec.ts45 <div id='inner' style="max-width: 50px">Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curaCODE
LOWtests/page/elementhandle-click.spec.ts45 <div id='inner' style="max-width: 50px">Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curaCODE
LOWtests/page/selectors-get-by.spec.ts191 input.setAttribute('placeholder', 'hello my\nwo"rld');CODE
LOWtests/page/selectors-get-by.spec.ts205 input.setAttribute('placeholder', 'hello my\nworld');CODE
LOWtests/page/selectors-get-by.spec.ts225 input.setAttribute('placeholder', 'foo >> bar');CODE
LOWtests/playwright-test/reporter-html.spec.ts2078 test('@finally @oddly @questioningly @sleepily @warmly @healthily @smoke @flaky this is a very long test titCODE
LOWtests/playwright-test/reporter-html.spec.ts2078 test('@finally @oddly @questioningly @sleepily @warmly @healthily @smoke @flaky this is a very long test titCODE
LOWtests/library/browsercontext-add-cookies.spec.ts35 value: 'John Doe',CODE
LOWtests/library/defaultbrowsercontext-1.spec.ts38 value: 'John Doe',CODE
LOWtests/library/defaultbrowsercontext-1.spec.ts54 value: 'John Doe',CODE
LOWtests/library/defaultbrowsercontext-1.spec.ts60 value: 'John Doe',CODE
LOWtests/library/browsercontext-cookies.spec.ts33 value: 'John Doe',CODE
LOWtests/library/browsercontext-cookies.spec.ts57 value: 'John Doe',CODE
LOWtests/library/browsercontext-cookies.spec.ts85 value: 'John Doe',CODE
LOWtests/library/browsercontext-cookies.spec.ts99 value: 'John Doe',CODE
LOWtests/library/browsercontext-cookies.spec.ts166 value: 'John Doe',CODE
LOWtests/library/browsercontext-pages.spec.ts164 await page.setContent('<div id="container">lorem ipsum dolor sit amet</div>');CODE
LOWtests/library/browsercontext-pages.spec.ts164 await page.setContent('<div id="container">lorem ipsum dolor sit amet</div>');CODE
LOW…sts/library/browsercontext-cookies-third-party.spec.ts597 'value': 'John Doe'CODE
LOWtests/library/headful.spec.ts152 'value': 'John Doe'CODE
LOWtests/library/headful.spec.ts310 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinciduntCODE
LOWtests/library/headful.spec.ts310 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinciduntCODE
LOWtests/library/browsercontext-fetch.spec.ts157 value: 'John Doe',CODE
LOWtests/library/browsercontext-fetch.spec.ts299 value: 'John Doe',CODE
LOWtests/library/browsercontext-fetch.spec.ts324 value: 'John Doe',CODE
LOWtests/library/browsercontext-device.spec.ts68 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinciCODE
LOWtests/library/browsercontext-device.spec.ts68 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinciCODE
LOWtests/library/global-fetch-cookie.spec.ts620 value: { id: 'foo', name: 'John Doe' }CODE
LOW⚡tests/library/inspector/cli-codegen-1.spec.ts425 page.fill('div', 'John Doe')CODE
LOW⚡tests/library/inspector/cli-codegen-1.spec.ts428 await page.locator('#content').fill('John Doe');`);CODE
LOW⚡tests/library/inspector/cli-codegen-1.spec.ts429 expect(message.text()).toBe('John Doe');CODE
LOW⚡tests/library/inspector/cli-codegen-1.spec.ts443 page.fill('section[aria-label=First] h1', 'John Doe')CODE
LOW⚡tests/library/inspector/cli-codegen-1.spec.ts448 await page.getByRole('region', { name: 'First' }).getByRole('heading').fill('John Doe');`);CODE
LOW⚡tests/library/inspector/cli-codegen-1.spec.ts449 expect(message.text()).toBe('John Doe');CODE
LOWtests/mcp/form.spec.ts67 value: 'John Doe'CODE
LOWtests/mcp/form.spec.ts96 code: `await page.getByRole('textbox', { name: 'Name' }).fill('John Doe');CODE
LOWtests/mcp/network.spec.ts28 server.setContent('/json', JSON.stringify({ name: 'John Doe' }), 'application/json');CODE
LOWtests/mcp/network.spec.ts176 res.end(JSON.stringify({ name: 'John Doe' }));CODE
LOWtests/mcp/network.spec.ts261 res.end(JSON.stringify({ name: 'John Doe' }));CODE
LOWtests/mcp/network.spec.ts304 expect(responseBody!.result).toBe('{"name":"John Doe"}');CODE
LOWtests/mcp/cli-json.spec.ts227 res.end(JSON.stringify({ name: 'John Doe' }));CODE
LOWtests/mcp/cli-json.spec.ts238 expect(JSON.parse((await cli('--json', 'response-body', num)).output)).toEqual({ result: '{"name":"John Doe"}' });CODE
LOWtests/mcp/verify.spec.ts336 <input type="text" aria-label="Name" value="John Doe" />CODE
LOWtests/mcp/verify.spec.ts352 value: 'John Doe',CODE
LOWtests/mcp/verify.spec.ts356 code: expect.stringContaining(`await expect(page.getByRole('textbox', { name: 'Name' })).toHaveValue('John Doe');`),CODE
LOWtests/mcp/verify.spec.ts377 <input type="text" name="name" value="John Doe" />CODE
LOWtests/mcp/verify.spec.ts396 error: 'Expected value "Jane Smith", but got "John Doe"',CODE
LOWtests/mcp/secrets.spec.ts144 value: 'John Doe'CODE
LOWtests/mcp/secrets.spec.ts155 code: `await page.getByRole('textbox', { name: 'Email' }).fill('John Doe');CODE
LOWtests/mcp/cli-devtools.spec.ts113 res.end(JSON.stringify({ name: 'John Doe' }));CODE
LOWtests/mcp/cli-devtools.spec.ts144 res.end(JSON.stringify({ name: 'John Doe' }));CODE
LOWtests/mcp/cli-devtools.spec.ts157 expect((await cli('response-body', num)).output).toContain('{"name":"John Doe"}');CODE
LOWtests/mcp/cli-devtools.spec.ts167 res.end(JSON.stringify({ name: 'John Doe' }));CODE
LOW⚡tests/mcp/cli-devtools.spec.ts192 expect(read('res-b.json')).toBe('{"name":"John Doe"}');CODE
LOW⚡tests/mcp/cli-devtools.spec.ts199 server.setContent('/api', JSON.stringify({ name: 'John Doe' }), 'application/json');CODE
LOW⚡tests/mcp/cli-devtools.spec.ts208 expect(output.trim()).toBe('{"name":"John Doe"}');CODE
LOWtests/electron/package.json6 "author": "Jane Doe",CODE
LOWtests/assets/evals/fill-form.html143 <input type="text" id="address" name="address" placeholder="123 Main Street" required>CODE
LOWtests/assets/reading-list/vue_2.6.14.js6812 key === 'placeholder' && value !== '' && !el.__iephCODE
LOWtests/assets/reading-list/react-dom_17.0.2.js2856 placeholder: 'placeholder',CODE
61 more matches not shown…
Over-Commented Block149 hits · 120 pts
SeverityFileLineSnippetContext
LOWbrowser_patches/firefox/juggler/TargetRegistry.js601 const browserContext = this.browserContextForId(browserContextId);COMMENT
LOW…patches/firefox/juggler/pipe/nsRemoteDebuggingPipe.cpp1/* This Source Code Form is subject to the terms of the Mozilla PublicCOMMENT
LOW…hes/firefox/juggler/screencast/nsScreencastService.cpp1/* This Source Code Form is subject to the terms of the Mozilla PublicCOMMENT
LOWbrowser_patches/firefox/preferences/playwright.cfg41pref("fission.webContentIsolationStrategy", 0);COMMENT
LOWbrowser_patches/firefox/preferences/playwright.cfg201pref("browser.startup.homepage", "about:blank");COMMENT
LOWbrowser_patches/webkit/embedder/Playwright/win/stdafx.h21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOWbrowser_patches/webkit/embedder/Playwright/win/stdafx.h41#define __STDC_LIMIT_MACROSCOMMENT
LOWbrowser_patches/webkit/embedder/Playwright/win/stdafx.h61COMMENT
LOW…webkit/embedder/Playwright/win/WebKitBrowserWindow.cpp21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTCOMMENT
LOW…ser_patches/webkit/embedder/Playwright/win/WinMain.cpp21 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,COMMENT
LOW…wser_patches/webkit/embedder/Playwright/win/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…wser_patches/webkit/embedder/Playwright/win/resource.h21#define _APS_NEXT_COMMAND_VALUE 32771COMMENT
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h21#define IDM_HISTORY_LINK2 152COMMENT
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h41#define IDC_CHECK1 1003COMMENT
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h61#define IDC_TOTAL_LIVE_COUNT 1025COMMENT
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h81#define IDC_Message 1044COMMENT
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h101#define IDM_RELOAD 32779COMMENT
LOW…es/webkit/embedder/Playwright/win/PlaywrightResource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…bkit/embedder/Playwright/mac/BrowserWindowController.m21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)COMMENT
LOW…r_patches/webkit/embedder/Playwright/mac/AppDelegate.m21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt1# WebView (iOS Simulator) expected failures.COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt81# the border box, while Playwright — like Chromium, Firefox and recent desktopCOMMENT
LOWtests/webview/expectations/webkit-webview-page.txt101# execution contexts, which the stock RDP DOM agent does not expose);COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt121page/elementhandle-screenshot.spec.ts › element screenshot › EH-092 should not issue resize event [fail]COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt141# ============================================================================COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt161COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt181# Intercepting/fulfilling the MAIN navigation request is flaky on iOS 26: theCOMMENT
LOWtests/webview/expectations/webkit-webview-page.txt461# ============================================================================COMMENT
LOWtests/webview/expectations/webkit-webview-page.txt541# Tests whose name contains 'iframe', 'popup', or 'filechooser'. Stock WebKitCOMMENT
LOWtests/library/events/subclass.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/remove-all-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/add-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/check-listener-leaks.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/remove-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/method-names.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/special-event-names.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/listeners-side-effects.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/num-args.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/max-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/symbols.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/once.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/utils.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/prepend.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/listener-count.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/events-list.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/library/events/modify-in-emit.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOW…/library/events/set-max-listeners-side-effects.spec.ts1// Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWtests/assets/offscreenbuttons.html21 right: 0;COMMENT
LOWtests/assets/prefetch.js1// Scripts will be pre-fetchedCOMMENT
LOWtests/assets/webfont/generate_font.py1#!/usr/bin/env python3COMMENT
LOWtests/assets/reading-list/react-dom_15.7.0.js1161COMMENT
LOWtests/assets/reading-list/react-dom_15.7.0.js1181 }COMMENT
LOWtests/assets/reading-list/react-dom_15.7.0.js12761COMMENT
LOWtests/assets/reading-list/react-dom_15.7.0.js12921// We use attributes for everything SVG so let's avoid some duplication and runCOMMENT
LOWtests/assets/reading-list/react-dom_15.7.0.js16621var _assign = _dereq_(160);COMMENT
LOWtests/assets/reading-list/react_18.1.0.js461 }COMMENT
LOWtests/assets/reading-list/react_18.1.0.js1881 for (; s >= 1 && c >= 0; s--, c--) {COMMENT
LOWtests/assets/reading-list/vue_2.6.14.js1921 var copies = callbacks.slice(0);COMMENT
89 more matches not shown…
Structural Annotation Overuse32 hits · 56 pts
SeverityFileLineSnippetContext
LOW.claude/skills/playwright-dev/api.md5## Step 1: Define API in DocumentationCOMMENT
LOW.claude/skills/playwright-dev/api.md69## Step 2: Implement Client APICOMMENT
LOW.claude/skills/playwright-dev/api.md98## Step 3: Define Protocol ChannelCOMMENT
LOW.claude/skills/playwright-dev/api.md160## Step 4: Implement DispatcherCOMMENT
LOW.claude/skills/playwright-dev/api.md203## Step 5: Implement Server LogicCOMMENT
LOW.claude/skills/playwright-dev/api.md225## Step 6: Write TestsCOMMENT
LOW.claude/skills/playwright-dev/tools.md5### Step 1: Create the Tool FileCOMMENT
LOW.claude/skills/playwright-dev/tools.md91### Step 2: Add ToolCapability (if needed)COMMENT
LOW.claude/skills/playwright-dev/tools.md116### Step 3: Register the ToolCOMMENT
LOW.claude/skills/playwright-dev/tools.md129### Step 4: Write TestsCOMMENT
LOW.claude/skills/playwright-dev/tools.md195### Step 1: Implement the MCP ToolCOMMENT
LOW.claude/skills/playwright-dev/tools.md199### Step 2: Add the Command DeclarationCOMMENT
LOW.claude/skills/playwright-dev/tools.md276### Step 3: Update SKILL FileCOMMENT
LOW.claude/skills/playwright-dev/tools.md283### Step 4: Write CLI TestsCOMMENT
LOW…rowser-dependencies/inside_docker/list_dependencies.js98 // Step 1: pick libraries that are easy to pick.COMMENT
LOW⚡…rowser-dependencies/inside_docker/list_dependencies.js195 // Step 1: try to filter out debug, test and dev packages.COMMENT
LOW⚡…rowser-dependencies/inside_docker/list_dependencies.js199 // Step 2: use library name to filter packages with the same name.COMMENT
LOWdocs/src/test-components-js.md53### Step 1: Point your coding agent at the skillCOMMENT
LOWdocs/src/test-components-js.md76### Step 2: Configure PlaywrightCOMMENT
LOWdocs/src/test-components-js.md106### Step 3: Write a storyCOMMENT
LOWdocs/src/test-components-js.md118### Step 4: Write a testCOMMENT
LOWdocs/src/test-components-js.md134### Step 5: RunCOMMENT
LOW⚡…todomvc/tests/todo-creation/prevent-empty-todo.spec.ts8 // Step 1: Navigate to the TodoMVC applicationCOMMENT
LOW⚡…todomvc/tests/todo-creation/prevent-empty-todo.spec.ts12 // Step 2: Click into the input field without typing anything and press EnterCOMMENT
LOW⚡…omvc/tests/adding-todos/should-add-single-todo.spec.ts7 // Step 1: Navigate to the TodoMVC applicationCOMMENT
LOW⚡…omvc/tests/adding-todos/should-add-single-todo.spec.ts11 // Step 2: Type 'Buy groceries' into the input fieldCOMMENT
LOW⚡…omvc/tests/adding-todos/should-add-single-todo.spec.ts16 // Step 3: Press Enter to submit the todoCOMMENT
LOW⚡…ools/skills/playwright-cli/references/storage-state.md238# Step 1: Login and save stateCOMMENT
LOW⚡…ools/skills/playwright-cli/references/storage-state.md248# Step 2: Later, restore state and skip loginCOMMENT
LOW⚡packages/playwright-core/src/server/frames.ts1484 // Step 1: perform locator handlers checkpoint with a specified timeout.COMMENT
LOW⚡packages/playwright-core/src/server/frames.ts1489 // Step 2: perform one-shot expect check without a timeout.COMMENT
LOWpackages/playwright-core/src/server/frames.ts1502 // Step 3: auto-retry expect with increasing timeouts. Bounded by the total remaining time.COMMENT
AI Slop Vocabulary12 hits · 31 pts
SeverityFileLineSnippetContext
MEDIUMtests/assets/reading-list/react-dom_15.7.0.js12729 // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`COMMENT
MEDIUMtests/assets/reading-list/react-dom_15.7.0.js16330 // children. Definitely want to avoid this.COMMENT
LOWtests/assets/reading-list/vue_3.1.5.js6033 // #1689 For inside suspense + suspense resolved case, just call itCOMMENT
MEDIUM⚡tests/assets/modernizr/modernizr.js2 See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.callCODE
MEDIUM⚡tests/assets/modernizr/modernizr.js2 See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.callCODE
MEDIUM⚡tests/assets/modernizr/modernizr.js6 * Build https://modernizr.com/download?-adownload-ambientlight-aping-apng-appearance-applicationcache-areaping-arrow-asCOMMENT
MEDIUMtests/assets/modernizr/modernizr.js2544 "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless"CODE
MEDIUMtests/assets/modernizr/modernizr.js2544 "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless"CODE
MEDIUMtests/assets/react/material-ui@5.2.2.production.min.js6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"fuCODE
MEDIUMtests/assets/stress/static/js/main.cc4a7955.js2!function(){"use strict";var e={463:function(e,n,t){var r=t(791),l=t(296);function a(e){for(var n="https://reactjs.org/dCODE
MEDIUMtests/assets/stress/static/js/main.cc4a7955.js2!function(){"use strict";var e={463:function(e,n,t){var r=t(791),l=t(296);function a(e){for(var n="https://reactjs.org/dCODE
MEDIUMpackages/playwright/src/runner/taskRunner.ts113 // because of the same deadline. Essentially, we're not performing any cleanup.COMMENT
Verbosity Indicators12 hits · 25 pts
SeverityFileLineSnippetContext
LOWtests/assets/reading-list/react_15.7.0.js859 // We need to check if it exists.COMMENT
LOW…rowser-dependencies/inside_docker/list_dependencies.js98 // Step 1: pick libraries that are easy to pick.COMMENT
LOW⚡…rowser-dependencies/inside_docker/list_dependencies.js195 // Step 1: try to filter out debug, test and dev packages.COMMENT
LOW⚡…rowser-dependencies/inside_docker/list_dependencies.js199 // Step 2: use library name to filter packages with the same name.COMMENT
LOW⚡…todomvc/tests/todo-creation/prevent-empty-todo.spec.ts8 // Step 1: Navigate to the TodoMVC applicationCOMMENT
LOW⚡…todomvc/tests/todo-creation/prevent-empty-todo.spec.ts12 // Step 2: Click into the input field without typing anything and press EnterCOMMENT
LOW⚡…omvc/tests/adding-todos/should-add-single-todo.spec.ts7 // Step 1: Navigate to the TodoMVC applicationCOMMENT
LOW⚡…omvc/tests/adding-todos/should-add-single-todo.spec.ts11 // Step 2: Type 'Buy groceries' into the input fieldCOMMENT
LOW⚡…omvc/tests/adding-todos/should-add-single-todo.spec.ts16 // Step 3: Press Enter to submit the todoCOMMENT
LOW⚡packages/playwright-core/src/server/frames.ts1484 // Step 1: perform locator handlers checkpoint with a specified timeout.COMMENT
LOW⚡packages/playwright-core/src/server/frames.ts1489 // Step 2: perform one-shot expect check without a timeout.COMMENT
LOWpackages/playwright-core/src/server/frames.ts1502 // Step 3: auto-retry expect with increasing timeouts. Bounded by the total remaining time.COMMENT
Cross-Language Confusion (JS/TS)4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtests/playwright-test/reporter-list.spec.ts595 print(text[index++]);CODE
HIGHtests/playwright-test/reporter-list.spec.ts617 print(text[index++]);CODE
HIGHpackages/playwright/src/plugins/gitCommitInfoPlugin.ts40 print(s, ...args);CODE
HIGHpackages/playwright/src/plugins/gitCommitInfoPlugin.ts205 print(`timeout of ${GIT_OPERATIONS_TIMEOUT_MS}ms exceeded while running "git ${args.join(' ')}"`);CODE
Slop Phrases7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/assets/reading-list/vue_3.1.5.js7506 // #2078 make sure to merge refs during the clone instead of overwriting itCOMMENT
LOW…ges/playwright-core/bin/reinstall_msedge_beta_linux.sh24# 1. make sure to remove old beta if any.COMMENT
LOW…ges/playwright-core/bin/reinstall_chrome_beta_linux.sh23# 1. make sure to remove old beta if any.COMMENT
LOW…s/playwright-core/bin/reinstall_msedge_stable_linux.sh24# 1. make sure to remove old stable if any.COMMENT
LOW…ages/playwright-core/bin/reinstall_msedge_dev_linux.sh24# 1. make sure to remove old dev if any.COMMENT
LOW…s/playwright-core/bin/reinstall_chrome_stable_linux.sh23# 1. make sure to remove old stable if any.COMMENT
LOWpackages/playwright/src/worker/fixtureRunner.ts98 // Don't forget to decrement all usages when fixture goes.COMMENT
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…ude/skills/playwright-dev/bisect-published-versions.md12# Skip `npm init playwright@latest` — it's interactive and the scaffoldCOMMENT
MEDIUMdocs/src/release-notes-js.md1043# Generate agent files for each agentic loopCOMMENT
MEDIUM…src/tools/skills/playwright-component-testing/SKILL.md14- Tests are plain Playwright tests. The built-in **`mount(storyId, props?)` fixture** (from `@playwright/test`) drives tCODE
Overly Generic Function Names3 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/assets/reading-list/vue_2.6.14.js4754 function getData (data, vm) {CODE
LOWtests/assets/reading-list/react-dom_17.0.2.js6086 function getData() {CODE
LOWtests/assets/reading-list/react-dom_16.14.0.js8409 function getData() {CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWutils/libwebp-wasm/build.sh10# Usage:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWutils/libwebp-wasm/build.sh21# Set EMSDK_DIR to reuse an existing emsdk.COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/playwright/src/transform/tsconfig-loader.ts98 // TODO: implement tsc-compatible resolution and start throwing on invalid "extends"/"references".COMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWutils/doclint/linting-code-snippets/python/main.py8 except Exception as e:CODE