AI Slop Code Risk Monitor

web-platform-tests/wpt

SlopCodeMonitor badge for web-platform-tests/wpt Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Test suites for Web platform specs — including WHATWG, W3C, and others

2.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for web-platform-tests/wpt, a HTML project with 6,303 GitHub stars. SynthScan examined 9,255,475 lines of code across 139299 source files, recording 21224 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.4
Adjusted Signal
2.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.3K
Stars
HTML
Language
9.3M
Lines of Code
139.3K
Files
21.2K
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 7.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.3/100 · LOW

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

Agent Over-Engineering Ratio 5.7/100 · LOW

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

PR Review Velocity Impact 12.6/100 · LOW

Which changes need focused human review? 21224 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 531MEDIUM 407LOW 20269

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 21224 distinct pattern matches across 27 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 Identifiers8568 hits · 8145 pts
SeverityFileLineSnippetContext
LOW…oordinate-systems/SVGTransformList.consolidate-01.html7function makeAnimatedTransformList(transformString) {CODE
LOWsvg/coordinate-systems/SVGTransformList.list-01.html10function makeAnimatedTransformList(transformString) {CODE
LOWsvg/styling/presentation-attributes.js354function presentationAttributeIsSupported(element, attribute, value, property) {CODE
LOWsvg/styling/presentation-attributes.js368function assertPresentationAttributeIsSupported(element, attribute, values, property) {CODE
LOWsvg/styling/presentation-attributes.js379function assertPresentationAttributeIsNotSupported(element, attribute, values, property) {CODE
LOWsvg/animations/animate-elem-02-t-drt.html132function sampleAfterBeginOfFirstRepetition() {CODE
LOWsvg/animations/animate-elem-02-t-drt.html143function sampleAfterMidOfFirstRepetition() {CODE
LOW…/force-use-shadow-tree-recreation-while-animating.html36function forceUseShadowTreeRecreation() {CODE
LOW…mations/scripted/SVGAnimationElement-getStartTime.html22function checkHasNoCurrentInterval(t) {CODE
LOWsvg/linking/scripted/a.target-dynamic-update.html29async function clickAndGetNavigatedFrame(element) {CODE
LOW…rgest-contentful-paint/progressively-loaded-image.html35 function calculateResourceLoadTime(imageSrc) {CODE
LOWwebmcp/resources/helpers.js22async function waitForFormToolSchemaToMatch(expected_schema) {CODE
LOW…arative/name-collision-with-imperative-tool.https.html27async function waitForPendingDeclarativeRegistrations() {CODE
LOW…/declarative/adopt-form-from-removed-iframe.https.html29async function waitForPendingDeclarativeRegistrations() {CODE
LOW…lay-policy-detection/autoplaypolicy_media_element.html27promise_test(async function playInaudibleMediaElement() {CODE
LOWautoplay-policy-detection/autoplaypolicy.html19test(function getAutoplayPolicyMediaElement() {CODE
LOWautoplay-policy-detection/autoplaypolicy.html33test(function getAutoplayPolicyAudioContext() {CODE
LOWwebtransport/anticipated-streams.https.any.js83async function requestServerStreamLimits(wt, numUni, numBidi) {CODE
LOWwebtransport/resources/webtransport-test-helpers.sub.js129async function openThenCloseWebTransport(remoteContextHelper) {CODE
LOW…ientation-event/resources/orientation-event-helpers.js235function getExpectedOrientationEvent(expectedOrientationData) {CODE
LOW…ientation-event/resources/orientation-event-helpers.js244function getExpectedAbsoluteOrientationEvent(expectedOrientationData) {CODE
LOWworklets/resources/referrer-window.html12function createScriptURLForTopLevel(scriptOrigin) {CODE
LOWworklets/resources/referrer-window.html22function createScriptURLForDecendant(scriptOrigins) {CODE
LOWworklets/resources/service-worker-interception-tests.js16function runServiceWorkerInterceptionTests(worklet_type) {CODE
LOWworklets/resources/csp-tests.js12function openWindowAndExpectResult(windowURL, scriptURL, type, expectation) {CODE
LOWworklets/resources/csp-tests.js24function runContentSecurityPolicyTests(workletType) {CODE
LOWpaint-timing/resources/utils.js29async function assertNoFirstContentfulPaint(t) {CODE
LOWpaint-timing/resources/utils.js36async function assertFirstContentfulPaint(t) {CODE
LOWpaint-timing/fcp-only/fcp-after-scroll.html28 async function waitForFirstContentfulPaint(maxFrames) {CODE
LOWIndexedDB/idbcursor_advance_index.any.js10function createObjectStoreWithIndexAndPopulate(db, records) {CODE
LOWIndexedDB/idbcursor_delete_objectstore.any.js7function createObjectStoreAndPopulate(db, records) {CODE
LOWIndexedDB/idbcursor_update_index.any.js7function createObjectStoreWithIndexAndPopulate(db, records) {CODE
LOWIndexedDB/idbcursor_advance_objectstore.any.js9function createAndPopulateObjectStore(db, records) {CODE
LOWIndexedDB/idbindex_tombstones.any.js9async function iterateAndReturnAllCursorResult(testCase, cursorRequest) {CODE
LOWIndexedDB/clone-before-keypath-eval.any.js36function createObjectStoreWithKeyPath(CODE
LOWIndexedDB/clone-before-keypath-eval.any.js43function createObjectStoreWithIndex(CODE
LOWIndexedDB/clone-before-keypath-eval.any.js56function createTransactionAndReturnObjectStore(db, storeName) {CODE
LOWIndexedDB/database-names-by-origin.html16function waitForCrossOriginHelperResponse(origin, request) {CODE
LOWIndexedDB/idbindex_reverse_cursor.any.js5async function iterateAndReturnAllCursorResult(testCase, cursor) {CODE
LOWIndexedDB/worker-termination-aborts-upgrade.window.js18async function runAsyncFunctionInWorkerThenClose(funcToStringify) {CODE
LOWIndexedDB/idbcursor_continue_objectstore.any.js7function createObjectStoreAndPopulate(db, records) {CODE
LOWIndexedDB/idbcursor_continue_objectstore.any.js23function setOnUpgradeNeededWithCleanup(t, dbObj, records) {CODE
LOWIndexedDB/idbcursor_update_objectstore.any.js7function createObjectStoreAndPopulate(db, records) {CODE
LOWIndexedDB/idbobjectstore_get.any.js7function createDbRecordAndValidate(record, t) {CODE
LOWIndexedDB/event-dispatch-active-flag.any.js22function assertLifetimeInMicrotasksAndEventLoop(CODE
LOWIndexedDB/idbcursor_continue_index.any.js7function createObjectStoreWithIndexAndPopulate(db, records) {CODE
LOWIndexedDB/idbcursor_delete_index.any.js9function createObjectStoreWithIndexAndPopulate(db, records) {CODE
LOWIndexedDB/resources/nested-cloning-common.js207function cloningTestWithKeyGenerator(label, valueDescriptors) {CODE
LOWIndexedDB/resources/support.js216async function createIndexedDBForTesting(rc, dbName, version) {CODE
LOWIndexedDB/resources/support.js233async function waitUntilIndexedDBOpenForTesting(rc, dbName, version) {CODE
LOWIndexedDB/resources/support.js244function createDetachedArrayBuffer() {CODE
LOWIndexedDB/resources/reading-autoincrement-common.js8async function setupAutoincrementDatabase(testCase) {CODE
LOWIndexedDB/resources/support-get-all.js336function calculateExpectedGetAllResults(getAllFunctionName, records, options) {CODE
LOWIndexedDB/resources/support-get-all.js372function filterWithGetAllRecordsOptions(records, options) {CODE
LOW…re-streams/MediaStreamTrack-getCapabilities.https.html65function verifyBooleanOrStringCapability(capability, validMembers) {CODE
LOW…s/BrowserCaptureMediaStreamTrack-restrictTo.https.html84 function assertStopsProducingFrames(t, state, message) {CODE
LOW…mTrack-MediaElement-disabled-video-is-black.https.html24function assertVideoElementIsBlack(vid) {CODE
LOW…apture-streams/MediaStreamTrack-getSettings.https.html15 async function createTrackAndGetSettings(t, kind) {CODE
LOW⚡shape-detection/detection-ImageBitmap.https.html44function FaceDetectorDetectionResultTest(detectionResult, mockTest) {CODE
LOW⚡shape-detection/detection-ImageBitmap.https.html52function BarcodeDetectorDetectionResultTest(detectionResult, mockTest) {CODE
8508 more matches not shown…
Over-Commented Block6924 hits · 4487 pts
SeverityFileLineSnippetContext
LOW.azure-pipelines.yml1# This is the configuration file for Azure Pipelines, used to run tests onCOMMENT
LOW…ypes/scripted/SVGList-animVal-reflects-base-value.html1<!DOCTYPE HTML>COMMENT
LOWsvg/types/scripted/SVGGraphicsElement.getScreenCTM.html101 // First four CTM components should encode the scaleX=2 and scaleY=1.COMMENT
LOWsvg/types/scripted/SVGPointList-error-handling.html1<!DOCTYPE html>COMMENT
LOWsvg/path/error-handling/path-data-error-geometry.html1<!DOCTYPE html>COMMENT
LOWsvg/path/parsing/arc-commands.html61 path0.setAttribute('d', 'M 100,250 A 50,50 0 0,0 200,250');COMMENT
LOWsvg/resources/svg-transform-equals.js1// Helper for SVG WPT tests: assert that two SVGTransform objects are equal.COMMENT
LOWsvg/animations/event-listeners.html21 // animation end event.COMMENT
LOW…tions/animateMotion-calcMode-discrete-path-curves.html21// Test 1: Cubic curvesCOMMENT
LOWidle-detection/resources/idle-detection-helper.js1'use strict';COMMENT
LOW…ul-paint/resources/largest-contentful-paint-helpers.js21//COMMENT
LOW…ted/observe-cross-origin-animated-image.tentative.html21 // IDAT (1st frame): 91..254COMMENT
LOW…observe-cross-origin-tao-animated-image.tentative.html21 // IDAT (1st frame): 91..254COMMENT
LOW…l-paint/animated/observe-animated-image.tentative.html21 // IDAT (1st frame): 91..254COMMENT
LOW…ientation-event/resources/orientation-event-helpers.js1'use strict';COMMENT
LOW…ientation-event/resources/orientation-event-helpers.js41 default:COMMENT
LOW…ientation-event/resources/orientation-event-helpers.js61 //COMMENT
LOWmanaged/resources/managed-configuration-helper.js1'use strict';COMMENT
LOW…ces/import-insecure-origin-empty-worklet-script.sub.js1// Some tests rely on some unintuitive cleverness due to WPT's test setup:COMMENT
LOWworklets/resources/credentials-tests.js41// Run a credentials test with the given settings.COMMENT
LOW…insecure-origin-redirected-empty-worklet-script.sub.js1// Some tests rely on some unintuitive cleverness due to WPT's test setup:COMMENT
LOWIndexedDB/structured-clone.any.js1// META: title=Indexed DB and Structured Serializing/DeserializingCOMMENT
LOWIndexedDB/name-scopes.any.js1// META: title=IndexedDB: scoping for database / object store / index names, and index keysCOMMENT
LOWIndexedDB/worker-termination-aborts-upgrade.window.js1// META: title=Worker Termination Aborts a Pending UpgradeCOMMENT
LOWIndexedDB/worker-termination-aborts-upgrade.window.js41 await runAsyncFunctionInWorkerThenClose(async function() {COMMENT
LOWIndexedDB/blob-composite-blob-reads.any.js1// META: title=IDB-backed composite blobs maintain coherencyCOMMENT
LOWIndexedDB/resources/support-promises.js21}COMMENT
LOWIndexedDB/resources/support-promises.js41// look like:COMMENT
LOWIndexedDB/resources/support-promises.js61// resolves to an IndexedDB database that should be closed by the caller. If theCOMMENT
LOWIndexedDB/resources/support-promises.js141// Creates an IndexedDB database whose name is unique for the test case.COMMENT
LOWIndexedDB/resources/support-promises.js281// by_author books store in the test database's version 1.COMMENT
LOWIndexedDB/resources/support-get-all.js1// META: script=nested-cloning-common.jsCOMMENT
LOWIndexedDB/resources/support-get-all.js201 },COMMENT
LOWIndexedDB/resources/interleaved-cursors-common.js81// Given N cursors, each of which points to the beginning of a K-item sequence,COMMENT
LOW…re-streams/enumerateDevices-with-navigation.https.html41 // the handler rather than the realm of the Promise.COMMENT
LOW…s/BrowserCaptureMediaStreamTrack-restrictTo.https.html201COMMENT
LOW…acapture-streams/MediaDevices-after-discard.https.html21// https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermediaCOMMENT
LOW…iacapture-streams/MediaDevices-getUserMedia.https.html21 assert_not_equals(navigator.mediaDevices.getUserMedia, undefined, "navigator.mediaDevices.getUserMedia exists.");COMMENT
LOW…wlist/tentative/fetch-keepalive-redirect.sub.window.js21 promise_test(async t => {COMMENT
LOW…yment-request-payment-manifest-blocked.https.window.js1// META: script=/resources/testdriver.jsCOMMENT
LOW…uest-payment-manifest-redirect-allowed.https.window.js1// META: script=/resources/testdriver.jsCOMMENT
LOW…list/tentative/navigation-redirect-allow.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…uest-payment-manifest-redirect-blocked.https.window.js1// META: script=/resources/testdriver.jsCOMMENT
LOW…tative/dedicated-worker-redirect-default.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…allowlist/tentative/fetch-redirect-block.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…entative/dedicated-worker-redirect-block.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…allowlist/tentative/subresource-blocking.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…tentative/iframe-contentwindow-injection.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…tentative/service-worker-reporting.sub.https.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…lowlist/tentative/navigation-window-open.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…st/tentative/navigation-redirect-default.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…list/tentative/navigation-redirect-block.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…entative/dedicated-worker-redirect-allow.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…allowlist/tentative/fetch-redirect-allow.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…tentative/payment-request-head-blocked.https.window.js1// META: script=/resources/testdriver.jsCOMMENT
LOW…lowlist/tentative/fetch-redirect-default.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…e/payment-request-app-manifest-blocked.https.window.js1// META: script=/resources/testdriver.jsCOMMENT
LOW…list/tentative/webrtc-block-interactions.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…ist/tentative/link_rel_whitespace_bypass.sub.window.js1// META: script=/common/get-host-info.sub.jsCOMMENT
LOW…ayment-request-sw-registration-blocked.https.window.js1// META: script=/resources/testdriver.jsCOMMENT
6864 more matches not shown…
Fake / Example Data2267 hits · 2562 pts
SeverityFileLineSnippetContext
LOW⚡tools/third_party/pytest/testing/test_assertion.py1982 long_text = "Lorem ipsum dolor sit amet " * 10STRING
LOW⚡tools/third_party/pytest/testing/test_assertion.py1982 long_text = "Lorem ipsum dolor sit amet " * 10STRING
LOWtools/wave/www/lib/ui.js13 case "placeholder":CODE
LOWtools/wave/export/lib/ui.js13 case "placeholder":CODE
LOWevent-timing/interactionid-press-key-no-effect.html14 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempusCODE
LOWevent-timing/interactionid-press-key-no-effect.html14 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempusCODE
LOW…sing/tentative/stream-html-parser-blocking-script.html8<div id="placeholder"></div>CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html15 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html38 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html60 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html79 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html97 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html106 document.getElementById('placeholder').append(p);CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html124 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html140 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html184 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html217 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html238 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html265 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html294 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html314 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html344 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html365 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html385 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html413 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html468 const placeholder = document.getElementById("placeholder");CODE
LOW…sing/tentative/stream-html-parser-blocking-script.html530 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html7<div id="placeholder"></div>CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html12 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html58 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html105 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html124 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html149 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-defer-async-script.html181 const placeholder = document.getElementById("placeholder");CODE
LOW⚡…mparsing/tentative/stream-html-run-scripts-option.html7<div id="placeholder"></div>CODE
LOW⚡…mparsing/tentative/stream-html-run-scripts-option.html12 const placeholder = document.getElementById("placeholder");CODE
LOW⚡…mparsing/tentative/stream-html-run-scripts-option.html22 const placeholder = document.getElementById("placeholder");CODE
LOW⚡…mparsing/tentative/stream-html-run-scripts-option.html32 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-run-scripts-option.html45 const placeholder = document.getElementById("placeholder");CODE
LOW…mparsing/tentative/stream-html-run-scripts-option.html59 const placeholder = document.getElementById("placeholder");CODE
LOW…/RTCPeerConnection-getIdentityAssertion.sub.https.html49 peerIdentity: 'bob@example.org'CODE
LOW…/RTCPeerConnection-getIdentityAssertion.sub.https.html88 assert_equals(args.options.peerIdentity, 'bob@example.org',CODE
LOW…te-caused-by-compatibility-mouse-events.tentative.html48 const initialContainer = document.getElementById("placeholder");CODE
LOW…te-caused-by-compatibility-mouse-events.tentative.html173 <div id="placeholder" style="height: 64px"></div>CODE
LOWcss/css-overflow/overflow-overlay.html12 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWcss/css-overflow/overflow-overlay.html12 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWcss/css-overflow/overflow-overlay-ref.html10 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWcss/css-overflow/overflow-overlay-ref.html10 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOW⚡…ll-marker-activation-specified-direction-position.html43 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html44 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html49 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html50 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html51 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html52 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html53 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html54 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html55 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html56 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html61 <p>Lorem ipsum</p>CODE
LOW⚡…ll-marker-activation-specified-direction-position.html62 <p>Lorem ipsum</p>CODE
2207 more matches not shown…
Empty Error Handlers249 hits · 1245 pts
SeverityFileLineSnippetContext
HIGHelement-timing/resources/multiple-redirects.py24except ValueError:CODE
HIGHtools/websocket/h3/websocket_h3_session.py240except RuntimeError:CODE
HIGHtools/lint/lint.py221except subprocess.CalledProcessError:CODE
HIGHtools/lint/lint.py650except ValueError:CODE
HIGHtools/ci/update_codeowners.py46except Exception:CODE
HIGHtools/manifest/typedata.py103except KeyError:CODE
HIGHtools/manifest/typedata.py121except KeyError:CODE
HIGHtools/manifest/vcs.py176except OSError:CODE
HIGHtools/manifest/vcs.py173except ValueError:CODE
HIGHtools/wpt/run.py277except KeyError:CODE
HIGHtools/wpt/create.py103except OSError:CODE
HIGHtools/wpt/browser.py2676except subprocess.CalledProcessError:CODE
HIGHtools/wpt/browser.py668except mozinstall.InvalidBinary:CODE
HIGHtools/wpt/browser.py356except Exception:CODE
HIGHtools/wpt/virtualenv.py162except Exception:CODE
HIGHtools/third_party/packaging/packaging/tags.py207except ValueError:CODE
HIGHtools/third_party/packaging/packaging/markers.py192except InvalidSpecifier:CODE
HIGH…y/h2/examples/fragments/client_https_setup_fragment.py61except NotImplementedError:CODE
HIGH…y/h2/examples/fragments/server_https_setup_fragment.py64except NotImplementedError:CODE
HIGHtools/third_party/h2/examples/gevent/gevent-server.py35except NotImplementedError:CODE
HIGHtools/third_party/h2/examples/asyncio/asyncio-server.py204except KeyboardInterrupt:CODE
HIGHtools/third_party/h2/examples/asyncio/wsgi-server.py754except KeyboardInterrupt:CODE
HIGHtools/third_party/h2/src/h2/connection.py1327except StreamClosedError:CODE
HIGHtools/third_party/h2/src/h2/connection.py1878except (NoSuchStreamError, StreamClosedError):CODE
HIGHtools/third_party/attrs/src/attr/validators.py628except self.exc_types:CODE
HIGHtools/third_party/attrs/src/attr/_make.py1005except ValueError: # noqa: PERF203CODE
HIGHtools/third_party/attrs/src/attr/converters.py140except TypeError:CODE
HIGHtools/third_party/hpack/test/test_encode_decode.py121except HPACKDecodingError:CODE
HIGHtools/third_party/hpack/test/test_hpack_integration.py24except KeyError:CODE
HIGHtools/third_party/pywebsocket3/pywebsocket3/util.py44except ImportError:CODE
HIGHtools/third_party/pywebsocket3/pywebsocket3/stream.py737except AttributeError:CODE
HIGHtools/third_party/pywebsocket3/pywebsocket3/stream.py775except AttributeError:CODE
HIGH…hird_party/pywebsocket3/pywebsocket3/handshake/hybi.py165except TypeError as e:CODE
HIGHtools/third_party/pytest/testing/test_runner.py992except IndexError:CODE
HIGHtools/third_party/pytest/testing/test_runner.py437except pytest.exit.Exception:CODE
HIGHtools/third_party/pytest/testing/test_runner.py458except KeyboardInterrupt:CODE
HIGHtools/third_party/pytest/testing/test_junitxml.py106except IndexError:CODE
HIGHtools/third_party/pytest/testing/python/raises.py40except pytest.fail.Exception:CODE
HIGHtools/third_party/pytest/testing/python/fixtures.py716except ImportError:CODE
HIGHtools/third_party/pytest/testing/io/test_saferepr.py76except IndexError:CODE
HIGHtools/third_party/pytest/testing/code/test_excinfo.py137except ValueError:CODE
HIGHtools/third_party/pytest/testing/code/test_excinfo.py151except somenoname: # type: ignore[name-defined] # noqa: F821CODE
HIGHtools/third_party/pytest/src/_pytest/logging.py199except ValueError:CODE
HIGHtools/third_party/pytest/src/_pytest/unittest.py265except TypeError:CODE
HIGHtools/third_party/pytest/src/_pytest/unittest.py366except AttributeError:CODE
HIGHtools/third_party/pytest/src/_pytest/runner.py170except AttributeError:CODE
HIGHtools/third_party/pytest/src/_pytest/compat.py76except ValueError:CODE
HIGHtools/third_party/pytest/src/_pytest/terminal.py1408except AttributeError:CODE
HIGHtools/third_party/pytest/src/_pytest/warnings.py89except ImportError:CODE
HIGHtools/third_party/pytest/src/_pytest/capture.py77except ImportError:CODE
HIGHtools/third_party/pytest/src/_pytest/pytester.py1166except ValueError:CODE
HIGHtools/third_party/pytest/src/_pytest/nodes.py587except ValueError:CODE
HIGHtools/third_party/pytest/src/_pytest/monkeypatch.py72except AttributeError:CODE
HIGHtools/third_party/pytest/src/_pytest/monkeypatch.py404except KeyError:CODE
HIGHtools/third_party/pytest/src/_pytest/legacypath.py464except AttributeError:CODE
HIGHtools/third_party/pytest/src/_pytest/pathlib.py221except OSError:CODE
HIGHtools/third_party/pytest/src/_pytest/pathlib.py225except Exception:CODE
HIGHtools/third_party/pytest/src/_pytest/pathlib.py238except Exception:CODE
HIGHtools/third_party/pytest/src/_pytest/pathlib.py280except OSError:CODE
HIGHtools/third_party/pytest/src/_pytest/pathlib.py546except CouldNotResolvePathError:CODE
189 more matches not shown…
Unused Imports1076 hits · 994 pts
SeverityFileLineSnippetContext
LOWwebtransport/handlers/server-drain.py2CODE
LOWwebtransport/handlers/sendorder.py1CODE
LOWannotation-model/tools/make_tests.py5CODE
LOWannotation-model/tools/make_tests.py9CODE
LOWannotation-model/tools/make_tests.py10CODE
LOWtools/__init__.py1CODE
LOWtools/webtransport/h3/webtransport_h3_server.py32CODE
LOWtools/websocket/h3/websocket_h3_server.py42CODE
LOWtools/websocket/h3/websocket_h3_session.py21CODE
LOWtools/lint/__init__.py1CODE
LOWtools/ci/jobs.py10CODE
LOWtools/runner/report.py4CODE
LOWtools/manifest/update.py11CODE
LOWtools/manifest/typedata.py8CODE
LOWtools/manifest/__init__.py1CODE
LOWtools/manifest/__init__.py1CODE
LOWtools/manifest/__init__.py1CODE
LOWtools/manifest/__init__.py1CODE
LOWtools/manifest/__init__.py1CODE
LOWtools/manifest/vcs.py18CODE
LOWtools/manifest/test262.py1CODE
LOWtools/manifest/item.py11CODE
LOWtools/wpt/wpt.py11CODE
LOWtools/wpt/tests/test_run.py11CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOWtools/third_party/packaging/packaging/__init__.py5CODE
LOW…hird_party/webencodings/webencodings/x_user_defined.py14CODE
LOWtools/third_party/webencodings/webencodings/__init__.py15CODE
LOWtools/third_party/webencodings/webencodings/tests.py14CODE
LOWtools/third_party/h2/examples/twisted/post_request.py16CODE
LOWtools/third_party/h2/examples/twisted/head_request.py12CODE
LOWtools/third_party/h2/src/h2/windows.py15CODE
LOWtools/third_party/attrs/tests/test_pyright.py3CODE
LOWtools/third_party/attrs/tests/attr_import_star.py4CODE
LOWtools/third_party/attrs/tests/test_import.py11CODE
LOWtools/third_party/attrs/tests/test_hooks.py3CODE
LOWtools/third_party/attrs/tests/typing_example.py3CODE
LOWtools/third_party/attrs/src/attrs/setters.py3CODE
LOWtools/third_party/attrs/src/attrs/validators.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
LOWtools/third_party/attrs/src/attrs/__init__.py3CODE
1016 more matches not shown…
Cross-File Repetition141 hits · 705 pts
SeverityFileLineSnippetContext
HIGH…ction-allowlist/tentative/resources/key-value-store.py0key-value store server. the request takes "key=" and "value=" url parameters. the key must be uuid generated by token().STRING
HIGHfenced-frame/resources/key-value-store.py0key-value store server. the request takes "key=" and "value=" url parameters. the key must be uuid generated by token().STRING
HIGH…eculation-rules/prerender/resources/key-value-store.py0key-value store server. the request takes "key=" and "value=" url parameters. the key must be uuid generated by token().STRING
HIGH…ls/third_party/pytest-asyncio/pytest_asyncio/plugin.py0create an instance of the default event loop for each test case.STRING
HIGH…ty/pytest-asyncio/tests/loop_fixture_scope/conftest.py0create an instance of the default event loop for each test case.STRING
HIGH…third_party/pytest-asyncio/tests/multiloop/conftest.py0create an instance of the default event loop for each test case.STRING
HIGH…d_party/pytest-asyncio/tests/modes/test_legacy_mode.py0\ import asyncio import pytest pytest_plugins = 'pytest_asyncio' async def test_a(): await asyncio.sleep(0)STRING
HIGH…d_party/pytest-asyncio/tests/modes/test_strict_mode.py0\ import asyncio import pytest pytest_plugins = 'pytest_asyncio' async def test_a(): await asyncio.sleep(0)STRING
HIGH…ird_party/pytest-asyncio/tests/modes/test_auto_mode.py0\ import asyncio import pytest pytest_plugins = 'pytest_asyncio' async def test_a(): await asyncio.sleep(0)STRING
HIGH…d_party/pytest-asyncio/tests/modes/test_legacy_mode.py0\ import asyncio import pytest pytest_plugins = 'pytest_asyncio' class testa: @pytest.fixture async def fixture_a(self):STRING
HIGH…d_party/pytest-asyncio/tests/modes/test_strict_mode.py0\ import asyncio import pytest pytest_plugins = 'pytest_asyncio' class testa: @pytest.fixture async def fixture_a(self):STRING
HIGH…ird_party/pytest-asyncio/tests/modes/test_auto_mode.py0\ import asyncio import pytest pytest_plugins = 'pytest_asyncio' class testa: @pytest.fixture async def fixture_a(self):STRING
HIGH…rd_party/websockets/example/tutorial/step3/connect4.py0a connect four game. play moves with :meth:`play`. get past moves with :attr:`moves`. check for a victory with :attr:`wiSTRING
HIGH…rd_party/websockets/example/tutorial/step2/connect4.py0a connect four game. play moves with :meth:`play`. get past moves with :attr:`moves`. check for a victory with :attr:`wiSTRING
HIGH…rd_party/websockets/example/tutorial/start/connect4.py0a connect four game. play moves with :meth:`play`. get past moves with :attr:`moves`. check for a victory with :attr:`wiSTRING
HIGH…rd_party/websockets/example/tutorial/step1/connect4.py0a connect four game. play moves with :meth:`play`. get past moves with :attr:`moves`. check for a victory with :attr:`wiSTRING
HIGH…rd_party/websockets/example/tutorial/step3/connect4.py0play a move in a column. returns the row where the checker lands. raises :exc:`runtimeerror` if the move is illegal.STRING
HIGH…rd_party/websockets/example/tutorial/step2/connect4.py0play a move in a column. returns the row where the checker lands. raises :exc:`runtimeerror` if the move is illegal.STRING
HIGH…rd_party/websockets/example/tutorial/start/connect4.py0play a move in a column. returns the row where the checker lands. raises :exc:`runtimeerror` if the move is illegal.STRING
HIGH…rd_party/websockets/example/tutorial/step1/connect4.py0play a move in a column. returns the row where the checker lands. raises :exc:`runtimeerror` if the move is illegal.STRING
HIGHtools/third_party/websockets/src/websockets/protocol.py0unique identifier of the connection. useful in logs.STRING
HIGH…ird_party/websockets/src/websockets/legacy/protocol.py0unique identifier of the connection. useful in logs.STRING
HIGH…ird_party/websockets/src/websockets/sync/connection.py0unique identifier of the connection. useful in logs.STRING
HIGH…ols/wptrunner/wptrunner/executors/executorwebdriver.py0let callback = arguments[arguments.length - 1]; addeventlistener("__test_restart", e => {e.preventdefault(); callback(trSTRING
HIGH…ls/wptrunner/wptrunner/executors/executormarionette.py0let callback = arguments[arguments.length - 1]; addeventlistener("__test_restart", e => {e.preventdefault(); callback(trSTRING
HIGHtools/wptrunner/wptrunner/executors/executorselenium.py0let callback = arguments[arguments.length - 1]; addeventlistener("__test_restart", e => {e.preventdefault(); callback(trSTRING
HIGH…ient-hints/critical-ch/resources/echo-critical-hint.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGHclient-hints/resources/echo-client-hints-received.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGHclient-hints/resources/echo-ua-client-hints-received.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGH…hints/service-workers/critical-ch/echo-hint-in-html.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGH…t-hints/service-workers/resources/echo-hint-in-html.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGH…-ch-stickiness/resources/echo-client-hints-received.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGHcontent-dpr/resources/dpr.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGH…ints/accept-ch-stickiness/resources/expect-received.py0check that headers sent to navigate here *do not* contain the device-memory client hint, and report success/failure in aSTRING
HIGH…s/accept-ch-stickiness/resources/do-expect-received.py0check that headers sent to navigate here *do not* contain the device-memory client hint, and report success/failure in aSTRING
HIGH…cept-ch-stickiness/resources/do-not-expect-received.py0check that headers sent to navigate here *do not* contain the device-memory client hint, and report success/failure in aSTRING
HIGH…ints/accept-ch-stickiness/resources/expect-received.py0<script> let messagee = window.opener || window.parent; messagee.postmessage("%s" , "*"); </script>STRING
HIGH…s/accept-ch-stickiness/resources/do-expect-received.py0<script> let messagee = window.opener || window.parent; messagee.postmessage("%s" , "*"); </script>STRING
HIGH…cept-ch-stickiness/resources/do-not-expect-received.py0<script> let messagee = window.opener || window.parent; messagee.postmessage("%s" , "*"); </script>STRING
HIGHcore-aam/aamtests/support/ia2_wrapper.py0find the axuielement with a specified dom_id. :param root: the root node to search from. :param dom_id: the dom id. :retSTRING
HIGHcore-aam/aamtests/support/atspi_wrapper.py0find the axuielement with a specified dom_id. :param root: the root node to search from. :param dom_id: the dom id. :retSTRING
HIGHcore-aam/aamtests/support/axapi_wrapper.py0find the axuielement with a specified dom_id. :param root: the root node to search from. :param dom_id: the dom id. :retSTRING
HIGH…-script-element/module/dynamic-import/beta/redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHmeasure-memory/resources/redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHcommon/slow-redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHcommon/redirect-opt-in.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHwebdriver/tests/support/http_handlers/redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHcookies/resources/redirectWithCORSHeaders.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHwebdriver/tests/classic/back/back.py0<script> function pushstate() { history.pushstate({foo: "bar"}, "", "#pushstate"); } </script> <a onclick="javascript:puSTRING
HIGHwebdriver/tests/classic/refresh/refresh.py0<script> function pushstate() { history.pushstate({foo: "bar"}, "", "#pushstate"); } </script> <a onclick="javascript:puSTRING
HIGHwebdriver/tests/classic/forward/forward.py0<script> function pushstate() { history.pushstate({foo: "bar"}, "", "#pushstate"); } </script> <a onclick="javascript:puSTRING
HIGHwebdriver/tests/classic/maximize_window/conftest.py0firefox/linux workaround to disable baseline fpp for minimize tests. this is a hack for firefox on linux only. the maximSTRING
HIGHwebdriver/tests/classic/fullscreen_window/conftest.py0firefox/linux workaround to disable baseline fpp for minimize tests. this is a hack for firefox on linux only. the maximSTRING
HIGHwebdriver/tests/classic/set_window_rect/conftest.py0firefox/linux workaround to disable baseline fpp for minimize tests. this is a hack for firefox on linux only. the maximSTRING
HIGHwebdriver/tests/classic/minimize_window/conftest.py0firefox/linux workaround to disable baseline fpp for minimize tests. this is a hack for firefox on linux only. the maximSTRING
HIGHwebdriver/tests/classic/switch_to_frame/cross_origin.py0tests that webdriver can transcend site origins. many modern browsers impose strict cross-origin checks, and webdriver sSTRING
HIGHwebdriver/tests/classic/get_current_url/iframe.py0tests that webdriver can transcend site origins. many modern browsers impose strict cross-origin checks, and webdriver sSTRING
HIGHwebdriver/tests/classic/get_title/iframe.py0tests that webdriver can transcend site origins. many modern browsers impose strict cross-origin checks, and webdriver sSTRING
HIGH…driver/tests/classic/perform_actions/pointer_origin.py0width: 100px; height: 50px; background: green; position: relative; left: -200px; top: -100px;STRING
HIGH…driver/tests/bidi/input/perform_actions/pointer_pen.py0width: 100px; height: 50px; background: green; position: relative; left: -200px; top: -100px;STRING
81 more matches not shown…
Cross-Language Confusion118 hits · 616 pts
SeverityFileLineSnippetContext
HIGHelement-timing/resources/TAOImage.py16 # null, failCOMMENT
HIGHtools/third_party/pywebsocket3/test/test_msgutil.py460 """Test that a simple payload (one null) is framed correctly."""STRING
HIGHtools/third_party/pytest/src/_pytest/runner.py203 value = value.replace("\x00", "(null)")CODE
HIGHtools/wptrunner/wptrunner/update/update.py69 with state.push(["sync", "paths", "metadata_path", "tests_path", "local_tree",CODE
HIGHtools/wptrunner/wptrunner/update/update.py88 with state.push(["local_tree", "sync_tree", "paths", "serve_root"]):CODE
HIGH⚡…ols/wptrunner/wptrunner/executors/executorwebdriver.py775 args.push(resolve);CODE
HIGH⚡…ols/wptrunner/wptrunner/executors/executorwebdriver.py778 }).apply(null, args);CODE
HIGH…ls/wptrunner/wptrunner/executors/executormarionette.py327 return null;CODE
HIGH…ls/wptrunner/wptrunner/executors/executormarionette.py473 # rejects when null, so send the command directly and omit the keySTRING
HIGHtools/wptrunner/wptrunner/executors/protocol.py951 .filter(elem => elem.localName !== "embed" ? (elem.contentWindow !== null) : true);CODE
HIGHtools/wptserve/tests/functional/test_pipes.py66 resp = self.request("/document.txt", query="pipe=slice(null,10)")CODE
HIGH⚡tools/wptserve/tests/functional/test_pipes.py169 resp = self.request("/test_string.py", query="pipe=slice(null,2)")STRING
HIGH⚡tools/wptserve/tests/functional/test_pipes.py178 resp = self.request(route[1], query="pipe=slice(null,2)")STRING
HIGH⚡tools/wptserve/tests/functional/test_pipes.py187 resp = self.request(route[1], query="pipe=slice(null,2)")STRING
HIGH⚡tools/wptserve/tests/functional/test_pipes.py208 resp = self.request(route[1], query="pipe=slice(null,2)")STRING
HIGH⚡tools/wptserve/tests/functional/test_pipes.py212 resp = self.request("/test.asis", query="pipe=slice(null,2)")STRING
HIGH…ient-hints/critical-ch/resources/echo-critical-hint.py53 "(window.opener || window.top).postMessage('{0}', '*'))"CODE
HIGHclient-hints/resources/viewport-frame.py20 let parentOrOpener = window.opener || window.parent;CODE
HIGH…ints/accept-ch-stickiness/resources/expect-received.py23 let messagee = window.opener || window.parent;CODE
HIGH…s/accept-ch-stickiness/resources/do-expect-received.py15 let messagee = window.opener || window.parent;CODE
HIGH…cept-ch-stickiness/resources/do-not-expect-received.py15 let messagee = window.opener || window.parent;CODE
HIGHWebCryptoAPI/tools/generate.py166 " vector => !algorithmNames || algorithmNames.includes(vector.name));",CODE
HIGHhtml/cross-origin-opener-policy/resources/coop-coep.py47 if (navHistory !== null) {CODE
HIGH…ates/tentative/fragment/buffer-streaming-reflection.py23 window.observedLengths.push(elementNodes.length);CODE
HIGH…ates/tentative/fragment/buffer-streaming-reflection.py47 const tpl_removed = document.getElementById('test-template') === null;CODE
HIGH…ates/tentative/fragment/buffer-streaming-reflection.py50 let passed = child1_ok && child2_ok && tpl_removed && progress_ok;CODE
HIGHresource-timing/resources/TAOResponse.py18 # null, fail unless it's an opaque originCOMMENT
HIGHresource-timing/resources/TAOResponse.py21 # case-insensitive null, failCOMMENT
HIGHfetch/fetch-later/resources/get_beacon.py13 - "{'data': ['abc', null, '123',...]}"STRING
HIGH…driver/tests/classic/element_click/scroll_into_view.py55 window.clicks.push({STRING
HIGH…driver/tests/classic/element_click/scroll_into_view.py78 return rect.top >= 0 && rect.left >= 0 &&STRING
HIGH…driver/tests/classic/element_click/scroll_into_view.py117 window.clicks.push({{CODE
HIGH…driver/tests/classic/element_click/scroll_into_view.py129 "return window.scrollY || document.documentElement.scrollTop"STRING
HIGH…driver/tests/classic/element_click/scroll_into_view.py140 "return window.scrollY || document.documentElement.scrollTop"STRING
HIGHwebdriver/tests/classic/element_click/center_point.py31 div.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]) }});CODE
HIGHwebdriver/tests/classic/element_click/navigate.py88 return rect["top"] >= 0 && rect["left"] >= 0 &&CODE
HIGHwebdriver/tests/classic/element_click/bubbling.py33 window.clicks.push(clickEvent.currentTarget);CODE
HIGHwebdriver/tests/classic/element_click/bubbling.py74 setTimeout(function() { window.delayedClicks.push(target); }, 0);CODE
HIGHwebdriver/tests/classic/navigate_to/frame.py12 iframe_url = inline('<script>history.replaceState(null, "", "#hash");</script>')CODE
HIGH…/classic/perform_actions/pointer_touch_simultaneous.py25 event => window.allEvents.events.push({STRING
HIGHwebdriver/tests/classic/perform_actions/duration.py28 event => window.allEvents.events.push({STRING
HIGHwebdriver/tests/classic/perform_actions/__init__.py62 window.recordedEvents.push({STRING
HIGH⚡…bdriver/tests/classic/perform_actions/pointer_touch.py109 allEvents.events.push({CODE
HIGH…bdriver/tests/classic/perform_actions/pointer_mouse.py271 allEvents.events.push({CODE
HIGH…bdriver/tests/classic/perform_actions/pointer_mouse.py311 allEvents.events.push([CODE
HIGHwebdriver/tests/classic/perform_actions/navigation.py15 window.addEventListener("keydown", e => allEvents.events.push([e.key]));CODE
HIGHwebdriver/tests/classic/perform_actions/navigation.py17 allEvents.events.push([CODE
HIGH⚡webdriver/tests/classic/perform_actions/perform.py112 window.onwheel = () => window.events.push('wheel');CODE
HIGH⚡webdriver/tests/classic/perform_actions/perform.py113 window.onmousemove = () => window.events.push('move');CODE
HIGH…bdriver/tests/classic/perform_actions/support/mouse.py4 height: window.innerHeight || document.documentElement.clientHeight,CODE
HIGH…bdriver/tests/classic/perform_actions/support/mouse.py5 width: window.innerWidth || document.documentElement.clientWidth,CODE
HIGH…driver/tests/classic/execute_async_script/arguments.py12 arguments[1]([arguments[0] === null, arguments[0]])CODE
HIGHwebdriver/tests/classic/execute_async_script/node.py75 (""" document.implementation.createDocument("", "root", null).createCDATASection("foo") """, "cdata"),CODE
HIGH⚡webdriver/tests/classic/execute_async_script/cyclic.py8 arr.push(arr);CODE
HIGH⚡webdriver/tests/classic/execute_async_script/cyclic.py39 arr.push(arr);CODE
HIGH…bdriver/tests/classic/external/permissions/__init__.py18 resolve({ status: 'success', value: value && value.state });STRING
HIGH…bdriver/tests/classic/external/permissions/__init__.py20 resolve({ status: 'error', value: error && error.message });STRING
HIGHwebdriver/tests/classic/execute_script/arguments.py15 result = execute_script(session, "return [arguments[0] === null, arguments[0]]", args=[value])CODE
HIGH⚡webdriver/tests/classic/execute_script/execute.py76window.addEventListener = () => {called.push("Internal addEventListener")}CODE
HIGH⚡webdriver/tests/classic/execute_script/execute.py77window.removeEventListener = () => {called.push("Internal removeEventListener")}CODE
58 more matches not shown…
Self-Referential Comments187 hits · 576 pts
SeverityFileLineSnippetContext
MEDIUMwebtransport/handlers/anticipated-streams.py12 # Create a bidirectional stream for the client to send requestsCOMMENT
MEDIUMtools/webtransport/h3/webtransport_h3_server.py298 # Create a handler using `:path`.COMMENT
MEDIUMtools/web_features/manifest.py130 # Create a copy that may be built upon or cleared during this iteration.COMMENT
MEDIUMtools/lint/lint.py42# Define an arbitrary typevarCOMMENT
MEDIUMtools/ci/macos_display_configuration.py35# Create a new type for display IDsCOMMENT
MEDIUMtools/ci/regen_certs.py15# This file is automatically generated by 'wpt regen-certs'COMMENT
MEDIUMtools/manifest/tests/test_manifest.py286 # Create the original manifestCOMMENT
MEDIUMtools/wpt/browser.py2572 # This class is not meant to be used directly.COMMENT
MEDIUMtools/third_party/packaging/setup.py2# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM⚡tools/third_party/packaging/noxfile.py267 # Create a temporary file.COMMENT
MEDIUMtools/third_party/packaging/packaging/tags.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/version.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/utils.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/requirements.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/_structures.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/markers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/__about__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/packaging/specifiers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tasks/check.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tasks/paths.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tasks/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_version.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_utils.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_structures.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_specifiers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_tags.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_requirements.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/tests/test_markers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/packaging/docs/conf.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtools/third_party/webencodings/webencodings/labels.py14# This file is automatically generated by mklabels.pyCOMMENT
MEDIUMtools/third_party/webencodings/webencodings/mklabels.py40# This file is automatically generated by mklabels.pyCOMMENT
MEDIUMtools/third_party/h2/test/test_flow_control_window.py730 # Create a connection in a state that might actually acceptCOMMENT
MEDIUMtools/third_party/h2/test/test_flow_control_window.py755 # Create a connection in a state that might actually acceptCOMMENT
MEDIUMtools/third_party/h2/examples/asyncio/wsgi-server.py542 # This method is *crazy inefficient*, but it's also a pretty stupidCOMMENT
MEDIUMtools/third_party/pytest/testing/test_conftest.py385 # Create a build directory that contains symlinks to actual filesCOMMENT
MEDIUMtools/third_party/pytest/testing/test_collection.py1562 # Create a broken symlink.COMMENT
MEDIUMtools/third_party/pytest/testing/test_runner.py781 # Create a module which exists and can be imported, however it raisesCOMMENT
MEDIUMtools/third_party/pytest/testing/test_link_resolve.py15 for c in ascii_lowercase[7:]: # Create a subst drive from H-Z.CODE
MEDIUMtools/third_party/pytest/testing/test_stepwise.py24 # Create a simple test suite.COMMENT
MEDIUM⚡tools/third_party/pytest/testing/test_pathlib.py729 # Create a directory structure first without __init__.py files.COMMENT
MEDIUM⚡tools/third_party/pytest/testing/test_pathlib.py737 # Create the __init__.py files, it should now resolve to a proper module name.COMMENT
MEDIUMtools/third_party/pytest/testing/test_pathlib.py901 # Create the tests files, outside 'src' and the virtualenv.COMMENT
MEDIUMtools/third_party/pytest/doc/en/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/python.py1299 # Create the new calls: if we are parametrize() multiple times (by applying the decoratorCOMMENT
MEDIUMtools/third_party/pytest/src/_pytest/python.py1678 """This class is a stop gap solution until we evolve to have actual functionSTRING
MEDIUMtools/third_party/pytest/src/_pytest/pathlib.py50# The following function, variables and comments wereCOMMENT
MEDIUMtools/third_party/pytest/src/_pytest/cacheprovider.py51# This file is a cache directory tag created by pytest.COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/cacheprovider.py231 # Create a directory in place of the one we just moved so that `TemporaryDirectory`'sCOMMENT
MEDIUMtools/third_party/pytest/src/_pytest/_code/code.py1107# This class is abstract -- only subclasses are instantiated.COMMENT
MEDIUM…ls/third_party/pytest/src/_pytest/assertion/rewrite.py972 # This method handles the 'walrus operator' repr of the targetCOMMENT
MEDIUMtools/third_party/pathlib2/tests/test_pathlib2.py1877 # Creating a chain of directoriesCOMMENT
MEDIUMtools/third_party/more-itertools/docs/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUM…party/more-itertools/more_itertools/tests/test_more.py1737 # Create a non-reversible generator from a sequenceCOMMENT
MEDIUMtools/third_party/importlib_metadata/docs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM…third_party/websockets/src/websockets/legacy/server.py1112 # Create a suitable iterator by calling __await__ on a coroutine.COMMENT
MEDIUM…ird_party/websockets/src/websockets/legacy/protocol.py250 # This class implements the data transfer and closing handshake, whichCOMMENT
MEDIUM…third_party/websockets/src/websockets/legacy/client.py642 # Create a suitable iterator by calling __await__ on a coroutine.COMMENT
MEDIUM…s/third_party/websockets/src/websockets/sync/server.py444 # Create a closure so that select_subprotocol has access to self.COMMENT
127 more matches not shown…
Deep Nesting524 hits · 492 pts
SeverityFileLineSnippetContext
LOWreporting/resources/report.py9CODE
LOWreporting/resources/report.py37CODE
LOWelement-timing/resources/TAOImage.py5CODE
LOWtools/webtransport/h3/capsule.py85CODE
LOWtools/webtransport/h3/webtransport_h3_server.py167CODE
LOWtools/web_features/web_feature_map.py117CODE
LOWtools/web_features/tests/test_manifest.py63CODE
LOWtools/web_features/tests/test_manifest.py73CODE
LOWtools/web_features/tests/test_manifest.py138CODE
LOWtools/websocket/h3/websocket_h3_server.py297CODE
LOWtools/websocket/h3/websocket_h3_server.py555CODE
LOWtools/websocket/h3/websocket_h3_server.py650CODE
LOWtools/websocket/h3/tests/test_websocket_h3_server.py800CODE
LOWtools/lint/fnmatch.py15CODE
LOWtools/lint/lint.py104CODE
LOWtools/lint/lint.py203CODE
LOWtools/lint/lint.py342CODE
LOWtools/lint/lint.py400CODE
LOWtools/lint/lint.py718CODE
LOWtools/lint/lint.py808CODE
LOWtools/lint/lint.py963CODE
LOWtools/lint/lint.py677CODE
LOWtools/lint/tests/test_file_lints.py632CODE
LOWtools/lint/tests/test_file_lints.py662CODE
LOWtools/docker/frontend.py33CODE
LOWtools/ci/check_for_updated_refs.py20CODE
LOWtools/ci/update_codeowners.py55CODE
LOWtools/ci/run_tc.py221CODE
LOWtools/ci/run_tc.py295CODE
LOWtools/ci/tc/download.py55CODE
LOWtools/ci/tc/taskgraph.py28CODE
LOWtools/ci/tc/decision.py55CODE
LOWtools/ci/tc/decision.py146CODE
LOWtools/ci/tc/decision.py162CODE
LOWtools/ci/tc/decision.py193CODE
LOWtools/manifest/manifest.py146CODE
LOWtools/manifest/download.py98CODE
LOWtools/manifest/sourcefile.py502CODE
LOWtools/manifest/sourcefile.py626CODE
LOWtools/manifest/sourcefile.py686CODE
LOWtools/manifest/sourcefile.py992CODE
LOWtools/manifest/vcs.py127CODE
LOWtools/manifest/vcs.py166CODE
LOWtools/manifest/testpaths.py48CODE
LOWtools/manifest/test262.py28CODE
LOWtools/manifest/tests/test_manifest.py81CODE
LOWtools/wpt/run.py75CODE
LOWtools/wpt/run.py113CODE
LOWtools/wpt/run.py285CODE
LOWtools/wpt/run.py390CODE
LOWtools/wpt/metadata.py68CODE
LOWtools/wpt/metadata.py80CODE
LOWtools/wpt/create.py60CODE
LOWtools/wpt/wpt.py42CODE
LOWtools/wpt/browser.py329CODE
LOWtools/wpt/browser.py386CODE
LOWtools/wpt/browser.py1509CODE
LOWtools/wpt/browser.py1974CODE
LOWtools/wpt/browser.py2124CODE
LOWtools/wpt/browser.py2663CODE
464 more matches not shown…
Excessive Try-Catch Wrapping384 hits · 455 pts
SeverityFileLineSnippetContext
LOWtools/webtransport/h3/webtransport_h3_server.py510 except Exception as e:CODE
LOWtools/webtransport/h3/webtransport_h3_server.py595 except Exception as e:CODE
LOWtools/web_features/manifest.py141 except Exception as e:CODE
LOWtools/web_features/tests/test_manifest.py211 except Exception as e:CODE
LOWtools/websocket/h3/websocket_h3_server.py257 except Exception:CODE
LOWtools/websocket/h3/websocket_h3_server.py327 except Exception as error:CODE
LOWtools/websocket/h3/websocket_h3_server.py340 except Exception:CODE
LOWtools/websocket/h3/websocket_h3_server.py347 except Exception:CODE
LOWtools/websocket/h3/websocket_h3_session.py219 except Exception:CODE
LOWtools/websocket/h3/websocket_h3_session.py232 except Exception:CODE
MEDIUMtools/websocket/h3/websocket_h3_session.py216def _run_handler(self) -> None:CODE
LOWtools/lint/lint.py790 except Exception:CODE
LOWtools/lint/lint.py813 except Exception as e:CODE
LOWtools/lint/lint.py1182 except Exception:CODE
LOWtools/ci/macos_display_configuration.py192 except Exception:CODE
LOWtools/ci/update_codeowners.py46 except Exception:CODE
LOWtools/ci/manifest_build.py81 except Exception as e:CODE
LOWtools/ci/tc/taskgraph.py91 except Exception:CODE
LOWtools/ci/tc/decision.py388 except Exception:CODE
LOWtools/ci/tc/tests/test_valid.py163 except Exception as e:CODE
LOWtools/manifest/download.py73 except Exception:CODE
LOWtools/manifest/download.py118 except Exception:CODE
LOWtools/manifest/download.py161 except Exception:CODE
LOWtools/manifest/sourcefile.py474 except Exception:CODE
LOWtools/manifest/utils.py42 except Exception as e:CODE
LOWtools/manifest/vcs.py245 except Exception:CODE
LOWtools/wpt/run.py473 except Exception as e:CODE
LOWtools/wpt/run.py914 except Exception as e:CODE
LOWtools/wpt/metadata.py62 except Exception as e:CODE
LOWtools/wpt/wpt.py138 except Exception:CODE
LOWtools/wpt/wpt.py237 except Exception:CODE
LOWtools/wpt/browser.py247 except Exception as e:CODE
LOWtools/wpt/browser.py356 except Exception:CODE
LOWtools/wpt/browser.py633 except Exception as e:CODE
LOWtools/wpt/browser.py775 except Exception:CODE
LOWtools/wpt/browser.py1015 except Exception as e:CODE
LOWtools/wpt/browser.py1970 except Exception as e:CODE
LOWtools/wpt/android.py354 except Exception:CODE
LOWtools/wpt/utils.py37 except Exception:CODE
LOWtools/wpt/virtualenv.py162 except Exception:CODE
LOWtools/wpt/virtualenv.py180 except Exception:CODE
MEDIUMtools/wpt/virtualenv.py159def install(self, *requirements):CODE
LOW⚡tools/third_party/packaging/noxfile.py274 except Exception:CODE
LOWtools/third_party/packaging/tasks/check.py36 except Exception:CODE
LOW…ls/third_party/pywebsocket3/pywebsocket3/standalone.py471 except Exception as e:CODE
LOWtools/third_party/pywebsocket3/pywebsocket3/dispatch.py148 except Exception:CODE
LOWtools/third_party/pywebsocket3/pywebsocket3/dispatch.py155 except Exception:CODE
LOWtools/third_party/pywebsocket3/pywebsocket3/dispatch.py265 except Exception as e:CODE
LOWtools/third_party/pywebsocket3/pywebsocket3/dispatch.py318 except Exception as e:CODE
LOW…rd_party/pywebsocket3/pywebsocket3/websocket_server.py148 except Exception as e:CODE
LOW…rd_party/pywebsocket3/pywebsocket3/websocket_server.py183 except Exception as e:CODE
LOW…rd_party/pywebsocket3/pywebsocket3/websocket_server.py212 except Exception as e:CODE
LOWtools/third_party/pywebsocket3/pywebsocket3/stream.py460 except Exception as e:CODE
LOWtools/third_party/pywebsocket3/test/test_dispatch.py164 except Exception as e:CODE
LOW⚡tools/third_party/pywebsocket3/test/test_dispatch.py227 except Exception:CODE
LOW⚡tools/third_party/pywebsocket3/test/test_dispatch.py238 except Exception as e:CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py278 except Exception as e:CODE
LOW…ls/third_party/pywebsocket3/test/client_for_testing.py702 except Exception as e:CODE
MEDIUM…ls/third_party/pywebsocket3/test/client_for_testing.py699def assert_connection_closed(self):CODE
LOWtools/third_party/pywebsocket3/example/echo_client.py572 except Exception as e:CODE
324 more matches not shown…
Verbosity Indicators168 hits · 333 pts
SeverityFileLineSnippetContext
LOWwebtransport/response-headers.https.any.js6 // Step 6: "wt-protocol" is a negotiation-only header and must be deletedCOMMENT
LOWwebtransport/response-headers.https.any.js23 // Step 7: transport.[[ResponseHeaders]] is an immutable Headers object.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py80 # Step 1: Establish the TCP connecton.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py83 # Step 2: Create H2 Connection object, put it in upgrade mode, and get theCOMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py88 # Step 3: Send the initial HTTP/1.1 request with the upgrade fields.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py91 # Step 4: Read the HTTP/1.1 response, look for 101 response.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py94 # Step 5: Immediately send the pending HTTP/2 data.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py97 # Step 6: Feed the body data to the connection.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py93 # Step 1: Set up your TLS context.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py96 # Step 2: Create a TCP connection.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py99 # Step 3: Wrap the connection in TLS and validate that we negotiated HTTP/2COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py102 # Step 4: Create a client-side H2 connection.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py105 # Step 5: Initiate the connectionCOMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py94 # Step 1: Set up your TLS context.COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py97 # Step 2: Receive a TCP connection.COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py100 # Step 3: Wrap the connection in TLS and validate that we negotiated HTTP/2COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py103 # Step 4: Create a server-side H2 connection.COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py107 # Step 5: Initiate the connectionCOMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py77 # Step 1: Establish the TCP connecton.COMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py80 # Step 2: Read the response. We expect this to request an upgrade.COMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py83 # Step 3: Create a H2Connection object in server mode, and pass it theCOMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py91 # Step 4: Send the 101 Switching Protocols response.COMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py94 # Step 5: Send pending HTTP/2 data.COMMENT
LOWtools/third_party/h2/src/h2/connection.py1591 # We need to check if the parent stream was reset by us. If it wasCOMMENT
LOWtools/third_party/html5lib/html5lib/html5parser.py1418 # Step 4:COMMENT
LOWtools/third_party/html5lib/html5lib/html5parser.py1463 # Step 5:COMMENT
LOWtools/third_party/html5lib/html5lib/html5parser.py1476 # Step 6:COMMENT
LOWtools/third_party/html5lib/html5lib/html5parser.py1494 # Step 8:COMMENT
LOW…ols/third_party/html5lib/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOW…ols/third_party/html5lib/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html24 // Step 1: Write initial data to the clipboard.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html30 // Step 2: Read the clipboard to obtain a ClipboardItem.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html38 // Step 3: Write new data to the clipboard, invalidating the old item.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html44 // Step 4: getType() on the stale item should reject with InvalidStateError.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html23 // Step 1: Write initial data to the clipboard.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html29 // Step 2: Read the clipboard to obtain a ClipboardItem.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html36 // Step 3: Call getType() to read and cache the data.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html40 // Step 4: Write new data to the clipboard, invalidating the old item.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html46 // Step 5: getType() on the now-stale item should reject with InvalidStateError,COMMENT
LOWpointerlock/pointerlock-maintains-mousedown.html80 // Step 0: Click to acquire pointer lock.COMMENT
LOW⚡…istics/smoke/tentative/task-attribution-link-load.html23 // Step 3: modify the DOM.COMMENT
LOW⚡…istics/smoke/tentative/task-attribution-link-load.html28 // Step 2: optionally insert a style link and wait for the load handler.COMMENT
LOW…istics/smoke/tentative/task-attribution-link-load.html43 // Step 1: optionally preload a style link and wait for the load handler.COMMENT
LOW…e-script-element/module-script-disabled-scripting.html12 // Step 1: If scripting is disabled, set source to empty stringCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html61 // Step 1: network error on shared dependency importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html79 // Step 2: 404 on shared dependency importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html96 // Step 3: wrong MIME type on shared dependency importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html113 // Step 4: successful importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html129 // Step 5: re-import to verify cachingCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html48 // Step 1: network error on shared dependency importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html65 // Step 2: 404 on shared dependency importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html81 // Step 3: wrong MIME type on shared dependency importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html97 // Step 4: successful importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html112 // Step 5: re-import to verify cachingCOMMENT
LOW…documents/resources/moving-between-documents-iframe.py21 # Step 1: Start parsing.COMMENT
LOW⚡…erestfor-pseudo-element-insertion-order.tentative.html18 // Step 1: Add ::afterCOMMENT
LOW⚡…erestfor-pseudo-element-insertion-order.tentative.html22 // Step 2: Add ::interest-buttonCOMMENT
LOW⚡…erestfor-pseudo-element-insertion-order.tentative.html26 // Step 3: Add ::beforeCOMMENT
LOW⚡…ideo-element/video-loading-lazy-load-when-visible.html21 // Step 1: Not visible => check initial dimensions.COMMENT
LOW⚡…ideo-element/video-loading-lazy-load-when-visible.html26 // Step 2: Scroll into view => video should load and dimensions should change.COMMENT
108 more matches not shown…
Structural Annotation Overuse155 hits · 309 pts
SeverityFileLineSnippetContext
LOWwebtransport/response-headers.https.any.js23 // Step 7: transport.[[ResponseHeaders]] is an immutable Headers object.COMMENT
LOWtools/third_party/packaging/noxfile.py161 # NOTE: The following fails if pushing to the branch is not allowed. This canCOMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py80 # Step 1: Establish the TCP connecton.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py83 # Step 2: Create H2 Connection object, put it in upgrade mode, and get theCOMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py88 # Step 3: Send the initial HTTP/1.1 request with the upgrade fields.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py91 # Step 4: Read the HTTP/1.1 response, look for 101 response.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py94 # Step 5: Immediately send the pending HTTP/2 data.COMMENT
LOW⚡…party/h2/examples/fragments/client_upgrade_fragment.py97 # Step 6: Feed the body data to the connection.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py93 # Step 1: Set up your TLS context.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py96 # Step 2: Create a TCP connection.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py99 # Step 3: Wrap the connection in TLS and validate that we negotiated HTTP/2COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py102 # Step 4: Create a client-side H2 connection.COMMENT
LOW⚡…y/h2/examples/fragments/client_https_setup_fragment.py105 # Step 5: Initiate the connectionCOMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py94 # Step 1: Set up your TLS context.COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py97 # Step 2: Receive a TCP connection.COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py100 # Step 3: Wrap the connection in TLS and validate that we negotiated HTTP/2COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py103 # Step 4: Create a server-side H2 connection.COMMENT
LOW⚡…y/h2/examples/fragments/server_https_setup_fragment.py107 # Step 5: Initiate the connectionCOMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py77 # Step 1: Establish the TCP connecton.COMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py80 # Step 2: Read the response. We expect this to request an upgrade.COMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py83 # Step 3: Create a H2Connection object in server mode, and pass it theCOMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py91 # Step 4: Send the 101 Switching Protocols response.COMMENT
LOW⚡…party/h2/examples/fragments/server_upgrade_fragment.py94 # Step 5: Send pending HTTP/2 data.COMMENT
LOW…ols/third_party/html5lib/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOW…ols/third_party/html5lib/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html24 // Step 1: Write initial data to the clipboard.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html30 // Step 2: Read the clipboard to obtain a ClipboardItem.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html38 // Step 3: Write new data to the clipboard, invalidating the old item.COMMENT
LOW⚡…nc-clipboard-stale-getType-reject.tentative.https.html44 // Step 4: getType() on the stale item should reject with InvalidStateError.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html23 // Step 1: Write initial data to the clipboard.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html29 // Step 2: Read the clipboard to obtain a ClipboardItem.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html36 // Step 3: Call getType() to read and cache the data.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html40 // Step 4: Write new data to the clipboard, invalidating the old item.COMMENT
LOW⚡…c-clipboard-cached-getType-reject.tentative.https.html46 // Step 5: getType() on the now-stale item should reject with InvalidStateError,COMMENT
LOWpointerlock/pointerlock-maintains-mousedown.html80 // Step 0: Click to acquire pointer lock.COMMENT
LOW⚡…istics/smoke/tentative/task-attribution-link-load.html23 // Step 3: modify the DOM.COMMENT
LOW⚡…istics/smoke/tentative/task-attribution-link-load.html28 // Step 2: optionally insert a style link and wait for the load handler.COMMENT
LOW…istics/smoke/tentative/task-attribution-link-load.html43 // Step 1: optionally preload a style link and wait for the load handler.COMMENT
LOW…e-script-element/module-script-disabled-scripting.html12 // Step 1: If scripting is disabled, set source to empty stringCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html61 // Step 1: network error on shared dependency importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html79 // Step 2: 404 on shared dependency importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html96 // Step 3: wrong MIME type on shared dependency importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html113 // Step 4: successful importCOMMENT
LOW…nt/module/shared-dependency-repeated-import.https.html129 // Step 5: re-import to verify cachingCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html48 // Step 1: network error on shared dependency importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html65 // Step 2: 404 on shared dependency importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html81 // Step 3: wrong MIME type on shared dependency importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html97 // Step 4: successful importCOMMENT
LOW…ic-import/shared-dependency-repeated-import.https.html112 // Step 5: re-import to verify cachingCOMMENT
LOW…documents/resources/moving-between-documents-iframe.py21 # Step 1: Start parsing.COMMENT
LOW⚡…erestfor-pseudo-element-insertion-order.tentative.html18 // Step 1: Add ::afterCOMMENT
LOW⚡…erestfor-pseudo-element-insertion-order.tentative.html22 // Step 2: Add ::interest-buttonCOMMENT
LOW⚡…erestfor-pseudo-element-insertion-order.tentative.html26 // Step 3: Add ::beforeCOMMENT
LOW⚡…ideo-element/video-loading-lazy-load-when-visible.html21 // Step 1: Not visible => check initial dimensions.COMMENT
LOW⚡…ideo-element/video-loading-lazy-load-when-visible.html26 // Step 2: Scroll into view => video should load and dimensions should change.COMMENT
LOW⚡…eo-element/video-loading-lazy-poster-when-visible.html36 // Step 1: Not visible => check that poster hasn't loaded.COMMENT
LOW⚡…eo-element/video-loading-lazy-poster-when-visible.html43 // Step 2: Scroll into view => poster should load.COMMENT
LOW…w-element-image/onpaint-post-tree-order.tentative.html66 // Step 1: Request initial paint of all canvases.COMMENT
LOW⚡…e/triple-nested-content-drawable-canvas.tentative.html28 // Step 1: Request initial paint of all canvases.COMMENT
LOW⚡…e/triple-nested-content-drawable-canvas.tentative.html38 // Step 2: Reset tracking and wait a frame to ensure clean state.COMMENT
95 more matches not shown…
AI Slop Vocabulary98 hits · 238 pts
SeverityFileLineSnippetContext
MEDIUMannotation-model/tools/make_tests.py1# This tool creates .html test files for the WPT harness from corresponding .testCOMMENT
MEDIUMtools/ci/update-test262.sh42# Sync the harness filesCOMMENT
LOWtools/wpt/utils.py73 # 1. When uncompressing on a Windows system we just call to extract().COMMENT
LOWtools/wpt/utils.py76 # which are useless here, so just call to extract() without setting any specific file permission in thaCOMMENT
LOWtools/wpt/testfiles.py43 # For builds on the master branch just return the HEAD commitCOMMENT
LOWtools/third_party/packaging/packaging/specifiers.py499 # version. If it's not we can short circuit and just return False nowSTRING
LOWtools/third_party/packaging/packaging/specifiers.py525 # version. If it's not we can short circuit and just return False nowSTRING
LOWtools/third_party/packaging/packaging/specifiers.py706 # then we'll just return None since we don't know if this should haveSTRING
MEDIUMtools/third_party/h2/examples/asyncio/wsgi-server.py78# without doing anything so heavyweight as using a class. Essentially, we canCOMMENT
MEDIUMtools/third_party/h2/src/h2/stream.py531# Essentially, for h2, PUSH_PROMISE frames are effectively sent onCOMMENT
MEDIUM⚡tools/third_party/attrs/pyproject.toml209 "TRY", # exception best practices don't matter in testsSTRING
MEDIUM⚡tools/third_party/attrs/pyproject.toml211 "B904", # exception best practices don't matter in testsSTRING
MEDIUM⚡tools/third_party/attrs/pyproject.toml215 "DTZ", # datetime best practices don't matter in testsSTRING
LOWtools/third_party/hpack/src/hpack/huffman.py34 # handle this cleanly, just use a single giant integer.COMMENT
LOWtools/third_party/pywebsocket3/pywebsocket3/util.py180# For decompression, we can just use 32K to cover any windows size. ForCOMMENT
LOW…rd_party/pywebsocket3/pywebsocket3/http_header_util.py236 # versions simply return None and ignore invalid port attributes.COMMENT
MEDIUMtools/third_party/pytest/testing/test_cacheprovider.py325 # Run this again to make sure clear-cache is robustSTRING
MEDIUMtools/third_party/pytest/src/_pytest/helpconfig.py21 """An argparse Action that will raise an exception in order to skip theSTRING
LOWtools/third_party/pytest/src/_pytest/debugging.py321 # we can't just return `partial(pdb.runcall, testfunction)` because (onCOMMENT
LOWtools/third_party/pytest/src/_pytest/python_api.py486 # just return the absolute tolerance.COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/capture.py459 # target FD). The following approach is robust, I believe.COMMENT
LOWtools/third_party/html5lib/html5lib/html5parser.py746 # the abstract Unicode string, and just use theCOMMENT
LOWtools/third_party/certifi/certifi/core.py70 # file, it will just return the file system location and theCOMMENT
LOWtools/wptrunner/wptrunner/wpttest.py655 # Otherwise, we just add the mismatches directly as we are immediately into theCOMMENT
LOWtools/wptrunner/wptrunner/manifestupdate.py755 # If the new intermittent is a subset of the existing one, just use the existing oneCOMMENT
MEDIUMtools/wptrunner/wptrunner/testrunner.py831 # INTERNAL-ERROR indicates a Python exception was caught in the harnessCOMMENT
MEDIUMtools/wptrunner/wptrunner/testrunner.py832 # EXTERNAL-TIMEOUT indicates we had to forcibly kill the browser from the harnessCOMMENT
MEDIUMtools/wptrunner/wptrunner/testrunner.py844 # harness test, or PASS for reftest), and all unexpected results forCOMMENT
MEDIUM⚡…ols/wptrunner/wptrunner/executors/executorwebdriver.py770 # be wrapped to some harness to emulate the WebDriver Classic async script execution. The scriptCOMMENT
MEDIUM…ols/wptrunner/wptrunner/executors/executorwebdriver.py123 # harness remains pausedCOMMENT
MEDIUMtools/wptrunner/wptrunner/executors/executorselenium.py389 # Now start the test harnessCOMMENT
MEDIUMtools/wptrunner/wptrunner/executors/base.py283 # Extra timeout to use after internal test timeout at which the harnessCOMMENT
MEDIUMtools/wptrunner/wptrunner/executors/base.py320 """Re-initialize internal state to facilitate repeated test executionSTRING
MEDIUMtools/serve/serve.py374 # It injects the reporter, the Test262 harness, and the provider.COMMENT
MEDIUMtools/serve/serve.py403 # Include any harness files specified in the 'includes' frontmatter attribute.COMMENT
MEDIUMtools/serve/serve.py407 # If it's an async test, the harness must wait for a print() signal,COMMENT
LOW…the-stylepropertymap/properties/resources/testsuite.js452// values). Once we can do that, we can remove argument #2 and just returnCOMMENT
MEDIUMcss/css-variables/variable-invalidation.html70 // The actual tests that utilize the boilerplate & helper methods aboveCOMMENT
MEDIUMcss/css-values/random-in-custom-function.tentative.html431// Essentially same as typed result.COMMENT
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-ltr.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-ltr.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-ltr.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-ltr.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-rtl.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-rtl.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-rtl.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-htb-rtl.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-rtl.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-rtl.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-rtl.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-rtl.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vrl-rtl.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vrl-rtl.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vrl-rtl.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vrl-rtl.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-ltr.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-ltr.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-ltr.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vlr-ltr.html5<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#abspos-items" title="4.1. Absolutely-Positioned Flex ChildreCODE
MEDIUM⚡css/css-flexbox/abspos/abspos-autopos-vrl-ltr.html4<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioCODE
38 more matches not shown…
Hallucination Indicators17 hits · 170 pts
SeverityFileLineSnippetContext
CRITICAL…entative/service-worker-navigation.sub.https.window.js56 iframe.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICALcss/selectors/focus-within-013.html28 while (iframe.contentWindow.document.documentElement.classList.contains("reftest-wait")) {}CODE
CRITICAL…allback/callback-timeRemaining-cross-realm-method.html17 iframeDelayed.contentWindow.IdleDeadline.prototype.timeRemaining.call(deadline),CODE
CRITICALresources/testdriver.js1143 return window.test_driver_internal.bidi.log.entry_added.subscribe(params);CODE
CRITICALresources/testdriver.js1156 return window.test_driver_internal.bidi.log.entry_added.on(callback);CODE
CRITICALresources/testdriver.js1168 const remove_handler = window.test_driver_internal.bidi.log.entry_added.on(CODE
CRITICALacid/acid3/test.html1020 assert(document.getElementById('bucket2').nextSibling.parentNode.previousSibling.firstChild.data.match(/AT\W/i),CODE
CRITICAL…rules/prerender/protocol-handler-unregister.https.html125 frame2.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICAL…ice-workers/service-worker/worker-client-id.https.html15 frame.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICAL…ice-workers/service-worker/clients-matchall.https.html31 frame2.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICAL…ice-worker/clients-matchall-blob-url-worker.https.html28 frame.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICAL…ervice-worker/clients-matchall-client-types.https.html36 frame.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICALservice-workers/service-worker/client-id.https.html34 f.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICALservice-workers/service-worker/websocket.https.html34 frame.contentWindow.navigator.serviceWorker.controller.postMessage({port: channel.port2}, [channel.port2]);CODE
CRITICAL…service-worker/resources/clients-get-other-origin.html58 iframe.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICAL…eWorkerGlobalScope/extendable-message-event.https.html64 f.contentWindow.navigator.serviceWorker.controller.postMessage('');CODE
CRITICALnotifications/global-teardown-crash.html9 window.parent.document.documentElement.classList.remove('test-wait');CODE
Decorative Section Separators40 hits · 133 pts
SeverityFileLineSnippetContext
MEDIUMsvg/path/parsing/arc-commands.html77 // ●─────────────●COMMENT
MEDIUM⚡tools/third_party/packaging/noxfile.py173# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/third_party/packaging/noxfile.py175# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/third_party/pytest/src/_pytest/hookspec.py953# -------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/third_party/pytest/src/_pytest/hookspec.py955# -------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/third_party/pytest/src/_pytest/hookspec.py1193# -------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/third_party/pytest/src/_pytest/hookspec.py1195# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py53# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py55# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py160# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py163# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py226# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py228# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py482# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py484# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py606# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py608# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py852# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py854# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py907# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py909# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py1015# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py1017# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py1222# -------------------------------------------------------------------------COMMENT
MEDIUMtools/third_party/pytest/src/_pytest/hookspec.py1224# -------------------------------------------------------------------------COMMENT
MEDIUMtools/wptserve/wptserve/cgi/cgi.py59# ===============COMMENT
MEDIUMtools/wptserve/wptserve/cgi/cgi.py125# =================COMMENT
MEDIUMtools/wptserve/wptserve/cgi/cgi.py262# =========================COMMENT
MEDIUMtools/wptserve/wptserve/cgi/cgi.py853# ===============COMMENT
MEDIUMtools/wptserve/wptserve/cgi/cgi.py1010# ===============STRING
MEDIUM⚡css/css-variables/variable-cycles.html343 // ┌──────────────┐COMMENT
MEDIUM⚡css/css-variables/variable-cycles.html351 // ┌───┐ ┌────────┐ ┌───┐COMMENT
MEDIUM⚡css/css-variables/variable-cycles.html353 // └───┘ └────────┘ └───┘COMMENT
MEDIUMcss/css-variables/variable-cycles.html390 // ┌─────▶ │ a │ ─┐COMMENT
MEDIUMcss/css-fonts/support/fonts/gsubtest-features.txt2# --------------------------COMMENT
MEDIUMcss/css-text/tools/generate-mark-anchor-font.py8# ----------------------------------COMMENT
MEDIUMcss/css-text/tools/generate-mark-anchor-font.py20# ------------COMMENT
MEDIUM⚡common/dispatcher/dispatcher.js58// ┌───────────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┐COMMENT
MEDIUM⚡common/dispatcher/dispatcher.js60// ├───────────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼────┤COMMENT
MEDIUM⚡common/dispatcher/dispatcher.js62// └───────────┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴────┘COMMENT
Modern Structural Boilerplate103 hits · 102 pts
SeverityFileLineSnippetContext
LOWtools/web_features/manifest.py54logger = logging.getLogger(__name__)CODE
LOWtools/lint/fnmatch.py6__all__ = ["fnmatch", "fnmatchcase", "filter", "translate"]CODE
LOWtools/ci/manifest_build.py24logger = logging.getLogger(__name__)CODE
LOWtools/ci/regen_certs.py10logger = logging.getLogger(__name__)CODE
LOWtools/manifest/update.py38def update_from_cli(**kwargs: Any) -> None:CODE
LOWtools/manifest/jsonlib.py6__all__ = ["load", "dump_local", "dump_local", "dump_dist", "dumps_dist"]CODE
LOWtools/manifest/typedata.py205 def set_json(self, json_data: Dict[Text, Any]) -> None:CODE
LOWtools/manifest/spec.py42def update_from_cli(**kwargs: Any) -> None:CODE
LOWtools/wpt/httputils.py9logger = logging.getLogger(__name__)CODE
LOWtools/wpt/utils.py15logger = logging.getLogger(__name__)CODE
LOWtools/wpt/virtualenv.py25logger = logging.getLogger(__name__)CODE
LOWtools/third_party/packaging/packaging/tags.py25logger = logging.getLogger(__name__)CODE
LOWtools/third_party/packaging/packaging/version.py13__all__ = ["parse", "Version", "LegacyVersion", "InvalidVersion", "VERSION_PATTERN"]CODE
LOWtools/third_party/packaging/packaging/__init__.py16__all__ = [CODE
LOWtools/third_party/packaging/packaging/markers.py25__all__ = [CODE
LOWtools/third_party/packaging/packaging/__about__.py5__all__ = [CODE
LOWtools/third_party/h2/src/h2/errors.py75__all__ = ['ErrorCodes']CODE
LOWtools/third_party/attrs/src/attrs/__init__.py28__all__ = [CODE
LOWtools/third_party/attrs/src/attr/validators.py20__all__ = [CODE
LOWtools/third_party/attrs/src/attr/__init__.py39__all__ = [CODE
LOWtools/third_party/attrs/src/attr/converters.py14__all__ = [CODE
LOWtools/third_party/attrs/src/attr/_config.py3__all__ = ["set_run_validators", "get_run_validators"]CODE
LOWtools/third_party/hpack/src/hpack/__init__.py18__all__ = [CODE
LOWtools/third_party/pytest/testing/conftest.py28def set_column_width(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…ols/third_party/pytest/testing/logging/test_fixture.py11logger = logging.getLogger(__name__)CODE
LOWtools/third_party/pytest/src/py.py13__all__ = ["error", "path"]CODE
LOWtools/third_party/pytest/src/pytest/__init__.py89__all__ = [CODE
LOWtools/third_party/pytest/src/_pytest/logging.py533 def set_level(self, level: Union[int, str], logger: Optional[str] = None) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/logging.py743 def set_log_path(self, fname: str) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/logging.py917 def set_when(self, when: Optional[str]) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/logging.py954 def set_when(self, when: str) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/terminal.py1268 def _set_main_color(self) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/__init__.py1__all__ = ["__version__", "version_tuple"]CODE
LOWtools/third_party/pytest/src/_pytest/stash.py9__all__ = ["Stash", "StashKey"]CODE
LOWtools/third_party/pytest/src/_pytest/debugging.py279 def set_trace(cls, *args, **kwargs) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/capture.py785 def set_fixture(self, capture_fixture: "CaptureFixture[Any]") -> None:CODE
LOWtools/third_party/pytest/src/_pytest/timing.py14__all__ = ["perf_counter", "sleep", "time"]CODE
LOWtools/third_party/pytest/src/_pytest/junitxml.py625 def update_testcase_duration(self, report: TestReport) -> None:CODE
LOW…ls/third_party/pytest/src/_pytest/config/argparsing.py308 def _set_opt_strings(self, opts: Sequence[str]) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/mark/__init__.py32__all__ = [CODE
LOWtools/third_party/pytest/src/_pytest/mark/expression.py31__all__ = [STRING
LOWtools/third_party/pytest/src/_pytest/_code/__init__.py14__all__ = [CODE
LOW…ls/third_party/pytest/src/_pytest/assertion/rewrite.py86 def set_session(self, session: Optional[Session]) -> None:CODE
LOWtools/third_party/pytest/src/_pytest/_io/__init__.py5__all__ = [CODE
LOWtools/third_party/pathlib2/pathlib2/__init__.py54__all__ = [CODE
LOW⚡…ls/third_party/pytest-asyncio/pytest_asyncio/plugin.py159def _set_explicit_asyncio_mark(obj: Any) -> None:STRING
LOWtools/third_party/more-itertools/more_itertools/more.py30__all__ = [CODE
LOW…s/third_party/more-itertools/more_itertools/recipes.py20__all__ = [CODE
LOW…arty/importlib_metadata/importlib_metadata/__init__.py41__all__ = [CODE
LOW…party/importlib_metadata/importlib_metadata/_compat.py52__all__ = [CODE
LOW…rd_party/websockets/example/tutorial/step3/connect4.py1__all__ = ["PLAYER1", "PLAYER2", "Connect4"]CODE
LOW…rd_party/websockets/example/tutorial/step2/connect4.py1__all__ = ["PLAYER1", "PLAYER2", "Connect4"]CODE
LOW…rd_party/websockets/example/tutorial/start/connect4.py1__all__ = ["PLAYER1", "PLAYER2", "Connect4"]CODE
LOW…rd_party/websockets/example/tutorial/step1/connect4.py1__all__ = ["PLAYER1", "PLAYER2", "Connect4"]CODE
LOWtools/third_party/websockets/tests/sync/client.py10__all__ = [CODE
LOWtools/third_party/websockets/src/websockets/server.py48__all__ = ["ServerProtocol"] + legacy__all__CODE
LOWtools/third_party/websockets/src/websockets/version.py6__all__ = ["tag", "version", "commit"]CODE
LOWtools/third_party/websockets/src/websockets/protocol.py34__all__ = [CODE
LOWtools/third_party/websockets/src/websockets/client.py46__all__ = ["ClientProtocol"] + legacy__all__CODE
LOWtools/third_party/websockets/src/websockets/__init__.py9__all__ = [CODE
43 more matches not shown…
Docstring Block Structure19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHtools/wpt/run.py896Get BrowserSetup instance for product (built-in or external). Args: product_name: Name of the product (e.g.STRING
HIGHtools/third_party/pytest/src/_pytest/pytester.py793Create new text file(s) in the test directory. :param ext: The extension the file(s) should use, inSTRING
HIGHtools/third_party/websockets/src/websockets/server.py204 Check a handshake request and negotiate extensions and subprotocol. This function doesn't verify that STRING
HIGHtools/third_party/websockets/src/websockets/server.py290 Handle the Origin HTTP request header. Args: headers: WebSocket handshake request headers.STRING
HIGHtools/third_party/websockets/src/websockets/server.py319 Handle the Sec-WebSocket-Extensions HTTP request header. Accept or reject each extension proposed in tSTRING
HIGHtools/third_party/websockets/src/websockets/server.py397 Handle the Sec-WebSocket-Protocol HTTP request header. Args: headers: WebSocket handshake STRING
HIGHtools/third_party/websockets/src/websockets/server.py425 Pick a subprotocol among those offered by the client. If several subprotocols are supported by both thSTRING
HIGHtools/third_party/websockets/src/websockets/client.py192 Handle the Sec-WebSocket-Extensions HTTP response header. Check that each extension is supported, as wSTRING
HIGHtools/third_party/websockets/src/websockets/uri.py62 Parse and validate a WebSocket URI. Args: uri: WebSocket URI. Returns: WebSocketURI: ParsSTRING
HIGH…rd_party/websockets/src/websockets/legacy/handshake.py39 Check a handshake request received from the client. This function doesn't verify that the request is an HTTP/1STRING
HIGH…third_party/websockets/src/websockets/legacy/server.py561 Perform the server side of the opening handshake. Args: origins: list of acceptable valuesSTRING
HIGH…ird_party/websockets/src/websockets/legacy/protocol.py809 Send a Ping_. .. _Ping: https://www.rfc-editor.org/rfc/rfc6455.html#section-5.5.2 A ping may STRING
HIGH…ird_party/websockets/src/websockets/extensions/base.py27 Decode an incoming frame. Args: frame (Frame): incoming frame. max_size: maximSTRING
HIGH…ird_party/websockets/src/websockets/extensions/base.py81 Process parameters received from the server. Args: params (Sequence[ExtensionParameter]): STRING
HIGH…ird_party/websockets/src/websockets/extensions/base.py114 Process parameters received from the client. Args: params (Sequence[ExtensionParameter]): STRING
HIGH…ird_party/websockets/src/websockets/sync/connection.py420 Send a Ping_. .. _Ping: https://www.rfc-editor.org/rfc/rfc6455.html#section-5.5.2 A ping may STRING
HIGH…ls/third_party/websockets/src/websockets/sync/utils.py27 Calculate a timeout from a deadline. Args: raise_if_elapsed (bool): Whether to raise :exc:STRING
HIGHtools/wptrunner/wptrunner/products.py299Create a Product instance from a module's __wptrunner__ dict. Args: module: Module containing __wptSTRING
HIGHtools/wptrunner/wptrunner/products.py365Load a Product by name. Works for both builtin and external products via entry points. Builtin productsSTRING
AI Structural Patterns70 hits · 68 pts
SeverityFileLineSnippetContext
LOWeventsource/resources/cors.py11CODE
LOWtools/websocket/h3/websocket_h3_server.py88CODE
LOWtools/websocket/h3/websocket_h3_server.py474CODE
LOWtools/manifest/manifest.py365CODE
LOWtools/third_party/attrs/tests/utils.py12CODE
LOWtools/third_party/attrs/tests/utils.py40CODE
LOWtools/third_party/attrs/src/attr/_make.py98CODE
LOWtools/third_party/attrs/src/attr/_make.py1306CODE
LOWtools/third_party/attrs/src/attr/_make.py2602CODE
LOWtools/third_party/attrs/src/attr/_next_gen.py24CODE
LOWtools/third_party/attrs/src/attr/_next_gen.py160CODE
LOW…/third_party/pytest/src/_pytest/pytester_assertions.py39CODE
LOWtools/third_party/pytest/src/_pytest/pytester.py594CODE
LOWtools/third_party/pytest/src/_pytest/nodes.py562CODE
LOWtools/third_party/pytest/src/_pytest/freeze_support.py16CODE
LOW…ls/third_party/pytest-asyncio/pytest_asyncio/plugin.py276CODE
LOW…ls/third_party/pytest-asyncio/pytest_asyncio/plugin.py307CODE
LOWtools/third_party/more-itertools/setup.py26CODE
LOW…third_party/websockets/src/websockets/legacy/server.py98CODE
LOW…third_party/websockets/src/websockets/legacy/server.py973CODE
LOW…ird_party/websockets/src/websockets/legacy/protocol.py173CODE
LOW…third_party/websockets/src/websockets/legacy/client.py426CODE
LOW…s/third_party/websockets/src/websockets/sync/server.py265CODE
LOW…s/third_party/websockets/src/websockets/sync/client.py126CODE
LOWtools/third_party/html5lib/html5lib/_ihatexml.py121CODE
LOW…ols/third_party/html5lib/html5lib/filters/sanitizer.py726CODE
LOWtools/third_party/tooltool/tooltool.py124CODE
LOWtools/third_party/tooltool/tooltool.py643CODE
LOWtools/wptrunner/wptrunner/wpttest.py498CODE
LOWtools/wptrunner/wptrunner/wpttest.py558CODE
LOWtools/wptrunner/wptrunner/wpttest.py716CODE
LOWtools/wptrunner/wptrunner/testloader.py353CODE
LOWtools/wptrunner/wptrunner/testrunner.py376CODE
LOWtools/wptrunner/wptrunner/testrunner.py1056CODE
LOWtools/wptrunner/wptrunner/browsers/sauce.py82CODE
LOWtools/wptrunner/wptrunner/browsers/firefox.py930CODE
LOWtools/wptrunner/wptrunner/browsers/firefox.py1039CODE
LOWtools/wptrunner/wptrunner/browsers/firefox_android.py238CODE
LOWtools/wptrunner/wptrunner/browsers/base.py298CODE
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py1118CODE
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py1321CODE
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py1431CODE
LOWtools/webdriver/webdriver/client.py108CODE
LOWtools/webdriver/webdriver/client.py161CODE
LOWtools/webdriver/webdriver/client.py219CODE
LOWtools/webdriver/webdriver/bidi/modules/input.py61CODE
LOWtools/webdriver/webdriver/bidi/modules/input.py127CODE
LOWtools/webdriver/webdriver/bidi/modules/input.py157CODE
LOWtools/webdriver/webdriver/bidi/modules/input.py187CODE
LOWtools/webdriver/webdriver/bidi/modules/storage.py50CODE
LOWtools/wptserve/wptserve/server.py145CODE
LOWtools/wptserve/wptserve/server.py950CODE
LOWtools/wptserve/wptserve/handlers.py507CODE
LOWtools/wptserve/wptserve/response.py100CODE
LOWtools/wptserve/wptserve/sslutils/openssl.py218CODE
LOWtools/wptserve/wptserve/cgi/cgi.py332CODE
LOWtools/wave/network/http_handler.py13CODE
LOWtools/wave/data/session.py17CODE
LOWwebvtt/parsing/file-parsing/tools/parser.py688CODE
LOWcommon/security-features/subresource/xhr.py8CODE
10 more matches not shown…
Redundant / Tautological Comments33 hits · 50 pts
SeverityFileLineSnippetContext
LOW.azure-pipelines.yml24# Set safaridriver_diagnose to true to enable safaridriver diagnostics. TheCOMMENT
LOWwebtransport/handlers/server-drain.py15 # Check if 'drain' appears anywhere in the query stringCOMMENT
LOW⚡tools/wpt/browser.py1098 # Check if this revision number exists and use it if it does.COMMENT
LOWtools/wpt/browser.py1279 # Check if a file exists containing the matching ChromeDriver version download URL.COMMENT
LOWtools/wpt/browser.py1571 # Check if the user has given a Chromium binary.COMMENT
LOWtools/third_party/h2/examples/asyncio/wsgi-server.py227 # Check if the body is done. If it is, this is really easy! Again,COMMENT
LOWtools/third_party/h2/src/h2/frame_buffer.py75 # Check if we're in the middle of a headers block. If we are, thisCOMMENT
LOWtools/third_party/attrs/src/attr/_make.py746 # Check if the pre init method has more arguments than just `self`COMMENT
LOWtools/third_party/pywebsocket3/pywebsocket3/stream.py575 # Set this to any positive integer to limit maximum size of data inCOMMENT
LOWtools/third_party/pytest/testing/test_tmpdir.py182 # Check if the whole directory is removedCOMMENT
LOWtools/third_party/pytest/testing/test_tmpdir.py214 # Check if the whole directory is keptCOMMENT
LOWtools/third_party/pytest/testing/test_junitxml.py1027 # Check if the null byte gets replacedCOMMENT
LOWtools/third_party/pytest/src/_pytest/main.py692 # Check if we have the common case of runningCOMMENT
LOW…s/third_party/pytest/src/_pytest/assertion/truncate.py51 # Check if truncation requiredCOMMENT
LOW…ls/third_party/pytest/src/_pytest/assertion/rewrite.py1009 # Check if the left operand is a ast.NamedExpr and the value has already been visitedCOMMENT
LOWtools/third_party/websockets/setup.py20# Set BUILD_EXTENSION to yes or no to force building or not building theCOMMENT
LOW…rd_party/websockets/tests/legacy/test_client_server.py291 # Set url to 'https?://<host>:<port><path>'.COMMENT
LOW…ird_party/websockets/src/websockets/sync/connection.py666 # Check if the connection is expected to close soon.COMMENT
LOWtools/third_party/html5lib/html5lib/_inputstream.py871 # Check if the attr name is charsetCOMMENT
LOWtools/third_party/html5lib/html5lib/html5parser.py948 # Set this to the default handlerCOMMENT
LOWtools/third_party/html5lib/html5lib/_tokenizer.py234 # Add token to the queue to be yieldedCOMMENT
LOWtools/wptrunner/wptrunner/metadata.py182# Check if all the RHS values are the same; if so collapse the conditionalsCOMMENT
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py179 # Check if we previously had a test window open, and if we did make sure it's closedCOMMENT
LOWtools/wptserve/wptserve/response.py206 # Read the file in chunks rather than reading the whole file intoCOMMENT
LOWcore-aam/aamtests/support/atspi_wrapper.py267 # Check if events are ready to be processed.COMMENT
LOWxhr/resources/access-control-cookie.py11 # Set cookie to expire yesterdayCOMMENT
LOWxhr/resources/access-control-cookie.py15 # Set cookie to expire tomorrowCOMMENT
LOWresource-timing/sleep.py11 # Check if the padding was sufficient; if not, sleep again.COMMENT
LOWcommon/security-features/tools/generate.py198 # Check if the subresource is supported by the innermost source context.COMMENT
LOW…driver/tests/classic/element_click/scroll_into_view.py72 # Check if element clicked is scrolled into viewCOMMENT
LOW…/tests/bidi/browsing_context/start_screencast/video.py70 # Set viewport to have an expected viewport ratio for video.COMMENT
LOWstorage-access-api/resources/handle-headers-retry.py36 # Check if the request should redirect.COMMENT
LOW…ers/service-worker/resources/update-recovery-worker.py2 # Set mode to 'init' for initial fetch.COMMENT
Overly Generic Function Names54 hits · 39 pts
SeverityFileLineSnippetContext
LOW⚡tools/third_party/pywebsocket3/test/test_endtoend.py475 def test_function(client):CODE
LOW⚡tools/third_party/pywebsocket3/test/test_endtoend.py499 def test_function(client):CODE
LOW⚡tools/third_party/pywebsocket3/test/test_endtoend.py515 def test_function(client):CODE
LOW⚡tools/third_party/pywebsocket3/test/test_endtoend.py530 def test_function(client):CODE
LOW⚡tools/third_party/pywebsocket3/test/test_endtoend.py547 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py298 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py320 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py344 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py372 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py402 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py425 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py451 def test_function(client):CODE
LOWtools/third_party/pywebsocket3/test/test_endtoend.py463 def test_function(client):CODE
LOW⚡tools/third_party/pytest/testing/test_mark.py660 def test_function():STRING
LOWtools/third_party/pytest/testing/test_recwarn.py267 def test_function(self) -> None:CODE
LOWtools/third_party/pytest/testing/test_junitxml.py486 pytester.makepyfile("def test_function(): pass")CODE
LOWtools/third_party/pytest/testing/test_junitxml.py294 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/test_junitxml.py320 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/test_junitxml.py345 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/test_junitxml.py857 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/test_junitxml.py887 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/test_junitxml.py918 def test_function(arg):STRING
LOW⚡tools/third_party/pytest/testing/python/collect.py328 def test_function(arg):CODE
LOW⚡tools/third_party/pytest/testing/python/collect.py340 def test_function(arg):CODE
LOWtools/third_party/pytest/testing/python/collect.py355 def test_function(arg):CODE
LOWtools/third_party/pytest/testing/python/collect.py505 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/python/collect.py535 def test_function(arg):STRING
LOWtools/third_party/pytest/testing/python/metafunc.py379 def test_function():CODE
LOW⚡tools/third_party/pytest/testing/python/metafunc.py1286 def test_function(a, b):STRING
LOW⚡tools/third_party/pytest/testing/python/metafunc.py1304 def test_function(a, b):STRING
LOW⚡tools/third_party/pytest/testing/python/metafunc.py1463 def test_function():STRING
LOWtools/third_party/pytest/testing/python/metafunc.py1107 def test_function(metafunc, pytestconfig):STRING
LOWtools/third_party/pytest/testing/python/metafunc.py1324 def test_function(a, b):STRING
LOWtools/third_party/pytest/testing/python/metafunc.py1398 def test_function(a, b):STRING
LOW⚡tools/third_party/pytest/testing/python/fixtures.py997 def test_function(request, farg):CODE
LOWtools/third_party/pytest/testing/python/fixtures.py1157 def test_function(keywords):STRING
LOWtools/third_party/pytest/testing/code/test_excinfo.py258 def do_stuff() -> None:CODE
LOW…/third_party/pytest/doc/en/example/pythoncollection.py5def test_function():CODE
LOWtools/third_party/pytest/src/_pytest/junitxml.py295 def test_function(record_property):STRING
LOWtools/third_party/pytest/src/_pytest/mark/structures.py281 def test_function():STRING
LOWtools/third_party/pytest/src/_pytest/mark/structures.py503 def test_function():STRING
LOW…ls/third_party/pytest/src/_pytest/assertion/rewrite.py791 def helper(self, name: str, *args: ast.expr) -> ast.expr:CODE
LOWtools/third_party/pdf_js/pdf.js10402 value: function getData() {CODE
LOWtools/third_party/pdf_js/pdf.js11743 value: function getData() {CODE
LOWtools/wptserve/wptserve/handlers.py406 def handle_request(self, request, response):CODE
LOWtools/wptserve/wptserve/handlers.py502 def handle_request(self, request, response):CODE
LOWtools/wave/network/static_handler.py14 def handle_request(self, request, response):CODE
LOWtools/wave/network/http_handler.py33 def handle_request(self, request, response):CODE
LOWtools/wave/network/api/general_api_handler.py44 def handle_request(self, request, response):CODE
LOWtools/wave/network/api/devices_api_handler.py165 def handle_request(self, request, response):CODE
LOWtools/wave/network/api/results_api_handler.py180 def handle_request(self, request, response):CODE
LOWtools/wave/network/api/sessions_api_handler.py360 def handle_request(self, request, response):CODE
LOW⚡tools/wave/network/api/tests_api_handler.py205 def handle_request(self, request, response):CODE
LOWtools/serve/serve.py110 def handle_request(self, request, response):CODE
TODO Padding13 hits · 21 pts
SeverityFileLineSnippetContext
LOWtools/lint/rules.py88# TODO: Add tests for this ruleSTRING
LOWcss/css-animations/parsing/animation-valid.html35// TODO: Add test with a single negative time.COMMENT
LOWcss/css-animations/parsing/animation-valid.html36// TODO: Add test with a single timing-function keyword.COMMENT
LOWcss/css-transitions/parsing/transition-valid.html30// TODO: Add test with a single negative time.COMMENT
LOWcss/css-transitions/parsing/transition-valid.html31// TODO: Add test with a single timing-function keyword.COMMENT
LOWcss/css-transitions/parsing/transition-computed.html40// TODO: Add test with a single timing-function keyword.COMMENT
LOW…ptoAPI/import_export/ec_importKey_failures_fixtures.js42 // TODO: Implement test cases where the public key doesn't match the private key.COMMENT
LOWwebdriver/tests/classic/get_alert_text/get.py60# TODO: Add test for beforeunload?COMMENT
LOW⚡…n/set_network_conditions/network_conditions_offline.py132# TODO: implement test_websocket_disconnected.COMMENT
LOW⚡…n/set_network_conditions/network_conditions_offline.py133# TODO: implement test_service_worker_fetch.COMMENT
LOW⚡…n/set_network_conditions/network_conditions_offline.py134# TODO: implement test_service_worker_websocket_disconnected.COMMENT
LOW…orker/clients-matchall-include-uncontrolled.https.html69// TODO: Add tests for clients.matchAll for dedicated workers.COMMENT
LOWwebnn/helper-validation.window.js107// TODO: Add test cases for 'float16' data type.COMMENT
Slop Phrases5 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMtools/third_party/h2/src/h2/utilities.py202 # overhead of doing this checking. However, it's worth noting that thisCOMMENT
MEDIUMtools/third_party/attrs/src/attr/_funcs.py482 # Return the class so you can use it as a decorator too.COMMENT
LOWtools/third_party/pytest/src/_pytest/fixtures.py1063 # We make sure to do this after checking for cached value to avoidCOMMENT
MEDIUMtools/third_party/html5lib/benchmarks/data/html.html1259 is safe because, as mentioned earlier, scripts are run to completion before further events canCODE
LOWcss/cssom/getComputedStyle-pseudo.html265// If you add a pseudo-element identifier here, don't forget to add the corresponding style rule inCOMMENT
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHthird_party/test262/harness/doneprintHandle.js9 print(msg);CODE
HIGHinfrastructure/test262/async.js6 print('Test262:AsyncTestComplete');CODE
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtools/third_party/pathlib2/pathlib2/__init__.py717CODE
MEDIUMtools/third_party/pathlib2/pathlib2/__init__.py745CODE
MEDIUMtools/third_party/pathlib2/pathlib2/__init__.py775CODE
MEDIUMtools/third_party/pathlib2/pathlib2/__init__.py797CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHreporting/resources/report.py50 # Delete reports as requestedCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHhtml/canvas/tools/gentest.py111 # In this example, up to 1234 pixels can differ by at most a difference ofCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcss/css-scroll-snap/support/common.js28// Example usage:COMMENT
LOW…cripting-1/the-script-element/serve-custom-response.py4# Usage:COMMENT
LOW…rvice-workers/service-worker/resources/update_shell.py4# Usage:COMMENT