Repository Analysis

servo/servo

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

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of servo/servo, a Rust project with 37,385 GitHub stars. SynthScan v2.0 examined 11,044,363 lines of code across 163300 source files, recording 24597 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 2.4 places this repository in the Likely human-written band.

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

2.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
37.4K
Stars
Rust
Language
11.0M
Lines of Code
163.3K
Files
24.6K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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

CRITICAL 22HIGH 398MEDIUM 693LOW 23484

Directory Score Breakdown

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

Pattern Findings

The scanner identified 24597 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers9145 hits · 8699 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.py269 def add_or_merge_job_to_matrix(self, job: JobConfig) -> None:CODE
LOWpython/servo/build_commands.py319def 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.py635 def allow_target_configuration(original_function: Callable) -> Callable:CODE
LOWpython/servo/command_base.py637 def target_configuration_decorator(self: CommandBase, *args: Any, **kwargs: Any) -> Callable:CODE
LOWpython/servo/command_base.py742 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.py146 def configure_build_environment(self, env: dict[str, str], config: dict[str, Any], topdir: pathlib.Path) -> None:CODE
LOWpython/servo/platform/build_target.py300 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.py35 def _platform_bootstrap_gstreamer(self, target: BuildTarget, force: bool, yes: bool) -> bool:CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py327 def test_sources_list_with_data_no_scripts(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py333 def test_sources_list_with_data_empty_inline_classic_script(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py337 def test_sources_list_with_data_inline_classic_script(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py341 def test_sources_list_with_data_external_classic_script(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py347 def test_sources_list_with_data_empty_inline_module_script(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py351 def test_sources_list_with_data_inline_module_script(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py357 def test_sources_list_with_data_external_module_script(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py365 def test_sources_list_with_static_import_module(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py775 def test_source_content_inline_script(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py780 def test_source_content_external_script(self, run_servoshell, web_server_urls):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py785 def test_source_content_html_file(self, run_servoshell, web_server_urls, test_dir):CODE
LOWpython/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
LOWpython/servo/devtools_tests/test_debugger_tab.py804 def test_source_content_inline_script_with_inner_html(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py811 def test_source_content_inline_script_with_outer_html(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py818 def test_source_content_inline_script_with_domparser(self, run_servoshell):CODE
LOWpython/servo/devtools_tests/test_debugger_tab.py825 def test_source_content_inline_script_with_responsexml(self, run_servoshell, web_server_urls, test_dir):CODE
LOWpython/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
LOWpython/servo/devtools_tests/test_debugger_tab.py540 def test_sources_list_with_eval_but_no_display_url(self, run_servoshell):CODE
9085 more matches not shown…
Over-Commented Block7640 hits · 5234 pts
SeverityFileLineSnippetContext
LOWCargo.toml421lto = "thin"COMMENT
LOWCargo.toml441# webrender_api = { path = "../webrender/webrender_api" }COMMENT
LOWCargo.toml461# stylo_static_prefs = { path = "../stylo/stylo_static_prefs" }COMMENT
LOWdeny.toml21 # The crate `unic-char-property` is unmaintained.COMMENT
LOWdeny.toml41 # We must use this version of quick-xml until `winit` upgrades `sctk`.COMMENT
LOWpython/servo/__init__.py1# Copyright 2013 The Servo Project Developers. See the COPYRIGHTCOMMENT
LOWpython/servo/platform/build_target.py261COMMENT
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.py761 # a_domain.pop();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…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
LOW…der/execution/expression/call/builtin/texture_utils.js2521 // result was not as expected:COMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js2541 // a: mip(0) at: [ 2, 10, 0], weight: 0.52740 | a: mip(0) at: [ 2, 10, 0], weight:COMMENT
LOW…der/execution/expression/call/builtin/texture_utils.js2561 // In other words.COMMENT
7580 more matches not shown…
Fake / Example Data2392 hits · 2721 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
LOWtests/html/lipsum.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/lipsum.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/lipsum.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/lipsum.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/lipsum.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/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
LOWtests/html/percentage-body-height.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/percentage-body-height.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/percentage-body-height.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/percentage-body-height.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/percentage-body-height.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/percentage-body-height.html15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/percentage-body-height.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/percentage-body-height.html17Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/percentage-body-height.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/percentage-body-height.html25Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/percentage-body-height.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/percentage-body-height.html27Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/form-control-visuals.html28 <input type="text" placeholder="placeholder"><br>CODE
LOWtests/html/form-control-visuals.html29 <input type="password"placeholder="placeholder"><br>CODE
LOWtests/html/form-control-visuals.html30 <input type="text" placeholder="placeholder" disabled><br>CODE
LOWtests/html/form-control-visuals.html31 <input type="password" placeholder="placeholder" disabled><br>CODE
LOWtests/html/form-control-visuals.html39 Field: <input type="text" placeholder="placeholder"><br>CODE
LOWtests/html/form-control-visuals.html40 Field: <input type="password"placeholder="placeholder"><br>CODE
LOWtests/html/form-control-visuals.html41 Field: <input type="text" placeholder="placeholder" disabled><br>CODE
LOWtests/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
LOWtests/html/lipsum-large.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum-large.html5Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc volutpat feugiat fermentum. Curabitur luctus consequat urnCODE
LOWtests/html/lipsum-large.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
LOWtests/html/lipsum-large.html7Quisque eleifend risus non metus gravida ac semper odio aliquam. Praesent sed risus in tellus congue convallis. Quisque CODE
2332 more matches not shown…
Structural Annotation Overuse897 hits · 1569 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
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 DataError.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 DataError,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…documents/resources/moving-between-documents-iframe.py21 # Step 1: Start parsing.COMMENT
LOW…erestfor-pseudo-element-insertion-order.tentative.html18 // Step 1: Add ::afterCOMMENT
LOW…erestfor-pseudo-element-insertion-order.tentative.html22 // Step 2: Add ::interest-buttonCOMMENT
LOW…erestfor-pseudo-element-insertion-order.tentative.html26 // Step 3: Add ::beforeCOMMENT
LOW…ideo-element/video-loading-lazy-load-when-visible.html21 // Step 1: Not visible => check initial dimensions.COMMENT
LOW…ideo-element/video-loading-lazy-load-when-visible.html26 // Step 2: Scroll into view => video should load and dimensions should change.COMMENT
LOW…eo-element/video-loading-lazy-poster-when-visible.html36 // Step 1: Not visible => check that poster hasn't loaded.COMMENT
LOW…eo-element/video-loading-lazy-poster-when-visible.html43 // Step 2: Scroll into view => poster should load.COMMENT
LOW…mage/triple-nested-layoutsubtree-canvas.tentative.html28 // Step 1: Request initial paint of all canvases.COMMENT
LOW…mage/triple-nested-layoutsubtree-canvas.tentative.html38 // Step 2: Reset tracking and wait a frame to ensure clean state.COMMENT
LOW…mage/triple-nested-layoutsubtree-canvas.tentative.html43 // Step 3: Change a div inside the innermost canvas.COMMENT
LOW…ology-0/document-base-url-about-srcdoc.https.window.js17 // Step 1: If document is an iframe srcdoc document, then return theCOMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html46 // Step 1: close the presentation connection in "connected" stateCOMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html53 // Step 2: check a connection closed by the controlling user agentCOMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html63 // Step 3: try to close the presentation connection in "closed" state (nothing should happen)COMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html72 // Step 4: check a connection closed due to aborting the nested browsing contextCOMMENT
LOW…ConnectionList_onconnectionavailable_receiving-ua.html66 // Step 1: check the first connection in "connected" stateCOMMENT
LOW…ConnectionList_onconnectionavailable_receiving-ua.html73 // Step 2: check the connection in "closed" stateCOMMENT
LOW…ConnectionList_onconnectionavailable_receiving-ua.html79 // Step 3: check the first connection when reconnectedCOMMENT
837 more matches not shown…
Verbosity Indicators832 hits · 1475 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…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 DataError.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 DataError,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…documents/resources/moving-between-documents-iframe.py21 # Step 1: Start parsing.COMMENT
LOW…erestfor-pseudo-element-insertion-order.tentative.html18 // Step 1: Add ::afterCOMMENT
LOW…erestfor-pseudo-element-insertion-order.tentative.html22 // Step 2: Add ::interest-buttonCOMMENT
LOW…erestfor-pseudo-element-insertion-order.tentative.html26 // Step 3: Add ::beforeCOMMENT
LOW…ideo-element/video-loading-lazy-load-when-visible.html21 // Step 1: Not visible => check initial dimensions.COMMENT
LOW…ideo-element/video-loading-lazy-load-when-visible.html26 // Step 2: Scroll into view => video should load and dimensions should change.COMMENT
LOW…eo-element/video-loading-lazy-poster-when-visible.html36 // Step 1: Not visible => check that poster hasn't loaded.COMMENT
LOW…eo-element/video-loading-lazy-poster-when-visible.html43 // Step 2: Scroll into view => poster should load.COMMENT
LOW…mage/triple-nested-layoutsubtree-canvas.tentative.html28 // Step 1: Request initial paint of all canvases.COMMENT
LOW…mage/triple-nested-layoutsubtree-canvas.tentative.html38 // Step 2: Reset tracking and wait a frame to ensure clean state.COMMENT
LOW…mage/triple-nested-layoutsubtree-canvas.tentative.html43 // Step 3: Change a div inside the innermost canvas.COMMENT
LOW…ology-0/document-base-url-about-srcdoc.https.window.js17 // Step 1: If document is an iframe srcdoc document, then return theCOMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html46 // Step 1: close the presentation connection in "connected" stateCOMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html53 // Step 2: check a connection closed by the controlling user agentCOMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html63 // Step 3: try to close the presentation connection in "closed" state (nothing should happen)COMMENT
LOW…pport/PresentationConnection_onclose_receiving-ua.html72 // Step 4: check a connection closed due to aborting the nested browsing contextCOMMENT
772 more matches not shown…
Unused Imports1152 hits · 1066 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/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.py29CODE
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
LOWtests/wpt/tests/tools/manifest/vcs.py18CODE
LOWtests/wpt/tests/tools/manifest/test262.py1CODE
LOWtests/wpt/tests/tools/manifest/item.py11CODE
1092 more matches not shown…
Cross-File Repetition194 hits · 970 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/private-aggregation/resources/reports.py0handles post request for reports. retrieves the report from the request body and stores the report in the stash. if cleaSTRING
HIGH…s/wpt/tests/attribution-reporting/resources/reports.py0handles post request for reports. retrieves the report from the request body and stores the report in the stash. if cleaSTRING
HIGH…t/tests/fledge/tentative/resources/real-time-report.py0handles post request for reports. retrieves the report from the request body and stores the report in the stash. if cleaSTRING
HIGH…sts/wpt/tests/private-aggregation/resources/reports.py0handles get request for reports. retrieves and returns all reports from the stash.STRING
HIGH…s/wpt/tests/attribution-reporting/resources/reports.py0handles get request for reports. retrieves and returns all reports from the stash.STRING
HIGH…t/tests/fledge/tentative/resources/real-time-report.py0handles get request for reports. retrieves and returns all reports from the stash.STRING
HIGH…sts/wpt/tests/private-aggregation/resources/reports.py0takes all the reports from the stash and returns them.STRING
HIGH…s/wpt/tests/attribution-reporting/resources/reports.py0takes all the reports from the stash and returns them.STRING
HIGH…t/tests/fledge/tentative/resources/real-time-report.py0takes all the reports from the stash and returns them.STRING
HIGH…sts/wpt/tests/core-aam/aamtests/support/ia2_wrapper.py0:param dom_id: the dom id of the node to test. :param url: the url of the test.STRING
HIGH…s/wpt/tests/core-aam/aamtests/support/atspi_wrapper.py0:param dom_id: the dom id of the node to test. :param url: the url of the test.STRING
HIGH…s/wpt/tests/core-aam/aamtests/support/axapi_wrapper.py0:param dom_id: the dom id of the node to test. :param url: the url of the test.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
134 more matches not shown…
Cross-Language Confusion174 hits · 890 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.py755 args.push(resolve);CODE
HIGH…ols/wptrunner/wptrunner/executors/executorwebdriver.py758 }).apply(null, args);CODE
HIGH…ls/wptrunner/wptrunner/executors/executormarionette.py327 return null;CODE
HIGH…/tests/tools/wptrunner/wptrunner/executors/protocol.py913 .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.py50 response.content = "<script>(window.opener || window.top).postMessage('{0}', '*')</script>".format(result)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
HIGH…html/cross-origin-opener-policy/resources/coop-coep.py47 if (navHistory !== null) {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…ts/webdriver/tests/classic/perform_actions/__init__.py42 window.recordedEvents.push({STRING
HIGH…ebdriver/tests/classic/perform_actions/wheel_events.py147 target: event.target.id || event.target.localName || event.target.documentElement?.localName,STRING
HIGH…ebdriver/tests/classic/perform_actions/wheel_events.py150 window.allEvents.events.push(data);STRING
HIGH…ebdriver/tests/classic/perform_actions/wheel_events.py153 window.allEvents.events.push({STRING
HIGH…ebdriver/tests/classic/perform_actions/wheel_events.py155 target: event.target.id || event.target.localName || event.target.documentElement?.localName,STRING
HIGH…bdriver/tests/classic/perform_actions/pointer_touch.py103 allEvents.events.push({CODE
HIGH…bdriver/tests/classic/perform_actions/pointer_mouse.py265 allEvents.events.push({CODE
HIGH…bdriver/tests/classic/perform_actions/pointer_mouse.py305 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.py65 window.onwheel = () => window.events.push('wheel');CODE
HIGH…sts/webdriver/tests/classic/perform_actions/perform.py66 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.py11 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
HIGH…t/tests/webdriver/tests/classic/execute_script/node.py74 (""" document.implementation.createDocument("", "root", null).createCDATASection("foo") """, "cdata"),CODE
HIGH…tests/webdriver/tests/classic/execute_script/cyclic.py8 arr.push(arr);CODE
HIGH…tests/webdriver/tests/classic/execute_script/cyclic.py39 arr.push(arr);CODE
114 more matches not shown…
Self-Referential Comments220 hits · 631 pts
SeverityFileLineSnippetContext
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…/tests/tools/webtransport/h3/webtransport_h3_server.py255 # 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.py47# 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.py2576 # 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
MEDIUMtests/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
MEDIUM…pt/tests/tools/third_party/more-itertools/docs/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUM…party/more-itertools/more_itertools/tests/test_more.py1737 # Create a non-reversible generator from a sequenceCOMMENT
160 more matches not shown…
Deep Nesting694 hits · 628 pts
SeverityFileLineSnippetContext
LOWpython/servo/testing_commands.py603CODE
LOWpython/servo/visual_studio.py85CODE
LOWpython/servo/visual_studio.py134CODE
LOWpython/servo/util.py48CODE
LOWpython/servo/bootstrap_commands.py144CODE
LOWpython/servo/bootstrap_commands.py178CODE
LOWpython/servo/package_commands.py146CODE
LOWpython/servo/package_commands.py522CODE
LOWpython/servo/gstreamer.py196CODE
LOWpython/servo/try_parser.py107CODE
LOWpython/servo/try_parser.py71CODE
LOWpython/servo/build_commands.py197CODE
LOWpython/servo/command_base.py142CODE
LOWpython/servo/command_base.py434CODE
LOWpython/servo/command_base.py646CODE
LOWpython/servo/command_base.py571CODE
LOWpython/servo/command_base.py572CODE
LOWpython/servo/platform/build_target.py56CODE
LOWpython/servo/platform/build_target.py108CODE
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.py122CODE
LOWpython/servo/devtools_tests/utils.py225CODE
LOWpython/servo/devtools_tests/utils.py265CODE
LOWpython/servo/devtools_tests/utils.py304CODE
LOWpython/servo/devtools_tests/utils.py125CODE
LOWpython/servo/devtools_tests/utils.py272CODE
LOWpython/servo/devtools_tests/utils.py317CODE
LOWpython/wpt/update.py56CODE
LOWpython/wpt/run.py302CODE
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.py495CODE
LOWpython/tidy/tidy.py583CODE
LOWpython/tidy/tidy.py648CODE
LOWpython/tidy/tidy.py867CODE
LOWpython/tidy/tidy.py909CODE
LOWpython/tidy/tidy.py1031CODE
LOWpython/tidy/tidy.py1161CODE
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.py82CODE
LOW…/tests/tools/webtransport/h3/webtransport_h3_server.py131CODE
LOWtests/wpt/tests/tools/web_features/web_feature_map.py110CODE
LOW…ts/wpt/tests/tools/web_features/tests/test_manifest.py63CODE
LOW…ts/wpt/tests/tools/web_features/tests/test_manifest.py73CODE
LOW…ts/wpt/tests/tools/web_features/tests/test_manifest.py138CODE
634 more matches not shown…
Decorative Section Separators260 hits · 606 pts
SeverityFileLineSnippetContext
MEDIUMtests/wpt/tests/svg/path/parsing/arc-commands.html77 // ●─────────────●COMMENT
MEDIUMtests/wpt/tests/tools/third_party/packaging/noxfile.py173# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/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
MEDIUMtests/wpt/tests/css/css-variables/variable-cycles.html343 // ┌──────────────┐COMMENT
MEDIUMtests/wpt/tests/css/css-variables/variable-cycles.html351 // ┌───┐ ┌────────┐ ┌───┐COMMENT
MEDIUMtests/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…s-iframe/fenced-frame-bypass.tentative.https.window.js16// ┌─────────────────────┴───────┐COMMENT
MEDIUM…s-iframe/fenced-frame-bypass.tentative.https.window.js17// ┌─┼────────────────────────┐ D (credentialless-iframe)COMMENT
MEDIUM…s-iframe/fenced-frame-bypass.tentative.https.window.js21// └──────────────────────────┘COMMENT
MEDIUMtests/wpt/tests/common/dispatcher/dispatcher.js58// ┌───────────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┐COMMENT
MEDIUMtests/wpt/tests/common/dispatcher/dispatcher.js60// ├───────────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼────┤COMMENT
MEDIUMtests/wpt/tests/common/dispatcher/dispatcher.js62// └───────────┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴────┘COMMENT
MEDIUM…report-event-cross-origin-nested-urn-iframe.https.html15 // ┌(test)─────────────────┐COMMENT
MEDIUM…report-event-cross-origin-nested-urn-iframe.https.html20 // │││└─────────────────┘│││COMMENT
MEDIUM…report-event-cross-origin-nested-urn-iframe.https.html21 // ││└───────────────────┘││COMMENT
MEDIUM…report-event-cross-origin-nested-urn-iframe.https.html22 // │└─────────────────────┘│COMMENT
MEDIUM…report-event-cross-origin-nested-urn-iframe.https.html23 // └───────────────────────┘COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html15 // ┌(test)──────────────────────┐COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html17 // ││┌(b.com)──[iframe]───────┐││COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html18 // │││┌(b.com)─[iframe]──────┐│││COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html20 // │││└──────────────────────┘│││COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html21 // ││└────────────────────────┘││COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html22 // │└──────────────────────────┘│COMMENT
MEDIUM…rame/fence-report-event-cross-origin-nested.https.html23 // └────────────────────────────┘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
200 more matches not shown…
Excessive Try-Catch Wrapping493 hits · 589 pts
SeverityFileLineSnippetContext
MEDIUMpython/servo/testing_commands.py780 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.py338 except Exception:CODE
MEDIUMpython/servo/package_commands.py514 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
MEDIUMpython/servo/build_commands.py77 print(f"Error: Couldn't find LLVM version in output of `rustc --version --verbose`: `{result.stdout}`")CODE
LOWpython/servo/build_commands.py78 except Exception as e:CODE
MEDIUMpython/servo/build_commands.py79 print(f"Error: Failed to determine rustc version: {e}")CODE
LOWpython/servo/build_commands.py360 except Exception:CODE
LOWpython/servo/build_commands.py381 except Exception:CODE
MEDIUMpython/servo/command_base.py421 print("Error: Cross-compiling servo on windows requires the Ninja tool to be installed and in PATH.")CODE
MEDIUMpython/servo/platform/build_target.py203 print(f"Error: Can't determine LLVM prebuilt. Unknown cpu type {cpu_type}.")CODE
LOWpython/servo/devtools_tests/conftest.py96 except Exception:CODE
LOWpython/servo/devtools_tests/conftest.py164 except Exception:CODE
LOWpython/servo/devtools_tests/utils.py62 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py246 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py280 except Exception as e:CODE
LOWpython/servo/devtools_tests/utils.py325 except Exception as e:CODE
MEDIUMpython/servo/devtools_tests/utils.py57def on_target(data):CODE
LOWpython/wpt/test.py91 except Exception:CODE
LOWpython/wpt/grouping_formatter.py400 except Exception as exception:CODE
LOWpython/wpt/ohos_webdriver_test.py351 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py360 except Exception:CODE
LOWpython/wpt/ohos_webdriver_test.py368 except Exception:CODE
LOWpython/wpt/ohos_webdriver_test.py371 except Exception:CODE
LOWpython/wpt/ohos_webdriver_test.py471 except Exception as e:CODE
LOWpython/wpt/ohos_webdriver_test.py481 except Exception as e:CODE
LOWpython/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.py574 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.py455 except Exception as e:CODE
LOW…/tests/tools/webtransport/h3/webtransport_h3_server.py540 except Exception as e:CODE
LOWtests/wpt/tests/tools/web_features/manifest.py141 except Exception as e:CODE
LOW…ts/wpt/tests/tools/web_features/tests/test_manifest.py211 except Exception as e:CODE
LOWtests/wpt/tests/tools/lint/lint.py755 except Exception:CODE
LOWtests/wpt/tests/tools/lint/lint.py778 except Exception as e:CODE
433 more matches not shown…
AI Slop Vocabulary119 hits · 275 pts
SeverityFileLineSnippetContext
LOWpython/servo/command_base.py686 # 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.sh36# Sync the harness filesCOMMENT
LOWtests/wpt/tests/tools/wpt/utils.py75 # 1. When uncompressing on a Windows system we just call to extract().COMMENT
LOWtests/wpt/tests/tools/wpt/utils.py78 # which are useless here, so just call to extract() without setting any specific file permission in thaCOMMENT
LOWtests/wpt/tests/tools/wpt/testfiles.py45 # 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
MEDIUMtests/wpt/tests/tools/third_party/attrs/pyproject.toml209 "TRY", # exception best practices don't matter in testsSTRING
MEDIUMtests/wpt/tests/tools/third_party/attrs/pyproject.toml211 "B904", # exception best practices don't matter in testsSTRING
MEDIUMtests/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.py750 # be wrapped to some harness to emulate the WebDriver Classic async script execution. The scriptCOMMENT
MEDIUM…ols/wptrunner/wptrunner/executors/executorwebdriver.py122 # harness remains pausedCOMMENT
MEDIUM…ools/wptrunner/wptrunner/executors/executorselenium.py384 # 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…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
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
59 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.js1050 return window.test_driver_internal.bidi.log.entry_added.subscribe(params);CODE
CRITICALtests/wpt/tests/resources/testdriver.js1063 return window.test_driver_internal.bidi.log.entry_added.on(callback);CODE
CRITICALtests/wpt/tests/resources/testdriver.js1075 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.rs126 self.inner.sink.sink.current_line.get() as u32CODE
CRITICALcomponents/script/dom/event/pointerevent.rs251 init.parent.parent.parent.view.as_deref(),CODE
CRITICALcomponents/script/dom/event/wheelevent.rs227 init.parent.parent.parent.view.as_deref(),CODE
Modern Structural Boilerplate109 hits · 108 pts
SeverityFileLineSnippetContext
LOWpython/servo/testing_commands.py807 def update_webgl(self, version: str | None = None) -> None:CODE
LOWpython/servo/try_parser.py71 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/utils.py17logger = 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
LOW…tools/third_party/websockets/src/websockets/version.py6__all__ = ["tag", "version", "commit"]CODE
49 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 Patterns80 hits · 76 pts
SeverityFileLineSnippetContext
LOWpython/servo/command_base.py742CODE
LOWpython/mach/mach/mixin/process.py45CODE
LOWtests/wpt/tests/eventsource/resources/cors.py11CODE
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.py356CODE
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.py868CODE
LOW…pt/tests/tools/wptrunner/wptrunner/browsers/firefox.py977CODE
LOW…/tools/wptrunner/wptrunner/browsers/firefox_android.py228CODE
LOW…s/wpt/tests/tools/wptrunner/wptrunner/browsers/base.py298CODE
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py1108CODE
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py1311CODE
LOW…ls/wptrunner/wptrunner/executors/executormarionette.py1412CODE
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.py146CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/server.py924CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/handlers.py507CODE
LOWtests/wpt/tests/tools/wptserve/wptserve/response.py101CODE
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
LOW…/wpt/tests/webvtt/parsing/file-parsing/tools/parser.py688CODE
LOW…/wpt/tests/common/security-features/subresource/xhr.py8CODE
20 more matches not shown…
Redundant / Tautological Comments37 hits · 55 pts
SeverityFileLineSnippetContext
LOWpython/servo/testing_commands.py856 # Write the file out againCOMMENT
LOWpython/servo/package_commands.py524 # Check if the working directory is cleanCOMMENT
LOWpython/servo/platform/build_target.py168 # Check if the NDK version is 28COMMENT
LOWpython/servo/devtools_tests/utils.py23# Set this to true to log requests in the internal web servers.COMMENT
LOWpython/tidy/tidy.py910 # Check if config file existsCOMMENT
LOWtests/wpt/tests/.azure-pipelines.yml24# Set safaridriver_diagnose to true to enable safaridriver diagnostics. TheCOMMENT
LOWtests/wpt/tests/tools/wpt/browser.py1099 # Check if this revision number exists and use it if it does.COMMENT
LOWtests/wpt/tests/tools/wpt/browser.py1280 # Check if a file exists containing the matching ChromeDriver version download URL.COMMENT
LOWtests/wpt/tests/tools/wpt/browser.py1572 # 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.py207 # Read the file in chunks rather than reading the whole file intoCOMMENT
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.py199 # 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
TODO Padding34 hits · 47 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.js18 // 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…orker/clients-matchall-include-uncontrolled.https.html69// TODO: Add tests for clients.matchAll for dedicated workers.COMMENT
LOWtests/wpt/tests/webnn/helper-validation.window.js40// 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.rs480 // TODO: implement line namesCOMMENT
LOWcomponents/layout/query.rs515 // TODO: implement subgridCOMMENT
LOWcomponents/layout/taffy/stylo_taffy/convert.rs30 // TODO: implement other values in TaffyCOMMENT
LOWcomponents/layout/taffy/stylo_taffy/convert.rs49 // TODO: implement other values in TaffyCOMMENT
LOWcomponents/script/serviceworker_manager.rs684 // TODO: implement all steps precisely.COMMENT
LOWcomponents/script/indexeddb.rs824 // TODO: implement convert_value_to_multientry_keyCOMMENT
LOWcomponents/script/dom/abort/abortsignal.rs39/// TODO: implement algorithms at call point,COMMENT
LOWcomponents/script/dom/html/htmlformelement.rs1567 // TODO: implement other types of form associated elementsCOMMENT
LOWcomponents/script/dom/fullscreen/lib.rs94 // TODO: implement screen orientation APICOMMENT
LOWcomponents/storage/indexeddb/mod.rs1969 // TODO: implement connections.COMMENT
LOWcomponents/storage/indexeddb/mod.rs2045 // TODO: implement, probably only on the script side of things.COMMENT
LOWcomponents/storage/indexeddb/mod.rs2213 // TODO: implement the commit algorithm and only reply after the backend hasCOMMENT
LOWcomponents/storage/indexeddb/mod.rs2255 // TODO: implement the abort algorithm and rollback for the engine.COMMENT
LOWcomponents/storage/indexeddb/engines/sqlite.rs95 // TODO: Handle errors properlyCOMMENT
LOW…nts/storage/indexeddb/engines/sqlite/database_model.rs23 // TODO: implement vacuumingCOMMENT
LOWcomponents/devtools/actors/console.rs386 // TODO: implement autocompletion like onAutocomplete inCOMMENT
Overly Generic Function Names57 hits · 42 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
LOW…sts/wpt/tests/private-aggregation/resources/reports.py78def handle_request(request: Request) -> Response:CODE
LOW…t/tests/fledge/tentative/resources/real-time-report.py74def handle_request(request: 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 Phrases9 hits · 17 pts
SeverityFileLineSnippetContext
LOWpython/servo/try_parser.py50 # 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
LOW…fledge/tentative/interest-group-update.https.window.js44 // with a placeholder 'UUID-PLACEHOLDER' and make sure to replace itCOMMENT
LOWcomponents/script_bindings/third_party/ply/ply/yacc.py3137 # Sort all of the actions by line number; make sure to stringifySTRING
MEDIUMcomponents/script/dom/html/htmlimageelement.rs604 // > 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 Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/wpt/tests/css/css-scroll-snap/support/common.js28// Example 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