a fast, scalable, multi-language and extensible build system
1939 matches across 18 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | compile.sh | 1 | #!/usr/bin/env bash |
| LOW | combine_distfiles.py | 1 | # pylint: disable=g-bad-file-header |
| LOW | combine_distfiles_to_tar.sh | 1 | #!/bin/sh |
| LOW | tools/upload_bazel_mirror.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/aquery_differ/aquery_differ.py | 1 | # Copyright 2020 The Bazel Authors. All rights reserved. |
| LOW | tools/aquery_differ/aquery_differ_test.py | 1 | # pylint: disable=g-direct-third-party-import |
| LOW | tools/aquery_differ/resolvers/path_fragment_resolver.py | 1 | # Copyright 2020 The Bazel Authors. All rights reserved. |
| LOW | tools/aquery_differ/resolvers/dep_set_resolver.py | 1 | # Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | tools/genrule/genrule-setup.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/launcher/empty.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/test/test-setup.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/test/test-setup.sh | 241 | start=$(date +%s) |
| LOW | tools/test/collect_coverage.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/test/collect_coverage.sh | 101 | # TODO: GCOV_PREFIX_STRIP=3 is incorrect on MacOS in the default setup |
| LOW | tools/test/collect_coverage.sh | 121 | # too large (the combined merged jars for several big tests in a run |
| LOW | tools/test/collect_coverage.sh | 221 | # --coverage_dir The absolute path of the directory where the |
| LOW | tools/test/dummy.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/test/generate-xml.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/test/generate-xml.sh | 21 | DURATION_IN_SECONDS="$3" |
| LOW | tools/test/generate-xml.sh | 41 | # We can't use sed in UTF-8 mode, because it would fail on the first |
| LOW | tools/test/generate-xml.sh | 61 | # 4. Replace the string ']]>' with ']]>]]<![CDATA[>' to prevent escaping the |
| LOW | tools/test/collect_cc_coverage.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/test/collect_cc_coverage.sh | 21 | # |
| LOW | tools/test/collect_cc_coverage.sh | 121 | # If the gcda file was not found we skip generating coverage from the gcno |
| LOW | tools/test/collect_cc_coverage.sh | 141 | # Invoke gcov to generate a code coverage report with the flags: |
| LOW | …e/devtools/coverageoutputgenerator/BranchCoverage.java | 1 | // Copyright 2025 The Bazel Authors. All rights reserved. |
| LOW | …/devtools/coverageoutputgenerator/LcovMergerFlags.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …om/google/devtools/coverageoutputgenerator/Parser.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …vtools/coverageoutputgenerator/SourceFileCoverage.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …gle/devtools/coverageoutputgenerator/LineCoverage.java | 1 | // Copyright 2025 The Bazel Authors. All rights reserved. |
| LOW | …/google/devtools/coverageoutputgenerator/Coverage.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …oogle/devtools/coverageoutputgenerator/LcovParser.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …evtools/coverageoutputgenerator/BranchCoverageKey.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …vtools/coverageoutputgenerator/BranchCoverageItem.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …/com/google/devtools/coverageoutputgenerator/Main.java | 1 | // Copyright 2016 The Bazel Authors. All rights reserved. |
| LOW | …oogle/devtools/coverageoutputgenerator/GcovParser.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …e/devtools/coverageoutputgenerator/GcovJsonParser.java | 1 | // Copyright 2020 The Bazel Authors. All rights reserved. |
| LOW | …e/devtools/coverageoutputgenerator/build_and_upload.sh | 1 | #!/usr/bin/env bash |
| LOW | …ogle/devtools/coverageoutputgenerator/LcovPrinter.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …google/devtools/coverageoutputgenerator/Constants.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …vtools/coverageoutputgenerator/BranchCoverageTest.java | 1 | // Copyright 2025 The Bazel Authors. All rights reserved. |
| LOW | …gle/devtools/coverageoutputgenerator/CoverageTest.java | 1 | // Copyright 2016 The Bazel Authors. All rights reserved. |
| LOW | …e/devtools/coverageoutputgenerator/GcovParserTest.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …/devtools/coverageoutputgenerator/LcovPrinterTest.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …devtools/coverageoutputgenerator/LineCoverageTest.java | 1 | // Copyright 2025 The Bazel Authors. All rights reserved. |
| LOW | …tools/coverageoutputgenerator/LcovMergerTestUtils.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …e/devtools/coverageoutputgenerator/LcovParserTest.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …vtools/coverageoutputgenerator/GcovJsonParserTest.java | 1 | // Copyright 2025 The Bazel Authors. All rights reserved. |
| LOW | …tools/coverageoutputgenerator/LcovMergerFlagsTest.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …/google/devtools/coverageoutputgenerator/MainTest.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | …ls/coverageoutputgenerator/SourceFileCoverageTest.java | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | tools/test/windows/tw.h | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | tools/osx/xcode_locator_stub.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/osx/xcode_locator.m | 1 | // Copyright 2015 Google Inc. All rights reserved. |
| LOW | tools/python/pywrapper_test.py | 1 | # pylint: disable=g-bad-file-header |
| LOW | tools/python/pywrapper_template.txt | 21 | |
| LOW | tools/python/runfiles/runfiles.py | 1 | # Copyright 2018 The Bazel Authors. All rights reserved. |
| LOW | tools/jdk/proguard_allowlister_test.py | 1 | # Copyright 2015 The Bazel Authors. All rights reserved. |
| LOW | tools/jdk/proguard_allowlister.py | 1 | # Copyright 2015 The Bazel Authors. All rights reserved. |
| LOW | tools/compliance/packages_used_test.py | 1 | # Copyright 2023 The Bazel Authors. All rights reserved. |
| 1195 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | compile.sh | 42 | # Create an initial binary so we can host ourself |
| MEDIUM | tools/upload_bazel_mirror.sh | 48 | # Create a temp directory to hold the versioned tarball, |
| MEDIUM | tools/test/test-setup.sh | 98 | # Create the test temp directory, which may not exist on the remote host when |
| MEDIUM | tools/test/collect_coverage.sh | 135 | # Create a paramsfile for invoking SingleJar. |
| MEDIUM | tools/build_defs/hash/sha256_test.sh | 37 | # The following code produces a 120MB file (30*2^22 bytes) |
| MEDIUM | third_party/py/mock/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its containing dir. |
| MEDIUM | third_party/py/concurrent/futures/_base.py | 442 | # The following methods should only be used by Executors and in tests. |
| MEDIUM | third_party/py/abseil/absl/flags/argparse_flags.py | 15 | """This module provides argparse integration with absl.flags. |
| MEDIUM | third_party/py/abseil/absl/flags/_helpers.py | 39 | # Define the allowed error rate in an input string to get suggestions. |
| MEDIUM | third_party/py/abseil/absl/flags/_helpers.py | 57 | # This module is explicitly added to this set so that we never consider it to |
| MEDIUM | third_party/py/abseil/absl/testing/xml_reporter.py | 54 | # This function is much more reliable. |
| MEDIUM | third_party/py/abseil/absl/testing/parameterized.py | 334 | # Create a new dict to avoid modifying the supplied testcase_params. |
| MEDIUM | third_party/py/abseil/absl/testing/parameterized.py | 677 | # This function is kept CamelCase because it's used as a class's base class. |
| MEDIUM | third_party/py/abseil/absl/logging/__init__.py | 837 | # Create a symlink to the log file with a canonical name. |
| MEDIUM | third_party/py/dataclasses/dataclasses/__init__.py | 286 | # This function is used instead of exposing Field creation directly, |
| MEDIUM | third_party/py/dataclasses/dataclasses/__init__.py | 510 | # Create a comparison function. If the fields in the object are |
| MEDIUM | third_party/py/dataclasses/dataclasses/__init__.py | 820 | # Create a class doc-string. |
| MEDIUM | third_party/py/dataclasses/dataclasses/__init__.py | 1051 | # Create the new object, which calls __init__() and |
| MEDIUM | third_party/ijar/test/ijar_test.sh | 325 | # Create a huge (~2.2Gb) input jar to test "large file" correctness |
| MEDIUM | third_party/ijar/test/ijar_test.sh | 334 | # Create an output jar with upper bound on size > 2GB |
| MEDIUM | scripts/bootstrap/build_windows_jni.sh | 38 | # Create a temp directory. It will used for the batch file we generate soon and |
| MEDIUM | scripts/bootstrap/compile.sh | 199 | # Create the deploy JAR |
| MEDIUM | scripts/bootstrap/compile.sh | 303 | # Create the bazel_tools repository. |
| MEDIUM | scripts/bootstrap/compile.sh | 361 | # Create the rest of @bazel_tools//tools/... |
| MEDIUM | scripts/bootstrap/buildenv.sh | 319 | # Create a link for a directory on the filesystem |
| MEDIUM | scripts/ci/build.sh | 349 | # Create a debian package with version in package name and add it to the repo |
| MEDIUM | scripts/release/relnotes.sh | 124 | # Create the release notes since commit $1 ($2...${[#]} are the cherry-picks, |
| MEDIUM | scripts/release/relnotes.sh | 196 | # Create the revision information given a list of commits. The first |
| MEDIUM | scripts/release/release.sh | 86 | # Create the release commit by changing the CHANGELOG file |
| MEDIUM | scripts/release/release.sh | 132 | # Create a new release named "$1" with "$2" as the baseline commit. |
| MEDIUM | scripts/packages/dmg/create_bazel_dmg.sh | 93 | # Create the dmg file |
| MEDIUM | src/create_java_tools_release.sh | 70 | # Create a tmp directory to download the artifacts from GCS and compute their |
| MEDIUM | src/upload_java_tools.sh | 79 | # Create a temp directory and a writable temp zip file to add a README.md file to |
| MEDIUM | src/upload_java_tools.sh | 92 | # Create the README.md file and add the re-build java tools instructions. |
| MEDIUM | src/tools/singlejar/zip64_huge_entry_test.sh | 67 | # Create a single 4GB file |
| MEDIUM | src/test/py/bazel/launcher_test.py | 727 | # Create a directory with a path longer than 260 |
| MEDIUM | src/test/py/bazel/runfiles_test.py | 201 | # Create a copy of the runfiles manifest, replacing |
| MEDIUM | src/test/py/bazel/bazel_external_repository_test.py | 519 | # Create a repository rule for bar that symlinks to foo's file. |
| MEDIUM | …est/py/bazel/bzlmod/remote_repo_contents_cache_test.py | 823 | # Create a repo with two BUILD files (one in a subpackage), build a target |
| MEDIUM | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 102 | # Create a project with deps on 'sss' |
| MEDIUM | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 148 | # Create a project with deps on 'sss' |
| MEDIUM | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 183 | # Create a project with deps on 'sss' |
| MEDIUM | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 216 | # Create a project with deps on the BCR's 'platforms' module |
| MEDIUM | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 251 | # Create a project with deps on the BCR's 'platforms' module |
| MEDIUM | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 291 | # Create a project with an outdated direct dep on aaa |
| MEDIUM | src/test/py/bazel/bzlmod/repo_contents_cache_test.py | 649 | # Create the external file outside the workspace so it's not treated as |
| MEDIUM | src/test/py/bazel/bzlmod/mod_command_test.py | 1078 | # Create a lockfile and let the extension evaluations emit fixup warnings. |
| MEDIUM | src/test/py/bazel/bzlmod/mod_command_test.py | 1420 | # Create a lockfile and let the extension evaluations emit fixup warnings. |
| MEDIUM | src/test/shell/unittest.bash | 61 | # This file provides utilities for assertions over the output of a |
| MEDIUM | src/test/shell/testenv.sh | 227 | # Create a shorter bazel root on Windows to avoid long path issue. |
| MEDIUM | src/test/shell/integration/thread_dump_test.sh | 25 | # Create a new workspace to ensure the output_base is clean |
| MEDIUM | src/test/shell/integration/exec_group_test.sh | 673 | # Define the toolchains. |
| MEDIUM | src/test/shell/integration/exec_group_test.sh | 703 | # Define the platforms. |
| MEDIUM | src/test/shell/integration/exec_group_test.sh | 752 | # Define a simple rule to put the aspect on. |
| MEDIUM | src/test/shell/integration/exec_group_test.sh | 794 | # Define the toolchains. |
| MEDIUM | src/test/shell/integration/exec_group_test.sh | 837 | # Define a simple rule to put the aspect on. |
| MEDIUM | src/test/shell/integration/platform_based_flags_test.sh | 77 | # Create a transition on platform. |
| MEDIUM | …test/shell/integration/starlark_configurations_test.sh | 900 | # Define the flags that are used. |
| MEDIUM | src/test/shell/integration/toolchain_test.sh | 176 | # Define the toolchain. |
| MEDIUM | src/test/shell/integration/toolchain_test.sh | 255 | # Define the toolchain. |
| 55 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/aquery_differ/aquery_differ.py | 117 | def _map_action_index_to_output_files(actions, artifacts): |
| LOW | tools/aquery_differ/aquery_differ.py | 137 | def _map_output_files_to_input_artifacts(action_graph_container, |
| LOW | tools/aquery_differ/aquery_differ.py | 172 | def _map_output_files_to_command_line(actions, action_index_to_output_files): |
| LOW | tools/aquery_differ/aquery_differ_test.py | 54 | def make_aquery_output_with_dep_set(action_objs, artifact_objs, |
| LOW | tools/aquery_differ/aquery_differ_test.py | 120 | def test_no_difference_different_output_files_order(self): |
| LOW | tools/aquery_differ/aquery_differ_test.py | 189 | def test_first_has_extra_output_files(self): |
| LOW | tools/aquery_differ/aquery_differ_test.py | 269 | def test_different_command_lines(self): |
| LOW | tools/python/pywrapper_test.py | 152 | def test_no_interpreter_found(self): |
| LOW | tools/python/pywrapper_test.py | 158 | def test_error_getting_version(self): |
| LOW | tools/python/pywrapper_test.py | 166 | def test_interpreter_not_executable(self): |
| LOW | tools/compliance/packages_used_test.py | 46 | def test_found_remote_packages(self): |
| LOW | tools/compliance/write_sbom.py | 144 | def maven_install_to_packages(maven_install: dict) -> dict: |
| LOW | tools/android/instrumentation_test_check_test.py | 51 | def test_extract_instrumentation_target_package(self): |
| LOW | tools/android/instrumentation_test_check_test.py | 56 | def test_extract_target_package(self): |
| LOW | tools/android/instrumentation_test_check_test.py | 60 | def test_target_package_check(self): |
| LOW | tools/android/instrumentation_test_check_test.py | 66 | def test_target_package_check_failure(self): |
| LOW | tools/ctexplain/bazel_api.py | 130 | def _parse_cquery_result_line(line: str) -> ConfiguredTarget: |
| LOW | tools/ctexplain/ctexplain.py | 98 | def _render_analysis_help_text() -> str: |
| LOW | third_party/py/mock/__init__.py | 808 | def _format_mock_call_signature(self, args, kwargs): |
| LOW | third_party/py/mock/__init__.py | 813 | def _format_mock_failure_message(self, args, kwargs): |
| LOW | third_party/py/mock/tests/testcallable.py | 89 | def test_patch_spec_set_instance(self): |
| LOW | third_party/py/mock/tests/testcallable.py | 98 | def test_patch_spec_callable_class(self): |
| LOW | third_party/py/mock/tests/testcallable.py | 151 | def test_create_autospec_instance(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 22 | def test_deleting_magic_methods(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 46 | def test_magic_method_wrapping(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 60 | def test_magic_methods_isolated_between_mocks(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 338 | def test_non_default_magic_methods(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 348 | def test_magic_methods_and_spec(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 373 | def test_magic_methods_and_spec_set(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 398 | def test_setting_unsupported_magic_method(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 408 | def test_attributes_and_return_value(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 421 | def test_magic_methods_are_magic_mocks(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 429 | def test_magic_method_reset_mock(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 468 | def test_descriptor_from_class(self): |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 474 | def test_iterable_as_iter_return_value(self): |
| LOW | third_party/py/mock/tests/testmock.py | 327 | def test_attribute_access_returns_mocks(self): |
| LOW | third_party/py/mock/tests/testmock.py | 343 | def test_attributes_have_name_and_parent_set(self): |
| LOW | third_party/py/mock/tests/testmock.py | 353 | def test_method_calls_recorded(self): |
| LOW | third_party/py/mock/tests/testmock.py | 471 | def test_exceptional_side_effect(self): |
| LOW | third_party/py/mock/tests/testmock.py | 479 | def test_baseexceptional_side_effect(self): |
| LOW | third_party/py/mock/tests/testmock.py | 487 | def test_assert_called_with_message(self): |
| LOW | third_party/py/mock/tests/testmock.py | 93 | def test_return_value_in_constructor(self): |
| LOW | third_party/py/mock/tests/testmock.py | 175 | def test_java_exception_side_effect(self): |
| LOW | third_party/py/mock/tests/testmock.py | 230 | def test_reset_mock_recursion(self): |
| LOW | third_party/py/mock/tests/testmock.py | 272 | def test_call_args_comparison(self): |
| LOW | third_party/py/mock/tests/testmock.py | 303 | def test_assert_called_once_with(self): |
| LOW | third_party/py/mock/tests/testmock.py | 368 | def test_method_calls_compare_easily(self): |
| LOW | third_party/py/mock/tests/testmock.py | 392 | def test_only_allowed_methods_exist(self): |
| LOW | third_party/py/mock/tests/testmock.py | 445 | def test_wraps_call_with_nondefault_return_value(self): |
| LOW | third_party/py/mock/tests/testmock.py | 531 | def test_setting_attribute_with_spec_set(self): |
| LOW | third_party/py/mock/tests/testmock.py | 557 | def test_spec_old_style_classes(self): |
| LOW | third_party/py/mock/tests/testmock.py | 571 | def test_spec_set_old_style_classes(self): |
| LOW | third_party/py/mock/tests/testmock.py | 592 | def test_subclass_with_properties(self): |
| LOW | third_party/py/mock/tests/testmock.py | 714 | def test_assert_called_with_failure_message(self): |
| LOW | third_party/py/mock/tests/testmock.py | 916 | def test_side_effect_iterator(self): |
| LOW | third_party/py/mock/tests/testmock.py | 940 | def test_side_effect_setting_iterator(self): |
| LOW | third_party/py/mock/tests/testmock.py | 962 | def test_side_effect_iterator_exceptions(self): |
| LOW | third_party/py/mock/tests/testmock.py | 972 | def test_assert_has_calls_any_order(self): |
| LOW | third_party/py/mock/tests/testmock.py | 1082 | def test_mock_calls_create_autospec(self): |
| LOW | third_party/py/mock/tests/testmock.py | 1154 | def test_mock_add_spec_magic_methods(self): |
| 223 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/ctexplain/bazel_api.py | 95 | Calls "bazel config" with the given config hash. Args: config_hash: A config hash as reported by "bazel cquer |
| HIGH | tools/ctexplain/bazel_api.py | 168 | Strips a fully qualified Java class name to the file scope. Examples: - "A.B.OuterClass" -> "OuterClass" - "A |
| HIGH | tools/ctexplain/lib.py | 23 | Gets a build invocation's configured targets. Args: bazel: API for invoking Bazel. labels: The targets to bui |
| HIGH | third_party/py/concurrent/futures/_base.py | 180 | An iterator over the given futures that yields each as it completes. Args: fs: The sequence of Futures (pos |
| HIGH | third_party/py/concurrent/futures/_base.py | 379 | Return the result of the call that the future represents. Args: timeout: The number of seconds to w |
| HIGH | third_party/py/concurrent/futures/_base.py | 410 | Return the exception raised by the call that the future represents. Args: timeout: The number of se |
| HIGH | third_party/py/concurrent/futures/_base.py | 524 | Returns a iterator equivalent to map(fn, iter). Args: fn: A callable that will take take as many ar |
| HIGH | third_party/py/abseil/absl/app.py | 189 | Registers help flags, parses arguments and shows usage if appropriate. This also calls sys.exit(0) if flag --only_che |
| HIGH | third_party/py/abseil/absl/flags/_validators.py | 84 | A function decorator for defining a flag validator. Registers the decorated function as a validator for flag_name, e. |
| HIGH | third_party/py/abseil/absl/flags/_validators.py | 160 | A function decorator for defining a multi-flag validator. Registers the decorated function as a validator for flag_na |
| HIGH | third_party/py/abseil/absl/flags/_flagvalues.py | 356 | Returns value if setting flag |name| to |value| returned True. Args: name: str, name of the flag to set. |
| HIGH | third_party/py/abseil/absl/flags/_flagvalues.py | 614 | Parses flags from argv; stores parsed flags into this FlagValues object. All unparsed arguments are returned. |
| HIGH | third_party/py/abseil/absl/flags/_flagvalues.py | 682 | Helper function to do the main argument parsing. This function goes through args and does the bulk of the flag pars |
| HIGH | third_party/py/abseil/absl/flags/_flagvalues.py | 1019 | Returns filename from a flagfile_str of form -[-]flagfile=filename. The cases of --flagfile foo and -flagfile foo s |
| HIGH | third_party/py/abseil/absl/flags/_flagvalues.py | 1109 | Processes command line args, but also allow args to be read from file. Args: argv: [str], a list of strings, |
| HIGH | third_party/py/abseil/absl/flags/_defines.py | 874 | Defines an alias flag for an existing one. Args: name: str, the flag name. original_name: str, the original f |
| HIGH | third_party/py/abseil/absl/flags/_helpers.py | 230 | Wraps a given text to a maximum line length and returns it. It turns lines that only contain whitespace into empty li |
| HIGH | third_party/py/abseil/absl/flags/_argument_parser.py | 112 | Parses the string argument and returns the native value. By default it returns its argument unmodified. Args: |
| HIGH | third_party/py/abseil/absl/flags/_argument_parser.py | 338 | Determines validity of argument and returns the correct element of enum. Args: argument: str, the supplied fl |
| HIGH | third_party/py/abseil/absl/flags/_argument_parser.py | 418 | Determines validity of argument and returns the correct element of enum. Args: argument: str or Enum class me |
| HIGH | third_party/py/abseil/absl/testing/absltest.py | 487 | Return a context manager for opening the file in text mode. Args: mode: The mode to open the file in. The "t" |
| HIGH | third_party/py/abseil/absl/testing/absltest.py | 511 | Return a context manager for opening the file in binary mode. Args: mode: The mode to open the file in. The " |
| HIGH | third_party/py/abseil/absl/testing/absltest.py | 1360 | Asserts that exception is thrown and predicate(exception) is true. Args: expected_exception: Exception class |
| HIGH | third_party/py/abseil/absl/testing/absltest.py | 1405 | Asserts that the message in a raised exception equals the given string. Unlike assertRaisesRegex, this method takes |
| HIGH | third_party/py/abseil/absl/testing/parameterized.py | 405 | Implementation of the parameterization decorators. Args: naming_type: The naming type. testcases: Testcase pa |
| HIGH | third_party/py/abseil/absl/testing/parameterized.py | 446 | A decorator for creating parameterized tests. See the module docstring for a usage example. Args: *testcases: |
| HIGH | third_party/py/abseil/absl/testing/parameterized.py | 465 | A decorator for creating parameterized tests. See the module docstring for a usage example. For every parameter tuple |
| HIGH | third_party/py/abseil/absl/testing/parameterized.py | 487 | A decorator for running tests over cartesian product of parameters values. See the module docstring for a usage examp |
| HIGH | third_party/py/abseil/absl/logging/converter.py | 116 | Converts an absl log level to a cpp log level. Args: level: int, an absl.logging level. Raises: TypeError: |
| HIGH | third_party/py/abseil/absl/logging/converter.py | 137 | Converts an integer level from the absl value to the standard value. Args: level: int, an absl.logging level. |
| HIGH | third_party/py/abseil/absl/logging/converter.py | 172 | Converts an integer level from the standard value to the absl value. Args: level: int, a Python standard logging |
| HIGH | third_party/py/abseil/absl/logging/converter.py | 203 | Converts an integer level from the standard value to the cpp value. Args: level: int, a Python standard logging l |
| HIGH | third_party/py/abseil/absl/logging/__init__.py | 648 | Computes the directory and filename prefix for log file. Args: program_name: str|None, the filename part of the p |
| HIGH | third_party/py/abseil/absl/logging/__init__.py | 761 | Skips reporting the prefix of a given function or name by :class:`~absl.logging.ABSLLogger`. This is a convenience wr |
| HIGH | src/test/py/bazel/test_base.py | 132 | Extracts the version of a module from the default MODULE.bazel.lock file. Args: module: string; the name of t |
| HIGH | src/test/py/bazel/test_base.py | 247 | Returns environment variable `name`. Args: name: string; name of the environment variable default: anyt |
| HIGH | src/test/py/bazel/test_base.py | 301 | Returns the absolute path of `path` relative to self._test_cwd. Args: path: string; a path, relative to self. |
| HIGH | src/test/py/bazel/test_base.py | 322 | Creates directories under the test's scratch directory. Args: path: string; a path, relative to the test's sc |
| HIGH | src/test/py/bazel/test_base.py | 344 | Creates a file under the test's scratch directory. Args: path: string; a path, relative to the test's scratch |
| HIGH | src/test/py/bazel/test_base.py | 377 | Copy a file to a path under the test's scratch directory. Args: src_path: string; a path, the file to copy |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 56 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40 |
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 102 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40:42 |
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 109 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40 |
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 119 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40 |
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 127 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40 |
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 137 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40 |
| CRITICAL | …/proguard/proguard6.2.2/docs/manual/retrace/mapping.md | 146 | 3040:3042:java.io.PrintWriter com.example.application.util.PrintWriterUtil.createPrintWriterOut(java.io.File):40 |
| CRITICAL | src/test/shell/bazel/remote/remote_execution_test.sh | 965 | myrunfiles = ctx.runfiles(files=ctx.attr.dir.default_runfiles.files.to_list()) |
| CRITICAL | …t/runner/testdata/system_exit_detecting_test_stack.txt | 5 | at com.google.testing.junit.runner.ProgramThatCallsSystemExit.main(ProgramThatCallsSystemExit.java:XXX) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | third_party/py/mock/__init__.py | 0 | add a spec to a mock. `spec` can either be an object or a list of strings. only attributes on the `spec` can be fetched |
| HIGH | third_party/py/mock/__init__.py | 0 | add a spec to a mock. `spec` can either be an object or a list of strings. only attributes on the `spec` can be fetched |
| HIGH | third_party/py/mock/__init__.py | 0 | add a spec to a mock. `spec` can either be an object or a list of strings. only attributes on the `spec` can be fetched |
| HIGH | third_party/py/abseil/absl/flags/argparse_flags.py | 0 | see https://docs.python.org/3/library/argparse.html#action-classes. |
| HIGH | third_party/py/abseil/absl/flags/argparse_flags.py | 0 | see https://docs.python.org/3/library/argparse.html#action-classes. |
| HIGH | third_party/py/abseil/absl/flags/argparse_flags.py | 0 | see https://docs.python.org/3/library/argparse.html#action-classes. |
| HIGH | examples/py_native/lib.py | 0 | a tiny example binary for the native python rules of bazel. |
| HIGH | examples/py_native/bin.py | 0 | a tiny example binary for the native python rules of bazel. |
| HIGH | examples/py_native/test.py | 0 | a tiny example binary for the native python rules of bazel. |
| HIGH | examples/py_native/fail.py | 0 | a tiny example binary for the native python rules of bazel. |
| HIGH | src/test/shell/unittest_test.py | 0 | function test_abc() { : } function test_def() { echo "running def" } run_suite "tests to filter" |
| HIGH | src/test/shell/unittest_test.py | 0 | function test_abc() { : } function test_def() { echo "running def" } run_suite "tests to filter" |
| HIGH | src/test/shell/unittest_test.py | 0 | function test_abc() { : } function test_def() { echo "running def" } run_suite "tests to filter" |
| HIGH | src/test/shell/bazel/local_repository_test.sh | 0 | genrule( name = "rewrite", cmd = "echo bar > \$@", outs = ["rewrite.out"], ) |
| HIGH | src/test/shell/bazel/local_repository_test.sh | 0 | genrule( name = "rewrite", cmd = "echo bar > \$@", outs = ["rewrite.out"], ) |
| HIGH | src/test/shell/bazel/local_repository_test.sh | 0 | genrule( name = "rewrite", cmd = "echo bar > \$@", outs = ["rewrite.out"], ) |
| HIGH | src/test/shell/bazel/local_repository_test.sh | 0 | genrule( name = "rewrite", cmd = "echo bar > \$@", outs = ["rewrite.out"], ) |
| HIGH | src/test/shell/bazel/local_repository_test.sh | 0 | genrule( name = "rewrite", cmd = "echo bar > \$@", outs = ["rewrite.out"], ) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/test/collect_coverage.sh | 93 | # -------------------------------------- |
| MEDIUM | third_party/py/mock/docs/conf.py | 24 | # --------------------- |
| MEDIUM | third_party/py/mock/docs/conf.py | 111 | # ----------------------- |
| MEDIUM | third_party/py/mock/docs/conf.py | 179 | # ------------------------ |
| MEDIUM | site/en/external/migration_tool.md | 156 | # ------------------- |
| MEDIUM | site/en/external/migration_tool.md | 165 | # ------------------- |
| MEDIUM | site/en/external/migration_tool.md | 174 | # ------------------- |
| MEDIUM | site/en/external/migration_tool.md | 181 | # ------------------- |
| MEDIUM | site/en/external/migration_tool.md | 217 | # ------------------- |
| MEDIUM | src/test/shell/unittest.bash | 23 | # ------------------------------------------------------------------------ |
| MEDIUM | src/test/shell/unittest.bash | 43 | # ------------------------------------------------------------------------ |
| MEDIUM | src/test/shell/integration/jvm_flags_escaping_test.sh | 47 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/integration/jvm_flags_escaping_test.sh | 49 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/integration/jvm_flags_escaping_test.sh | 236 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/integration/jvm_flags_escaping_test.sh | 238 | # ---------------------------------------------------------------------- |
| MEDIUM | …/shell/integration/starlark_dependency_pruning_test.sh | 175 | # ---------------------------------------------------------------------- |
| MEDIUM | …/shell/integration/starlark_dependency_pruning_test.sh | 177 | # ---------------------------------------------------------------------- |
| MEDIUM | …/shell/integration/starlark_dependency_pruning_test.sh | 200 | # ---------------------------------------------------------------------- |
| MEDIUM | …/shell/integration/starlark_dependency_pruning_test.sh | 202 | # ---------------------------------------------------------------------- |
| MEDIUM | …test/shell/integration/config_stripped_outputs_test.sh | 22 | # ------------------- |
| MEDIUM | src/test/shell/integration/py_args_escaping_test.sh | 43 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/integration/py_args_escaping_test.sh | 45 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/integration/py_args_escaping_test.sh | 201 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/integration/py_args_escaping_test.sh | 203 | # ---------------------------------------------------------------------- |
| MEDIUM | src/test/shell/bazel/run_test.sh | 43 | # ------------------------------------------------------------------------------ |
| MEDIUM | src/test/shell/bazel/run_test.sh | 45 | # ------------------------------------------------------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/python/pywrapper_test.py | 16 | |
| LOW | tools/build_defs/hash/sha256.py | 18 | |
| LOW | tools/build_defs/hash/sha256.py | 19 | |
| LOW | tools/build_defs/hash/sha256.py | 20 | |
| LOW | third_party/py/frozendict/frozendict/__init__.py | 2 | |
| LOW | third_party/py/frozendict/frozendict/__init__.py | 3 | |
| LOW | third_party/py/frozendict/frozendict/__init__.py | 4 | |
| LOW | third_party/py/mock/tests/support.py | 6 | |
| LOW | third_party/py/mock/tests/support.py | 8 | |
| LOW | third_party/py/mock/tests/testmagicmethods.py | 14 | |
| LOW | third_party/py/mock/tests/support_with.py | 1 | |
| LOW | third_party/py/mock/tests/support_with.py | 9 | |
| LOW | third_party/py/mock/tests/testwith.py | 4 | |
| LOW | third_party/py/mock/tests/_testwith.py | 5 | |
| LOW | third_party/py/concurrent/futures/_base.py | 4 | |
| LOW | third_party/py/concurrent/futures/_base.py | 5 | |
| LOW | third_party/py/concurrent/futures/thread.py | 6 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 8 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 17 | |
| LOW | third_party/py/concurrent/futures/__init__.py | 18 | |
| LOW | third_party/py/concurrent/futures/process.py | 46 | |
| LOW | third_party/py/abseil/absl/app.py | 30 | |
| LOW | third_party/py/abseil/absl/flags/__init__.py | 28 | |
| LOW | third_party/py/abseil/absl/flags/__init__.py | 29 | |
| LOW | third_party/py/abseil/absl/flags/__init__.py | 30 | |
| LOW | third_party/py/abseil/absl/flags/__init__.py | 32 | |
| LOW | third_party/py/abseil/absl/flags/__init__.py | 33 | |
| LOW | third_party/py/abseil/absl/flags/_defines.py | 32 | |
| LOW | third_party/py/abseil/absl/flags/_defines.py | 32 | |
| LOW | third_party/py/abseil/absl/flags/_defines.py | 32 | |
| LOW | third_party/py/abseil/absl/flags/_defines.py | 37 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 26 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 43 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 67 | |
| LOW | third_party/py/abseil/absl/logging/__init__.py | 93 | |
| LOW | third_party/py/abseil/absl/logging/__init__.py | 100 | |
| LOW | scripts/generate_fish_completion.py | 16 | |
| LOW | scripts/generate_fish_completion.py | 17 | |
| LOW | scripts/generate_fish_completion.py | 18 | |
| LOW | scripts/docs/rewriter_test.py | 15 | |
| 7 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | combine_distfiles.py | 28 | |
| LOW | tools/aquery_differ/aquery_differ.py | 263 | |
| LOW | tools/build_defs/pkg/archive_test.py | 27 | |
| LOW | tools/build_defs/pkg/build_tar.py | 56 | |
| LOW | third_party/py/mock/__init__.py | 754 | |
| LOW | third_party/py/mock/__init__.py | 1176 | |
| LOW | third_party/py/mock/__init__.py | 1247 | |
| LOW | third_party/py/mock/__init__.py | 1988 | |
| LOW | third_party/py/mock/__init__.py | 2028 | |
| LOW | third_party/py/mock/__init__.py | 1182 | |
| LOW | third_party/py/mock/tests/testmock.py | 1016 | |
| LOW | third_party/py/mock/tests/testmock.py | 1101 | |
| LOW | third_party/py/mock/tests/support_with.py | 13 | |
| LOW | third_party/py/concurrent/futures/_base.py | 158 | |
| LOW | third_party/py/concurrent/futures/_base.py | 179 | |
| LOW | third_party/py/concurrent/futures/_base.py | 237 | |
| LOW | third_party/py/concurrent/futures/thread.py | 79 | |
| LOW | third_party/py/concurrent/futures/process.py | 192 | |
| LOW | third_party/py/abseil/absl/flags/_flagvalues.py | 516 | |
| LOW | third_party/py/abseil/absl/flags/_flagvalues.py | 681 | |
| LOW | third_party/py/abseil/absl/flags/_flagvalues.py | 1003 | |
| LOW | third_party/py/abseil/absl/flags/_flagvalues.py | 1041 | |
| LOW | third_party/py/abseil/absl/flags/_flagvalues.py | 1108 | |
| LOW | third_party/py/abseil/absl/flags/_helpers.py | 201 | |
| LOW | third_party/py/abseil/absl/flags/_helpers.py | 286 | |
| LOW | third_party/py/abseil/absl/flags/_helpers.py | 205 | |
| LOW | third_party/py/abseil/absl/flags/_argument_parser.py | 206 | |
| LOW | third_party/py/abseil/absl/flags/_argument_parser.py | 247 | |
| LOW | third_party/py/abseil/absl/flags/_argument_parser.py | 268 | |
| LOW | third_party/py/abseil/absl/testing/_bazelize_command.py | 24 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 1823 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 1896 | |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 2431 | |
| LOW | third_party/py/abseil/absl/testing/parameterized.py | 310 | |
| LOW | third_party/py/abseil/absl/testing/parameterized.py | 314 | |
| LOW | third_party/py/abseil/absl/logging/converter.py | 171 | |
| LOW | third_party/py/dataclasses/dataclasses/__init__.py | 355 | |
| LOW | third_party/py/dataclasses/dataclasses/__init__.py | 427 | |
| LOW | third_party/py/dataclasses/dataclasses/__init__.py | 965 | |
| LOW | scripts/docs/create_release_docs.py | 133 | |
| LOW | scripts/packages/debian/generate_changelog.py | 22 | |
| LOW | src/create_embedded_tools.py | 124 | |
| LOW | src/create_embedded_tools_lib.py | 34 | |
| LOW | src/test/py/bazel/first_time_use_test.py | 31 | |
| LOW | src/test/py/bazel/test_wrapper_test.py | 265 | |
| LOW | src/test/py/bazel/test_wrapper_test.py | 306 | |
| LOW | src/test/py/bazel/test_wrapper_test.py | 354 | |
| LOW | src/test/py/bazel/test_wrapper_test.py | 606 | |
| LOW | src/test/py/bazel/test_base.py | 31 | |
| LOW | src/test/py/bazel/bzlmod/repo_contents_cache_test.py | 44 | |
| LOW | src/test/py/bazel/bzlmod/mod_command_test.py | 747 | |
| LOW | src/test/shell/bazel/testing_server.py | 134 | |
| LOW | src/test/shell/bazel/remote/uds_proxy.py | 41 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/test/test-setup.sh | 124 | # If the file path is already fully specified, simply return it. |
| LOW | tools/test/test-setup.sh | 127 | # If the file exists in the $TEST_SRCDIR then just use it. |
| LOW | third_party/py/mock/tests/testmock.py | 772 | # need to do this because MagicMock.mock_calls used to just return |
| LOW | third_party/py/abseil/absl/flags/_helpers.py | 165 | # Returning an int as default is fine, int(int) just return the int. |
| LOW | third_party/py/abseil/absl/logging/__init__.py | 218 | # just return a copy. |
| LOW | third_party/py/dataclasses/dataclasses/__init__.py | 346 | # via object.__setattr__. Otherwise, just use a simple |
| LOW | …est/py/bazel/bzlmod/remote_repo_contents_cache_test.py | 148 | # Deleting the cache fails on Windows, so we just use a different directory. |
| MEDIUM | src/test/shell/unittest.bash | 95 | # be absolute to be robust against |
| LOW | src/test/shell/unittest.bash | 248 | # the stack because they just add noise.) Also prints the contents of |
| LOW | src/test/shell/unittest.bash | 276 | # the stack because they just add noise.) |
| MEDIUM | src/test/shell/integration/execution_phase_tests.sh | 109 | # We cannot make any robust assertions on the first run because of implicit |
| MEDIUM | …est/shell/integration/param_file_flag_per_line_test.sh | 17 | # Tests Starlark API pertaining to action inspection via aspect. |
| MEDIUM | src/test/shell/integration/action_aspect_test.sh | 17 | # Tests Starlark API pertaining to action inspection via aspect. |
| MEDIUM | src/test/shell/bazel/coverage_helpers.sh | 67 | # Replace newlines with commas to facilitate the assertion. |
| LOW | src/test/shell/bazel/bazel_test_test.sh | 415 | # We don't just use the local PATH, but use the test's PATH, which is more restrictive. |
| LOW | src/test/shell/bazel/jdeps_test.sh | 71 | # If jdeps fails with a NPE, just add the class file to the list in |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/test/test-setup.sh | 70 | # Set USER to the current user, unless passed by Bazel via --test_env. |
| LOW | …party/py/abseil/absl/testing/_pretty_print_reporter.py | 71 | # Set this to true at the class or instance level to run tests using a |
| LOW | third_party/py/abseil/absl/testing/xml_reporter.py | 151 | # Check if it's something like "setUpClass (__main__.TestCase)". |
| LOW | third_party/py/abseil/absl/testing/parameterized.py | 586 | # Check if the base has _test_params_reprs first, then check if it's a |
| LOW | third_party/py/dataclasses/dataclasses/__init__.py | 568 | # Check if this is an InitVar. |
| LOW | scripts/bash_completion_test.sh | 39 | # Set this to test completion with package path (if enabled) |
| LOW | scripts/bootstrap/build_windows_jni.sh | 48 | # Check if BAZEL_VC points to Visual C++ Build Tools 2019 |
| LOW | scripts/bootstrap/build_windows_jni.sh | 65 | # Check if Visual Studio 2019 is installed. Look for it at the default |
| LOW | scripts/bootstrap/buildenv.sh | 21 | # Check if all necessary tools are available. |
| LOW | src/test/py/bazel/bazel_windows_test.py | 247 | # Set BAZEL_VC to a non-existing path, |
| LOW | src/test/py/bazel/bazel_windows_test.py | 304 | # Set BAZEL_VC to a non-existing path, |
| LOW | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 979 | # Set version to old |
| LOW | src/test/shell/shell_utils.sh | 47 | # Print the result to stdout. |
| LOW | src/test/shell/unittest.bash | 170 | # Check if the script path is absolute, if not prefix the PWD. |
| LOW | src/test/shell/unittest_utils.sh | 30 | # Print message in "$1" then exit with status "$2" |
| LOW | src/test/shell/unittest_utils.sh | 67 | # Print message in "$1" then record that a non-fatal error occurred in |
| LOW | src/test/shell/integration/java_integration_test.sh | 293 | # Set javabase to an absolute path. |
| LOW | src/test/shell/integration/build_event_stream_test.sh | 1558 | # Check if null builds still have build metrics |
| LOW | src/test/shell/bazel/cc_integration_test.sh | 2211 | # Check if clang version is less than 17 |
| LOW | src/test/shell/bazel/bazel_cc_code_coverage_test.sh | 31 | # Check if all the tools required by CC coverage are installed. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/ctexplain/bazel_api.py | 138 | "<label> (null)" |
| HIGH | scripts/generate_fish_completion.py | 178 | params.append("({} query -k '{}' 2>/dev/null)".format(_BAZEL, query)) |
| HIGH | src/test/py/bazel/bzlmod/bazel_repo_mapping_test.py | 234 | source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \ |
| HIGH | src/test/py/bazel/bzlmod/bazel_repo_mapping_test.py | 235 | source "$(grep -sm1 "^$f " "${RUNFILES_MANIFEST_FILE:-/dev/null}" | cut -f2- -d' ')" 2>/dev/null || \ |
| HIGH | src/test/py/bazel/bzlmod/bazel_lockfile_test.py | 656 | # resolution doesn't rerun (its event is null), the lockfile is still |
| HIGH | src/test/shell/unittest_test.py | 35 | if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | third_party/py/mock/tests/_testwith.py | 31 | except Exception: |
| MEDIUM | third_party/py/mock/tests/_testwith.py | 26 | def test_with_statement_exception(self): |
| LOW | third_party/py/concurrent/futures/_base.py | 301 | except Exception: |
| LOW | third_party/py/abseil/absl/app.py | 328 | except Exception as e: |
| LOW | third_party/py/abseil/absl/app.py | 376 | except Exception: # pylint: disable=broad-except |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 2079 | except Exception as e: # pylint: disable=broad-except |
| LOW | scripts/release/relnotes.py | 191 | except Exception: # pylint: disable=broad-exception-caught |
| MEDIUM | scripts/release/relnotes.py | 192 | print("Error: Not a release branch.") |
| MEDIUM | .github/scripts/check_ssl.py | 49 | print(f"Error: Config file not found at {self.config_path}") |
| MEDIUM | .github/scripts/check_ssl.py | 57 | print(f"Error parsing YAML config: {exc}") |
| MEDIUM | .github/scripts/check_ssl.py | 132 | print("Error: No domains found in config.") |
| MEDIUM | …n/java/com/google/devtools/common/options/Options.java | 37 | * System.err.print("Error parsing options: " + e.getMessage()); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/test/generate-xml.sh | 35 | # make sure to append a whitespace in step #1. |
| MEDIUM | third_party/py/abseil/absl/flags/argparse_flags.py | 21 | Here is a simple example:: |
| MEDIUM | scripts/ci/ci.sh | 35 | # you can replace origin/master in the COMMIT_RANGE variable initialization |
| LOW | .github/ISSUE_TEMPLATE/feature_request.yml | 26 | description: Help us triage this issue faster and more accurately to the relevant team(s). Check the [team labels |
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 26 | description: Help us triage this issue faster and more accurately to the relevant team(s). Check the [team labels |
| LOW | …main/java/net/starlark/java/eval/MethodDescriptor.java | 446 | @CheckReturnValue // don't forget to throw it |
| LOW | src/main/java/net/starlark/java/eval/Starlark.java | 939 | @CheckReturnValue // don't forget to throw it |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | third_party/py/mock/tests/testmock.py | 334 | # Usage example |
| LOW | scripts/bootstrap/buildenv.sh | 353 | # Usage: |
| LOW | src/zip_builtins.sh | 20 | # Usage: |
| LOW | src/test/shell/unittest_utils.sh | 143 | # Usage: |
| LOW | src/test/shell/unittest_utils.sh | 174 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | third_party/py/abseil/absl/testing/absltest.py | 2441 | # Set up --failfast as requested in environment |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/docs/testdata/input/markdown_with_html.md | 6 | Lorem ipsum [short link](/foo/bar). Or rather a [long link](https://bazel.build/foo/bar)? |
| LOW | …ts/docs/testdata/expected_output/markdown_with_html.md | 8 | Lorem ipsum [short link](/versions/6.6.6/foo/bar). Or rather a [long link](https://bazel.build/versions/6.6.6/foo/bar)? |
| LOW | src/test/py/bazel/test_wrapper_test.py | 55 | ' "@echo lorem ipsum",', |
| LOW | src/test/py/bazel/test_wrapper_test.py | 277 | if line.startswith('lorem ipsum'): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | third_party/py/mock/tests/testhelpers.py | 684 | def test_function(self): |
| LOW | third_party/py/abseil/absl/testing/absltest.py | 2158 | def main_function(argv): |