AI Slop Code Risk Monitor

servo/servo

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

Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for servo/servo, a Rust project with 38,277 GitHub stars. SynthScan examined 11,332,836 lines of code across 169404 source files, recording 25990 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 2.5 (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.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
38.3K
Stars
Rust
Language
11.3M
Lines of Code
169.4K
Files
26.0K
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 8.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.2/100 · LOW

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

Agent Over-Engineering Ratio 5.4/100 · LOW

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

PR Review Velocity Impact 12.8/100 · LOW

Which changes need focused human review? 25990 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 22HIGH 666MEDIUM 695LOW 24607

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 25990 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 Identifiers9363 hits · 8932 pts
SeverityFileLineSnippetContext
LOWpython/mach_bootstrap.py93def _ensure_case_insensitive_if_windows() -> None:CODE
LOWpython/servo/testing_commands.py82def format_toml_files_with_taplo(check_only: bool = True) -> int:CODE
LOWpython/servo/testing_commands.py94def format_python_files_with_ruff(check_only: bool = True) -> int:CODE
LOWpython/servo/testing_commands.py125def pretty_print_json_decode_error(error: json.decoder.JSONDecodeError) -> None:CODE
LOWpython/servo/visual_studio.py51def find_compatible_msvc_with_vswhere() -> Generator[VisualStudioInstallation, None, None]:CODE
LOWpython/servo/visual_studio.py85def find_compatible_msvc_with_path() -> Generator[VisualStudioInstallation, None, None]:CODE
LOWpython/servo/visual_studio.py100def find_compatible_msvc_with_environment_variables() -> Optional[VisualStudioInstallation]:CODE
LOWpython/servo/visual_studio.py164def find_windows_sdk_installation_path() -> str:CODE
LOWpython/servo/package_commands.py48def copy_windows_dependencies(binary_path: str, destination: str) -> None:CODE
LOWpython/servo/package_commands.py54def check_call_with_randomized_backoff(args: list[str], retries: int) -> int:CODE
LOWpython/servo/package_commands.py85 def _replace_workspace_version(content: str, new_version: str) -> str:CODE
LOWpython/servo/gstreamer.py96def load_plugin_libraries_from_text_file(file_name: str) -> list[str]:CODE
LOWpython/servo/gstreamer.py144def rewrite_dependencies_to_be_relative(binary: str, dependency_lines: Set[str], relative_path: str) -> None:CODE
LOWpython/servo/gstreamer.py177def find_non_system_dependencies_with_otool(binary_path: str) -> Set[str]:CODE
LOWpython/servo/try_parser.py277 def add_or_merge_job_to_matrix(self, job: JobConfig) -> None:CODE
LOWpython/servo/build_commands.py325def copy_windows_dlls_to_build_directory(servo_binary: str, target: BuildTarget) -> bool:CODE
LOWpython/servo/command_base.py142def archive_deterministically(dir_to_archive: str, dest_archive: str, prepend_path: str | None = None) -> None:CODE
LOWpython/servo/command_base.py622 def allow_target_configuration(original_function: Callable) -> Callable:CODE
LOWpython/servo/command_base.py624 def target_configuration_decorator(self: CommandBase, *args: Any, **kwargs: Any) -> Callable:CODE
LOWpython/servo/command_base.py725 def run_cargo_build_like_command(CODE
LOWpython/servo/platform/macos.py57 def _platform_bootstrap_gstreamer(self, target: BuildTarget, force: bool, yes: bool) -> bool:CODE
LOWpython/servo/platform/build_target.py73 def configure_build_environment(self, env: dict[str, str], config: dict[str, Any], topdir: pathlib.Path) -> None:CODE
LOWpython/servo/platform/build_target.py135 def configure_build_environment(self, env: dict[str, str], config: dict[str, Any], topdir: pathlib.Path) -> None:CODE
LOWpython/servo/platform/build_target.py374 def configure_build_environment(self, env: dict[str, str], config: dict[str, Any], topdir: pathlib.Path) -> None:CODE
LOWpython/servo/platform/windows.py75def _ensure_llvm_in_user_path() -> None:CODE
LOWpython/servo/platform/windows.py92 def download_and_extract_dependency(cls, zip_path: str, full_spec: str) -> None:CODE
LOWpython/servo/platform/windows.py174 def _platform_bootstrap_gstreamer(self, target: BuildTarget, force: bool, yes: bool) -> bool:CODE
LOWpython/servo/platform/linux.py116 def install_non_gstreamer_dependencies(self, force: bool, yes: bool = False) -> bool:CODE
LOWpython/servo/platform/linux.py198 def _platform_bootstrap_gstreamer(self, target: BuildTarget, force: bool, yes: bool) -> bool:CODE
LOWpython/servo/platform/base.py18def clap_tool_already_installed(name: str, minimum_version: Optional[Tuple[int, int, int]] = None) -> bool:CODE
LOWpython/servo/platform/base.py52 def _platform_bootstrap_gstreamer(self, target: BuildTarget, force: bool, yes: bool) -> bool:CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py327 def test_sources_list_with_data_no_scripts(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py333 def test_sources_list_with_data_empty_inline_classic_script(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py337 def test_sources_list_with_data_inline_classic_script(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py341 def test_sources_list_with_data_external_classic_script(self, run_servoshell, web_server_urls):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py347 def test_sources_list_with_data_empty_inline_module_script(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py351 def test_sources_list_with_data_inline_module_script(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py357 def test_sources_list_with_data_external_module_script(self, run_servoshell, web_server_urls):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py365 def test_sources_list_with_static_import_module(self, run_servoshell, web_server_urls):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py775 def test_source_content_inline_script(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py780 def test_source_content_external_script(self, run_servoshell, web_server_urls):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py785 def test_source_content_html_file(self, run_servoshell, web_server_urls, test_dir):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py790 def test_source_content_with_inline_module_import_external(self, run_servoshell, web_server_urls, test_dir):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py804 def test_source_content_inline_script_with_inner_html(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py811 def test_source_content_inline_script_with_outer_html(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py818 def test_source_content_inline_script_with_domparser(self, run_servoshell):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py825 def test_source_content_inline_script_with_responsexml(self, run_servoshell, web_server_urls, test_dir):CODE
LOW⚡python/servo/devtools_tests/test_debugger_tab.py833 def test_source_breakable_lines_and_positions(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py59 def test_frame_this_and_global_scope_object(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py82 def test_breakpoint_at_invalid_entry_point_does_not_crash(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py99 def test_console_eval_does_not_pause_again_while_already_paused(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py189 def test_eval_reuses_object_actor(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py383 def test_sources_list_with_dynamic_import_module(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py403 def test_sources_list_with_classic_worker(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py425 def test_sources_list_with_module_worker(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py449 def test_sources_list_with_injected_script_write_and_display_url(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py469 def test_sources_list_with_injected_script_write_but_no_display_url(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py486 def test_sources_list_with_injected_script_append_and_display_url(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py505 def test_sources_list_with_injected_script_append_but_no_display_url(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py523 def test_sources_list_with_eval_and_display_url(self, run_servoshell):CODE
9303 more matches not shown…
Over-Commented Block8090 hits · 5585 pts
SeverityFileLineSnippetContext
LOWCargo.toml401[profile.dev.package.servo-script]COMMENT
LOWCargo.toml461COMMENT
LOWCargo.toml481#COMMENT
LOWCargo.toml501#COMMENT
LOWdeny.toml21 "RUSTSEC-2024-0436",COMMENT
LOWdeny.toml41 # We will need to wait for upstream actions.COMMENT
LOWpython/servo/__init__.py1# Copyright 2013 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/servo/platform/build_target.py241 # symbols in libservoshell.so.COMMENT
LOW…hon/servo/platform/linux_packages/generate_pkg_list.sh1#!/usr/bin/env bashCOMMENT
LOWpython/servo/devtools_tests/__init__.py1# Copyright 2013 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/wpt/test.py1#!/usr/bin/env pythonCOMMENT
LOWpython/wpt/export.py1#!/usr/bin/env pythonCOMMENT
LOWpython/wpt/tests/servo-mock/tests/wpt/something.py1# Copyright 2023 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/wpt/exporter/__init__.py1# Copyright 2023 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/wpt/exporter/step.py1# Copyright 2023 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/wpt/exporter/step.py101COMMENT
LOWpython/tidy/__init__.py1# Copyright 2013 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/tidy/tidy.py801 # organization together.COMMENT
LOWpython/tidy/tests/speclink.rs21 /// A spec link.COMMENT
LOWpython/tidy/tests/__init__.py1# Copyright 2013 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/tidy/tests/shebang_license.py1#!/usr/bin/env pythonCOMMENT
LOWpython/tidy/tests/apache2_license.rs1// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE orCOMMENT
LOWtests/power/PowerMeasure.py1#!/usr/bin/env pythonCOMMENT
LOWtests/capi/c/test_integration.c1/* This Source Code Form is subject to the terms of the Mozilla PublicCOMMENT
LOWtests/jquery/run_jquery.py21# to panic - and hard fail doesn't exit the servoCOMMENT
LOWtests/html/test_canvas_drawimage_canvas.html81// The source canvas will copied to the 50, 50 position of the destination canvas andCOMMENT
LOWtests/html/test_canvas_drawimage_canvas.html101// The source rectangle overflows the source imageCOMMENT
LOWtests/html/test_canvas_drawimage_html_image.html81// The source canvas will copied to the 50, 50 position of the destination canvas andCOMMENT
LOWtests/html/test_canvas_drawimage_html_image.html101// The source rectangle overflows the source imageCOMMENT
LOWtests/html/webvr/simple-mirroring.html81 // ================================COMMENT
LOWtests/html/webvr/js/third-party/webvr-polyfill.js2421// https://github.com/googlesamples/cardboard-unity/blob/master/Cardboard/Scripts/CardboardProfile.cs#L412COMMENT
LOWtests/wpt/mozilla/tests/mozilla/hit-test-nested-sc.html41<script>COMMENT
LOWtests/wpt/mozilla/tests/mozilla/old-page.py1# Copyright 2013 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOW…s/wpt/mozilla/tests/mozilla/focus-inter-documents.html181 await p;COMMENT
LOW…wpt/mozilla/tests/css/css-transition-cancel-event.html41COMMENT
LOW…ity-tree/accessibility-update-mutation-move-nodes.html21 // Bounds are refreshed for every visible node in the treeCOMMENT
LOW…essibility-update-partial-subtree-move-and-delete.html41COMMENT
LOW…gpu/tests/webgpu/webgpu/util/color_space_conversion.js1/**COMMENT
LOWtests/wpt/webgpu/tests/webgpu/webgpu/util/prng.js141 // (2**32) / 3, this naive algorithm would return valuesCOMMENT
LOW…/wpt/webgpu/tests/webgpu/webgpu/util/floating_point.js3661 // framework does not need to be invoked to determine endpoints.COMMENT
LOW…u/tests/webgpu/webgpu/api/operation/reflection.spec.js281 }COMMENT
LOW…webgpu/api/operation/command_buffer/image_copy.spec.js261 // ttttt..COMMENT
LOW…pu/api/operation/render_pipeline/culling_tests.spec.js201 // 0---2---+COMMENT
LOW…/webgpu/api/operation/vertex_state/correctness.spec.js881COMMENT
LOW…bgpu/api/operation/rendering/3d_texture_slices.spec.js121(ch + location + 1) * 10 + 1 + location;COMMENT
LOW…coding/programmable/pipeline_bind_group_compat.spec.js1001// auto0 = the first `layout: 'auto'` pipelineCOMMENT
LOW…alidation/render_pass/attachment_compatibility.spec.js21// MAINTENANCE_TODO: This should be changed to kMaxColorAttachmentsToTestCOMMENT
LOW…u/tests/webgpu/webgpu/shader/execution/padding.spec.js181 // a3.a1 : u32COMMENT
LOW…u/tests/webgpu/webgpu/shader/execution/padding.spec.js201 // b3.c2.b1 : vec3<u32>COMMENT
LOW…/webgpu/shader/execution/memory_model/adjacent.spec.js21// invocation 2k+1: dst[2k+1] = src[N - (2k+1)]COMMENT
LOW…ebgpu/webgpu/shader/execution/expression/expression.js921 * operated on.COMMENT
LOW…ebgpu/webgpu/shader/execution/expression/expression.js941 // at the top of the shader, instead this snippet needs to be inlinedCOMMENT
LOW…ebgpu/webgpu/shader/execution/expression/expression.js961 // Snippet with documentation:COMMENT
LOW…ebgpu/webgpu/shader/execution/expression/expression.js981 // const exponent_bits : u32 = (f_exp + kExponentBias) << 20;COMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js561// index and the mix weight between the 2 indices for v.COMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js1781 // ┌───┬───┬───┬───┐COMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js1841 // # Issues with corners of cubemapsCOMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js1861 // > cube), there is no unique neighboring face from which toCOMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js2361 return false;COMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js2501 // we add in the bias it will result in a mip level of 0.4. For a bias of 12COMMENT
8030 more matches not shown…
Fake / Example Data2562 hits · 2954 pts
SeverityFileLineSnippetContext
LOWpython/wpt/test.py365 "foo@bar.com",CODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡…sts/html/overflow_scroll_with_nested_fixed_height.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/inline-block-split-float.html15<span>This is anonymous text before the DIV.<div>This is the content of DIV.</div>This is anonymous text after the DIV.<CODE
LOWtests/html/inline-block-split-float.html15<span>This is anonymous text before the DIV.<div>This is the content of DIV.</div>This is anonymous text after the DIV.<CODE
LOWtests/html/test-text-break.html2Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam atCODE
LOWtests/html/test-text-break.html2Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam atCODE
LOWtests/html/test-text-break.html38bibendum ac. Cras ut urna eu ipsum ornare pretium. Lorem ipsum dolorCODE
LOW⚡tests/html/lipsum.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/lipsum.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/lipsum.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/lipsum.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/lipsum.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/lipsum.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/simple-overflow-scroll.html27 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ultricies tortor eu augue eleifend malesuada. DuiCODE
LOWtests/html/simple-overflow-scroll.html27 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ultricies tortor eu augue eleifend malesuada. DuiCODE
LOW⚡tests/html/percentage-body-height.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/percentage-body-height.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/percentage-body-height.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/percentage-body-height.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/percentage-body-height.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/percentage-body-height.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/percentage-body-height.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/percentage-body-height.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/percentage-body-height.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/percentage-body-height.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/percentage-body-height.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/percentage-body-height.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/form-control-visuals.html28 <input type="text" placeholder="placeholder"><br>CODE
LOW⚡tests/html/form-control-visuals.html29 <input type="password"placeholder="placeholder"><br>CODE
LOW⚡tests/html/form-control-visuals.html30 <input type="text" placeholder="placeholder" disabled><br>CODE
LOW⚡tests/html/form-control-visuals.html31 <input type="password" placeholder="placeholder" disabled><br>CODE
LOW⚡tests/html/form-control-visuals.html39 Field: <input type="text" placeholder="placeholder"><br>CODE
LOW⚡tests/html/form-control-visuals.html40 Field: <input type="password"placeholder="placeholder"><br>CODE
LOW⚡tests/html/form-control-visuals.html41 Field: <input type="text" placeholder="placeholder" disabled><br>CODE
LOW⚡tests/html/form-control-visuals.html42 Field: <input type="password" placeholder="placeholder" disabled><br>CODE
LOWtests/html/demo.html12Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/demo.html12Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/test_target_pseudoselector.html21 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales leo in orci pulvinar, ut tincidunt ipsum vestiCODE
LOWtests/html/test_target_pseudoselector.html21 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales leo in orci pulvinar, ut tincidunt ipsum vestiCODE
LOW⚡tests/html/lipsum-large.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum-large.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOW⚡tests/html/lipsum-large.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOW⚡tests/html/lipsum-large.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
2502 more matches not shown…
Structural Annotation Overuse1035 hits · 1807 pts
SeverityFileLineSnippetContext
LOWtests/wpt/webgpu/tests/webgpu/webgpu/util/compare.js91// NOTE: This function does not use objectEquals, since that does not handle FPCOMMENT
LOW⚡…peration/command_buffer/programmable/immediate.spec.js526 // Step 1: Full set [1, 2, 3, 4]COMMENT
LOW⚡…peration/command_buffer/programmable/immediate.spec.js531 // Step 2: Full update [5, 6, 7, 8]COMMENT
LOW⚡…peration/command_buffer/programmable/immediate.spec.js536 // Step 3: Partial update offset 4 bytes (index 1) with [9, 10] -> [5, 9, 10, 8]COMMENT
LOW…s/wpt/tests/webtransport/response-headers.https.any.js23 // Step 7: transport.[[ResponseHeaders]] is an immutable Headers object.COMMENT
LOWtests/wpt/tests/tools/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
LOW…tests/pointerlock/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
975 more matches not shown…
Verbosity Indicators971 hits · 1715 pts
SeverityFileLineSnippetContext
LOW⚡…peration/command_buffer/programmable/immediate.spec.js526 // Step 1: Full set [1, 2, 3, 4]COMMENT
LOW⚡…peration/command_buffer/programmable/immediate.spec.js531 // Step 2: Full update [5, 6, 7, 8]COMMENT
LOW⚡…peration/command_buffer/programmable/immediate.spec.js536 // Step 3: Partial update offset 4 bytes (index 1) with [9, 10] -> [5, 9, 10, 8]COMMENT
LOW…s/wpt/tests/webtransport/response-headers.https.any.js6 // Step 6: "wt-protocol" is a negotiation-only header and must be deletedCOMMENT
LOW…s/wpt/tests/webtransport/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
LOW…ts/wpt/tests/tools/third_party/h2/src/h2/connection.py1591 # We need to check if the parent stream was reset by us. If it wasCOMMENT
LOW…sts/tools/third_party/html5lib/html5lib/html5parser.py1418 # Step 4:COMMENT
LOW…sts/tools/third_party/html5lib/html5lib/html5parser.py1463 # Step 5:COMMENT
LOW…sts/tools/third_party/html5lib/html5lib/html5parser.py1476 # Step 6:COMMENT
LOW…sts/tools/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
LOW…tests/pointerlock/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
911 more matches not shown…
Empty Error Handlers281 hits · 1405 pts
SeverityFileLineSnippetContext
HIGHpython/servo/post_build_commands.py178except (OSError, subprocess.CalledProcessError):CODE
HIGHpython/servo/testing_commands.py240except KeyError:CODE
HIGHpython/servo/devenv_commands.py176except json.JSONDecodeError:CODE
HIGHpython/servo/build_commands.py226except ImportError:CODE
HIGHpython/servo/command_base.py235except KeyboardInterrupt:CODE
HIGHpython/servo/devtools_tests/utils.py203except TimeoutError:CODE
HIGHpython/wpt/ohos_webdriver_test.py360except Exception:CODE
HIGHpython/wpt/ohos_webdriver_test.py371except Exception:CODE
HIGHpython/wpt/exporter/step.py180except Exception:CODE
HIGHpython/mach/mach/logging.py183except Exception:CODE
HIGHpython/mach/mach/mixin/process.py117except KeyboardInterrupt:CODE
HIGHtests/jquery/run_jquery.py109except AttributeError:CODE
HIGH…t/tests/element-timing/resources/multiple-redirects.py24except ValueError:CODE
HIGH…s/wpt/tests/tools/websocket/h3/websocket_h3_session.py240except RuntimeError:CODE
HIGHtests/wpt/tests/tools/lint/lint.py221except subprocess.CalledProcessError:CODE
HIGHtests/wpt/tests/tools/lint/lint.py650except ValueError:CODE
HIGHtests/wpt/tests/tools/ci/update_codeowners.py46except Exception:CODE
HIGHtests/wpt/tests/tools/manifest/typedata.py103except KeyError:CODE
HIGHtests/wpt/tests/tools/manifest/typedata.py121except KeyError:CODE
HIGHtests/wpt/tests/tools/manifest/vcs.py176except OSError:CODE
HIGHtests/wpt/tests/tools/manifest/vcs.py173except ValueError:CODE
HIGHtests/wpt/tests/tools/wpt/run.py277except KeyError:CODE
HIGHtests/wpt/tests/tools/wpt/create.py103except OSError:CODE
HIGHtests/wpt/tests/tools/wpt/browser.py2676except subprocess.CalledProcessError:CODE
HIGHtests/wpt/tests/tools/wpt/browser.py668except mozinstall.InvalidBinary:CODE
HIGHtests/wpt/tests/tools/wpt/browser.py356except Exception:CODE
HIGHtests/wpt/tests/tools/wpt/virtualenv.py162except Exception:CODE
HIGH…pt/tests/tools/third_party/packaging/packaging/tags.py207except ValueError:CODE
HIGH…tests/tools/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
HIGH…/tools/third_party/h2/examples/gevent/gevent-server.py35except NotImplementedError:CODE
HIGH…ools/third_party/h2/examples/asyncio/asyncio-server.py204except KeyboardInterrupt:CODE
HIGH…s/tools/third_party/h2/examples/asyncio/wsgi-server.py754except KeyboardInterrupt:CODE
HIGH…ts/wpt/tests/tools/third_party/h2/src/h2/connection.py1327except StreamClosedError:CODE
HIGH…ts/wpt/tests/tools/third_party/h2/src/h2/connection.py1878except (NoSuchStreamError, StreamClosedError):CODE
HIGH…t/tests/tools/third_party/attrs/src/attr/validators.py628except self.exc_types:CODE
HIGH…ts/wpt/tests/tools/third_party/attrs/src/attr/_make.py1005except ValueError: # noqa: PERF203CODE
HIGH…t/tests/tools/third_party/attrs/src/attr/converters.py140except TypeError:CODE
HIGH…sts/tools/third_party/hpack/test/test_encode_decode.py121except HPACKDecodingError:CODE
HIGH…tools/third_party/hpack/test/test_hpack_integration.py24except KeyError:CODE
HIGH…ts/tools/third_party/pywebsocket3/pywebsocket3/util.py44except ImportError:CODE
HIGH…/tools/third_party/pywebsocket3/pywebsocket3/stream.py737except AttributeError:CODE
HIGH…/tools/third_party/pywebsocket3/pywebsocket3/stream.py775except AttributeError:CODE
HIGH…hird_party/pywebsocket3/pywebsocket3/handshake/hybi.py165except TypeError as e:CODE
HIGH…/tests/tools/third_party/pytest/testing/test_runner.py992except IndexError:CODE
HIGH…/tests/tools/third_party/pytest/testing/test_runner.py437except pytest.exit.Exception:CODE
HIGH…/tests/tools/third_party/pytest/testing/test_runner.py458except KeyboardInterrupt:CODE
HIGH…ests/tools/third_party/pytest/testing/test_junitxml.py106except IndexError:CODE
HIGH…ests/tools/third_party/pytest/testing/python/raises.py40except pytest.fail.Exception:CODE
HIGH…ts/tools/third_party/pytest/testing/python/fixtures.py716except ImportError:CODE
HIGH…s/tools/third_party/pytest/testing/io/test_saferepr.py76except IndexError:CODE
HIGH…/tools/third_party/pytest/testing/code/test_excinfo.py137except ValueError:CODE
HIGH…/tools/third_party/pytest/testing/code/test_excinfo.py151except somenoname: # type: ignore[name-defined] # noqa: F821CODE
HIGH…/tests/tools/third_party/pytest/src/_pytest/logging.py199except ValueError:CODE
HIGH…tests/tools/third_party/pytest/src/_pytest/unittest.py265except TypeError:CODE
HIGH…tests/tools/third_party/pytest/src/_pytest/unittest.py366except AttributeError:CODE
HIGH…t/tests/tools/third_party/pytest/src/_pytest/runner.py170except AttributeError:CODE
HIGH…t/tests/tools/third_party/pytest/src/_pytest/compat.py76except ValueError:CODE
HIGH…tests/tools/third_party/pytest/src/_pytest/terminal.py1408except AttributeError:CODE
221 more matches not shown…
Unused Imports1142 hits · 1056 pts
SeverityFileLineSnippetContext
LOWpython/servo/visual_studio.py10CODE
LOWpython/servo/try_parser.py12CODE
LOWpython/servo/command_base.py10CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py10CODE
LOWpython/servo/devtools_tests/utils.py10CODE
LOWpython/servo/devtools_tests/test_inspector_tab.py10CODE
LOWpython/wpt/__init__.py25CODE
LOWpython/wpt/test.py20CODE
LOWpython/wpt/grouping_formatter.py6CODE
LOWpython/wpt/exporter/__init__.py16CODE
LOWpython/wpt/exporter/step.py16CODE
LOWpython/wpt/exporter/github.py16CODE
LOWpython/tidy/__init__.py10CODE
LOWpython/tidy/__init__.py10CODE
LOWpython/tidy/__init__.py11CODE
LOWpython/mach/mach/dispatcher.py5CODE
LOWpython/mach/mach/dispatcher.py6CODE
LOWpython/mach/mach/dispatcher.py6CODE
LOWpython/mach/mach/logging.py9CODE
LOWpython/mach/mach/logging.py9CODE
LOWpython/mach/mach/config.py17CODE
LOWpython/mach/mach/config.py17CODE
LOWpython/mach/mach/terminal.py11CODE
LOWpython/mach/mach/terminal.py11CODE
LOWpython/mach/mach/terminal.py11CODE
LOWpython/mach/mach/util.py5CODE
LOWpython/mach/mach/util.py5CODE
LOWpython/mach/mach/main.py8CODE
LOWpython/mach/mach/main.py8CODE
LOWpython/mach/mach/main.py8CODE
LOWpython/mach/mach/registrar.py5CODE
LOWpython/mach/mach/registrar.py5CODE
LOWpython/mach/mach/registrar.py5CODE
LOWpython/mach/mach/base.py5CODE
LOWpython/mach/mach/base.py5CODE
LOWpython/mach/mach/decorators.py5CODE
LOWpython/mach/mach/decorators.py5CODE
LOWpython/mach/mach/mixin/logging.py5CODE
LOWpython/mach/mach/mixin/logging.py5CODE
LOWpython/mach/mach/mixin/process.py7CODE
LOWpython/mach/mach/mixin/process.py7CODE
LOWtests/wpt/tests/webtransport/handlers/server-drain.py2CODE
LOWtests/wpt/tests/webtransport/handlers/sendorder.py1CODE
LOWtests/wpt/tests/annotation-model/tools/make_tests.py5CODE
LOWtests/wpt/tests/annotation-model/tools/make_tests.py9CODE
LOWtests/wpt/tests/annotation-model/tools/make_tests.py10CODE
LOWtests/wpt/tests/tools/__init__.py1CODE
LOW…/tests/tools/webtransport/h3/webtransport_h3_server.py32CODE
LOW…ts/wpt/tests/tools/websocket/h3/websocket_h3_server.py42CODE
LOW…s/wpt/tests/tools/websocket/h3/websocket_h3_session.py21CODE
LOWtests/wpt/tests/tools/lint/__init__.py1CODE
LOWtests/wpt/tests/tools/ci/jobs.py10CODE
LOWtests/wpt/tests/tools/runner/report.py4CODE
LOWtests/wpt/tests/tools/manifest/update.py11CODE
LOWtests/wpt/tests/tools/manifest/typedata.py8CODE
LOWtests/wpt/tests/tools/manifest/__init__.py1CODE
LOWtests/wpt/tests/tools/manifest/__init__.py1CODE
LOWtests/wpt/tests/tools/manifest/__init__.py1CODE
LOWtests/wpt/tests/tools/manifest/__init__.py1CODE
LOWtests/wpt/tests/tools/manifest/__init__.py1CODE
1082 more matches not shown…
Cross-File Repetition182 hits · 910 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
HIGH…ts/wpt/tests/fenced-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
HIGH…ools/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
HIGH…ools/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
HIGH…s/client-hints/resources/echo-client-hints-received.py0simple handler that sets a response header based on which client hint request headers were received.STRING
HIGH…lient-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
HIGHtests/wpt/tests/content-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
HIGH…sts/wpt/tests/core-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
HIGH…s/wpt/tests/core-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
HIGH…s/wpt/tests/core-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
HIGHtests/wpt/tests/measure-memory/resources/redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHtests/wpt/tests/common/slow-redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHtests/wpt/tests/common/redirect-opt-in.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGH…ests/webdriver/tests/support/http_handlers/redirect.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGH…wpt/tests/cookies/resources/redirectWithCORSHeaders.py0simple handler that causes redirection. the request should typically have two query parameters: status - the status to uSTRING
HIGHtests/wpt/tests/webdriver/tests/classic/back/back.py0<script> function pushstate() { history.pushstate({foo: "bar"}, "", "#pushstate"); } </script> <a onclick="javascript:puSTRING
HIGH…s/wpt/tests/webdriver/tests/classic/refresh/refresh.py0<script> function pushstate() { history.pushstate({foo: "bar"}, "", "#pushstate"); } </script> <a onclick="javascript:puSTRING
HIGH…s/wpt/tests/webdriver/tests/classic/forward/forward.py0<script> function pushstate() { history.pushstate({foo: "bar"}, "", "#pushstate"); } </script> <a onclick="javascript:puSTRING
HIGH…ts/webdriver/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
HIGH…/webdriver/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
HIGH…ts/webdriver/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
HIGH…ts/webdriver/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
HIGH…ebdriver/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
HIGH…ests/webdriver/tests/classic/get_current_url/iframe.py0tests that webdriver can transcend site origins. many modern browsers impose strict cross-origin checks, and webdriver sSTRING
HIGH…/wpt/tests/webdriver/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
122 more matches not shown…
Cross-Language Confusion173 hits · 870 pts
SeverityFileLineSnippetContext
HIGHtests/wpt/tests/element-timing/resources/TAOImage.py16 # null, failCOMMENT
HIGH…ts/tools/third_party/pywebsocket3/test/test_msgutil.py460 """Test that a simple payload (one null) is framed correctly."""STRING
HIGH…t/tests/tools/third_party/pytest/src/_pytest/runner.py203 value = value.replace("\x00", "(null)")CODE
HIGH…s/wpt/tests/tools/wptrunner/wptrunner/update/update.py69 with state.push(["sync", "paths", "metadata_path", "tests_path", "local_tree",CODE
HIGH…s/wpt/tests/tools/wptrunner/wptrunner/update/update.py88 with state.push(["local_tree", "sync_tree", "paths", "serve_root"]):CODE
HIGH⚡…ols/wptrunner/wptrunner/executors/executorwebdriver.py771 args.push(resolve);CODE
HIGH⚡…ols/wptrunner/wptrunner/executors/executorwebdriver.py774 }).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
HIGH…/tests/tools/wptrunner/wptrunner/executors/protocol.py945 .filter(elem => elem.localName !== "embed" ? (elem.contentWindow !== null) : true);CODE
HIGH…pt/tests/tools/wptserve/tests/functional/test_pipes.py66 resp = self.request("/document.txt", query="pipe=slice(null,10)")CODE
HIGH⚡…pt/tests/tools/wptserve/tests/functional/test_pipes.py169 resp = self.request("/test_string.py", query="pipe=slice(null,2)")STRING
HIGH⚡…pt/tests/tools/wptserve/tests/functional/test_pipes.py178 resp = self.request(route[1], query="pipe=slice(null,2)")STRING
HIGH⚡…pt/tests/tools/wptserve/tests/functional/test_pipes.py187 resp = self.request(route[1], query="pipe=slice(null,2)")STRING
HIGH⚡…pt/tests/tools/wptserve/tests/functional/test_pipes.py208 resp = self.request(route[1], query="pipe=slice(null,2)")STRING
HIGH⚡…pt/tests/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
HIGH…sts/wpt/tests/client-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
HIGHtests/wpt/tests/WebCryptoAPI/tools/generate.py166 " vector => !algorithmNames || algorithmNames.includes(vector.name));",CODE
HIGH…html/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
HIGH…sts/wpt/tests/resource-timing/resources/TAOResponse.py18 # null, fail unless it's an opaque originCOMMENT
HIGH…sts/wpt/tests/resource-timing/resources/TAOResponse.py21 # case-insensitive null, failCOMMENT
HIGH…ts/wpt/tests/fetch/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
HIGH…/webdriver/tests/classic/element_click/center_point.py31 div.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]) }});CODE
HIGH…ests/webdriver/tests/classic/element_click/navigate.py88 return rect["top"] >= 0 && rect["left"] >= 0 &&CODE
HIGH…ests/webdriver/tests/classic/element_click/bubbling.py33 window.clicks.push(clickEvent.currentTarget);CODE
HIGH…ests/webdriver/tests/classic/element_click/bubbling.py74 setTimeout(function() { window.delayedClicks.push(target); }, 0);CODE
HIGH…wpt/tests/webdriver/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
HIGH…ts/webdriver/tests/classic/perform_actions/duration.py28 event => window.allEvents.events.push({STRING
HIGH…ts/webdriver/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
HIGH…/webdriver/tests/classic/perform_actions/navigation.py15 window.addEventListener("keydown", e => allEvents.events.push([e.key]));CODE
HIGH…/webdriver/tests/classic/perform_actions/navigation.py17 allEvents.events.push([CODE
HIGH⚡…sts/webdriver/tests/classic/perform_actions/perform.py112 window.onwheel = () => window.events.push('wheel');CODE
HIGH⚡…sts/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
HIGH…s/webdriver/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
HIGH…ts/webdriver/tests/classic/execute_script/arguments.py15 result = execute_script(session, "return [arguments[0] === null, arguments[0]]", args=[value])CODE
HIGH⚡…ests/webdriver/tests/classic/execute_script/execute.py76window.addEventListener = () => {called.push("Internal addEventListener")}CODE
HIGH⚡…ests/webdriver/tests/classic/execute_script/execute.py77window.removeEventListener = () => {called.push("Internal removeEventListener")}CODE
113 more matches not shown…
Self-Referential Comments224 hits · 642 pts
SeverityFileLineSnippetContext
MEDIUMpython/servo/package_commands.py383 # Create the MSI installer.COMMENT
MEDIUMpython/wpt/exporter/__init__.py243 # Create a pull request against the upstream repository for the new branch.COMMENT
MEDIUMpython/wpt/exporter/step.py122 # Create an object that contains everything necessary to transplant thisCOMMENT
MEDIUMpython/wpt/exporter/step.py153 # Create a new branch with a unique name that is consistent betweenCOMMENT
MEDIUMpython/mach/mach/logging.py5# This file contains logging functionality for mach. It essentially providesCOMMENT
MEDIUMpython/mach/mach/main.py5# This module provides functionality for the command-line build toolCOMMENT
MEDIUMpython/mach/mach/mixin/process.py5# This module provides mixins to perform process execution.COMMENT
MEDIUM…wpt/tests/webtransport/handlers/anticipated-streams.py12 # Create a bidirectional stream for the client to send requestsCOMMENT
MEDIUM…/tests/tools/webtransport/h3/webtransport_h3_server.py298 # Create a handler using `:path`.COMMENT
MEDIUMtests/wpt/tests/tools/web_features/manifest.py130 # Create a copy that may be built upon or cleared during this iteration.COMMENT
MEDIUMtests/wpt/tests/tools/lint/lint.py42# Define an arbitrary typevarCOMMENT
MEDIUMtests/wpt/tests/tools/ci/macos_display_configuration.py35# Create a new type for display IDsCOMMENT
MEDIUMtests/wpt/tests/tools/ci/regen_certs.py15# This file is automatically generated by 'wpt regen-certs'COMMENT
MEDIUMtests/wpt/tests/tools/manifest/tests/test_manifest.py286 # Create the original manifestCOMMENT
MEDIUMtests/wpt/tests/tools/wpt/browser.py2572 # This class is not meant to be used directly.COMMENT
MEDIUMtests/wpt/tests/tools/third_party/packaging/setup.py2# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM⚡tests/wpt/tests/tools/third_party/packaging/noxfile.py267 # Create a temporary file.COMMENT
MEDIUM…pt/tests/tools/third_party/packaging/packaging/tags.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…tests/tools/third_party/packaging/packaging/version.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…ests/tools/third_party/packaging/packaging/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…t/tests/tools/third_party/packaging/packaging/utils.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…/tools/third_party/packaging/packaging/requirements.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…s/tools/third_party/packaging/packaging/_structures.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…tests/tools/third_party/packaging/packaging/markers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…sts/tools/third_party/packaging/packaging/__about__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…ts/tools/third_party/packaging/packaging/specifiers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…s/wpt/tests/tools/third_party/packaging/tasks/check.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…s/wpt/tests/tools/third_party/packaging/tasks/paths.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…pt/tests/tools/third_party/packaging/tasks/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…ests/tools/third_party/packaging/tests/test_version.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…/tests/tools/third_party/packaging/tests/test_utils.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…s/tools/third_party/packaging/tests/test_structures.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…s/tools/third_party/packaging/tests/test_specifiers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…t/tests/tools/third_party/packaging/tests/test_tags.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…pt/tests/tools/third_party/packaging/tests/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…tools/third_party/packaging/tests/test_requirements.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…ests/tools/third_party/packaging/tests/test_markers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…sts/wpt/tests/tools/third_party/packaging/docs/conf.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUM…/tools/third_party/webencodings/webencodings/labels.py14# This file is automatically generated by mklabels.pyCOMMENT
MEDIUM…ools/third_party/webencodings/webencodings/mklabels.py40# This file is automatically generated by mklabels.pyCOMMENT
MEDIUM…/tools/third_party/h2/test/test_flow_control_window.py730 # Create a connection in a state that might actually acceptCOMMENT
MEDIUM…/tools/third_party/h2/test/test_flow_control_window.py755 # Create a connection in a state that might actually acceptCOMMENT
MEDIUM…s/tools/third_party/h2/examples/asyncio/wsgi-server.py542 # This method is *crazy inefficient*, but it's also a pretty stupidCOMMENT
MEDIUM…ests/tools/third_party/pytest/testing/test_conftest.py385 # Create a build directory that contains symlinks to actual filesCOMMENT
MEDIUM…ts/tools/third_party/pytest/testing/test_collection.py1562 # Create a broken symlink.COMMENT
MEDIUM…/tests/tools/third_party/pytest/testing/test_runner.py781 # Create a module which exists and can be imported, however it raisesCOMMENT
MEDIUM…/tools/third_party/pytest/testing/test_link_resolve.py15 for c in ascii_lowercase[7:]: # Create a subst drive from H-Z.CODE
MEDIUM…ests/tools/third_party/pytest/testing/test_stepwise.py24 # Create a simple test suite.COMMENT
MEDIUM⚡…tests/tools/third_party/pytest/testing/test_pathlib.py729 # Create a directory structure first without __init__.py files.COMMENT
MEDIUM⚡…tests/tools/third_party/pytest/testing/test_pathlib.py737 # Create the __init__.py files, it should now resolve to a proper module name.COMMENT
MEDIUM…tests/tools/third_party/pytest/testing/test_pathlib.py901 # Create the tests files, outside 'src' and the virtualenv.COMMENT
MEDIUMtests/wpt/tests/tools/third_party/pytest/doc/en/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUM…t/tests/tools/third_party/pytest/src/_pytest/python.py1299 # Create the new calls: if we are parametrize() multiple times (by applying the decoratorCOMMENT
MEDIUM…t/tests/tools/third_party/pytest/src/_pytest/python.py1678 """This class is a stop gap solution until we evolve to have actual functionSTRING
MEDIUM…/tests/tools/third_party/pytest/src/_pytest/pathlib.py50# The following function, variables and comments wereCOMMENT
MEDIUM…/tools/third_party/pytest/src/_pytest/cacheprovider.py51# This file is a cache directory tag created by pytest.COMMENT
MEDIUM…/tools/third_party/pytest/src/_pytest/cacheprovider.py231 # Create a directory in place of the one we just moved so that `TemporaryDirectory`'sCOMMENT
MEDIUM…sts/tools/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
MEDIUM…ests/tools/third_party/pathlib2/tests/test_pathlib2.py1877 # Creating a chain of directoriesCOMMENT
164 more matches not shown…
Deep Nesting700 hits · 628 pts
SeverityFileLineSnippetContext
LOWpython/servo/testing_commands.py613CODE
LOWpython/servo/visual_studio.py85CODE
LOWpython/servo/visual_studio.py134CODE
LOWpython/servo/util.py48CODE
LOWpython/servo/bootstrap_commands.py143CODE
LOWpython/servo/bootstrap_commands.py177CODE
LOWpython/servo/package_commands.py146CODE
LOWpython/servo/package_commands.py549CODE
LOWpython/servo/gstreamer.py196CODE
LOWpython/servo/try_parser.py113CODE
LOWpython/servo/try_parser.py73CODE
LOWpython/servo/build_commands.py197CODE
LOWpython/servo/command_base.py142CODE
LOWpython/servo/command_base.py421CODE
LOWpython/servo/command_base.py633CODE
LOWpython/servo/command_base.py558CODE
LOWpython/servo/command_base.py559CODE
LOWpython/servo/platform/build_target.py56CODE
LOWpython/servo/platform/build_target.py97CODE
LOWpython/servo/platform/__init__.py17CODE
LOWpython/servo/platform/__init__.py34CODE
LOWpython/servo/platform/__init__.py50CODE
LOWpython/servo/platform/linux.py116CODE
LOWpython/servo/devtools_tests/conftest.py86CODE
LOWpython/servo/devtools_tests/utils.py124CODE
LOWpython/servo/devtools_tests/utils.py227CODE
LOWpython/servo/devtools_tests/utils.py267CODE
LOWpython/servo/devtools_tests/utils.py306CODE
LOWpython/servo/devtools_tests/utils.py353CODE
LOWpython/servo/devtools_tests/utils.py127CODE
LOWpython/servo/devtools_tests/utils.py366CODE
LOWpython/servo/devtools_tests/utils.py274CODE
LOWpython/servo/devtools_tests/utils.py319CODE
LOWpython/wpt/update.py56CODE
LOWpython/wpt/run.py330CODE
LOWpython/wpt/manifestupdate.py115CODE
LOWpython/wpt/grouping_formatter.py258CODE
LOWpython/wpt/ohos_webdriver_test.py376CODE
LOWpython/wpt/ohos_webdriver_test.py254CODE
LOWpython/wpt/exporter/__init__.py167CODE
LOWpython/tidy/tidy.py496CODE
LOWpython/tidy/tidy.py606CODE
LOWpython/tidy/tidy.py671CODE
LOWpython/tidy/tidy.py910CODE
LOWpython/tidy/tidy.py952CODE
LOWpython/tidy/tidy.py1074CODE
LOWpython/tidy/tidy.py1215CODE
LOWpython/mach/mach/dispatcher.py85CODE
LOWpython/mach/mach/dispatcher.py244CODE
LOWpython/mach/mach/logging.py114CODE
LOWpython/mach/mach/main.py261CODE
LOWpython/mach/mach/mixin/process.py45CODE
LOWtests/power/PowerMeasure.py64CODE
LOWtests/wpt/tests/reporting/resources/report.py9CODE
LOWtests/wpt/tests/reporting/resources/report.py37CODE
LOWtests/wpt/tests/element-timing/resources/TAOImage.py5CODE
LOWtests/wpt/tests/tools/webtransport/h3/capsule.py85CODE
LOW…/tests/tools/webtransport/h3/webtransport_h3_server.py167CODE
LOWtests/wpt/tests/tools/web_features/web_feature_map.py117CODE
LOW…ts/wpt/tests/tools/web_features/tests/test_manifest.py63CODE
640 more matches not shown…
Excessive Try-Catch Wrapping501 hits · 592 pts
SeverityFileLineSnippetContext
MEDIUMpython/servo/testing_commands.py790 print("Error: Failed to parse speedometer results")CODE
MEDIUMpython/servo/util.py100 print("Error downloading {}: {}. The failing URL was: {}".format(description, e.reason, url))CODE
LOWpython/servo/util.py313 except Exception as e:CODE
LOWpython/servo/bootstrap_commands.py337 except Exception:CODE
MEDIUMpython/servo/package_commands.py541 print("Error: This command was moved to a dedicated script: etc/ci/upload_nightly.py", file=sys.stderr)CODE
LOWpython/servo/gstreamer.py271 except Exception as exception:CODE
MEDIUM⚡python/servo/build_commands.py77 print(f"Error: Couldn't find LLVM version in output of `rustc --version --verbose`: `{result.stdout}`")CODE
LOW⚡python/servo/build_commands.py78 except Exception as e:CODE
MEDIUM⚡python/servo/build_commands.py79 print(f"Error: Failed to determine rustc version: {e}")CODE
LOWpython/servo/build_commands.py366 except Exception:CODE
LOWpython/servo/build_commands.py387 except Exception:CODE
MEDIUMpython/servo/command_base.py414 print("Error: Cross-compiling servo on windows requires the Ninja tool to be installed and in PATH.")CODE
MEDIUMpython/servo/platform/build_target.py192 print(f"Error: Can't determine LLVM prebuilt. Unknown cpu type {cpu_type}.")CODE
MEDIUMpython/servo/platform/build_target.py389 print("Error: cargo-ohos was unable to determine the SDK API version", file=sys.stderr)CODE
LOWpython/servo/devtools_tests/conftest.py96 except Exception:CODE
LOWpython/servo/devtools_tests/conftest.py164 except Exception:CODE
LOWpython/servo/devtools_tests/utils.py64 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py248 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py282 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py327 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py375 except Exception as e:CODE
MEDIUMpython/servo/devtools_tests/utils.py59def on_target(data):CODE
MEDIUMpython/servo/devtools_tests/utils.py366def on_resources(data):CODE
LOWpython/wpt/run.py63 except Exception as _:CODE
LOWpython/wpt/test.py91 except Exception:CODE
LOWpython/wpt/grouping_formatter.py400 except Exception as exception:CODE
LOW⚡python/wpt/ohos_webdriver_test.py351 except Exception as e:CODE
LOW⚡python/wpt/ohos_webdriver_test.py360 except Exception:CODE
LOW⚡python/wpt/ohos_webdriver_test.py368 except Exception:CODE
LOW⚡python/wpt/ohos_webdriver_test.py371 except Exception:CODE
LOW⚡python/wpt/ohos_webdriver_test.py471 except Exception as e:CODE
LOW⚡python/wpt/ohos_webdriver_test.py481 except Exception as e:CODE
LOW⚡python/wpt/ohos_webdriver_test.py489 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py45 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py66 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py78 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py107 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py117 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py148 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py167 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py179 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py185 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py203 except Exception as nav_error:CODE
LOWpython/wpt/ohos_webdriver_test.py243 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py290 except Exception as api_error:CODE
LOWpython/wpt/ohos_webdriver_test.py313 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py396 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py404 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py416 except Exception as e:CODE
LOWpython/wpt/exporter/__init__.py205 except Exception as exception:CODE
LOWpython/wpt/exporter/step.py85 except Exception as exception:CODE
LOWpython/wpt/exporter/step.py180 except Exception:CODE
LOWpython/wpt/exporter/step.py240 except Exception as exception:CODE
MEDIUMpython/tidy/tidy.py597 print(f"Error parsing {file_name}: `{e}` - Invalid toml?")CODE
LOWpython/mach/mach/logging.py183 except Exception:CODE
LOWpython/mach/mach/main.py352 except Exception:STRING
LOWpython/mach/mach/main.py457 except Exception:STRING
MEDIUMpython/mach/mach/main.py139def __getattribute__(self, key):CODE
LOW…/tests/tools/webtransport/h3/webtransport_h3_server.py510 except Exception as e:CODE
LOW…/tests/tools/webtransport/h3/webtransport_h3_server.py595 except Exception as e:CODE
441 more matches not shown…
Decorative Section Separators247 hits · 534 pts
SeverityFileLineSnippetContext
MEDIUMtests/wpt/tests/svg/path/parsing/arc-commands.html77 // ●─────────────●COMMENT
MEDIUM⚡tests/wpt/tests/tools/third_party/packaging/noxfile.py173# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/wpt/tests/tools/third_party/packaging/noxfile.py175# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/tools/third_party/pytest/src/_pytest/hookspec.py953# -------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/tools/third_party/pytest/src/_pytest/hookspec.py955# -------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/tools/third_party/pytest/src/_pytest/hookspec.py1193# -------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/tools/third_party/pytest/src/_pytest/hookspec.py1195# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py53# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py55# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py160# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py163# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py226# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py228# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py482# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py484# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py606# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py608# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py852# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py854# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py907# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py909# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py1015# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py1017# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py1222# -------------------------------------------------------------------------COMMENT
MEDIUM…tests/tools/third_party/pytest/src/_pytest/hookspec.py1224# -------------------------------------------------------------------------COMMENT
MEDIUMtests/wpt/tests/tools/wptserve/wptserve/cgi/cgi.py59# ===============COMMENT
MEDIUMtests/wpt/tests/tools/wptserve/wptserve/cgi/cgi.py125# =================COMMENT
MEDIUMtests/wpt/tests/tools/wptserve/wptserve/cgi/cgi.py262# =========================COMMENT
MEDIUMtests/wpt/tests/tools/wptserve/wptserve/cgi/cgi.py853# ===============COMMENT
MEDIUMtests/wpt/tests/tools/wptserve/wptserve/cgi/cgi.py1010# ===============STRING
MEDIUM⚡tests/wpt/tests/css/css-variables/variable-cycles.html343 // ┌──────────────┐COMMENT
MEDIUM⚡tests/wpt/tests/css/css-variables/variable-cycles.html351 // ┌───┐ ┌────────┐ ┌───┐COMMENT
MEDIUM⚡tests/wpt/tests/css/css-variables/variable-cycles.html353 // └───┘ └────────┘ └───┘COMMENT
MEDIUMtests/wpt/tests/css/css-variables/variable-cycles.html390 // ┌─────▶ │ a │ ─┐COMMENT
MEDIUM…ests/css/css-fonts/support/fonts/gsubtest-features.txt2# --------------------------COMMENT
MEDIUM…/tests/css/css-text/tools/generate-mark-anchor-font.py8# ----------------------------------COMMENT
MEDIUM…/tests/css/css-text/tools/generate-mark-anchor-font.py20# ------------COMMENT
MEDIUM⚡tests/wpt/tests/common/dispatcher/dispatcher.js58// ┌───────────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┐COMMENT
MEDIUM⚡tests/wpt/tests/common/dispatcher/dispatcher.js60// ├───────────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼────┤COMMENT
MEDIUM⚡tests/wpt/tests/common/dispatcher/dispatcher.js62// └───────────┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴────┘COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/README.md148 # -----------------------------------------------------------------------------COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/README.md152 # -----------------------------------------------------------------------------COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/ply/yacc.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/ply/yacc.py32# -----------------------------------------------------------------------------COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/ply/yacc.py60# ----------------------------------------------------------------------------COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/ply/yacc.py73#-----------------------------------------------------------------------------COMMENT
MEDIUMcomponents/script_bindings/third_party/ply/ply/yacc.py77#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py200#-----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py206#-----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1275# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1280# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1285# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1449# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1453# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1462# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1468# -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1516 # -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1522 # -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1532 # -----------------------------------------------------------------------------STRING
MEDIUM⚡components/script_bindings/third_party/ply/ply/yacc.py1747 # -----------------------------------------------------------------------------STRING
187 more matches not shown…
AI Slop Vocabulary128 hits · 306 pts
SeverityFileLineSnippetContext
LOWpython/servo/command_base.py673 # the target, so just use it.COMMENT
LOWpython/wpt/grouping_formatter.py298 # result, it's enough to simply return the unexpected result. It isn'tCOMMENT
MEDIUM…s/webgpu/webgpu/shader/execution/robust_access.spec.js208 // Declare the data that will be accessed to check robust access, as a buffer or a structCOMMENT
MEDIUMtests/wpt/tests/annotation-model/tools/make_tests.py1# This tool creates .html test files for the WPT harness from corresponding .testCOMMENT
MEDIUMtests/wpt/tests/tools/ci/update-test262.sh42# Sync the harness filesCOMMENT
LOWtests/wpt/tests/tools/wpt/utils.py73 # 1. When uncompressing on a Windows system we just call to extract().COMMENT
LOWtests/wpt/tests/tools/wpt/utils.py76 # which are useless here, so just call to extract() without setting any specific file permission in thaCOMMENT
LOWtests/wpt/tests/tools/wpt/testfiles.py43 # For builds on the master branch just return the HEAD commitCOMMENT
LOW…ts/tools/third_party/packaging/packaging/specifiers.py499 # version. If it's not we can short circuit and just return False nowSTRING
LOW…ts/tools/third_party/packaging/packaging/specifiers.py525 # version. If it's not we can short circuit and just return False nowSTRING
LOW…ts/tools/third_party/packaging/packaging/specifiers.py706 # then we'll just return None since we don't know if this should haveSTRING
MEDIUM…s/tools/third_party/h2/examples/asyncio/wsgi-server.py78# without doing anything so heavyweight as using a class. Essentially, we canCOMMENT
MEDIUMtests/wpt/tests/tools/third_party/h2/src/h2/stream.py531# Essentially, for h2, PUSH_PROMISE frames are effectively sent onCOMMENT
MEDIUM⚡tests/wpt/tests/tools/third_party/attrs/pyproject.toml209 "TRY", # exception best practices don't matter in testsSTRING
MEDIUM⚡tests/wpt/tests/tools/third_party/attrs/pyproject.toml211 "B904", # exception best practices don't matter in testsSTRING
MEDIUM⚡tests/wpt/tests/tools/third_party/attrs/pyproject.toml215 "DTZ", # datetime best practices don't matter in testsSTRING
LOW…wpt/tests/tools/third_party/hpack/src/hpack/huffman.py34 # handle this cleanly, just use a single giant integer.COMMENT
LOW…ts/tools/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
MEDIUM…tools/third_party/pytest/testing/test_cacheprovider.py325 # Run this again to make sure clear-cache is robustSTRING
MEDIUM…sts/tools/third_party/pytest/src/_pytest/helpconfig.py21 """An argparse Action that will raise an exception in order to skip theSTRING
LOW…ests/tools/third_party/pytest/src/_pytest/debugging.py321 # we can't just return `partial(pdb.runcall, testfunction)` because (onCOMMENT
LOW…sts/tools/third_party/pytest/src/_pytest/python_api.py486 # just return the absolute tolerance.COMMENT
MEDIUM…/tests/tools/third_party/pytest/src/_pytest/capture.py459 # target FD). The following approach is robust, I believe.COMMENT
LOW…sts/tools/third_party/html5lib/html5lib/html5parser.py746 # the abstract Unicode string, and just use theCOMMENT
LOWtests/wpt/tests/tools/wptrunner/wptrunner/wpttest.py655 # Otherwise, we just add the mismatches directly as we are immediately into theCOMMENT
LOW…/wpt/tests/tools/wptrunner/wptrunner/manifestupdate.py755 # If the new intermittent is a subset of the existing one, just use the existing oneCOMMENT
MEDIUMtests/wpt/tests/tools/wptrunner/wptrunner/testrunner.py831 # INTERNAL-ERROR indicates a Python exception was caught in the harnessCOMMENT
MEDIUMtests/wpt/tests/tools/wptrunner/wptrunner/testrunner.py832 # EXTERNAL-TIMEOUT indicates we had to forcibly kill the browser from the harnessCOMMENT
MEDIUMtests/wpt/tests/tools/wptrunner/wptrunner/testrunner.py844 # harness test, or PASS for reftest), and all unexpected results forCOMMENT
MEDIUM⚡…ols/wptrunner/wptrunner/executors/executorwebdriver.py766 # 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
MEDIUM…ools/wptrunner/wptrunner/executors/executorselenium.py389 # Now start the test harnessCOMMENT
MEDIUM…/wpt/tests/tools/wptrunner/wptrunner/executors/base.py283 # Extra timeout to use after internal test timeout at which the harnessCOMMENT
MEDIUM…/wpt/tests/tools/wptrunner/wptrunner/executors/base.py320 """Re-initialize internal state to facilitate repeated test executionSTRING
MEDIUMtests/wpt/tests/tools/serve/serve.py374 # It injects the reporter, the Test262 harness, and the provider.COMMENT
MEDIUMtests/wpt/tests/tools/serve/serve.py403 # Include any harness files specified in the 'includes' frontmatter attribute.COMMENT
MEDIUMtests/wpt/tests/tools/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
MEDIUM…wpt/tests/css/css-variables/variable-invalidation.html70 // The actual tests that utilize the boilerplate & helper methods aboveCOMMENT
MEDIUM…ss/css-values/random-in-custom-function.tentative.html431// Essentially same as typed result.COMMENT
MEDIUM⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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⚡…sts/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
68 more matches not shown…
Hallucination Indicators22 hits · 220 pts
SeverityFileLineSnippetContext
CRITICAL…entative/service-worker-navigation.sub.https.window.js56 iframe.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICALtests/wpt/tests/css/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
CRITICALtests/wpt/tests/resources/testdriver.js1113 return window.test_driver_internal.bidi.log.entry_added.subscribe(params);CODE
CRITICALtests/wpt/tests/resources/testdriver.js1126 return window.test_driver_internal.bidi.log.entry_added.on(callback);CODE
CRITICALtests/wpt/tests/resources/testdriver.js1138 const remove_handler = window.test_driver_internal.bidi.log.entry_added.on(CODE
CRITICALtests/wpt/tests/acid/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
CRITICAL…ts/service-workers/service-worker/client-id.https.html34 f.contentWindow.navigator.serviceWorker.controller.postMessage(CODE
CRITICAL…ts/service-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
CRITICAL…sts/wpt/tests/notifications/global-teardown-crash.html9 window.parent.document.documentElement.classList.remove('test-wait');CODE
CRITICAL…perf_tests/perf_tests/layout/flexbox-lots-of-data.html66<div class="row"><div class="cell col-level"></div><div class="cell col-proc"></div><div class="cell col-text">---------CODE
CRITICALcomponents/script/dom/servoparser/xml.rs74 self.inner.sink.sink.current_line.get() as u32CODE
CRITICALcomponents/script/dom/servoparser/html.rs127 self.inner.sink.sink.current_line.get() as u32CODE
CRITICALcomponents/script/dom/event/pointerevent.rs249 init.parent.parent.parent.view.as_deref(),CODE
CRITICALcomponents/script/dom/event/wheelevent.rs224 init.parent.parent.parent.view.as_deref(),CODE
Modern Structural Boilerplate110 hits · 109 pts
SeverityFileLineSnippetContext
LOWpython/servo/testing_commands.py817 def update_webgl(self, version: str | None = None) -> None:CODE
LOWpython/servo/try_parser.py73 def update_name(self) -> None:CODE
LOWpython/wpt/update.py100 def set_if_none(args: dict, key: str, value: str) -> None:CODE
LOWpython/wpt/run.py36def set_if_none(args: dict, key: str, value: bool | int | str) -> None:CODE
LOWtests/wpt/tests/tools/web_features/manifest.py54logger = logging.getLogger(__name__)CODE
LOWtests/wpt/tests/tools/lint/fnmatch.py6__all__ = ["fnmatch", "fnmatchcase", "filter", "translate"]CODE
LOWtests/wpt/tests/tools/ci/manifest_build.py24logger = logging.getLogger(__name__)CODE
LOWtests/wpt/tests/tools/ci/regen_certs.py10logger = logging.getLogger(__name__)CODE
LOWtests/wpt/tests/tools/manifest/update.py38def update_from_cli(**kwargs: Any) -> None:CODE
LOWtests/wpt/tests/tools/manifest/jsonlib.py6__all__ = ["load", "dump_local", "dump_local", "dump_dist", "dumps_dist"]CODE
LOWtests/wpt/tests/tools/manifest/typedata.py205 def set_json(self, json_data: Dict[Text, Any]) -> None:CODE
LOWtests/wpt/tests/tools/manifest/spec.py42def update_from_cli(**kwargs: Any) -> None:CODE
LOWtests/wpt/tests/tools/wpt/httputils.py9logger = logging.getLogger(__name__)CODE
LOWtests/wpt/tests/tools/wpt/utils.py15logger = logging.getLogger(__name__)CODE
LOWtests/wpt/tests/tools/wpt/virtualenv.py25logger = logging.getLogger(__name__)CODE
LOW…pt/tests/tools/third_party/packaging/packaging/tags.py25logger = logging.getLogger(__name__)CODE
LOW…tests/tools/third_party/packaging/packaging/version.py13__all__ = ["parse", "Version", "LegacyVersion", "InvalidVersion", "VERSION_PATTERN"]CODE
LOW…ests/tools/third_party/packaging/packaging/__init__.py16__all__ = [CODE
LOW…tests/tools/third_party/packaging/packaging/markers.py25__all__ = [CODE
LOW…sts/tools/third_party/packaging/packaging/__about__.py5__all__ = [CODE
LOWtests/wpt/tests/tools/third_party/h2/src/h2/errors.py75__all__ = ['ErrorCodes']CODE
LOW…pt/tests/tools/third_party/attrs/src/attrs/__init__.py28__all__ = [CODE
LOW…t/tests/tools/third_party/attrs/src/attr/validators.py20__all__ = [CODE
LOW…wpt/tests/tools/third_party/attrs/src/attr/__init__.py39__all__ = [CODE
LOW…t/tests/tools/third_party/attrs/src/attr/converters.py14__all__ = [CODE
LOW…/wpt/tests/tools/third_party/attrs/src/attr/_config.py3__all__ = ["set_run_validators", "get_run_validators"]CODE
LOW…pt/tests/tools/third_party/hpack/src/hpack/__init__.py18__all__ = [CODE
LOW…wpt/tests/tools/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
LOWtests/wpt/tests/tools/third_party/pytest/src/py.py13__all__ = ["error", "path"]CODE
LOW…/tests/tools/third_party/pytest/src/pytest/__init__.py89__all__ = [CODE
LOW…/tests/tools/third_party/pytest/src/_pytest/logging.py533 def set_level(self, level: Union[int, str], logger: Optional[str] = None) -> None:CODE
LOW…/tests/tools/third_party/pytest/src/_pytest/logging.py743 def set_log_path(self, fname: str) -> None:CODE
LOW…/tests/tools/third_party/pytest/src/_pytest/logging.py917 def set_when(self, when: Optional[str]) -> None:CODE
LOW…/tests/tools/third_party/pytest/src/_pytest/logging.py954 def set_when(self, when: str) -> None:CODE
LOW…tests/tools/third_party/pytest/src/_pytest/terminal.py1268 def _set_main_color(self) -> None:CODE
LOW…tests/tools/third_party/pytest/src/_pytest/__init__.py1__all__ = ["__version__", "version_tuple"]CODE
LOW…pt/tests/tools/third_party/pytest/src/_pytest/stash.py9__all__ = ["Stash", "StashKey"]CODE
LOW…ests/tools/third_party/pytest/src/_pytest/debugging.py279 def set_trace(cls, *args, **kwargs) -> None:CODE
LOW…/tests/tools/third_party/pytest/src/_pytest/capture.py785 def set_fixture(self, capture_fixture: "CaptureFixture[Any]") -> None:CODE
LOW…t/tests/tools/third_party/pytest/src/_pytest/timing.py14__all__ = ["perf_counter", "sleep", "time"]CODE
LOW…tests/tools/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
LOW…/tools/third_party/pytest/src/_pytest/mark/__init__.py32__all__ = [CODE
LOW…ools/third_party/pytest/src/_pytest/mark/expression.py31__all__ = [STRING
LOW…tools/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
LOW…s/tools/third_party/pytest/src/_pytest/_io/__init__.py5__all__ = [CODE
LOW…/tests/tools/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
LOW…ools/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
LOW…ests/tools/third_party/websockets/tests/sync/client.py10__all__ = [CODE
LOW…/tools/third_party/websockets/src/websockets/server.py48__all__ = ["ServerProtocol"] + legacy__all__CODE
50 more matches not shown…
Docstring Block Structure21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHtests/wpt/tests/tools/wpt/run.py896Get BrowserSetup instance for product (built-in or external). Args: product_name: Name of the product (e.g.STRING
HIGH…tests/tools/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
HIGH…/tools/third_party/websockets/src/websockets/server.py204 Check a handshake request and negotiate extensions and subprotocol. This function doesn't verify that STRING
HIGH…/tools/third_party/websockets/src/websockets/server.py290 Handle the Origin HTTP request header. Args: headers: WebSocket handshake request headers.STRING
HIGH…/tools/third_party/websockets/src/websockets/server.py319 Handle the Sec-WebSocket-Extensions HTTP request header. Accept or reject each extension proposed in tSTRING
HIGH…/tools/third_party/websockets/src/websockets/server.py397 Handle the Sec-WebSocket-Protocol HTTP request header. Args: headers: WebSocket handshake STRING
HIGH…/tools/third_party/websockets/src/websockets/server.py425 Pick a subprotocol among those offered by the client. If several subprotocols are supported by both thSTRING
HIGH…/tools/third_party/websockets/src/websockets/client.py192 Handle the Sec-WebSocket-Extensions HTTP response header. Check that each extension is supported, as wSTRING
HIGH…sts/tools/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
HIGHtests/wpt/tests/tools/wptrunner/wptrunner/products.py299Create a Product instance from a module's __wptrunner__ dict. Args: module: Module containing __wptSTRING
HIGHtests/wpt/tests/tools/wptrunner/wptrunner/products.py365Load a Product by name. Works for both builtin and external products via entry points. Builtin productsSTRING
HIGH…pt/webgl/tests/closure-library/closure/bin/calcdeps.py172Builds a hash for searching dependencies by the namespaces they provide. Description: Dependency objects can provSTRING
HIGH…pt/webgl/tests/closure-library/closure/bin/calcdeps.py202Calculates the dependencies for given inputs. Description: This method takes a list of paths (files, directories)STRING
AI Structural Patterns82 hits · 76 pts
SeverityFileLineSnippetContext
LOWpython/servo/command_base.py725CODE
LOWpython/mach/mach/mixin/process.py45CODE
LOWtests/wpt/tests/eventsource/resources/cors.py11CODE
LOW…ts/wpt/tests/tools/websocket/h3/websocket_h3_server.py88CODE
LOW…ts/wpt/tests/tools/websocket/h3/websocket_h3_server.py474CODE
LOWtests/wpt/tests/tools/manifest/manifest.py365CODE
LOWtests/wpt/tests/tools/third_party/attrs/tests/utils.py12CODE
LOWtests/wpt/tests/tools/third_party/attrs/tests/utils.py40CODE
LOW…ts/wpt/tests/tools/third_party/attrs/src/attr/_make.py98CODE
LOW…ts/wpt/tests/tools/third_party/attrs/src/attr/_make.py1306CODE
LOW…ts/wpt/tests/tools/third_party/attrs/src/attr/_make.py2602CODE
LOW…pt/tests/tools/third_party/attrs/src/attr/_next_gen.py24CODE
LOW…pt/tests/tools/third_party/attrs/src/attr/_next_gen.py160CODE
LOW…/third_party/pytest/src/_pytest/pytester_assertions.py39CODE
LOW…tests/tools/third_party/pytest/src/_pytest/pytester.py594CODE
LOW…pt/tests/tools/third_party/pytest/src/_pytest/nodes.py562CODE
LOW…tools/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
LOW…ts/wpt/tests/tools/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
LOW…tests/tools/third_party/html5lib/html5lib/_ihatexml.py121CODE
LOW…ols/third_party/html5lib/html5lib/filters/sanitizer.py726CODE
LOWtests/wpt/tests/tools/third_party/tooltool/tooltool.py124CODE
LOWtests/wpt/tests/tools/third_party/tooltool/tooltool.py643CODE
LOWtests/wpt/tests/tools/wptrunner/wptrunner/wpttest.py498CODE
LOWtests/wpt/tests/tools/wptrunner/wptrunner/wpttest.py558CODE
LOWtests/wpt/tests/tools/wptrunner/wptrunner/wpttest.py716CODE
LOWtests/wpt/tests/tools/wptrunner/wptrunner/testloader.py353CODE
LOWtests/wpt/tests/tools/wptrunner/wptrunner/testrunner.py376CODE
LOWtests/wpt/tests/tools/wptrunner/wptrunner/testrunner.py1056CODE
LOW…/wpt/tests/tools/wptrunner/wptrunner/browsers/sauce.py82CODE
LOW…pt/tests/tools/wptrunner/wptrunner/browsers/firefox.py930CODE
LOW…pt/tests/tools/wptrunner/wptrunner/browsers/firefox.py1039CODE
LOW…/tools/wptrunner/wptrunner/browsers/firefox_android.py238CODE
LOW…s/wpt/tests/tools/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
LOWtests/wpt/tests/tools/webdriver/webdriver/client.py108CODE
LOWtests/wpt/tests/tools/webdriver/webdriver/client.py161CODE
LOWtests/wpt/tests/tools/webdriver/webdriver/client.py219CODE
LOW…/tests/tools/webdriver/webdriver/bidi/modules/input.py61CODE
LOW…/tests/tools/webdriver/webdriver/bidi/modules/input.py127CODE
LOW…/tests/tools/webdriver/webdriver/bidi/modules/input.py157CODE
LOW…/tests/tools/webdriver/webdriver/bidi/modules/input.py187CODE
LOW…ests/tools/webdriver/webdriver/bidi/modules/storage.py50CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/server.py145CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/server.py950CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/handlers.py507CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/response.py100CODE
LOW…/wpt/tests/tools/wptserve/wptserve/sslutils/openssl.py218CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/cgi/cgi.py332CODE
LOWtests/wpt/tests/tools/wave/network/http_handler.py13CODE
LOWtests/wpt/tests/tools/wave/data/session.py17CODE
22 more matches not shown…
Redundant / Tautological Comments40 hits · 60 pts
SeverityFileLineSnippetContext
LOWpython/servo/testing_commands.py866 # Write the file out againCOMMENT
LOWpython/servo/package_commands.py551 # Check if the working directory is cleanCOMMENT
LOWpython/servo/platform/build_target.py157 # Check if the NDK version is 29COMMENT
LOWpython/servo/devtools_tests/utils.py25# Set this to true to log requests in the internal web servers.COMMENT
LOWpython/tidy/tidy.py953 # Check if config file existsCOMMENT
LOWtests/wpt/tests/.azure-pipelines.yml24# Set safaridriver_diagnose to true to enable safaridriver diagnostics. TheCOMMENT
LOWtests/wpt/tests/webtransport/handlers/server-drain.py15 # Check if 'drain' appears anywhere in the query stringCOMMENT
LOW⚡tests/wpt/tests/tools/wpt/browser.py1098 # Check if this revision number exists and use it if it does.COMMENT
LOWtests/wpt/tests/tools/wpt/browser.py1279 # Check if a file exists containing the matching ChromeDriver version download URL.COMMENT
LOWtests/wpt/tests/tools/wpt/browser.py1571 # Check if the user has given a Chromium binary.COMMENT
LOW…s/tools/third_party/h2/examples/asyncio/wsgi-server.py227 # Check if the body is done. If it is, this is really easy! Again,COMMENT
LOW…/wpt/tests/tools/third_party/h2/src/h2/frame_buffer.py75 # Check if we're in the middle of a headers block. If we are, thisCOMMENT
LOW…ts/wpt/tests/tools/third_party/attrs/src/attr/_make.py746 # Check if the pre init method has more arguments than just `self`COMMENT
LOW…/tools/third_party/pywebsocket3/pywebsocket3/stream.py575 # Set this to any positive integer to limit maximum size of data inCOMMENT
LOW…/tests/tools/third_party/pytest/testing/test_tmpdir.py182 # Check if the whole directory is removedCOMMENT
LOW…/tests/tools/third_party/pytest/testing/test_tmpdir.py214 # Check if the whole directory is keptCOMMENT
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py1027 # Check if the null byte gets replacedCOMMENT
LOW…wpt/tests/tools/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
LOWtests/wpt/tests/tools/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
LOW…ts/tools/third_party/html5lib/html5lib/_inputstream.py871 # Check if the attr name is charsetCOMMENT
LOW…sts/tools/third_party/html5lib/html5lib/html5parser.py948 # Set this to the default handlerCOMMENT
LOW…ests/tools/third_party/html5lib/html5lib/_tokenizer.py234 # Add token to the queue to be yieldedCOMMENT
LOWtests/wpt/tests/tools/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
LOWtests/wpt/tests/tools/wptserve/wptserve/response.py206 # Read the file in chunks rather than reading the whole file intoCOMMENT
LOW…s/wpt/tests/core-aam/aamtests/support/atspi_wrapper.py267 # Check if events are ready to be processed.COMMENT
LOWtests/wpt/tests/xhr/resources/access-control-cookie.py11 # Set cookie to expire yesterdayCOMMENT
LOWtests/wpt/tests/xhr/resources/access-control-cookie.py15 # Set cookie to expire tomorrowCOMMENT
LOWtests/wpt/tests/resource-timing/sleep.py11 # Check if the padding was sufficient; if not, sleep again.COMMENT
LOW…s/wpt/tests/common/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
LOW…s/storage-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
LOWcomponents/script_bindings/third_party/ply/ply/yacc.py2205 # Loop over the items in C and each grammar symbolsSTRING
LOW.github/workflows/release-github.yml38 # Check if the tag starts with a v and is cargo-semver compatible, i.e `vX.Y.Z` withCOMMENT
TODO Padding36 hits · 52 pts
SeverityFileLineSnippetContext
LOWtests/wpt/tests/tools/lint/rules.py88# TODO: Add tests for this ruleSTRING
LOW…/tests/css/css-animations/parsing/animation-valid.html35// TODO: Add test with a single negative time.COMMENT
LOW…/tests/css/css-animations/parsing/animation-valid.html36// TODO: Add test with a single timing-function keyword.COMMENT
LOW…ests/css/css-transitions/parsing/transition-valid.html30// TODO: Add test with a single negative time.COMMENT
LOW…ests/css/css-transitions/parsing/transition-valid.html31// TODO: Add test with a single timing-function keyword.COMMENT
LOW…s/css/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
LOW…pt/tests/webdriver/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
LOWtests/wpt/tests/webnn/helper-validation.window.js107// TODO: Add test cases for 'float16' data type.COMMENT
LOW…amework/opengl/simplereference/sglrReferenceContext.js2835 // TODO: implement CUBE_MAP, 2D_ARRAY, 3D, CUBE_MAP_ARRAYCOMMENT
LOW…/tests/deqp/modules/shared/glsBuiltinPrecisionTests.js3034 // TODO: Fix loggingCOMMENT
LOW…tests/deqp/modules/shared/glsRandomUniformBlockCase.js208 /** @type {glsUniformBlockCase.VarType} */ var type = this.generateType(rnd, 0, true); //TODO: implement this.COMMENT
LOW…sts/deqp/functional/gles3/es3fPrimitiveRestartTests.js311 //TODO: implementCOMMENT
LOW…/tests/deqp/functional/gles3/es3fSamplerObjectTests.js34 // TODO: implement glsSamplerObjectTest and validate constructorsCOMMENT
LOW…t/webgl/tests/deqp/functional/gles3/es3fFboTestUtil.js473 // TODO: implement rrVertexAttrib.readVertexAttribFloatCOMMENT
LOW…ests/deqp/functional/gles3/es3fFramebufferBlitTests.js232 // TODO: implementCOMMENT
LOW…tests/deqp/functional/gles3/es3fFragmentOutputTests.js230 // TODO: implement?COMMENT
LOWcomponents/layout/query.rs505 // TODO: implement subgridCOMMENT
LOWcomponents/layout/taffy/stylo_taffy/convert.rs63 // TODO: implement other values in TaffyCOMMENT
LOWcomponents/layout/taffy/stylo_taffy/convert.rs85 // TODO: implement other values in TaffyCOMMENT
LOWcomponents/script/dom/indexeddb/key.rs810 // TODO: implement convert_value_to_multientry_keyCOMMENT
LOWcomponents/script/dom/abort/abortsignal.rs42/// TODO: implement algorithms at call point,COMMENT
LOW…nents/script/dom/html/form_controls/htmlformelement.rs1578 // TODO: implement other types of form associated elementsCOMMENT
LOW…ents/script/dom/serviceworker/serviceworker_manager.rs748 // TODO: implement all steps precisely.COMMENT
LOWcomponents/script/dom/fullscreen/lib.rs97 // TODO: implement screen orientation APICOMMENT
LOW⚡components/storage/indexeddb/mod.rs2053 // TODO: implement connections.COMMENT
LOW⚡components/storage/indexeddb/mod.rs2129 // TODO: implement, probably only on the script side of things.COMMENT
LOWcomponents/storage/indexeddb/mod.rs774 /// TODO: implement the abort algorithm and rollback for the engine.COMMENT
LOWcomponents/storage/indexeddb/mod.rs2279 // TODO: implement the commit algorithm and only reply after the backend hasCOMMENT
LOWcomponents/storage/indexeddb/engines/sqlite.rs95 // TODO: Handle errors properlyCOMMENT
LOW…nts/storage/indexeddb/engines/sqlite/database_model.rs23 // TODO: implement vacuumingCOMMENT
LOWcomponents/canvas/vello_backend.rs246 // TODO: implement a correct way to include Vello types in the memory report.COMMENT
Overly Generic Function Names55 hits · 40 pts
SeverityFileLineSnippetContext
LOW⚡…s/tools/third_party/pywebsocket3/test/test_endtoend.py475 def test_function(client):CODE
LOW⚡…s/tools/third_party/pywebsocket3/test/test_endtoend.py499 def test_function(client):CODE
LOW⚡…s/tools/third_party/pywebsocket3/test/test_endtoend.py515 def test_function(client):CODE
LOW⚡…s/tools/third_party/pywebsocket3/test/test_endtoend.py530 def test_function(client):CODE
LOW⚡…s/tools/third_party/pywebsocket3/test/test_endtoend.py547 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py298 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py320 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py344 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py372 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py402 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py425 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py451 def test_function(client):CODE
LOW…s/tools/third_party/pywebsocket3/test/test_endtoend.py463 def test_function(client):CODE
LOW⚡…pt/tests/tools/third_party/pytest/testing/test_mark.py660 def test_function():STRING
LOW…tests/tools/third_party/pytest/testing/test_recwarn.py267 def test_function(self) -> None:CODE
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py486 pytester.makepyfile("def test_function(): pass")CODE
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py294 def test_function(arg):STRING
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py320 def test_function(arg):STRING
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py345 def test_function(arg):STRING
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py857 def test_function(arg):STRING
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py887 def test_function(arg):STRING
LOW…ests/tools/third_party/pytest/testing/test_junitxml.py918 def test_function(arg):STRING
LOW⚡…sts/tools/third_party/pytest/testing/python/collect.py328 def test_function(arg):CODE
LOW⚡…sts/tools/third_party/pytest/testing/python/collect.py340 def test_function(arg):CODE
LOW…sts/tools/third_party/pytest/testing/python/collect.py355 def test_function(arg):CODE
LOW…sts/tools/third_party/pytest/testing/python/collect.py505 def test_function(arg):STRING
LOW…sts/tools/third_party/pytest/testing/python/collect.py535 def test_function(arg):STRING
LOW…ts/tools/third_party/pytest/testing/python/metafunc.py379 def test_function():CODE
LOW⚡…ts/tools/third_party/pytest/testing/python/metafunc.py1286 def test_function(a, b):STRING
LOW⚡…ts/tools/third_party/pytest/testing/python/metafunc.py1304 def test_function(a, b):STRING
LOW⚡…ts/tools/third_party/pytest/testing/python/metafunc.py1463 def test_function():STRING
LOW…ts/tools/third_party/pytest/testing/python/metafunc.py1107 def test_function(metafunc, pytestconfig):STRING
LOW…ts/tools/third_party/pytest/testing/python/metafunc.py1324 def test_function(a, b):STRING
LOW…ts/tools/third_party/pytest/testing/python/metafunc.py1398 def test_function(a, b):STRING
LOW⚡…ts/tools/third_party/pytest/testing/python/fixtures.py997 def test_function(request, farg):CODE
LOW…ts/tools/third_party/pytest/testing/python/fixtures.py1157 def test_function(keywords):STRING
LOW…/tools/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
LOW…tests/tools/third_party/pytest/src/_pytest/junitxml.py295 def test_function(record_property):STRING
LOW…ools/third_party/pytest/src/_pytest/mark/structures.py281 def test_function():STRING
LOW…ools/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
LOWtests/wpt/tests/tools/third_party/pdf_js/pdf.js10402 value: function getData() {CODE
LOWtests/wpt/tests/tools/third_party/pdf_js/pdf.js11743 value: function getData() {CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/handlers.py406 def handle_request(self, request, response):CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/handlers.py502 def handle_request(self, request, response):CODE
LOWtests/wpt/tests/tools/wave/network/static_handler.py14 def handle_request(self, request, response):CODE
LOWtests/wpt/tests/tools/wave/network/http_handler.py33 def handle_request(self, request, response):CODE
LOW…pt/tests/tools/wave/network/api/general_api_handler.py44 def handle_request(self, request, response):CODE
LOW…pt/tests/tools/wave/network/api/devices_api_handler.py165 def handle_request(self, request, response):CODE
LOW…pt/tests/tools/wave/network/api/results_api_handler.py180 def handle_request(self, request, response):CODE
LOW…t/tests/tools/wave/network/api/sessions_api_handler.py360 def handle_request(self, request, response):CODE
LOW⚡…/wpt/tests/tools/wave/network/api/tests_api_handler.py205 def handle_request(self, request, response):CODE
LOWtests/wpt/tests/tools/serve/serve.py110 def handle_request(self, request, response):CODE
LOWetc/devtools_parser.py68def process_data(input):CODE
Cross-Language Confusion (JS/TS)7 hits · 38 pts
SeverityFileLineSnippetContext
HIGH…t/tests/third_party/test262/harness/doneprintHandle.js9 print(msg);CODE
HIGHtests/wpt/tests/infrastructure/test262/async.js6 print('Test262:AsyncTestComplete');CODE
HIGH…wpt/webgl/tests/deqp/framework/delibs/debase/deMath.js74 * @return {boolean} return True if input is a power-of-two value, false otherwise.COMMENT
HIGHetc/ci/performance/user-agent-js/01.perf-timing.js9 print("[PERF]," + name + "," + t);CODE
HIGHetc/ci/performance/user-agent-js/01.perf-timing.js13 print("[PERF] perf block start")CODE
HIGHetc/ci/performance/user-agent-js/01.perf-timing.js24 print("[PERF] perf block end")CODE
HIGHetc/ci/performance/user-agent-js/01.perf-timing.js36 print("[PERF] Timeout after " + timeout + " min. Force stop");CODE
Slop Phrases8 hits · 16 pts
SeverityFileLineSnippetContext
LOWpython/servo/try_parser.py52 # merged. If you modify any of the fields above, make sure to update this line as well.COMMENT
MEDIUM…sts/wpt/tests/tools/third_party/h2/src/h2/utilities.py202 # overhead of doing this checking. However, it's worth noting that thisCOMMENT
MEDIUM…s/wpt/tests/tools/third_party/attrs/src/attr/_funcs.py482 # Return the class so you can use it as a decorator too.COMMENT
LOW…tests/tools/third_party/pytest/src/_pytest/fixtures.py1063 # We make sure to do this after checking for cached value to avoidCOMMENT
MEDIUM…s/tools/third_party/html5lib/benchmarks/data/html.html1259 is safe because, as mentioned earlier, scripts are run to completion before further events canCODE
LOWtests/wpt/tests/css/cssom/getComputedStyle-pseudo.html265// If you add a pseudo-element identifier here, don't forget to add the corresponding style rule inCOMMENT
LOWcomponents/script_bindings/third_party/ply/ply/yacc.py3137 # Sort all of the actions by line number; make sure to stringifySTRING
MEDIUM…s/script/dom/html/embedded_content/htmlimageelement.rs564 // > sniffing rules, again as mentioned earlier), or if the user agent isCOMMENT
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…/tests/tools/third_party/pathlib2/pathlib2/__init__.py717CODE
MEDIUM…/tests/tools/third_party/pathlib2/pathlib2/__init__.py745CODE
MEDIUM…/tests/tools/third_party/pathlib2/pathlib2/__init__.py775CODE
MEDIUM…/tests/tools/third_party/pathlib2/pathlib2/__init__.py797CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/wpt/tests/reporting/resources/report.py50 # Delete reports as requestedCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/wpt/tests/html/canvas/tools/gentest.py111 # In this example, up to 1234 pixels can differ by at most a difference ofCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/wpt/tests/css/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
LOW…s/wpt/webgl/tests/deqp/framework/common/tcuSkipList.js58 // Example usage:COMMENT