Repository Analysis

lynx-family/lynx

Empower the Web community and invite more to build across platforms.

6.2 Low AI signal View on GitHub
6.2
Adjusted Score
6.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
14,890
Stars
C++
Language
1,053,205
Lines of Code
7206
Files
5742
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 9HIGH 116MEDIUM 322LOW 5295

Pattern Findings

5742 matches across 19 categories. Click a row to expand file-level details.

Over-Commented Block2975 hits · 2928 pts
SeverityFileLineSnippet
LOWtools/cliff.toml1# git-cliff ~ default configuration file
LOWtools/rtf/core/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/options/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/checker/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/target/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/template/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/utils/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/utils/emu_env_setup.py81 # self.is_root_rule = True
LOWtools/rtf/core/container/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/core/builder/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/plugins/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/plugin_manager/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/args_parser/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/rtf/cli/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/config/__init__.py1# Copyright 2025 The Lynx Authors. All rights reserved.
LOWtools/lldb/lynx_lldb.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/feature_count/base.py61 return all_features
LOWtools/feature_count/base.py101def check_elements(last_features):
LOWtools/feature_count/base.py201# ]
LOWtools/feature_count/base.py221# "feature_2" : Feature("feature_2", Language.TypeScript, kFeatureUnknownValue),
LOWtools/feature_count/base.py261 feature.value = 0
LOWtools/feature_count/base.py301# Feature("feature_3", Language.Java, 3),
LOWtools/feature_count/base.py321 spec_features = get_all_features_from_spec(spec_file)
LOWtools/feature_count/base.py341 # Feature("feature_0", Language.Objc, 0),
LOWtools/error_code/checker/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/error_code/generator/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/error_code/generator/native/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/error_code/generator/harmony/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/error_code/generator/typescript/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/error_code/generator/android/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/error_code/generator/darwin/__init__.py1# Copyright 2024 The Lynx Authors. All rights reserved.
LOWtools/api/__init__.py1# Copyright 2025 The Lynx Authors. All rights reserved.
LOWtools/api/docs/__init__.py1# Copyright 2025 The Lynx Authors. All rights reserved.
LOWtools/api/parser/__init__.py1# Copyright 2025 The Lynx Authors. All rights reserved.
LOWtools/api/parser/ts_morph/__init__.py1# Copyright 2025 The Lynx Authors. All rights reserved.
LOWtools/api/parser/doxygen/__init__.py1# Copyright 2025 The Lynx Authors. All rights reserved.
LOWtools/css_generator/css_parser_gn_generator.py21 or files[i].find('BUILD.gn') != -1):
LOWtools/css_generator/css_parser_gn_generator.py41 # ignore_line_start = True
LOWcore/renderer/template_entry.h1// Copyright 2023 The Lynx Authors. All rights reserved.
LOWcore/renderer/page_proxy.h1// Copyright 2021 The Lynx Authors. All rights reserved.
LOWcore/renderer/template_assembler.h1// Copyright 2019 The Lynx Authors. All rights reserved.
LOWcore/renderer/template_assembler.h21#include "base/include/fml/task_runner.h"
LOWcore/renderer/js_bundle_holder_impl.h1// Copyright 2024 The Lynx Authors. All rights reserved.
LOWcore/renderer/template_entry_holder.h1// Copyright 2024 The Lynx Authors. All rights reserved.
LOWcore/renderer/pipeline/pipeline_lifecycle_observer.h1// Copyright 2025 The Lynx Authors. All rights reserved.
LOWcore/renderer/pipeline/pipeline_context_manager.h1// Copyright 2025 The Lynx Authors. All rights reserved.
LOWcore/renderer/pipeline/pipeline_context.h1// Copyright 2025 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/dynamic_css_styles_manager.h1// Copyright 2021 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_utils.h1// Copyright 2023 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/unit_handler.h1// Copyright 2019 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_property_bitset.h1// Copyright 2020 The Chromium Authors
LOWcore/renderer/css/css_property_bitset.h21// clang-format off
LOWcore/renderer/css/dynamic_direction_styles_manager.h1// Copyright 2021 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/text_attributes.h1// Copyright 2020 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_keyframes_token.h1// Copyright 2019 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_value.h1// Copyright 2019 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_parser_token.h1// Copyright 2019 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/measure_context.h1// Copyright 2021 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_style_sheet_manager.h1// Copyright 2019 The Lynx Authors. All rights reserved.
LOWcore/renderer/css/css_fragment.h1// Copyright 2019 The Lynx Authors. All rights reserved.
2915 more matches not shown…
Hyper-Verbose Identifiers961 hits · 877 pts
SeverityFileLineSnippet
LOWtools/buildtools_helper.py9def directory_really_is_buildtools(directory):
LOWtools/rtf/core/checker/native_coverage_checker.py27 def __get_file_to_changed_map(self, count):
LOWtools/rtf/core/checker/android_coverage_checker.py17 def __get_file_to_changed_map(self, count):
LOWtools/rtf/core/utils/emu_env_setup.py70 def start_real_device_use_root(self):
LOWtools/rtf/core/utils/shell_runner.py27def run_command_with_error_log(cmd, shell=True, cwd=None, silent=False, error_msg=None):
LOWtools/rtf/core/container/native_ut_container.py89 def wait_for_execution_finish(self, timeout=20 * 60):
LOWtools/config/gen_config.py138def _gen_lynx_config_constants(configs: list[Config]):
LOWtools/config/gen_config.py208def _gen_compile_options_types(options: list[Config], export_options: list[Config]):
LOWtools/config/config_utils.py85def sort_by_deprecated_and_alphabetical(configs):
LOWtools/ios_tools/cocoapods_publish_helper_test.py38 def test_use_local_pod_source_keeps_http_source_format(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py90 def test_generate_zip_file_quotes_shell_arguments(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py186 def test_publish_component_skips_existing_pod_version(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py195 def test_publish_component_treats_confirmed_version_after_failure_as_success(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py207 def test_publish_component_retries_with_exponential_backoff(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py229 def test_publish_component_raises_after_retry_attempts(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py241 def test_build_publish_command_quotes_shell_arguments(self):
LOWtools/ios_tools/cocoapods_publish_helper_test.py256 def test_is_pod_version_published_ignores_decode_failure(self):
LOWtools/ios_tools/cocoapods_publish_helper.py48def get_selected_podspec_names(src_dir, component):
LOWtools/ios_tools/cocoapods_publish_helper.py84def wait_before_publish_retry(component, version, attempt, delay_seconds):
LOWtools/ios_tools/cocoapods_publish_helper.py139def validate_storage_type_options(storage_type):
LOWtools/ios_tools/cocoapods_publish_helper.py275def prepare_cocoapods_publish_source(
LOWtools/ios_tools/cocoapods_publish_helper.py314def publish_component_to_local_source(component,local_pod_source_name):
LOWtools/feature_count/base.py51def get_last_features_frome_cxx_feature_h():
LOWtools/feature_count/base.py74def add_empty_feature_to_last_features(last_features):
LOWtools/feature_count/base.py147def check_spec_features_valid(spec_features):
LOWtools/feature_count/base.py178def get_all_features_from_spec(spec_file):
LOWtools/feature_count/base.py223def reset_and_remove_features_if_need(last_features, spec_features):
LOWtools/feature_count/native_generator.py71def generate_to_string_header(file):
LOWtools/feature_count/native_generator.py86def generate_to_string_footer(file):
LOWtools/error_code/common.py132def meta_data_value_for_sub_code(meta_data, code, behavior):
LOWtools/error_code/checker/metadata_checker.py27 def declared_metadata_keywords(self):
LOWtools/error_code/checker/metadata_checker.py113 def _check_metadata_default_and_values(self, index, metadata):
LOWtools/error_code/generator/base_generator.py51 def _register_child_generator(self, generator):
LOW…rror_code/generator/harmony/sub_code_file_generator.py84 def _value_to_immediate_param(self, meta_data, data_value):
LOW…rror_code/generator/harmony/sub_code_file_generator.py102 def _value_list_code_for_enum(self, meta_data, value_list):
LOW…rror_code/generator/android/sub_code_file_generator.py160 def _value_to_immediate_param(self, meta_data, data_value):
LOW…rror_code/generator/android/sub_code_file_generator.py177 def _value_list_code_for_enum(self, meta_data, value_list):
LOWtools/error_code/generator/darwin/darwin_base.py46def data_value_to_immediate_param(meta_data, data_value):
LOWtools/error_code/generator/darwin/darwin_base.py63def _get_value_list_code_for_enum(meta_data, value_list):
LOWtools/api/api_doc.py40def store_object_in_api_desc_dict(
LOWtools/api/api_doc.py68def get_api_data_store_by_desc(platform_object_dict: dict) -> dict:
LOWtools/api/api_doc.py91def _init_native_api_deault_template() -> Template:
LOWtools/api/api_doc.py107def generate_docs_from_api_dict(api_desc_dict: dict) -> bool:
LOWtools/api/env_setup.py65def guarantee_generated_files():
LOWtools/api/parser/ts_morph/harmony_parser.py155 def _get_oh_package_main_file(self, oh_package_path: str):
LOWtools/api/parser/ts_morph/harmony_parser.py187 def _parse_single_file_content_exports(
LOWtools/api/parser/ts_morph/harmony_parser.py247 def _parse_ets_exports_recursive(self) -> dict:
LOWtools/api/parser/ts_morph/api-parser.ts358export function buildConstructorPrototype(
LOWtools/api/parser/doxygen/common_parse.py21def briefdescription_parse_in_online(breifdescription) -> str:
LOWtools/css_generator/scripts/generate-types.ts53function generateShorthandsOrLonghands(
LOWtools/android_tools/update_local_properties.py12def generate_gradle_local_properties(file, properties):
LOW…ce/performance_observer/sub_generator/ets_generator.py107def _format_ets_default_value(origin_type, value):
LOW…e/performance_observer/sub_generator/java_generator.py209def _format_java_default_value(origin_type, value):
LOW…e/performance_observer/sub_generator/java_generator.py223def generate_java_constructor(class_name, definition, properties, java_code, file_imports):
LOW…nce/performance_observer/sub_generator/oc_generator.py104def _format_objc_default_value(origin_type, value):
LOW…nce/performance_observer/sub_generator/oc_generator.py116def generate_objc_implementation(class_name, definition, file_imports):
LOW…nce/performance_observer/sub_generator/oc_generator.py224def generate_objc_converter_header():
LOWcore/renderer/data/lynx_view_data_manager.h14class LynxViewDataManager {
LOWcore/shell/lynx_card_cache_data_manager.h25class LynxCardCacheDataManager {
LOW…piler/unit_test/test_lepus_ir_lse_integration_cases.js4function TestLseIntegrationIsolation() {
901 more matches not shown…
Unused Imports741 hits · 700 pts
SeverityFileLineSnippet
LOWtools/rtf/core/checker/native_coverage_checker.py9
LOWtools/rtf/core/checker/android_coverage_checker.py9
LOWtools/rtf/core/target/target.py5
LOWtools/rtf/core/target/target.py7
LOWtools/rtf/core/utils/git_helper.py7
LOWtools/rtf/core/builder/builder_manager.py9
LOWtools/rtf/plugins/plugin_factory.py4
LOWtools/rtf/plugins/coverage_check_plugin.py6
LOWtools/config/check_and_run.py14
LOWtools/config/check_and_run.py48
LOWtools/config/check_and_run.py49
LOWtools/feature_count/java_generator.py6
LOWtools/feature_count/typescript_generator.py6
LOWtools/feature_count/objc_generator.py7
LOWtools/feature_count/native_generator.py6
LOWtools/error_code/gen_error_code.py8
LOWtools/error_code/gen_error_code.py9
LOWtools/error_code/checker/spec_checker.py4
LOWtools/error_code/checker/spec_checker.py5
LOWtools/error_code/checker/spec_checker.py6
LOWtools/error_code/checker/spec_checker.py7
LOWtools/error_code/checker/metadata_checker.py4
LOWtools/error_code/checker/metadata_checker.py5
LOWtools/error_code/checker/error_code_def_checker.py4
LOWtools/error_code/checker/error_code_def_checker.py5
LOWtools/error_code/generator/base_generator.py5
LOWtools/error_code/generator/code_generator.py4
LOWtools/error_code/generator/code_generator.py5
LOWtools/error_code/generator/code_generator.py6
LOWtools/error_code/generator/code_generator.py7
LOWtools/error_code/generator/code_generator.py8
LOWtools/error_code/generator/code_generator.py9
LOWtools/error_code/generator/code_generator.py10
LOWtools/error_code/generator/code_generator.py11
LOW…/error_code/generator/native/sub_code_src_generator.py4
LOW…/error_code/generator/native/sub_code_src_generator.py5
LOW…/error_code/generator/native/sub_code_src_generator.py6
LOW…/error_code/generator/native/sub_code_src_generator.py7
LOWtools/error_code/generator/native/native_common.py5
LOWtools/error_code/generator/native/native_common.py6
LOW…ror_code/generator/native/sub_code_header_generator.py4
LOW…ror_code/generator/native/sub_code_header_generator.py5
LOW…ror_code/generator/native/sub_code_header_generator.py6
LOW…ror_code/generator/native/sub_code_header_generator.py7
LOWtools/error_code/generator/native/native_generator.py4
LOWtools/error_code/generator/native/native_generator.py5
LOWtools/error_code/generator/native/native_generator.py6
LOWtools/error_code/generator/native/native_generator.py7
LOWtools/error_code/generator/native/native_generator.py8
LOW…rror_code/generator/harmony/sub_code_file_generator.py4
LOW…rror_code/generator/harmony/sub_code_file_generator.py5
LOW…rror_code/generator/harmony/sub_code_file_generator.py6
LOWtools/error_code/generator/harmony/harmony_common.py4
LOWtools/error_code/generator/harmony/harmony_generator.py4
LOWtools/error_code/generator/harmony/harmony_generator.py5
LOWtools/error_code/generator/harmony/harmony_generator.py6
LOWtools/error_code/generator/harmony/harmony_generator.py7
LOW…rror_code/generator/harmony/behavior_file_generator.py4
LOW…rror_code/generator/harmony/behavior_file_generator.py5
LOW…rror_code/generator/harmony/behavior_file_generator.py6
681 more matches not shown…
Deep Nesting422 hits · 383 pts
SeverityFileLineSnippet
LOWtools/rtf/core/target/android_ut_target.py88
LOWtools/rtf/core/utils/lcov_reader.py6
LOWtools/rtf/core/container/native_ut_container.py89
LOWtools/rtf/plugins/plugin_factory.py14
LOWtools/config/gen_config.py68
LOWtools/config/gen_config.py235
LOWtools/config/gen_config.py247
LOWtools/config/config_def.py20
LOWtools/ios_tools/cocoapods_publish_helper.py400
LOWtools/feature_count/base.py74
LOWtools/error_code/checker/metadata_checker.py58
LOWtools/error_code/checker/metadata_checker.py86
LOWtools/error_code/checker/metadata_checker.py113
LOWtools/error_code/checker/error_code_def_checker.py83
LOWtools/error_code/checker/error_code_def_checker.py102
LOWtools/error_code/checker/error_code_def_checker.py142
LOWtools/error_code/checker/error_code_def_checker.py170
LOW…/error_code/generator/native/sub_code_src_generator.py93
LOW…ror_code/generator/native/sub_code_header_generator.py47
LOW…rror_code/generator/harmony/sub_code_file_generator.py84
LOW…rror_code/generator/android/sub_code_file_generator.py160
LOWtools/error_code/generator/darwin/darwin_base.py26
LOWtools/error_code/generator/darwin/darwin_base.py46
LOWtools/api/api_doc.py40
LOWtools/api/parser/ts_morph/harmony_parser.py187
LOWtools/api/parser/ts_morph/harmony_parser.py247
LOWtools/api/parser/doxygen/common_parse.py25
LOWtools/api/parser/doxygen/common_parse.py65
LOWtools/api/parser/doxygen/common_parse.py86
LOWtools/api/parser/doxygen/memberdef_parse.py18
LOWtools/api/parser/doxygen/memberdef_parse.py106
LOWtools/css_generator/generate_types.py27
LOWtools/css_generator/generate_types.py103
LOWtools/css_generator/generate_layout_property.py54
LOWtools/css_generator/enum_css_generator.py67
LOWtools/css_generator/utils.py129
LOWtools/android_tools/update_local_properties.py12
LOW…nce/performance_observer/generate_performance_entry.py23
LOW…nce/performance_observer/generate_performance_entry.py42
LOW…nce/performance_observer/generate_performance_entry.py86
LOW…nce/performance_observer/generate_performance_entry.py166
LOW…ce/performance_observer/sub_generator/ets_generator.py58
LOW…ce/performance_observer/sub_generator/ets_generator.py115
LOW…ce/performance_observer/sub_generator/ets_generator.py186
LOW…ce/performance_observer/sub_generator/ets_generator.py227
LOW…nce/performance_observer/sub_generator/ts_generator.py25
LOW…e/performance_observer/sub_generator/java_generator.py145
LOW…e/performance_observer/sub_generator/java_generator.py223
LOW…e/performance_observer/sub_generator/java_generator.py304
LOW…e/performance_observer/sub_generator/java_generator.py348
LOW…e/performance_observer/sub_generator/java_generator.py369
LOW…nce/performance_observer/sub_generator/oc_generator.py12
LOW…nce/performance_observer/sub_generator/oc_generator.py116
LOW…nce/performance_observer/sub_generator/oc_generator.py341
LOWtools/vpython_tools/vpython_env_setup.py20
LOWcore/renderer/css/css_value_lldb.py51
LOWcore/renderer/css/css_value_lldb.py93
LOWexplorer/harmony/script/build.py192
LOW…tegration_test/test_script/lib/test_runner/case_set.py64
LOW…ration_test/test_script/lib/test_runner/test_runner.py125
362 more matches not shown…
Decorative Section Separators172 hits · 302 pts
SeverityFileLineSnippet
MEDIUMtools/css_generator/generate_types.py16# ---------------------
MEDIUM…llection/layout/LynxCollectionViewLayoutSectionModel.m308 // ▲ ┌─────────────┐ ┌─────────────┐ ▲
MEDIUM…llection/layout/LynxCollectionViewLayoutSectionModel.m311 // │ │ │ │ │ │ │ ───────► │ │ │
MEDIUM…llection/layout/LynxCollectionViewLayoutSectionModel.m317 // ││ └──▼──────┘ ││ ││ └─▼───────┘ ││ targetContentOffset
MEDIUM…llection/layout/LynxCollectionViewLayoutSectionModel.m319 // └┼─────────────┼┘ └┼─────────────┼┘
MEDIUM…llection/layout/LynxCollectionViewLayoutSectionModel.m320 // └─────────────┘ └─────────────┘
MEDIUMthird_party/py_deps/requests/compat.py25# -------------------
MEDIUMthird_party/py_deps/requests/compat.py27# -------------------
MEDIUMthird_party/py_deps/requests/compat.py78# --------------
MEDIUMthird_party/py_deps/requests/compat.py80# --------------
MEDIUMthird_party/py_deps/yaml/__init__.py20#------------------------------------------------------------------------------
MEDIUMthird_party/py_deps/yaml/__init__.py23#------------------------------------------------------------------------------
MEDIUMthird_party/py_deps/yaml/__init__.py28#------------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py32# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py60# ----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py72#-----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py76#-----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py199#-----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py205#-----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1277# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1282# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1287# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1451# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1455# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1464# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1470# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1518 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1524 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1534 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1749 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1754 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1763 # ------------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1768 # ------------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1778 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1785 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1795 # -------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1802 # -------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2033# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2038# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2040# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2094# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2099# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2247 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2249 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2254 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2274 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2283 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2440 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2450 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2458 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2472 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2480 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2490 # -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2870# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2875# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2877# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2883# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2892# -----------------------------------------------------------------------------
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2896# -----------------------------------------------------------------------------
112 more matches not shown…
Cross-Language Confusion53 hits · 299 pts
SeverityFileLineSnippet
HIGHtools/ios_tools/cocoapods_publish_helper.py311 run_command(f'cd {local_pod_source_name} && git init && git commit --allow-empty --message "Initial commit."')
HIGH…rror_code/generator/harmony/sub_code_file_generator.py58 self._append_with_indent("\t\t\treturn null;\n")
HIGH…rror_code/generator/android/sub_code_file_generator.py139 self._append_with_indent("\t\t\treturn null;\n")
HIGH…ce/performance_observer/sub_generator/ets_generator.py134 let originRecord: Record<string, Object> = (props[\'{prop}\']!== undefined)? props[\'{prop}\'] as Record<string,
HIGH…ce/performance_observer/sub_generator/ets_generator.py145 ets_code += f' this.{prop} = (props[\'{prop}\']!== undefined)? props[\'{prop}\'] as {prop_type} :
HIGH…ce/performance_observer/sub_generator/ets_generator.py156 ets_code += f' this.{prop} = (props[\'{prop}\']!== undefined)? props[\'{prop}\'] as {prop_typ
HIGH…ce/performance_observer/sub_generator/ets_generator.py160 ets_code += f' this.{prop} = (props[\'{prop}\'] !== undefined) ? new {prop_type}(props[\'
HIGH…ce/performance_observer/sub_generator/ets_generator.py162 ets_code += f' this.{prop} = (props[\'{prop}\'] !== undefined) ? new {prop_type}(props[\'
HIGH…ce/performance_observer/sub_generator/ets_generator.py170 ets_code += f' this.{prop} = (props[\'{prop}\'] !== undefined && typeof props[\'{prop}\'] ===
HIGH…ce/performance_observer/sub_generator/ets_generator.py170 ets_code += f' this.{prop} = (props[\'{prop}\'] !== undefined && typeof props[\'{prop}\'] ===
HIGH…ce/performance_observer/sub_generator/ets_generator.py172 ets_code += f' this.{prop} = (props[\'{prop}\'] !== undefined && typeof props[\'{prop}\'] ===
HIGH…e/performance_observer/sub_generator/java_generator.py37 branch_statement = f' if (type.equals("{entry_type}") && name.equals("{entry_name}")) {{\n' \
HIGH…e/performance_observer/sub_generator/java_generator.py42 branch_statement = f' else if (type.equals("{entry_type}") && name.equals("{entry_name}")) {{\n' \
HIGH…e/performance_observer/sub_generator/java_generator.py72 f' if (result == null) {{\n' \
HIGH…e/performance_observer/sub_generator/java_generator.py96 f' if (result == null) {{\n' \
HIGH…e/performance_observer/sub_generator/java_generator.py113 f' if (result == null) {{\n' \
HIGH…e/performance_observer/sub_generator/java_generator.py126 f' if (result == null) {{\n' \
HIGH…e/performance_observer/sub_generator/java_generator.py269 java_code += f' this.{prop} = props.get("{prop}") != null ? ({prop_type}) props.get("{pro
HIGH…e/performance_observer/sub_generator/java_generator.py276 java_code += f' this.{prop} = props.get("{prop}") != null ? new {prop_type}((HashMap<Stri
HIGHexplorer/darwin/macos/lynx_explorer/build_resources.py68 subprocess.check_call(['bash', '-c', 'pnpm install --no-frozen-lockfile && pnpm run build'], cwd=homepage_dir)
HIGHthird_party/py_deps/jinja2/compiler.py1276 self.write(", undefined, loop_render_func, depth):")
HIGHthird_party/py_deps/jinja2/compiler.py1278 self.write(", undefined):" if extended_loop else ":")
HIGHthird_party/py_deps/jinja2/lexer.py358 self.push(result)
HIGHthird_party/py_deps/jinja2/environment.py129 environment.undefined, Undefined
HIGHthird_party/py_deps/jinja2/environment.py1205 undefined, # type: ignore
HIGH…inding/idl-codegen/tools/blinkpy/common/pretty_diff.py77 while (parent && parent.tagName != 'TR') {
HIGH…binding/idl-codegen/third_party/jinja2/asyncsupport.py192 def __init__(self, async_iterator, undefined, after, length, recurse=None,
HIGH…binding/idl-codegen/third_party/jinja2/asyncsupport.py194 LoopContextBase.__init__(self, undefined, recurse, depth0)
HIGH…binding/idl-codegen/third_party/jinja2/asyncsupport.py233async def make_async_loop_context(iterable, undefined, recurse=None, depth0=0):
HIGH…binding/idl-codegen/third_party/jinja2/asyncsupport.py255 return AsyncLoopContext(async_iterator, undefined, after, length, recurse,
HIGH…rty/binding/idl-codegen/third_party/jinja2/compiler.py1115 self.write(', undefined, loop_render_func, depth):')
HIGH…rty/binding/idl-codegen/third_party/jinja2/compiler.py1117 self.write(extended_loop and ', undefined):' or ':')
HIGH…arty/binding/idl-codegen/third_party/jinja2/runtime.py359 def __init__(self, undefined, recurse=None, depth0=0):
HIGH…arty/binding/idl-codegen/third_party/jinja2/runtime.py423 def __init__(self, iterable, undefined, recurse=None, depth0=0):
HIGH…arty/binding/idl-codegen/third_party/jinja2/runtime.py424 LoopContextBase.__init__(self, undefined, recurse, depth0)
HIGH…_party/binding/idl-codegen/third_party/jinja2/lexer.py329 self.push(result)
HIGH…/binding/idl-codegen/third_party/jinja2/environment.py102 assert issubclass(environment.undefined, Undefined), 'undefined must ' \
HIGH…/binding/idl-codegen/third_party/jinja2/environment.py943 frozenset(extensions), optimized, undefined, finalize, autoescape,
HIGHthird_party/binding/idl-codegen/scripts/napi_types.py1313 # the code generator to distinguish between passing null, and
HIGH…rd_party/binding/idl-codegen/scripts/napi_interface.py1071 # 12.2. If V is undefined, and there is an entry in S whose list of
HIGH…rd_party/binding/idl-codegen/scripts/napi_interface.py1082 # 12.3. Otherwise: if V is null or undefined, and there is an entry in S that
HIGH…rd_party/binding/idl-codegen/scripts/napi_interface.py1082 # 12.3. Otherwise: if V is null or undefined, and there is an entry in S that
HIGH…rd_party/binding/idl-codegen/scripts/napi_interface.py1168 # method is not undefined, then remove from S all other entries.
HIGH…arty/binding/idl-codegen/scripts/bind_gen/interface.py5288// { [[Value]]: undefined, [[Writable]]: false, [[Enumerable]]: false,
HIGH…arty/binding/idl-codegen/scripts/bind_gen/interface.py3716 if (${blink_property_name} == attribute.name && attribute.set_value) {
HIGH…arty/binding/idl-codegen/scripts/bind_gen/interface.py1052 # 12.2. If V is undefined, ...
HIGH…arty/binding/idl-codegen/scripts/bind_gen/interface.py1057 # 12.3. if V is null or undefined, ...
HIGH…arty/binding/idl-codegen/scripts/bind_gen/interface.py1057 # 12.3. if V is null or undefined, ...
HIGH…rd_party/binding/idl-codegen/scripts/bind_gen/union.py244 # 12.3. if V is null or undefined, ...
HIGH…rd_party/binding/idl-codegen/scripts/bind_gen/union.py244 # 12.3. if V is null or undefined, ...
HIGH…ding/idl-codegen/scripts/web_idl/extended_attribute.py214 if not ExtendedAttribute.equals(l, r):
HIGH…_party/binding/idl-codegen/scripts/web_idl/idl_type.py172 and ExtendedAttributes.equals(self.extended_attributes,
HIGHclay/testing/run_tests.py449 'source {}/sanitizer_suppressions.sh >/dev/null && env'
Cross-Language Confusion (JS/TS)47 hits · 258 pts
SeverityFileLineSnippet
HIGH…us/compiler/unit_test/test_lepus_ir_lepus_air_case9.js5 print(msg);
HIGH…piler/unit_test/test_lepus_ir_lse_integration_cases.js67print("lse_integration_cases.js passed");
HIGH…ompiler/unit_test/test_lepus_ir_lse_immutable_loads.js10 print("intervening call");
HIGH…ompiler/unit_test/test_lepus_ir_lse_immutable_loads.js45print("lse_immutable_loads.js passed");
HIGH…ime/lepus/compiler/unit_test/test_lepus_ir_lse_loop.js22print("lse_loop.js passed");
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case10.js5 print(msg);
HIGH…/unit_test/test_lepus_ir_toplevel_closure_sync_test.js25print("toplevel_closure_sync_test passed");
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case11.js13 print(msg);
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case11.js219print("case11 earlySum=" + earlySum + " lateSum=" + lateSum);
HIGH…us/compiler/unit_test/test_lepus_ir_lepus_air_case8.js5 print(msg);
HIGH…_lepus_ir_regression_nested_closure_upvalue_mapping.js37print("regression_nested_closure_upvalue_mapping passed");
HIGH…us/compiler/unit_test/test_lepus_ir_lepus_air_case7.js10 print(msg);
HIGH…us/compiler/unit_test/test_lepus_ir_lepus_air_case7.js95print("FAIL=" + __assert_fail_count);
HIGH…us/compiler/unit_test/test_lepus_ir_lse_global_vars.js57print("lse_global_vars.js passed");
HIGH…me/lepus/compiler/unit_test/test_lepus_ir_lse_alias.js73print("lse_alias.js passed");
HIGH…s/compiler/unit_test/test_lepus_ir_lse_closure_vars.js72print("lse_closure_vars.js passed");
HIGH…iler/unit_test/test_lepus_ir_lse_comprehensive_test.js97print("lse_comprehensive_test.js passed");
HIGH…us/compiler/unit_test/test_lepus_ir_lepus_air_case5.js897print("your_test compiled and executed");
HIGH…e/lepus/compiler/unit_test/test_lepus_ir_lse_branch.js26print("lse_branch.js passed");
HIGH…nit_test/test_lepus_ir_toplevel_update_complex_test.js9print("a: ", a);
HIGH…nit_test/test_lepus_ir_toplevel_update_complex_test.js10print("b: ", b);
HIGH…nit_test/test_lepus_ir_toplevel_update_complex_test.js11print("c: ", c);
HIGH…nit_test/test_lepus_ir_toplevel_update_complex_test.js12print("test(): ", test());
HIGHcore/runtime/lepus/compiler/unit_test/p0_feature.js35print(json_obj);
HIGH…/compiler/unit_test/test_lepus_ir_toplevel_opt_test.js7print("a: ", a);
HIGH…/compiler/unit_test/test_lepus_ir_toplevel_opt_test.js8print("b: ", b);
HIGH…/compiler/unit_test/test_lepus_ir_toplevel_opt_test.js9print("check(): ", check());
HIGH…/compiler/unit_test/test_lepus_ir_toplevel_opt_test.js16print("a after set: ", a);
HIGH…/compiler/unit_test/test_lepus_ir_toplevel_opt_test.js17print("check() after set: ", check());
HIGH…r/unit_test/test_lepus_ir_toplevel_global_sync_test.js32print("toplevel_global_sync_test passed");
HIGH…er/unit_test/test_lepus_ir_toplevel_protection_test.js17print("sum: ", result);
HIGH…er/unit_test/test_lepus_ir_toplevel_protection_test.js18print("c: ", c);
HIGH…runtime/lepus/compiler/unit_test/for_statement_test.js5print(j);
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case12.js15 print(msg);
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case12.js280print("case12 sumA=" + sumA + " sumB=" + sumB + " sumC=" + sumC + " prefixSum=" + prefixSum);
HIGH…mpiler/unit_test/test_lepus_ir_test_lse_closure_rse.js16 print(x); // Side effect
HIGH…ime/lepus/compiler/unit_test/array.prototype.filter.js23print(result);
HIGH…pus/compiler/unit_test/test_lepus_ir_lse_array_test.js24print("test_lse_array_methods passed");
HIGH…ler/unit_test/test_lepus_ir_lse_precision_stability.js60print("lse_precision_stability.js passed");
HIGH…epus/compiler/unit_test/test_lepus_ir_lse_precision.js66print("lse_precision.js passed");
HIGH…iler/unit_test/test_lepus_ir_lse_vulnerability_test.js31print("lse_vulnerability_test.js passed");
HIGH…/lepus/compiler/unit_test/test_lepus_ir_lse_complex.js24print("lse_complex.js passed");
HIGH…epus/compiler/unit_test/array.prototype.filter_test.js19print(result);
HIGH…t_lepus_ir_regression_toplevel_redundant_writes_mix.js38print("regression_toplevel_redundant_writes_mix passed");
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case13.js14 print(msg);
HIGH…s/compiler/unit_test/test_lepus_ir_lepus_air_case13.js278print("case13 sumA=" + sumA + " sumD=" + sumD + " varSum=" + varSum);
HIGH…/compiler/unit_test/test_lepus_ir_lse_complex_cases.js89print("lse_complex_cases.js passed");
Self-Referential Comments106 hits · 250 pts
SeverityFileLineSnippet
MEDIUMtools/rtf/core/target/target.py41 # This method is used for a subclass to initialize its own private members
MEDIUMtools/js_tools/build.py81 # Create an argument parser
MEDIUM…ce/performance_observer/sub_generator/ets_generator.py192 # Define the class name
MEDIUM…ce/performance_observer/sub_generator/ets_generator.py195 # Define the parent class type for the interface, if any
MEDIUM…nce/performance_observer/sub_generator/ts_generator.py70 # Define the interface name
MEDIUM…nce/performance_observer/sub_generator/ts_generator.py76 # Define the interface name
MEDIUM…nce/performance_observer/sub_generator/ts_generator.py79 # Define the parent class type for the interface, if any
MEDIUM…e/performance_observer/sub_generator/java_generator.py312 # Define the class name
MEDIUM…e/performance_observer/sub_generator/java_generator.py315 # Define the parent class type for the interface, if any
MEDIUMexplorer/windows/lynx_explorer/build_resources.py43# Create the resource directory with explicit error checking
MEDIUMexplorer/showcase/build_and_copy.py17# Define the Lynx example directory name
MEDIUMtesting/integration_test/demo_pages/build_and_copy.py24# Define the Android assets directory
MEDIUMtesting/integration_test/demo_pages/build_and_copy.py30# Define the iOS resource directory
MEDIUMthird_party/py_deps/jinja2/bccache.py332 """This class implements a bytecode cache that uses a memcache cache for
MEDIUMthird_party/py_deps/jinja2/ext.py102 """This method is called before the actual lexing and can be used to
MEDIUMthird_party/py_deps/soupsieve/css_parser.py933 # Initialize important variables
MEDIUMthird_party/py_deps/idna/idnadata.py1# This file is automatically generated by tools/idna-data
MEDIUMthird_party/py_deps/idna/uts46data.py1# This file is automatically generated by tools/idna-data
MEDIUMthird_party/py_deps/bs4/__init__.py776 """This method is part of the PageElement API, but `BeautifulSoup` doesn't implement
MEDIUMthird_party/py_deps/bs4/__init__.py784 """This method is part of the PageElement API, but `BeautifulSoup` doesn't implement
MEDIUMthird_party/py_deps/bs4/dammit.py486 """This class is capable of guessing a number of possible encodings
MEDIUMthird_party/py_deps/bs4/builder/_html5lib.py399 # Create a brand new NavigableString from this string.
MEDIUMthird_party/py_deps/qrcode/image/styles/colormasks.py64 # The following functions are helpful for color calculation:
MEDIUMthird_party/py_deps/requests/sessions.py562 # Create the Request.
MEDIUMthird_party/py_deps/yaml/reader.py1# This module contains abstractions for the input stream. You don't have to
MEDIUMthird_party/py_deps/urllib3/util/url.py266 output = [] # Initialize the variable to use to store output
MEDIUMthird_party/py_deps/urllib3/util/connection.py23# This function is copied from socket.py in the Python 2.7 standard
MEDIUMthird_party/py_deps/urllib3/util/connection.py104 """This function is designed to work in the context of
MEDIUMthird_party/py_deps/urllib3/http2/probe.py66 """This function is for testing purposes only. Gets the current state of the probe cache"""
MEDIUMthird_party/py_deps/urllib3/http2/probe.py71 """This function is for testing purposes only. Reset the cache values"""
MEDIUM…dl-codegen/tools/blinkpy/common/net/results_fetcher.py59 """This class represents an interface to test results for particular builds.
MEDIUM…g/idl-codegen/tools/blinkpy/common/system/log_utils.py38 # Create the filter.
MEDIUM…g/idl-codegen/tools/blinkpy/common/system/log_utils.py48 # Create the handler.
MEDIUM…codegen/tools/blinkpy/common/system/filesystem_mock.py200 # This function is called a lot, so we optimize it; there are
MEDIUM…codegen/tools/blinkpy/common/system/filesystem_mock.py306 # This function is called a lot, so we try to optimize the common cases
MEDIUM…/idl-codegen/tools/blinkpy/common/system/filesystem.py352 # Create a shell command to call rmdir. (Note rmdir is a shell
MEDIUM…l-codegen/tools/blinkpy/common/system/platform_info.py34 """This class provides a consistent (and mockable) interpretation of
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2738# This file is automatically generated. Do not edit.
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py202# The following classes are used for the LR parser itself. These are not
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py207# This class is used to hold non-terminal grammar symbols during parsing.
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1280# The following functions, classes, and variables are used to represent and
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1467# The following class represents the contents of the specified grammar along
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2036# The following classes and functions are used to generate LR parsing tables on
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2097# This class implements the LR table generation algorithm. There are no
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2873# The following functions and classes are used to implement the PLY
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py2934# This class represents information extracted for building a parser including
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py223# This class is a wrapper around the objects actually passed to each
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py661 # Create the error symbol for the first time and make it the new lookahead symbol
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py967 # Create the error symbol for the first time and make it the new lookahead symbol
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1254 # Create the error symbol for the first time and make it the new lookahead symbol
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1327 # Create a list of unique production symbols used in the production
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1337 # Create a string representation
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1408# This class represents a specific stage of parsing a production rule. For
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py1617 # Create a production and add it to the list of productions
MEDIUMthird_party/binding/idl-codegen/third_party/ply/yacc.py3328 # Create a grammar object
MEDIUMthird_party/binding/idl-codegen/third_party/ply/lex.py554# This class represents information needed to build a lexer as extracted from a
MEDIUMthird_party/binding/idl-codegen/third_party/ply/lex.py324 # Create a token for return
MEDIUM…party/binding/idl-codegen/third_party/mako/pyparser.py4# This module is part of Mako and is released under
MEDIUMthird_party/binding/idl-codegen/third_party/mako/cmd.py4# This module is part of Mako and is released under
MEDIUM…d_party/binding/idl-codegen/third_party/mako/compat.py4# This module is part of Mako and is released under
46 more matches not shown…
Excessive Try-Catch Wrapping135 hits · 172 pts
SeverityFileLineSnippet
LOWtools/rtf/core/checker/native_coverage_checker.py39 except Exception as e:
LOWtools/rtf/core/checker/android_coverage_checker.py33 except Exception as e:
LOWtools/rtf/core/target/observer.py122 except Exception as e:
LOWtools/rtf/core/target/android_ut_target.py71 except Exception as e:
LOWtools/rtf/core/target/android_ut_target.py107 except Exception as e:
LOWtools/rtf/core/target/android_ut_target.py180 except Exception as e:
LOWtools/rtf/core/container/android_ut_container.py89 except Exception as e:
MEDIUMtools/rtf/core/container/android_ut_container.py81def after_test(self):
LOWtools/config/gen_config.py75 except Exception:
MEDIUMtools/config/gen_config.py72def check_version(v_str):
MEDIUMtools/config/check_and_run.py115 print(f"Error: Script not found at {GEN_CONFIG_SCRIPT}")
LOWtools/config/check_and_run.py128 except Exception as e:
MEDIUMtools/config/check_and_run.py129 print(f"Error: Failed to execute subprocess: {e}")
MEDIUMtools/js_tools/build.py65 print(f"Error occurred during build: {e}", file=sys.stderr)
LOWtools/js_tools/build.py66 except Exception as e:
MEDIUMtools/error_code/gen_error_code.py20 print("Error code spec check failed")
LOWtools/api/api_utils.py25 except Exception as e:
LOWtools/api/parser/ts_morph/harmony_parser.py264 except Exception as e:
LOWtools/api/parser/ts_morph/harmony_parser.py294 except Exception as e:
LOWtools/css_generator/generate_layout_property.py69 except Exception as e:
MEDIUMtools/css_generator/generate_layout_property.py70 print(f"Error processing {file_path}: {e}")
MEDIUMtools/android_tools/prepare_android_build.py31 print(f"Error installing {component};{version}: {e}")
MEDIUMtools/android_tools/prepare_android_build.py38 print("Error: Please configure the ANDROID_HOME environment variable first.")
MEDIUMtools/android_tools/prepare_android_build.py42 print("Error: buildtools directory not found. Please run `tools/hab sync . -f` first.")
LOWtools/performance/performance_observer/utils.py57 except Exception as e:
LOWplatform/darwin/macos/package_sdk.py67except Exception as e:
LOWplatform/windows/package_sdk.py66except Exception as e:
MEDIUMexplorer/darwin/macos/lynx_explorer/build_resources.py134 print(f"Error executing command: {e}")
LOWexplorer/darwin/macos/lynx_explorer/build_resources.py136except Exception as e:
LOWexplorer/windows/lynx_explorer/build_resources.py142except Exception as e:
LOW…ration_test/test_script/lib/test_runner/test_runner.py185 except Exception as e:
LOWtesting/integration_test/test_script/lib/ios/test.py55 except Exception:
LOWtesting/integration_test/test_script/lib/ios/test.py64 except Exception:
LOWtesting/integration_test/test_script/lib/ios/test.py71 except Exception:
LOWtesting/integration_test/test_script/lib/ios/test.py77 except Exception:
LOWtesting/integration_test/test_script/lib/ios/test.py83 except Exception:
MEDIUMtesting/integration_test/test_script/lib/ios/test.py67def assert_not_existing(self, element, message='exist'):
MEDIUMtesting/integration_test/test_script/lib/ios/test.py74def assert_visible(self, element, message='invisible'):
MEDIUMtesting/integration_test/test_script/lib/ios/test.py80def assert_invisible(self, element, message='visible'):
LOW…sting/integration_test/test_script/lib/common/utils.py68 except Exception as e:
MEDIUM…sting/integration_test/test_script/lib/common/utils.py62def target():
LOW…sting/integration_test/test_script/lib/android/test.py55 except Exception:
LOW…sting/integration_test/test_script/lib/android/test.py64 except Exception:
LOW…sting/integration_test/test_script/lib/android/test.py71 except Exception:
LOW…sting/integration_test/test_script/lib/android/test.py77 except Exception:
LOW…sting/integration_test/test_script/lib/android/test.py83 except Exception:
MEDIUM…sting/integration_test/test_script/lib/android/test.py67def assert_not_existing(self, element, message='exist'):
MEDIUM…sting/integration_test/test_script/lib/android/test.py74def assert_visible(self, element, message='invisible'):
MEDIUM…sting/integration_test/test_script/lib/android/test.py80def assert_invisible(self, element, message='visible'):
LOWthird_party/py_deps/typing_extensions.py854 except Exception as e:
LOWthird_party/py_deps/jinja2/sandbox.py298 except Exception:
LOWthird_party/py_deps/jinja2/lexer.py656 except Exception as e:
LOWthird_party/py_deps/jinja2/environment.py476 except Exception:
LOWthird_party/py_deps/jinja2/environment.py523 except Exception as e:
LOWthird_party/py_deps/jinja2/environment.py1294 except Exception:
LOWthird_party/py_deps/jinja2/environment.py1317 except Exception:
LOWthird_party/py_deps/jinja2/environment.py1347 except Exception:
LOWthird_party/py_deps/jinja2/environment.py1372 except Exception:
LOWthird_party/py_deps/jinja2/nativetypes.py111 except Exception:
LOWthird_party/py_deps/jinja2/nativetypes.py126 except Exception:
75 more matches not shown…
Hallucination Indicators9 hits · 90 pts
SeverityFileLineSnippet
CRITICAL…element/LynxUIScrollCoordinatorSlotDragAutoRegistry.kt14 com.lynx.xelement.scroll.coordinator.childitem.LynxUIScrollCoordinatorSlotDrag(context) {}
CRITICAL…/java/com/lynx/xelement/LynxUIViewPagerAutoRegistry.kt14 com.lynx.xelement.viewpager.viewpager.LynxUIViewPager(context) {}
CRITICAL…nx/xelement/LynxUIScrollCoordinatorSlotAutoRegistry.kt14 com.lynx.xelement.scroll.coordinator.childitem.LynxUIScrollCoordinatorSlot(context) {}
CRITICAL…a/com/lynx/xelement/LynxUIViewPagerItemAutoRegistry.kt14 com.lynx.xelement.viewpager.childitem.LynxViewpagerItem(context) {}
CRITICAL…/xelement/LynxUIScrollCoordinatorHeaderAutoRegistry.kt14 com.lynx.xelement.scroll.coordinator.childitem.LynxUIScrollCoordinatorHeader(context) {}
CRITICAL…m/lynx/xelement/LynxUIScrollCoordinatorAutoRegistry.kt14 com.lynx.xelement.scroll.coordinator.LynxUIScrollCoordinator(context) {}
CRITICAL…xelement/LynxUIScrollCoordinatorToolbarAutoRegistry.kt14 com.lynx.xelement.scroll.coordinator.childitem.LynxUIScrollCoordinatorToolbar(context) {}
CRITICAL…ng/idl-codegen/third_party/doc/_static/jquery-3.5.1.js8084jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {
CRITICAL…/binding/idl-codegen/third_party/doc/_static/jquery.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippet
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHtools/css_generator/utils.py0// copyright {current_year} the lynx authors. all rights reserved. // licensed under the apache license version 2.0 that
HIGHthird_party/py_deps/jinja2/visitor.py0return the visitor function for this node or `none` if no visitor exists for this node. in that case the generic visit f
HIGH…arty/binding/idl-codegen/third_party/mako/_ast_util.py0return the visitor function for this node or `none` if no visitor exists for this node. in that case the generic visit f
HIGH…arty/binding/idl-codegen/third_party/jinja2/visitor.py0return the visitor function for this node or `none` if no visitor exists for this node. in that case the generic visit f
HIGHthird_party/py_deps/jinja2/visitor.py0called if no explicit visitor function exists for a node.
HIGH…arty/binding/idl-codegen/third_party/mako/_ast_util.py0called if no explicit visitor function exists for a node.
HIGH…arty/binding/idl-codegen/third_party/jinja2/visitor.py0called if no explicit visitor function exists for a node.
AI Slop Vocabulary33 hits · 60 pts
SeverityFileLineSnippet
MEDIUMcore/runtime/lepus/ir/ir_context.h47 // robust in those scenarios.
MEDIUMcore/runtime/lepus/ir/llvh/include/llvh/ADT/Hashing.h619/// behavior in the presence of integral promotions. Essentially,
MEDIUM…/runtime/lepus/ir/llvh/include/llvh/Support/Compiler.h496/// However, this doesn't make any attempt to leverage the fancier techniques
MEDIUM…untime/lepus/ir/llvh/include/llvh/Support/MathExtras.h672/// Essentially, it is a floor operation across the domain of powers of two.
MEDIUM…untime/lepus/ir/llvh/include/llvh/Support/MathExtras.h679/// Essentially, it is a ceil operation across the domain of powers of two.
MEDIUMplatform/embedder/public/capi/lynx_view_builder_capi.h66// resources, configurations, or state that the LynxView may utilize. By
LOWthird_party/py_deps/jinja2/compiler.py1009 # if we have a known extends we just add a template runtime
LOWthird_party/py_deps/jinja2/idtracking.py112 # Otherwise we can just set it to undefined.
LOWthird_party/py_deps/jinja2/bccache.py224 # explicitly forced otherwise. We can just use that.
LOWthird_party/py_deps/bs4/builder/_html5lib.py461 # but we just set/changed the attributes, so call it again.
MEDIUMthird_party/py_deps/requests/sessions.py678 # Set defaults that the hooks can utilize to ensure they always have
LOWthird_party/py_deps/requests/models.py633 # method. To prevent iterating over None, simply use an empty list
LOWthird_party/py_deps/requests/utils.py448 # a UNC path, then just return the value without quotes. Using the
LOWthird_party/py_deps/certifi/core.py70 # file, it will just return the file system location and the
MEDIUMthird_party/py_deps/urllib3/exceptions.py251 """Response needs to be chunked in order to read it as chunks."""
MEDIUMthird_party/jsoncpp/include/json/config.h15/// If defined, indicates that json may leverage CppTL library
LOW…party/binding/idl-codegen/tools/blinkpy/common/host.py54 # so for now we just pass along the whole Host object.
MEDIUM…/idl-codegen/tools/blinkpy/common/checkout/git_mock.py58 # We should make those tests more robust, but for now we just return True always (since no test needs otherwise)
LOW…/idl-codegen/tools/blinkpy/common/checkout/git_mock.py58 # We should make those tests more robust, but for now we just return True always (since no test needs otherwise)
LOW…-codegen/tools/blinkpy/common/system/executive_mock.py90 # FIXME: Once executive wraps os.getpid() we can just use a static pid for "this" process.
LOWthird_party/binding/idl-codegen/third_party/ply/yacc.py406 # is already set, we just use that. Otherwise, we'll pull
LOWthird_party/binding/idl-codegen/third_party/ply/yacc.py750 # is already set, we just use that. Otherwise, we'll pull
LOWthird_party/binding/idl-codegen/third_party/ply/yacc.py1056 # is already set, we just use that. Otherwise, we'll pull
LOW…_party/binding/idl-codegen/third_party/mako/codegen.py1041 # in an enclosing namespace (i.e. names we can just use)
LOW…rty/binding/idl-codegen/third_party/jinja2/compiler.py854 # if we have a known extends we just add a template runtime
LOW…y/binding/idl-codegen/third_party/jinja2/idtracking.py92 # Otherwise we can just set it to undefined.
LOW…arty/binding/idl-codegen/third_party/jinja2/runtime.py33#: a string. We can just use the text type here.
LOW…arty/binding/idl-codegen/third_party/jinja2/bccache.py227 # explicitly forced otherwise. We can just use that.
MEDIUM…rty/binding/idl-codegen/third_party/doc/changelog.html644<li><p class="caption" id="change-1.0.4-2"><span class="target" id="change-5a254376fcfe88072601688a7fd34bb2"><strong>[bu
MEDIUM…ng/idl-codegen/third_party/doc/_static/jquery-3.5.1.js10819// understands anonymous AMD modules. A named AMD is safest and most robust
LOW…d_party/binding/idl-codegen/scripts/idl_definitions.py1141 # interface type. We do not distinguish these, and just use the type name.
LOWthird_party/binding/idl-codegen/scripts/napi_methods.py495 # TODO(peria): remove once [DefaultValue] removed and just use
LOW…rty/binding/idl-codegen/scripts/code_generator_napi.py268 # For constants just use the inherited for simplicity.
Redundant / Tautological Comments29 hits · 41 pts
SeverityFileLineSnippet
LOWtools/license/license.py16 # Check if it's a directory
LOWtools/license/license.py18 # Check if 'LICENSE' file exists in the current directory
LOWtools/api/api_doc.py117 # Check if there is a custom template for the API.
LOWtools/css_generator/generate_types.py72 # Check if it's a numeric literal
LOWtools/css_generator/generate_layout_property.py134 # Check if hash changed
LOWtools/css_generator/css_parser_generator.py264 # Check if the hash file exists.
LOWplatform/android/lynx_js_sdk/jssdk_build.py28 # Check if the main JavaScript file exists and remove it
LOWplatform/android/lynx_js_sdk/jssdk_build.py32 # Check if the debug JavaScript file exists and remove it
LOWthird_party/py_deps/typing_extensions.py770 # Check if the members appears in the class dictionary...
LOWthird_party/py_deps/bs4/__init__.py905 # Check if we are inserting into an already parsed node.
LOWthird_party/py_deps/requests/models.py497 # Check if file, fo, generator, iterator.
LOWthird_party/py_deps/yaml/scanner.py114 # Check if the next token is one of the given types.
LOWthird_party/py_deps/yaml/scanner.py300 # Check if a simple key is required at the current position.
LOWthird_party/py_deps/yaml/scanner.py350 # Check if we need to increase indentation.
LOWthird_party/py_deps/urllib3/connection.py736 # Check if the target origin supports HTTP/2.
LOWthird_party/py_deps/urllib3/connectionpool.py928 # Check if we should retry the HTTP response.
LOWthird_party/py_deps/urllib3/util/request.py246 # Check if the body implements the buffer API.
LOWthird_party/py_deps/urllib3/util/request.py250 # Check if the body is an iterable
LOWthird_party/py_deps/urllib3/util/response.py31 # Check if the object is a container for another file-like object that
LOWthird_party/py_deps/doxmlparser/index.py691# Set this to false in order to deactivate during export, the use of
LOW…en/tools/blinkpy/common/checkout/baseline_optimizer.py139 # Check if the results before and after optimization are equivalent.
LOW…/tools/blinkpy/common/checkout/diff_parser_unittest.py81 # Check if a newly added file is correctly handled.
LOW…inding/idl-codegen/tools/blinkpy/common/system/user.py121 # Check if dbus is already running. If dbus is not running, avoid taking
LOW…g/idl-codegen/tools/blinkpy/common/system/executive.py294 if hasattr(user_input, 'read'): # Check if the user_input is a file.
LOWthird_party/binding/idl-codegen/third_party/ply/yacc.py2207 # Loop over the items in C and each grammar symbols
LOW…rd_party/binding/idl-codegen/scripts/napi_interface.py813 # Check if all overloads with the shortest acceptable arguments list are
LOW…rd_party/binding/idl-codegen/scripts/napi_interface.py835 # Check if all overloads with the longest required arguments list are
LOWthird_party/binding/idl-codegen/scripts/utilities.py383 # Write file in binary so that when run on Windows, line endings are not
LOW…rty/binding/idl-codegen/scripts/idl_parser/idl_node.py176 # Check if node is of a given type
Verbosity Indicators22 hits · 39 pts
SeverityFileLineSnippet
LOWcore/renderer/dom/style_resolver.h256 // Step 1: InitStyle - Initialize current computed style with parent computed
LOWcore/renderer/dom/style_resolver.h263 // Step 2: Collect matched rules into the legacy TLS vectors. The new styling
LOW…re/renderer/dom/fragment/event/platform_event_target.h79 // because the target may be reconstructed, we need to check if the current
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h614 // Step 1: Word[0] >>= 4 ; 0x0ABBCCDD
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h615 // Step 2: Word[0] |= 0x10000000 ; 0x1ABBCCDD
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h616 // Step 3: Word[1] >>= 4 ; 0x0EEFF001
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h617 // Step 4: Word[1] |= 0x50000000 ; 0x5EEFF001
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h618 // Step 5: Word[2] >>= 4 ; 0x02334455
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h662 // Step 1: Word[2] <<= 4 ; 0x23344550
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h663 // Step 2: Word[2] |= 0x0000000E ; 0x2334455E
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h664 // Step 3: Word[1] <<= 4 ; 0xEFF00110
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h665 // Step 4: Word[1] |= 0x0000000A ; 0xEFF0011A
LOWcore/runtime/lepus/ir/llvh/include/llvh/ADT/BitVector.h666 // Step 5: Word[0] <<= 4 ; 0xABBCCDD0
LOW…/darwin/ios/lynx/shadow_node/text/LynxTextShadowNode.m892 // Step 1: Create NSTextStorage to trigger fixFontAttributeInRange, ensuring correct font
LOW…/darwin/ios/lynx/shadow_node/text/LynxTextShadowNode.m896 // Step 2: Immediately extract as a plain NSMutableAttributedString, and all subsequent
LOWthird_party/py_deps/bs4/__init__.py605 # Step 1: does it end with a common textual file extension?
LOWthird_party/py_deps/bs4/__init__.py614 # Step 2: it _might_ be a file, but there are a few things
LOWthird_party/py_deps/bs4/__init__.py644 # Step 3: If it survived all of those checks, it's similar
LOWthird_party/binding/idl-codegen/third_party/ply/yacc.py2545 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) items
LOW…latform/darwin/macos/framework/Source/FlutterEngine.mm383 // Step 1: Launch the shell.
LOW…latform/darwin/macos/framework/Source/FlutterEngine.mm389 // Step 2: Tell the platform view to initialize itself.
LOWbase/include/string/string_utils.h180// The purpose of this function is to replace \n, \r, and \t in \"\" with \\n,
Slop Phrases7 hits · 14 pts
SeverityFileLineSnippet
MEDIUMtools/rtf/core/utils/emu_env_setup.py72 # On a physical device, you can use 'adb pull'
LOW…om/lynx/tasm/behavior/ui/scroll/AndroidScrollView.java527 // Note: Don't forget to rest mPendingScrollToIndex to INVALID_INDEX because computeScroll()
LOW…om/lynx/tasm/behavior/ui/scroll/AndroidScrollView.java1134 // Note: Don't forget to clamp value
LOWthird_party/py_deps/urllib3/response.py1146 # TODO make sure to initially read enough data to get past the headers
MEDIUMthird_party/py_deps/urllib3/util/wait.py12# There are two types of APIs you can use for waiting on sockets: the fancy
LOWthird_party/binding/idl-codegen/third_party/ply/yacc.py3139 # Sort all of the actions by line number; make sure to stringify
MEDIUM.github/workflows/codeql.yml60 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
Fake / Example Data8 hits · 7 pts
SeverityFileLineSnippet
LOWthird_party/py_deps/jinja2/constants.py1#: list of lorem ipsum words used by the lipsum() helper function
LOWthird_party/py_deps/jinja2/utils.py356 """Generate some lorem ipsum for the template."""
LOW…ty/binding/idl-codegen/third_party/jinja2/constants.py13#: list of lorem ipsum words used by the lipsum() helper function
LOW…_party/binding/idl-codegen/third_party/jinja2/utils.py239 """Generate some lorem ipsum for the template."""
LOW…/binding/idl-codegen/third_party/jinja2/environment.py908 >>> template.render(name='John Doe') == u'Hello John Doe!'
LOW…/binding/idl-codegen/third_party/jinja2/environment.py910 >>> stream = template.stream(name='John Doe')
LOW…ay/third_party/txt/tests/old/perftests/WordBreaker.cpp25 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "
LOW…ay/third_party/txt/tests/old/perftests/WordBreaker.cpp25 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "
Overly Generic Function Names5 hits · 5 pts
SeverityFileLineSnippet
LOW…us/compiler/unit_test/test_lepus_ir_lepus_air_case9.js57function processData(data, processorName) {
LOW…s/compiler/unit_test/test_lepus_ir_lepus_air_case10.js57function processData(data, processorName) {
LOW…us/compiler/unit_test/test_lepus_ir_lepus_air_case8.js57function processData(data, processorName) {
LOW…us/compiler/unit_test/test_lepus_ir_lepus_air_case6.js19function processData(data, processorName) {
LOW…ng/idl-codegen/third_party/doc/_static/jquery-3.5.1.js4399function getData( data ) {
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
HIGH…g/idl-codegen/scripts/interface_dependency_resolver.py66Resolve dependencies, merging them into IDL definitions of main file. Dependencies consist of 'partial interfac
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWbase/include/expected.h116// Example usage: