Repository Analysis

grpc/grpc

C++ based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

15.9 Moderate AI signal View on GitHub
15.9
Adjusted Score
15.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
44,841
Stars
C++
Language
779,369
Lines of Code
6594
Files
11095
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 26HIGH 329MEDIUM 193LOW 10547

Pattern Findings

11095 matches across 18 categories. Click a row to expand file-level details.

Over-Commented Block4907 hits · 4730 pts
SeverityFileLineSnippet
LOWbuild_config.rb1# Copyright 2017 gRPC authors.
LOWpyproject.toml1# Copyright 2025 gRPC authors.
LOWrequirements.bazel.txt1# Copyright 2025 gRPC authors.
LOWrequirements.bazel.txt21# # pip install pip-tools
LOWsetup.py1# Copyright 2015 gRPC authors.
LOWsetup.py161# runtime, the shared library must be installed
LOWsetup.py241 10,
LOWtools/buildgen/generate_build_additions.sh1#!/bin/sh
LOWtools/buildgen/generate_projects.sh1#! /bin/bash
LOWtools/buildgen/generate_projects.sh81# WARNING! Do not use this variable when running the script directly. This is
LOWtools/buildgen/parse_http_archives.py1#!/usr/bin/env python3
LOWtools/buildgen/generate_projects.py1# Copyright 2015 gRPC authors.
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1#!/usr/bin/env python3
LOWtools/buildgen/extract_metadata_from_bazel_xml.py21# is chosen to match the format of a "build.yaml" file, which used
LOWtools/buildgen/extract_metadata_from_bazel_xml.py561 #
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1441 # "run": False,
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1481 # For now it's ok to disable them as these binaries aren't very useful anyway.
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1501 'kind(alias, "//third_party:*")',
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1541# will be buildable with other build systems just fine, some of these tests
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1561
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1581# the heuristic approach used for tests are ideal and they cannot be made
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1601# '_COLLAPSED_DEPS': ['gpr', ...],
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1621# of targets provided by the legacy build.yaml build
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1641all_targets_dict = _generate_build_metadata(all_extra_metadata, bazel_rules)
LOWtools/buildgen/_mako_renderer.py1#!/usr/bin/env python3
LOWtools/buildgen/build_cleaner.py1#!/usr/bin/env python3
LOWtools/buildgen/copy_protos.sh1#! /bin/bash
LOWtools/buildgen/_utils.py1#!/usr/bin/env python3
LOWtools/buildgen/plugins/supported_bazel_versions.py1# Copyright 2022 The gRPC authors.
LOW…s/buildgen/plugins/expand_supported_python_versions.py1# Copyright 2024 gRPC authors.
LOWtools/buildgen/plugins/list_protos.py1# Copyright 2015 gRPC authors.
LOWtools/buildgen/plugins/expand_version.py1# Copyright 2016 gRPC authors.
LOWtools/buildgen/plugins/list_api.py1#!/usr/bin/env python3
LOWtools/buildgen/plugins/transitive_dependencies.py1# Copyright 2015 gRPC authors.
LOWtools/buildgen/plugins/check_attrs.py1# Copyright 2019 gRPC authors.
LOWtools/buildgen/plugins/verify_duplicate_sources.py1# Copyright 2020 gRPC authors.
LOWtools/buildgen/plugins/expand_bin_attrs.py1# Copyright 2015 gRPC authors.
LOWtools/docker_runners/run_in_docker.sh1#!/bin/bash
LOWtools/docker_runners/examples/concurrent_bazel.sh1#!/bin/bash
LOWtools/docker_runners/examples/gdb_in_docker.sh1#!/bin/bash
LOWtools/docker_runners/examples/gdb_in_docker.sh21# Use the docker image used as the default for C++ by run_tests.py
LOWtools/docker_runners/examples/gdb_in_docker.sh41#
LOWtools/docker_runners/examples/coredump_in_docker.sh1#!/bin/bash
LOWtools/docker_runners/examples/coredump_in_docker.sh21# Use the docker image used as the default for C++ by run_tests.py
LOWtools/docker_runners/examples/coredump_in_docker.sh41# No limit for coredump size
LOW…/docker_runners/examples/run_tests_csharp_in_docker.sh1#!/bin/bash
LOWtools/docker_runners/examples/bazel_test_in_docker.sh1#!/bin/bash
LOWtools/docker_runners/examples/run_tests_c_in_docker.sh1#!/bin/bash
LOWtools/docker_runners/examples/run_tests_c_in_docker.sh21# use the docker image used as the default for C++ by run_tests.py
LOWtools/interop_matrix/create_testcases.sh1#!/bin/bash
LOWtools/interop_matrix/client_matrix.py1# Copyright 2017 gRPC authors.
LOWtools/interop_matrix/run_interop_matrix_tests.py1#!/usr/bin/env python3
LOWtools/interop_matrix/create_matrix_images.py1#!/usr/bin/env python3
LOWtools/dockerfile/push_testing_images.sh1#!/bin/bash
LOWtools/dockerfile/push_testing_images.sh21set -e
LOW…rfile/grpc_clang_format/clang_format_all_the_things.sh1#!/bin/bash
LOW…nux_armv7/install_python_for_wheel_crosscompilation.sh1#!/bin/bash
LOW…ockerfile/grpc_clang_tidy/clang_tidy_all_the_things.sh1#!/bin/sh
LOW…kerfile/interoptest/grpc_interop_java/build_interop.sh1#!/bin/bash
LOW…nteroptest/grpc_interop_pythonasyncio/build_interop.sh1#!/bin/bash
4847 more matches not shown…
Unused Imports4388 hits · 3959 pts
SeverityFileLineSnippet
LOWsetup.py31
LOWsetup.py565
LOWtools/buildgen/generate_projects.py23
LOWtools/buildgen/generate_projects.py23
LOWtools/buildgen/extract_metadata_from_bazel_xml.py33
LOWtools/buildgen/_mako_renderer.py21
LOWtools/buildgen/_mako_renderer.py22
LOWtools/buildgen/plugins/expand_version.py21
LOWtools/buildgen/plugins/list_api.py17
LOWtools/buildgen/plugins/list_api.py21
LOWtools/interop_matrix/run_interop_matrix_tests.py17
LOWtools/interop_matrix/run_interop_matrix_tests.py20
LOWtools/interop_matrix/run_interop_matrix_tests.py21
LOWtools/interop_matrix/run_interop_matrix_tests.py25
LOWtools/interop_matrix/create_matrix_images.py17
LOWtools/gcp/utils/big_query_utils.py15
LOWtools/gcp/utils/big_query_utils.py17
LOWtools/gcp/utils/big_query_utils.py18
LOWtools/gcp/utils/big_query_utils.py19
LOWtools/gcp/utils/big_query_utils.py23
LOWtools/codegen/core/experiments_compiler.py20
LOWtools/codegen/core/experiments_compiler.py24
LOWtools/codegen/core/experiments_compiler.py27
LOWtools/codegen/core/experiments_compiler.py28
LOWtools/codegen/core/experiments_compiler.py29
LOWtools/codegen/core/experiments_compiler.py30
LOWtools/codegen/core/experiments_compiler.py32
LOWtools/codegen/core/gen_grpc_tls_credentials_options.py20
LOWtools/codegen/core/gen_grpc_tls_credentials_options.py22
LOWtools/codegen/core/gen_grpc_tls_credentials_options.py25
LOWtools/codegen/core/gen_config_vars.py17
LOWtools/codegen/core/gen_config_vars.py20
LOWtools/codegen/core/gen_config_vars.py21
LOWtools/codegen/core/gen_config_vars.py23
LOWtools/codegen/core/gen_config_vars.py24
LOWtools/codegen/core/gen_config_vars.py25
LOWtools/codegen/core/gen_config_vars.py26
LOWtools/codegen/core/gen_experiments.py23
LOWtools/codegen/core/optimize_arena_pool_sizes.py24
LOWtools/codegen/core/gen_header_frame.py26
LOWtools/distrib/gen_compilation_database.py23
LOWtools/distrib/update_flakes.py17
LOWtools/distrib/check_path_length.py17
LOWtools/distrib/fix_build_deps.py19
LOWtools/distrib/python/make_grpcio_tools.py17
LOWtools/distrib/python/make_grpcio_tools.py21
LOWtools/distrib/python/make_grpcio_tools.py22
LOWtools/distrib/python/make_grpcio_tools.py30
LOWtools/distrib/python/docgen.py16
LOWtools/distrib/python/grpcio_tools/_spawn_patch.py25
LOWtools/distrib/python/grpcio_tools/setup.py19
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py62
LOWtools/profiling/ios_bin/binary_size.py18
LOWtools/profiling/ios_bin/binary_size.py19
LOWtools/profiling/memory/memory_diff.py18
LOWtools/profiling/memory/memory_diff.py19
LOWtools/profiling/memory/memory_diff.py20
LOWtools/profiling/memory/memory_diff.py23
LOWtools/profiling/memory/memory_diff.py25
LOWtools/profiling/bloat/bloat_diff.py20
4328 more matches not shown…
Cross-File Repetition289 hits · 1445 pts
SeverityFileLineSnippet
HIGH…distrib/python/grpcio_tools/_parallel_compile_patch.py0patches the compile() to enable parallel compilation of c/c++. build_ext has lots of c/c++ files and normally them one b
HIGH…python/grpcio_observability/_parallel_compile_patch.py0patches the compile() to enable parallel compilation of c/c++. build_ext has lots of c/c++ files and normally them one b
HIGHsrc/python/grpcio/_parallel_compile_patch.py0patches the compile() to enable parallel compilation of c/c++. build_ext has lots of c/c++ files and normally them one b
HIGH…distrib/python/grpcio_tools/_parallel_compile_patch.py0monkeypatching is dumb, but the build speed gain is worth it. after python 3.12, we won't find distutils if setuptools_u
HIGH…python/grpcio_observability/_parallel_compile_patch.py0monkeypatching is dumb, but the build speed gain is worth it. after python 3.12, we won't find distutils if setuptools_u
HIGHsrc/python/grpcio/_parallel_compile_patch.py0monkeypatching is dumb, but the build speed gain is worth it. after python 3.12, we won't find distutils if setuptools_u
HIGHtools/distrib/python/grpcio_tools/grpc_tools/command.py0obtain the filename for a resource on the file system.
HIGHtools/distrib/python/grpcio_tools/grpc_tools/protoc.py0obtain the filename for a resource on the file system.
HIGHpy_xds_protos/build_xds_protos.py0obtain the filename for a resource on the file system.
HIGH…o_tests/tests/protoc_plugin/_split_definitions_test.py0obtain the filename for a resource on the file system.
HIGHtools/distrib/python/grpcio_tools/grpc_tools/command.py0command to generate project *_pb2.py modules from proto files.
HIGHsrc/python/grpcio_reflection/reflection_commands.py0command to generate project *_pb2.py modules from proto files.
HIGHsrc/python/grpcio_channelz/channelz_commands.py0command to generate project *_pb2.py modules from proto files.
HIGHsrc/python/grpcio_tests/commands.py0command to generate project *_pb2.py modules from proto files.
HIGHsrc/python/grpcio_health_checking/health_commands.py0command to generate project *_pb2.py modules from proto files.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtools/run_tests/run_tests.py0extra environment variables set for pre_build_steps and build_steps jobs.
HIGHtest/distrib/bazel/python/helloworld_moved.py0the python implementation of the grpc helloworld.greeter client.
HIGHtest/distrib/bazel/python/helloworld.py0the python implementation of the grpc helloworld.greeter client.
HIGH…es/python/interceptors/default_value/greeter_client.py0the python implementation of the grpc helloworld.greeter client.
HIGHexamples/python/interceptors/headers/greeter_client.py0the python implementation of the grpc helloworld.greeter client.
HIGHexamples/python/helloworld/greeter_client.py0the python implementation of the grpc helloworld.greeter client.
HIGHexamples/python/lb_policies/greeter_client.py0the python implementation of the grpc helloworld.greeter client.
HIGHexamples/python/xds/client.py0the python implementation of the grpc helloworld.greeter client.
HIGHexamples/python/flow_control/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…mples/python/interceptors/async/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…thon/interceptors/default_value/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…les/python/interceptors/headers/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/helloworld/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/keep_alive/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…on/hellostreamingworld/hellostreamingworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/health_checking/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/timeout/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/async_streaming/phone_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/observability/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/compression/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/uds/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/lb_policies/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/multiplex/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/multiplex/route_guide_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/xds/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/metadata/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/data_transmission/demo_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHexamples/python/route_guide/route_guide_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…xds_protos/envoy/service/load_stats/v2/lrs_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…xds_protos/envoy/service/load_stats/v3/lrs_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…tos/envoy/service/rate_limit_quota/v3/rlqs_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…rotos/envoy/service/trace/v2/trace_service_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…rotos/envoy/service/trace/v3/trace_service_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…nvoy/service/extension/v3/config_discovery_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGHpy_xds_protos/envoy/service/route/v3/srds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
HIGH…os/envoy/service/auth/v2/attribute_context_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.
229 more matches not shown…
Hyper-Verbose Identifiers963 hits · 1000 pts
SeverityFileLineSnippet
LOWsetup.py203def check_linker_need_libatomic():
LOWsetup.py495def cython_extensions_and_necessity():
LOWtools/buildgen/generate_projects.py93def generate_template_render_jobs(templates: List[str]) -> List[jobset.JobSpec]:
LOWtools/buildgen/extract_metadata_from_bazel_xml.py236def _extract_rules_from_bazel_xml(xml_tree):
LOWtools/buildgen/extract_metadata_from_bazel_xml.py276def _try_extract_source_file_path(label: str) -> str:
LOWtools/buildgen/extract_metadata_from_bazel_xml.py346def _extract_nonpublic_headers(bazel_rule: BuildMetadata) -> List[str]:
LOWtools/buildgen/extract_metadata_from_bazel_xml.py392def _create_target_from_bazel_rule(
LOWtools/buildgen/extract_metadata_from_bazel_xml.py416def _external_dep_name_from_bazel_dependency(bazel_dep: str) -> Optional[str]:
LOWtools/buildgen/extract_metadata_from_bazel_xml.py458def _compute_transitive_metadata(
LOWtools/buildgen/extract_metadata_from_bazel_xml.py607def _populate_transitive_metadata(
LOWtools/buildgen/extract_metadata_from_bazel_xml.py625def update_test_metadata_with_transitive_metadata(
LOWtools/buildgen/extract_metadata_from_bazel_xml.py693def _prune_upb_experimental_feature_rules(bazel_rules: BuildDict):
LOWtools/buildgen/extract_metadata_from_bazel_xml.py714def _expand_upb_proto_library_rules(bazel_rules):
LOWtools/buildgen/extract_metadata_from_bazel_xml.py792def _patch_grpc_proto_library_rules(bazel_rules):
LOWtools/buildgen/extract_metadata_from_bazel_xml.py803def _patch_descriptor_upb_proto_library(bazel_rules):
LOWtools/buildgen/extract_metadata_from_bazel_xml.py867def _convert_to_build_yaml_like(lib_dict: BuildMetadata) -> BuildYaml:
LOWtools/buildgen/extract_metadata_from_bazel_xml.py943def _exclude_unwanted_cc_tests(tests: List[str]) -> List[str]:
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1056def _generate_build_extra_metadata_for_tests(
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1175def _generate_external_proto_libraries() -> List[Dict[str, Any]]:
LOWtools/buildgen/build_cleaner.py87def cleaned_build_yaml_dict_as_string(indict):
LOWtools/buildgen/plugins/supported_bazel_versions.py19def _get_supported_bazel_versions():
LOWtools/interop_matrix/client_matrix.py35def get_runtimes_for_lang_release(lang, release):
LOWtools/interop_matrix/client_matrix.py44def should_build_docker_interop_image_from_release_tag(lang):
LOWtools/interop_matrix/run_interop_matrix_tests.py116def _get_test_images_for_lang(lang, release_arg, image_path_prefix):
LOWtools/interop_matrix/run_interop_matrix_tests.py190def _generate_test_case_jobspecs(lang, runtime, release, suite_name):
LOWtools/interop_matrix/create_matrix_images.py194def build_all_images_for_lang(lang):
LOWtools/interop_matrix/create_matrix_images.py230def build_all_images_for_release(lang, release):
LOWtools/interop_matrix/create_matrix_images.py289def maybe_apply_patches_on_git_tag(stack_base, lang, release):
LOWtools/release/verify_python_release.py71def _get_remote_artifacts_for_package(package, version):
LOWtools/release/verify_python_release.py90def _get_remote_artifacts_for_packages(packages, version):
LOWtools/distrib/rake_compiler_docker_image.rb20def docker_image_for_rake_compiler(platform)
LOWtools/distrib/python/make_grpcio_tools.py156def protobuf_submodule_commit_hash():
LOWtools/distrib/python/make_grpcio_tools.py224def _generate_deps_file_content():
LOW…distrib/python/grpcio_tools/_parallel_compile_patch.py76def monkeypatch_compile_maybe():
LOWtools/distrib/python/grpcio_tools/setup.py72def check_linker_need_libatomic():
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py71 def _maybe_install_proto_finders():
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py92 def _module_name_to_proto_file(suffix, module_name):
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py99 def _proto_file_to_module_name(suffix, proto_file):
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py143 def _generated_file_to_module_name(self, filepath):
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py82def _test_import_services_without_protos():
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py93def _test_proto_module_imported_once():
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py111def _test_static_dynamic_combo():
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py164 def test_import_services_without_protos(self):
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py167 def test_proto_module_imported_once(self):
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py170 def test_static_dynamic_combo(self):
LOWtools/run_tests/run_grpclb_interop_tests.py180def transport_security_to_args(transport_security):
LOWtools/run_tests/run_grpclb_interop_tests.py196def lb_client_interop_jobspec(
LOWtools/run_tests/run_grpclb_interop_tests.py282def grpc_server_in_docker_jobspec(server_cmdline, shortname):
LOWtools/run_tests/run_grpclb_interop_tests.py307def dns_server_in_docker_jobspec(
LOWtools/run_tests/run_grpclb_interop_tests.py342def build_interop_image_jobspec(lang_safename, basename_prefix="grpc_interop"):
LOWtools/run_tests/run_grpclb_interop_tests.py499def wait_until_dns_server_is_up(dns_server_ip):
LOWtools/run_tests/run_tests.py83def max_parallel_tests_for_current_platform():
LOWtools/run_tests/run_tests.py91def _print_debug_info_epilogue(dockerfile_dir=None):
LOWtools/run_tests/run_tests.py541 def _clang_cmake_configure_extra_args(self, version_suffix=""):
LOWtools/run_tests/run_tests.py755 def _python_docker_distro_name(self):
LOWtools/run_tests/run_tests.py1458def _calculate_num_runs_failures(list_of_results):
LOWtools/run_tests/run_performance_tests.py346def perf_report_processor_job(
LOWtools/run_tests/run_performance_tests.py529def run_collect_perf_profile_jobs(
LOWtools/run_tests/run_xds_tests.py580def wait_until_all_rpcs_go_to_given_backends_or_fail(
LOWtools/run_tests/run_xds_tests.py588def wait_until_all_rpcs_go_to_given_backends(
903 more matches not shown…
Self-Referential Comments89 hits · 267 pts
SeverityFileLineSnippet
MEDIUMtools/buildgen/generate_projects.sh55# Create a clean virtual environment.
MEDIUMtools/buildgen/extract_metadata_from_bazel_xml.py398 # Create a template for our target from the bazel rule. Initially we only
MEDIUMtools/buildgen/extract_metadata_from_bazel_xml.py611 # Create the map between Bazel label and public dependency name
MEDIUMtools/interop_matrix/create_matrix_images.py159 # Create a Dockerfile.
MEDIUMtools/dockerfile/push_testing_images.sh114# Create a directory for storing logs
MEDIUMtools/distrib/gen_compilation_database.py33# This method is equivalent to https://github.com/grailbio/bazel-compilation-database/blob/master/generate.sh
MEDIUMtools/distrib/check_redundant_namespace_qualifiers.py206# Define a configuration tuple for clarity.
MEDIUMtools/distrib/python/docgen.py75 # Create a temporary directory out of tree, checkout gh-pages from the
MEDIUMtools/run_tests/run_interop_tests.py839 "# This file is generated by"
MEDIUMtools/run_tests/artifacts/run_in_workspace.sh16# Create a workspace in a subdirectory to allow running multiple builds in isolation.
MEDIUM…ols/run_tests/helper_scripts/run_tests_in_workspace.sh16# Create a workspace in a subdirectory to allow running multiple builds in isolation.
MEDIUM…ols/internal_ci/macos/grpc_run_bazel_isolated_tests.sh36# Create the file and change the ownership to root before NTP sync.
MEDIUMtest/distrib/ruby/run_distrib_test.sh39# Create an indexed local gem source with gRPC gems to test
MEDIUMtest/cpp/naming/resolver_component_tests_runner.py16# This file is auto-generated
MEDIUMexamples/python/flow_control/helloworld_pb2_grpc.py108 # This class is part of an EXPERIMENTAL API.
MEDIUM…mples/python/interceptors/async/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUM…thon/interceptors/default_value/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUM…les/python/interceptors/headers/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/helloworld/helloworld_pb2_grpc.py103 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/keep_alive/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUM…on/hellostreamingworld/hellostreamingworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/health_checking/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/timeout/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/async_streaming/phone_pb2_grpc.py48 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/observability/helloworld_pb2_grpc.py103 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/compression/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/uds/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/lb_policies/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/multiplex/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/multiplex/route_guide_pb2_grpc.py117 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/xds/server.py62 # Create a health check servicer. We use the non-blocking implementation
MEDIUMexamples/python/xds/server.py71 # Create a tuple of all of the services we want to export via reflection.
MEDIUMexamples/python/xds/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/metadata/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/data_transmission/demo_pb2_grpc.py113 # This class is part of an EXPERIMENTAL API.
MEDIUMexamples/python/route_guide/route_guide_pb2_grpc.py117 # This class is part of an EXPERIMENTAL API.
MEDIUMbazel/update_mirror.sh26# Create a temp directory to hold the versioned tarball,
MEDIUMpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py106 # This class is part of an EXPERIMENTAL API.
MEDIUM…xds_protos/envoy/service/load_stats/v2/lrs_pb2_grpc.py100 # This class is part of an EXPERIMENTAL API.
MEDIUM…xds_protos/envoy/service/load_stats/v3/lrs_pb2_grpc.py116 # This class is part of an EXPERIMENTAL API.
MEDIUM…tos/envoy/service/rate_limit_quota/v3/rlqs_pb2_grpc.py144 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py114 # This class is part of an EXPERIMENTAL API.
MEDIUM…rotos/envoy/service/trace/v2/trace_service_pb2_grpc.py58 # This class is part of an EXPERIMENTAL API.
MEDIUM…rotos/envoy/service/trace/v3/trace_service_pb2_grpc.py58 # This class is part of an EXPERIMENTAL API.
MEDIUM…nvoy/service/extension/v3/config_discovery_pb2_grpc.py154 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py114 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py267 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/route/v3/srds_pb2_grpc.py120 # This class is part of an EXPERIMENTAL API.
MEDIUM…protos/envoy/service/auth/v2/external_auth_pb2_grpc.py84 # This class is part of an EXPERIMENTAL API.
MEDIUM…protos/envoy/service/auth/v3/external_auth_pb2_grpc.py84 # This class is part of an EXPERIMENTAL API.
MEDIUM…s/envoy/service/auth/v2alpha/external_auth_pb2_grpc.py84 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/health/v3/hds_pb2_grpc.py135 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/runtime/v3/rtds_pb2_grpc.py108 # This class is part of an EXPERIMENTAL API.
MEDIUM…xds_protos/envoy/service/discovery/v2/rtds_pb2_grpc.py108 # This class is part of an EXPERIMENTAL API.
MEDIUM…_xds_protos/envoy/service/discovery/v2/sds_pb2_grpc.py104 # This class is part of an EXPERIMENTAL API.
MEDIUM…_xds_protos/envoy/service/discovery/v2/ads_pb2_grpc.py111 # This class is part of an EXPERIMENTAL API.
MEDIUM…_xds_protos/envoy/service/discovery/v2/hds_pb2_grpc.py135 # This class is part of an EXPERIMENTAL API.
MEDIUM…_xds_protos/envoy/service/discovery/v3/ads_pb2_grpc.py111 # This class is part of an EXPERIMENTAL API.
MEDIUM…/service/redis_auth/v3/redis_external_auth_pb2_grpc.py80 # This class is part of an EXPERIMENTAL API.
MEDIUMpy_xds_protos/envoy/service/status/v2/csds_pb2_grpc.py96 # This class is part of an EXPERIMENTAL API.
29 more matches not shown…
Hallucination Indicators26 hits · 230 pts
SeverityFileLineSnippet
CRITICALsrc/core/lib/promise/detail/seq_state.h1157 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h1560 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h1590 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2028 prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2059 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2089 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2559 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2592 prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2623 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h2653 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3197 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3230 prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3261 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3291 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3907 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3940 prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h3971 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h4001 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h4689 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h4722 prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h4753 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h4783 auto result = prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h5546 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h5579 prior.prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h5610 auto result = prior.prior.prior.prior.prior.prior.current_promise();
CRITICALsrc/core/lib/promise/detail/seq_state.h5640 auto result = prior.prior.prior.prior.prior.current_promise();
Docstring Block Structure32 hits · 160 pts
SeverityFileLineSnippet
HIGHtools/run_tests/run_xds_tests.py679Compare if two distributions are similar. Args: actual_distribution: A list of floats, contains the actual di
HIGHexamples/python/cancellation/search.py104Find candidate strings. Search through the space of all bytestrings, in order of increasing length, indefinitel
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py74 Find a file descriptor by file name. This function implements a DescriptorDatabase interface, and is
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py100 Find the file containing the symbol, and return its file descriptor. The symbol should be a fully qual
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py133 Find the field numbers used by all known extensions of `extendee_name`. This function implements a Des
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py164 Find the file which defines an extension for the given message type and field number. This fun
HIGHsrc/python/grpcio/grpc/__init__.py124Returns the result of the computation or raises its exception. This method may return immediately or may block.
HIGHsrc/python/grpcio/grpc/__init__.py147Return the exception raised by the computation. This method may return immediately or may block. Args:
HIGHsrc/python/grpcio/grpc/__init__.py169Access the traceback of the exception raised by the computation. This method may return immediately or may bloc
HIGHsrc/python/grpcio/grpc/__init__.py691Synchronously invokes the underlying RPC. Args: request: The request value for the RPC. tim
HIGHsrc/python/grpcio/grpc/__init__.py725Synchronously invokes the underlying RPC. Args: request: The request value for the RPC. tim
HIGHsrc/python/grpcio/grpc/__init__.py832Synchronously invokes the underlying RPC. Args: request_iterator: An iterator that yields request val
HIGHsrc/python/grpcio/grpc/__init__.py867Synchronously invokes the underlying RPC on the client. Args: request_iterator: An iterator that yiel
HIGHsrc/python/grpcio/grpc/__init__.py2160Intercepts a channel through a set of interceptors. Args: channel: A Channel. interceptors: Zero or mor
HIGHsrc/python/grpcio/grpc/framework/foundation/future.py139Accesses the outcome of the computation or raises its exception. This method may return immediately or may bloc
HIGHsrc/python/grpcio/grpc/framework/foundation/future.py162Return the exception raised by the computation. This method may return immediately or may block. Args:
HIGHsrc/python/grpcio/grpc/framework/foundation/future.py185Access the traceback of the exception raised by the computation. This method may return immediately or may bloc
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py371Synchronously invokes the underlying RPC. Args: request: The request value for the RPC. tim
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py504Synchronously invokes the underlying RPC. Args: request_iterator: An iterator that yields request val
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py677Services an RPC. Args: group: The group identifier of the RPC. method: The method identifie
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py717Invokes a unary-request-unary-response method. This method blocks until either returning the response value of
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py811Invokes a stream-request-unary-response method. This method blocks until either returning the response value of
HIGH…c/python/grpcio/grpc/framework/interfaces/base/base.py217Services an operation. Args: group: The group identifier of the operation to be serviced. m
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py44Asynchronously invokes the underlying RPC. Args: request: The request value for the RPC. ti
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py82Asynchronously invokes the underlying RPC. Args: request: The request value for the RPC. ti
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py119Asynchronously invokes the underlying RPC. Args: request_iterator: An optional async iterable or iter
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py157Asynchronously invokes the underlying RPC. Args: request_iterator: An optional async iterable or iter
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py139Intercepts a unary-unary invocation asynchronously. Args: continuation: A coroutine that proceeds wit
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py175Intercepts a unary-stream invocation asynchronously. The function could return the call object or an asynchrono
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py215Intercepts a stream-unary invocation asynchronously. Within the interceptor the usage of the call methods like
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py257Intercepts a stream-stream invocation asynchronously. Within the interceptor the usage of the call methods like
HIGHsrc/python/grpcio_status/grpc_status/rpc_status.py34Returns a google.rpc.status.Status message corresponding to a given grpc.Call. This is an EXPERIMENTAL API. Ar
Decorative Section Separators50 hits · 150 pts
SeverityFileLineSnippet
MEDIUMtools/doxygen/Doxyfile.php1944#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1946#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1956#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1958#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php18#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php20#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php402#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php404#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php694#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php696#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php753#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php755#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php967#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php969#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1053#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1055#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1079#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1081#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1622#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1624#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1780#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1782#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1846#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1848#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1890#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1892#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1917#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1919#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1994#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php1996#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php2072#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php2074#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php2124#---------------------------------------------------------------------------
MEDIUMtools/doxygen/Doxyfile.php2126#---------------------------------------------------------------------------
MEDIUMtest/core/tsi/test_creds/crl_data/evil_ca_gen.sh30# ----------------------------------------------------------------------------
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h203 // │┌▽────────────────┐
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h205 // │└┬───────────────┬┘
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h206 // │┌▽─────────────┐┌▽──────────────┐
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h208 // │└┬─────────────┘└───┬───────────┘
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h209 // ┌▽─▽────────────────┐┌▽──────────────────┐
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h211 // └┬─────────────────┬┘└┬──────────────────┘
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h212 // ┌▽───────────────┐┌▽──▽─────────────┐
MEDIUMsrc/core/ext/transport/chttp2/transport/hpack_parser.h214 // └────────────────┘└─────────────────┘
MEDIUMsrc/core/lib/experiments/rollouts.yaml31# -----------------------------------------
MEDIUMsrc/core/telemetry/instrument.h149// ┌────────┐ ┌────────┐
MEDIUMsrc/core/telemetry/instrument.h153// └──────────────┤
MEDIUMsrc/core/telemetry/instrument.h155// ┌──────▼───────┐
MEDIUMsrc/core/telemetry/instrument.h157// └──────┬───────┘
MEDIUMsrc/core/telemetry/instrument.h159// ┌──────────────┤
MEDIUMsrc/core/telemetry/instrument.h163// └────────┘ └────────┘
Excessive Try-Catch Wrapping119 hits · 146 pts
SeverityFileLineSnippet
MEDIUMtools/gcp/utils/big_query_utils.py179 print("Error in creating table: %s. Err: %s" % (table_id, http_error))
MEDIUMtools/gcp/utils/big_query_utils.py196 print("Error inserting rows! Response: %s" % res)
MEDIUMtools/gcp/utils/big_query_utils.py199 print("Error inserting rows to the table %s" % table_id)
MEDIUMtools/gcp/utils/big_query_utils.py200 print("Error message: %s" % http_error)
LOWtools/distrib/check_redundant_namespace_qualifiers.py232 except Exception as e:
MEDIUMtools/distrib/fix_build_deps.py302 print("Error while parsing ", name)
LOWtools/distrib/python/make_grpcio_tools.py346 except Exception as error:
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py30 except Exception as e:
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py148 except Exception as e:
MEDIUM…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py27def _wrapped(error_queue):
MEDIUMtools/profiling/memory/memory_diff.py147 print("Error running benchmark:", e)
MEDIUMtools/run_tests/run_xds_tests.py130def parse_port_range(port_arg):
MEDIUMtools/run_tests/run_xds_tests.py3255def get_health_check(gcp, health_check_name):
MEDIUMtools/run_tests/run_xds_tests.py3268def get_health_check_firewall_rule(gcp, firewall_name):
MEDIUMtools/run_tests/run_xds_tests.py3283def get_backend_service(gcp, backend_service_name, record_error=True):
MEDIUMtools/run_tests/run_xds_tests.py3299def get_url_map(gcp, url_map_name, record_error=True):
MEDIUMtools/run_tests/run_xds_tests.py3313def get_target_proxy(gcp, target_proxy_name, record_error=True):
MEDIUMtools/run_tests/run_xds_tests.py3334def get_global_forwarding_rule(gcp, forwarding_rule_name, record_error=True):
MEDIUMtools/run_tests/run_xds_tests.py3350def get_instance_template(gcp, template_name):
MEDIUMtools/run_tests/run_xds_tests.py3363def get_instance_group(gcp, zone, instance_group_name):
LOWtools/run_tests/run_xds_tests.py3263 except Exception as e:
LOWtools/run_tests/run_xds_tests.py3278 except Exception as e:
LOWtools/run_tests/run_xds_tests.py797 except Exception:
LOWtools/run_tests/run_xds_tests.py867 except Exception:
LOWtools/run_tests/run_xds_tests.py941 except Exception:
LOWtools/run_tests/run_xds_tests.py1016 except Exception:
LOWtools/run_tests/run_xds_tests.py1404 except Exception:
LOWtools/run_tests/run_xds_tests.py1481 except Exception:
LOWtools/run_tests/run_xds_tests.py1528 except Exception:
LOWtools/run_tests/run_xds_tests.py1593 except Exception:
LOWtools/run_tests/run_xds_tests.py1693 except Exception as e:
LOWtools/run_tests/run_xds_tests.py1711 except Exception:
LOWtools/run_tests/run_xds_tests.py1899 except Exception:
LOWtools/run_tests/run_xds_tests.py2167 except Exception:
LOWtools/run_tests/run_xds_tests.py2373 except Exception:
LOWtools/run_tests/run_xds_tests.py2539 except Exception:
LOWtools/run_tests/run_xds_tests.py2721 except Exception:
LOWtools/run_tests/run_xds_tests.py3291 except Exception as e:
LOWtools/run_tests/run_xds_tests.py3308 except Exception as e:
LOWtools/run_tests/run_xds_tests.py3329 except Exception as e:
LOWtools/run_tests/run_xds_tests.py3345 except Exception as e:
LOWtools/run_tests/run_xds_tests.py3358 except Exception as e:
LOWtools/run_tests/run_xds_tests.py3378 except Exception as e:
LOWtools/run_tests/run_xds_tests.py4297 except Exception as e:
MEDIUMtools/run_tests/python_utils/upload_test_results.py112 print("Error uploading result to bigquery, will retry.")
MEDIUMtools/run_tests/python_utils/upload_rbe_results.py118 print("Error uploading result to bigquery, will retry.")
LOWtools/run_tests/python_utils/upload_rbe_results.py312 except Exception as e:
LOWtools/run_tests/python_utils/port_server.py76 except Exception:
LOWtools/run_tests/python_utils/start_port_server.py44 except Exception as e:
MEDIUMtools/run_tests/sanity/check_bzl_deps.py92 print(f"Error downloading the file: {e}")
MEDIUMtools/run_tests/sanity/check_bzl_deps.py95 print(f"Error parsing JSON: {e}")
MEDIUMtools/run_tests/sanity/check_bzl_deps.py113 print(f"An error occurred: {e}")
MEDIUMtools/run_tests/performance/bq_upload_result.py59 print("Error uploading result to bigquery.")
MEDIUMtools/run_tests/performance/bq_upload_result.py88 print("Error uploading result to bigquery.")
LOWexamples/python/async_streaming/client.py61 except Exception as e:
LOWexamples/python/observability/csm/csm_greeter_client.py57 except Exception: # pylint: disable=broad-except
LOWbazel/_single_module_tester.py36 except Exception as e:
LOWsrc/python/grpcio_observability/setup.py66 except Exception:
LOW…thon/grpcio_observability/make_grpcio_observability.py280 except Exception as error:
MEDIUM…ty/grpc_observability/_open_telemetry_observability.py351def observability_init(self):
59 more matches not shown…
Deep Nesting154 hits · 142 pts
SeverityFileLineSnippet
LOWtools/buildgen/parse_http_archives.py57
LOWtools/buildgen/extract_metadata_from_bazel_xml.py175
LOWtools/buildgen/extract_metadata_from_bazel_xml.py236
LOWtools/buildgen/extract_metadata_from_bazel_xml.py276
LOWtools/buildgen/extract_metadata_from_bazel_xml.py416
LOWtools/buildgen/extract_metadata_from_bazel_xml.py458
LOWtools/buildgen/extract_metadata_from_bazel_xml.py650
LOWtools/buildgen/extract_metadata_from_bazel_xml.py714
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1184
LOWtools/buildgen/_mako_renderer.py66
LOWtools/buildgen/_utils.py93
LOWtools/buildgen/plugins/transitive_dependencies.py51
LOWtools/buildgen/plugins/verify_duplicate_sources.py17
LOWtools/release/release_notes.py156
LOWtools/codegen/core/experiments_compiler.py671
LOWtools/distrib/check_redundant_namespace_qualifiers.py46
LOWtools/distrib/check_redundant_namespace_qualifiers.py118
LOWtools/distrib/check_redundant_namespace_qualifiers.py237
LOWtools/distrib/fix_build_deps.py249
LOWtools/distrib/fix_build_deps.py558
LOWtools/distrib/add-iwyu.py70
LOWtools/distrib/python/grpcio_tools/_spawn_patch.py43
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py149
LOWtools/profiling/ios_bin/parse_link_map.py25
LOWtools/profiling/memory/memory_diff.py117
LOWtools/run_tests/run_grpclb_interop_tests.py180
LOWtools/run_tests/run_grpclb_interop_tests.py499
LOWtools/run_tests/run_tests.py1350
LOWtools/run_tests/run_tests.py1485
LOWtools/run_tests/run_tests.py337
LOWtools/run_tests/run_tests.py547
LOWtools/run_tests/run_tests.py683
LOWtools/run_tests/run_tests.py762
LOWtools/run_tests/run_tests.py1055
LOWtools/run_tests/run_performance_tests.py382
LOWtools/run_tests/run_performance_tests.py558
LOWtools/run_tests/run_xds_tests.py1618
LOWtools/run_tests/run_xds_tests.py1720
LOWtools/run_tests/run_xds_tests.py1908
LOWtools/run_tests/run_xds_tests.py2387
LOWtools/run_tests/run_xds_tests.py2547
LOWtools/run_tests/run_xds_tests.py2730
LOWtools/run_tests/run_xds_tests.py2917
LOWtools/run_tests/run_xds_tests.py3756
LOWtools/run_tests/run_tests_matrix.py160
LOWtools/run_tests/artifacts/artifact_targets.py144
LOWtools/run_tests/artifacts/package_targets.py171
LOWtools/run_tests/python_utils/report_utils.py104
LOWtools/run_tests/python_utils/check_on_pr.py69
LOWtools/run_tests/python_utils/upload_test_results.py96
LOWtools/run_tests/python_utils/jobset.py52
LOWtools/run_tests/python_utils/jobset.py125
LOWtools/run_tests/python_utils/jobset.py357
LOWtools/run_tests/python_utils/jobset.py565
LOWtools/run_tests/python_utils/bazel_report_helper.py35
LOWtools/run_tests/python_utils/port_server.py160
LOWtools/run_tests/python_utils/start_port_server.py31
LOWtools/run_tests/python_utils/watch_dirs.py31
LOWtools/run_tests/sanity/check_include_style.py35
LOWtools/run_tests/sanity/check_bzl_deps.py117
94 more matches not shown…
AI Slop Vocabulary16 hits · 42 pts
SeverityFileLineSnippet
MEDIUMtools/buildgen/extract_metadata_from_bazel_xml.py1553# suite fully towards bazel might be intricate (e.g. it's unclear whether it's
MEDIUM…s/bazelify_tests/test/bazel_build_with_bzlmod_linux.sh34# to be replaced by a comprehensive test suite once the bzlmod migration is finished.
MEDIUMtools/run_tests/artifacts/build_artifact_python.sh322 # Build grpcio_admin source distribution and it needs the cutting-edge version
MEDIUMtools/run_tests/dockerize/build_interop_image.sh99# spaces, but the "correct" way to do this is to utilize proper arrays.
MEDIUMtools/doxygen/Doxyfile.php1139# it is more robust and this tag (HTML_STYLESHEET) will in the future become
MEDIUMtools/doxygen/Doxyfile.php1149# standard style sheet and is therefore more robust against future updates.
LOWtools/internal_ci/macos/grpc_objc_bazel_test.sh79# is not what we want to test actually, we just use it as a backend for ObjC test).
MEDIUMinclude/grpcpp/impl/call_op_set.h859/// the maximum count of ops we'll need in a set. We leverage the
MEDIUMinclude/grpcpp/support/proto_buffer_writer.h136 // below is not robust against count == 0 invocations, so directly return.
MEDIUMsrc/core/util/overload.h26// Compose one overload with N more -- use inheritance to leverage using and the
MEDIUM…ext/transport/chaotic_good_legacy/pending_connection.h28// Essentially this is the promise of one endpoint in the future, with the
MEDIUM…c/core/ext/transport/chaotic_good/pending_connection.h29// Essentially this is the promise of one endpoint in the future, with the
MEDIUMsrc/core/lib/promise/party.h265 // The size of this type matters, and so we leverage private inheritance to
MEDIUM…ython/grpcio_tests/tests/unit/_signal_handling_test.py45# The gevent test harness cannot run the monkeypatch code for the child process,
MEDIUM…ython/grpcio_tests/tests/unit/_xds_credentials_test.py109 # No exceptions thrown. A more comprehensive suite of tests will be
LOWsrc/ruby/bin/math_server.rb123 # just return the generator, GRPC::GenericServer sends each actual response
Cross-Language Confusion7 hits · 35 pts
SeverityFileLineSnippet
HIGHtools/interop_matrix/run_interop_matrix_tests.py244 "time gcloud docker -- pull %s && time docker run --rm=true %s"
HIGHtools/codegen/core/gen_grpc_tls_credentials_options.py101 " (certificate_verifier_ != nullptr && other.certificate_verifier_"
HIGHtools/profiling/qps/qps_scenarios.py21 ' {"async_server_threads": 1, "security_params": null, "server_type":'
HIGHtools/profiling/qps/qps_scenarios.py23 ' "ASYNC_CLIENT", "security_params": null, "payload_config":'
HIGHtools/profiling/qps/qps_scenarios.py34 ' {"async_server_threads": 31, "security_params": null, "server_type":'
HIGHtools/profiling/qps/qps_scenarios.py36 ' "ASYNC_CLIENT", "security_params": null, "payload_config":'
HIGHtools/run_tests/run_interop_tests.py488 "pod install && xcodebuild -workspace Tests.xcworkspace"
Verbosity Indicators21 hits · 32 pts
SeverityFileLineSnippet
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1509# Step 1: run a bunch of "bazel query --output xml" queries to collect
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1540# Step 2: Extract the known bazel cc_test tests. While most tests
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1562# Step 3: Generate the "extra metadata" for all our build targets.
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1595# Step 4: Compute the build metadata that will be used in the final build.yaml.
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1613# Step 5: Generate the final metadata for all the targets.
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1643# Step 6: convert the dictionary with all the targets to a dict that has
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1657# Step 7: generates build metadata for external ProtoBuf libraries.
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1670# Step 7: Store the build_autogenerated.yaml in a deterministic (=sorted)
LOWtools/distrib/python/make_grpcio_tools.py319 # Step 1:
LOWtools/distrib/python/make_grpcio_tools.py338 # Step 2:
LOWsrc/core/lib/channel/promise_based_filter.h1309 // Step 2: Spawn a promise to pull messages from the v3
LOWsrc/core/lib/channel/promise_based_filter.h1327 // Step 1: Push the message onto the v3 initiator in
LOWsrc/core/lib/channel/promise_based_filter.h1330 // Step 3: Here in the v2 activity, read the message
LOWsrc/core/lib/channel/promise_based_filter.h1355 // Step 2: Spawn a promise to pull the metadata from the v3
LOWsrc/core/lib/channel/promise_based_filter.h1372 // Step 1: Push the metadata onto the v3 handler in
LOWsrc/core/lib/channel/promise_based_filter.h1375 // Step 3: Here in the v2 activity, read from the
LOWsrc/core/lib/channel/promise_based_filter.h1394 // Step 2: Spawn a promise to pull messages from the v3
LOWsrc/core/lib/channel/promise_based_filter.h1412 // Step 1: Push the message onto the v3 handler in
LOWsrc/core/lib/channel/promise_based_filter.h1415 // Step 3: Here in the v2 activity, read from the
LOW…thon/grpcio_observability/make_grpcio_observability.py256 # Step 1:
LOW…thon/grpcio_observability/make_grpcio_observability.py273 # Step 2:
Redundant / Tautological Comments17 hits · 27 pts
SeverityFileLineSnippet
LOWtools/dockerfile/push_testing_images.sh274 # Check if it contains Dockerfile
LOWtools/distrib/check_boringssl_prefix_symbol.sh16# Check if the current BoringSSL prefix symbols is up to date
LOWtools/distrib/add-iwyu.py106 # Check if we have an exporting candidate
LOWtools/run_tests/run_grpclb_interop_tests.py665 # Check if servers are still running.
LOWtools/run_tests/run_interop_tests.py1839 # Check if servers are still running.
LOWtools/run_tests/performance/loadtest_config.py290 # Set clients to named instances.
LOWtools/run_tests/performance/loadtest_config.py312 # Set servers to named instances.
LOWtools/internal_ci/linux/grpc_xds_k8s_run_xtest.sh82 # Check if images exist
LOWtest/http2_test/test_data_frame_padding.py65 # Check if full grpc msg has been read into the recv buffer yet
LOWexamples/python/multiprocessing/server.py96 # Check if we're on macOS and warn about SO_REUSEPORT limitations
LOWsrc/python/grpcio_tests/tests/fork/debugger.py24 # Check if we are on macOS AND the environment variable is set
LOWsrc/python/grpcio_tests/tests/unit/_reconnect_test.py40# Set type to TypeAlias when typing_extensions installed.
LOWsrc/python/grpcio_tests/tests/unit/_reconnect_test.py309 # Check if success and early exit.
LOW…/python/grpcio_tests/tests/status/_grpc_status_test.py171 # Check if the underlying proto message is intact
LOW…cio_tests/tests_aio/unit/server_time_remaining_test.py58 # Check if the deadline propagates properly
LOW…cio_tests/tests_aio/unit/server_time_remaining_test.py64 # Check if there is no timeout, the time_remaining will be None
LOW…thon/grpcio_tests/tests_aio/status/grpc_status_test.py153 # Check if the underlying proto message is intact
Slop Phrases9 hits · 22 pts
SeverityFileLineSnippet
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1391 # TODO(jtattermusch): consider adding grpc++_test_util_unsecure - it doesn't seem to be used by bazel build (don't f
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1391 # TODO(jtattermusch): consider adding grpc++_test_util_unsecure - it doesn't seem to be used by bazel build (don't f
LOWtools/run_tests/python_utils/jobset.py37# NOTE: If you change this, please make sure to test reviewing the
MEDIUMtools/doxygen/Doxyfile.php281# Note: For files without extension you can use no_extension as a placeholder.
MEDIUMtools/doxygen/Doxyfile.php840# If the value of the INPUT tag contains directories, you can use the
MEDIUMtools/doxygen/Doxyfile.php873# If the value of the INPUT tag contains directories, you can use the
MEDIUMtools/doxygen/Doxyfile.php899# If the value of the EXAMPLE_PATH tag contains directories, you can use the
MEDIUMsrc/ruby/lib/grpc/generic/client_stub.rb317 # @return [Enumerator|Operation|nil] as discussed above
MEDIUMsrc/ruby/lib/grpc/generic/client_stub.rb439 # @return [Enumerator|nil|Operation] as discussed above
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippet
LOWtools/docker_runners/examples/concurrent_bazel.sh26# Usage:
LOWtools/run_tests/performance/scenario_config_exporter.py29# Example usage:
LOWtest/core/test_util/fake_stats_plugin.h41// Example usage:
LOWthird_party/upb/upb/wire/decode_fast/bisect.sh6# Example usage:
LOWsrc/core/util/validation_errors.h37// Example usage:
LOWsrc/objective-c/tests/xcodebuild_filter_output.sh25# Usage:
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHsrc/cpp/server/secure_server_credentials.h57// to be used with any creds type as requested in #21589 or (b) find a way to
Dead Code1 hit · 2 pts
SeverityFileLineSnippet
MEDIUM…thon/grpcio_tests/tests/testing/_server_application.py66