AI Slop Code RIsk Monitor

grpc/grpc

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

15.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for grpc/grpc, a C++ project with 45,366 GitHub stars. SynthScan examined 806,274 lines of code across 6673 source files, recording 11086 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 15.1 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

15.1
Adjusted Signal
15.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
45.4K
Stars
C++
Language
806.3K
Lines of Code
6.7K
Files
11.1K
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 33.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 22.9/100 · LOW

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

Agent Over-Engineering Ratio 14.4/100 · LOW

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

PR Review Velocity Impact 55.2/100 · HIGH

Which changes need focused human review? 11086 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 26HIGH 247MEDIUM 199LOW 10614

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block4792 hits · 4698 pts
SeverityFileLineSnippetContext
LOWbuild_config.rb1# Copyright 2017 gRPC authors.COMMENT
LOWpyproject.toml1# Copyright 2025 gRPC authors.COMMENT
LOWrequirements.bazel.txt1# Copyright 2025 gRPC authors.COMMENT
LOWrequirements.bazel.txt21# # pip install pip-toolsCOMMENT
LOWsetup.py1# Copyright 2015 gRPC authors.COMMENT
LOWsetup.py161# have the header files installed (in /usr/include/absl) and duringCOMMENT
LOWtools/buildgen/generate_build_additions.sh1#!/bin/shCOMMENT
LOWtools/buildgen/generate_projects.sh1#! /bin/bashCOMMENT
LOWtools/buildgen/generate_projects.sh81# WARNING! Do not use this variable when running the script directly. This isCOMMENT
LOWtools/buildgen/parse_http_archives.py1#!/usr/bin/env python3COMMENT
LOWtools/buildgen/generate_projects.py1# Copyright 2015 gRPC authors.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1#!/usr/bin/env python3COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py21# is chosen to match the format of a "build.yaml" file, which usedCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py581 #COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1501 "run": False,COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1541 "test/cpp/util:grpc_cli": {COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1581# with their most important metadata (sources, headers, dependencies)COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1601COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1621# suite fully towards bazel might be intricate (e.g. it's unclear whether it'sCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1641# in form of the _BUILD_EXTRA_METADATA dictionary. That allows us to matchCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1661all_extra_metadata.update(_BUILD_EXTRA_METADATA)COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1681# Step 5: Generate the final metadata for all the targets.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1701#COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1721# 'targets': { TARGET_DICT_FOR_BIN_XYZ, ... },COMMENT
LOWtools/buildgen/_mako_renderer.py1#!/usr/bin/env python3COMMENT
LOWtools/buildgen/build_cleaner.py1#!/usr/bin/env python3COMMENT
LOWtools/buildgen/copy_protos.sh1#! /bin/bashCOMMENT
LOWtools/buildgen/_utils.py1#!/usr/bin/env python3COMMENT
LOWtools/buildgen/plugins/supported_bazel_versions.py1# Copyright 2022 The gRPC authors.COMMENT
LOW…s/buildgen/plugins/expand_supported_python_versions.py1# Copyright 2024 gRPC authors.COMMENT
LOWtools/buildgen/plugins/list_protos.py1# Copyright 2015 gRPC authors.COMMENT
LOWtools/buildgen/plugins/expand_version.py1# Copyright 2016 gRPC authors.COMMENT
LOWtools/buildgen/plugins/list_api.py1#!/usr/bin/env python3COMMENT
LOWtools/buildgen/plugins/transitive_dependencies.py1# Copyright 2015 gRPC authors.COMMENT
LOWtools/buildgen/plugins/check_attrs.py1# Copyright 2019 gRPC authors.COMMENT
LOWtools/buildgen/plugins/verify_duplicate_sources.py1# Copyright 2020 gRPC authors.COMMENT
LOWtools/buildgen/plugins/expand_bin_attrs.py1# Copyright 2015 gRPC authors.COMMENT
LOWtools/docker_runners/run_in_docker.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/concurrent_bazel.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/gdb_in_docker.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/gdb_in_docker.sh21# Use the docker image used as the default for C++ by run_tests.pyCOMMENT
LOWtools/docker_runners/examples/gdb_in_docker.sh41#COMMENT
LOWtools/docker_runners/examples/coredump_in_docker.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/coredump_in_docker.sh21# Use the docker image used as the default for C++ by run_tests.pyCOMMENT
LOWtools/docker_runners/examples/coredump_in_docker.sh41# No limit for coredump sizeCOMMENT
LOW…/docker_runners/examples/run_tests_csharp_in_docker.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/bazel_test_in_docker.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/run_tests_c_in_docker.sh1#!/bin/bashCOMMENT
LOWtools/docker_runners/examples/run_tests_c_in_docker.sh21# use the docker image used as the default for C++ by run_tests.pyCOMMENT
LOWtools/interop_matrix/create_testcases.sh1#!/bin/bashCOMMENT
LOWtools/interop_matrix/client_matrix.py1# Copyright 2017 gRPC authors.COMMENT
LOWtools/interop_matrix/run_interop_matrix_tests.py1#!/usr/bin/env python3COMMENT
LOWtools/interop_matrix/create_matrix_images.py1#!/usr/bin/env python3COMMENT
LOWtools/dockerfile/push_testing_images.sh1#!/bin/bashCOMMENT
LOWtools/dockerfile/push_testing_images.sh21set -eCOMMENT
LOW…rfile/grpc_clang_format/clang_format_all_the_things.sh1#!/bin/bashCOMMENT
LOW…nux_armv7/install_python_for_wheel_crosscompilation.sh1#!/bin/bashCOMMENT
LOW…ockerfile/grpc_clang_tidy/clang_tidy_all_the_things.sh1#!/bin/shCOMMENT
LOW…kerfile/interoptest/grpc_interop_php8/build_interop.sh1#!/bin/bashCOMMENT
LOW…kerfile/interoptest/grpc_interop_java/build_interop.sh1#!/bin/bashCOMMENT
4732 more matches not shown…
Unused Imports4356 hits · 3929 pts
SeverityFileLineSnippetContext
LOWsetup.py31CODE
LOWsetup.py575CODE
LOWtools/buildgen/generate_projects.py23CODE
LOWtools/buildgen/generate_projects.py23CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py33CODE
LOWtools/buildgen/_mako_renderer.py21CODE
LOWtools/buildgen/_mako_renderer.py22CODE
LOWtools/buildgen/plugins/expand_version.py21CODE
LOWtools/buildgen/plugins/list_api.py17CODE
LOWtools/buildgen/plugins/list_api.py21CODE
LOWtools/interop_matrix/run_interop_matrix_tests.py18CODE
LOWtools/interop_matrix/run_interop_matrix_tests.py19CODE
LOWtools/interop_matrix/run_interop_matrix_tests.py23CODE
LOWtools/gcp/utils/big_query_utils.py15CODE
LOWtools/gcp/utils/big_query_utils.py16CODE
LOWtools/gcp/utils/big_query_utils.py17CODE
LOWtools/gcp/utils/big_query_utils.py21CODE
LOWtools/codegen/core/experiments_compiler.py22CODE
LOWtools/codegen/core/experiments_compiler.py25CODE
LOWtools/codegen/core/experiments_compiler.py26CODE
LOWtools/codegen/core/experiments_compiler.py27CODE
LOWtools/codegen/core/experiments_compiler.py28CODE
LOWtools/codegen/core/experiments_compiler.py30CODE
LOWtools/codegen/core/gen_grpc_tls_credentials_options.py20CODE
LOWtools/codegen/core/gen_grpc_tls_credentials_options.py23CODE
LOWtools/codegen/core/gen_config_vars.py18CODE
LOWtools/codegen/core/gen_config_vars.py19CODE
LOWtools/codegen/core/gen_config_vars.py21CODE
LOWtools/codegen/core/gen_config_vars.py22CODE
LOWtools/codegen/core/gen_config_vars.py23CODE
LOWtools/codegen/core/gen_config_vars.py24CODE
LOWtools/codegen/core/optimize_arena_pool_sizes.py24CODE
LOWtools/codegen/core/gen_header_frame.py26CODE
LOW…ols/github_triage/new_label_issues_untriaged_issues.py24CODE
LOW…ols/github_triage/new_label_issues_untriaged_issues.py25CODE
LOWtools/github_triage/kind_question.py19CODE
LOWtools/github_triage/kind_question.py27CODE
LOWtools/github_triage/kind_question.py28CODE
LOWtools/distrib/gen_compilation_database.py23CODE
LOWtools/distrib/update_flakes.py17CODE
LOWtools/distrib/check_path_length.py17CODE
LOWtools/distrib/fix_build_deps.py19CODE
LOWtools/distrib/python/make_grpcio_tools.py19CODE
LOWtools/distrib/python/make_grpcio_tools.py20CODE
LOWtools/distrib/python/make_grpcio_tools.py28CODE
LOWtools/distrib/python/grpcio_tools/_spawn_patch.py25CODE
LOWtools/distrib/python/grpcio_tools/setup.py19CODE
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py52CODE
LOWtools/profiling/ios_bin/binary_size.py18CODE
LOWtools/profiling/ios_bin/binary_size.py19CODE
LOWtools/profiling/memory/memory_diff.py18CODE
LOWtools/profiling/memory/memory_diff.py19CODE
LOWtools/profiling/memory/memory_diff.py20CODE
LOWtools/profiling/memory/memory_diff.py23CODE
LOWtools/profiling/memory/memory_diff.py25CODE
LOWtools/profiling/bloat/bloat_diff.py20CODE
LOWtools/run_tests/run_xds_tests.py25CODE
LOWtools/run_tests/run_xds_tests.py37CODE
LOWtools/run_tests/run_xds_tests.py48CODE
LOWtools/run_tests/run_xds_tests.py49CODE
4296 more matches not shown…
Hyper-Verbose Identifiers1000 hits · 1030 pts
SeverityFileLineSnippetContext
LOWsetup.py204def check_linker_need_libatomic():CODE
LOWsetup.py505def cython_extensions_and_necessity():CODE
LOWtools/buildgen/generate_projects.py93def generate_template_render_jobs(templates: List[str]) -> List[jobset.JobSpec]:CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py248def _extract_rules_from_bazel_xml(xml_tree):CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py288def _try_extract_source_file_path(label: str) -> str:CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py366def _extract_nonpublic_headers(bazel_rule: BuildMetadata) -> List[str]:CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py412def _create_target_from_bazel_rule(CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py436def _external_dep_name_from_bazel_dependency(bazel_dep: str) -> Optional[str]:CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py478def _compute_transitive_metadata(CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py627def _populate_transitive_metadata(CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py645def update_test_metadata_with_transitive_metadata(CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py713def _prune_upb_experimental_feature_rules(bazel_rules: BuildDict):CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py734def _expand_upb_proto_library_rules(bazel_rules):CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py826def _patch_grpc_proto_library_rules(bazel_rules):CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py837def _patch_descriptor_upb_proto_library(bazel_rules):CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py925def _convert_to_build_yaml_like(lib_dict: BuildMetadata) -> BuildYaml:CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1002def _exclude_unwanted_cc_tests(tests: List[str]) -> List[str]:CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1115def _generate_build_extra_metadata_for_tests(CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1234def _generate_external_proto_libraries() -> List[Dict[str, Any]]:CODE
LOWtools/buildgen/build_cleaner.py87def cleaned_build_yaml_dict_as_string(indict):CODE
LOWtools/buildgen/plugins/supported_bazel_versions.py19def _get_supported_bazel_versions():CODE
LOWtools/interop_matrix/client_matrix.py35def get_runtimes_for_lang_release(lang, release):CODE
LOWtools/interop_matrix/client_matrix.py44def should_build_docker_interop_image_from_release_tag(lang):CODE
LOWtools/interop_matrix/run_interop_matrix_tests.py114def _get_test_images_for_lang(lang, release_arg, image_path_prefix):CODE
LOWtools/interop_matrix/run_interop_matrix_tests.py188def _generate_test_case_jobspecs(lang, runtime, release, suite_name):CODE
LOWtools/interop_matrix/create_matrix_images.py197def build_all_images_for_lang(lang):CODE
LOWtools/interop_matrix/create_matrix_images.py233def build_all_images_for_release(lang, release):CODE
LOWtools/interop_matrix/create_matrix_images.py292def maybe_apply_patches_on_git_tag(stack_base, lang, release):CODE
LOWtools/release/verify_python_release.py71def _get_remote_artifacts_for_package(package, version):CODE
LOWtools/release/verify_python_release.py90def _get_remote_artifacts_for_packages(packages, version):CODE
LOWtools/distrib/rake_compiler_docker_image.rb20def docker_image_for_rake_compiler(platform)CODE
LOWtools/distrib/python/make_grpcio_tools.py164def protobuf_submodule_commit_hash():STRING
LOWtools/distrib/python/make_grpcio_tools.py232def _generate_deps_file_content():CODE
LOW…distrib/python/grpcio_tools/_parallel_compile_patch.py76def monkeypatch_compile_maybe():CODE
LOWtools/distrib/python/grpcio_tools/setup.py72def check_linker_need_libatomic():CODE
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py61 def _maybe_install_proto_finders():CODE
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py82 def _module_name_to_proto_file(suffix, module_name):CODE
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py89 def _proto_file_to_module_name(suffix, proto_file):CODE
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py133 def _generated_file_to_module_name(self, filepath):CODE
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py82def _test_import_services_without_protos():CODE
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py93def _test_proto_module_imported_once():CODE
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py111def _test_static_dynamic_combo():CODE
LOW⚡…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py164 def test_import_services_without_protos(self):CODE
LOW⚡…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py167 def test_proto_module_imported_once(self):CODE
LOW⚡…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py170 def test_static_dynamic_combo(self):CODE
LOWtools/run_tests/run_grpclb_interop_tests.py180def transport_security_to_args(transport_security):CODE
LOWtools/run_tests/run_grpclb_interop_tests.py196def lb_client_interop_jobspec(CODE
LOWtools/run_tests/run_grpclb_interop_tests.py282def grpc_server_in_docker_jobspec(server_cmdline, shortname):CODE
LOWtools/run_tests/run_grpclb_interop_tests.py307def dns_server_in_docker_jobspec(CODE
LOWtools/run_tests/run_grpclb_interop_tests.py342def build_interop_image_jobspec(lang_safename, basename_prefix="grpc_interop"):CODE
LOWtools/run_tests/run_grpclb_interop_tests.py499def wait_until_dns_server_is_up(dns_server_ip):CODE
LOWtools/run_tests/run_tests.py83def max_parallel_tests_for_current_platform():CODE
LOWtools/run_tests/run_tests.py91def _print_debug_info_epilogue(dockerfile_dir=None):CODE
LOWtools/run_tests/run_tests.py541 def _clang_cmake_configure_extra_args(self, version_suffix=""):CODE
LOWtools/run_tests/run_tests.py745 def _python_docker_distro_name(self):CODE
LOWtools/run_tests/run_tests.py1458def _calculate_num_runs_failures(list_of_results):CODE
LOWtools/run_tests/run_performance_tests.py346def perf_report_processor_job(CODE
LOWtools/run_tests/run_performance_tests.py529def run_collect_perf_profile_jobs(CODE
LOW⚡tools/run_tests/run_xds_tests.py580def wait_until_all_rpcs_go_to_given_backends_or_fail(CODE
LOW⚡tools/run_tests/run_xds_tests.py588def wait_until_all_rpcs_go_to_given_backends(CODE
940 more matches not shown…
Cross-File Repetition162 hits · 810 pts
SeverityFileLineSnippetContext
HIGHtools/codegen/core/gen_grpc_tls_credentials_options.py0# copyright 2023 grpc authors. # # licensed under the apache license, version 2.0 (the "license"); # you may not use thiSTRING
HIGHtools/distrib/python/make_grpcio_tools.py0# copyright 2023 grpc authors. # # licensed under the apache license, version 2.0 (the "license"); # you may not use thiSTRING
HIGHtest/cpp/qps/scenario_generator_helper.py0# copyright 2023 grpc authors. # # licensed under the apache license, version 2.0 (the "license"); # you may not use thiSTRING
HIGH…thon/grpcio_observability/make_grpcio_observability.py0# copyright 2023 grpc authors. # # licensed under the apache license, version 2.0 (the "license"); # you may not use thiSTRING
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 bSTRING
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 bSTRING
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 bSTRING
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_uSTRING
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_uSTRING
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_uSTRING
HIGHtools/distrib/python/grpcio_tools/grpc_tools/command.py0obtain the filename for a resource on the file system.STRING
HIGHtools/distrib/python/grpcio_tools/grpc_tools/protoc.py0obtain the filename for a resource on the file system.STRING
HIGHpy_xds_protos/build_xds_protos.py0obtain the filename for a resource on the file system.STRING
HIGH…o_tests/tests/protoc_plugin/_split_definitions_test.py0obtain the filename for a resource on the file system.STRING
HIGHtools/distrib/python/grpcio_tools/grpc_tools/command.py0command to generate project *_pb2.py modules from proto files.STRING
HIGHsrc/python/grpcio_reflection/reflection_commands.py0command to generate project *_pb2.py modules from proto files.STRING
HIGHsrc/python/grpcio_channelz/channelz_commands.py0command to generate project *_pb2.py modules from proto files.STRING
HIGHsrc/python/grpcio_tests/commands.py0command to generate project *_pb2.py modules from proto files.STRING
HIGHsrc/python/grpcio_health_checking/health_commands.py0command to generate project *_pb2.py modules from proto files.STRING
HIGHtest/distrib/bazel/python/helloworld_moved.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHtest/distrib/bazel/python/helloworld.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGH…es/python/interceptors/default_value/greeter_client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHexamples/python/interceptors/headers/greeter_client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHexamples/python/helloworld/greeter_client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHexamples/python/lb_policies/greeter_client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHexamples/python/xds/client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGH…ples/python/interceptors/async/async_greeter_client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHexamples/python/helloworld/async_greeter_client.py0the python asyncio implementation of the grpc helloworld.greeter client.STRING
HIGHexamples/python/flow_control/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…mples/python/interceptors/async/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…thon/interceptors/default_value/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…les/python/interceptors/headers/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/helloworld/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/keep_alive/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…on/hellostreamingworld/hellostreamingworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/health_checking/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/timeout/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/async_streaming/phone_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/observability/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/compression/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/uds/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/lb_policies/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/multiplex/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/multiplex/route_guide_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/xds/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/metadata/helloworld_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/data_transmission/demo_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHexamples/python/route_guide/route_guide_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…xds_protos/envoy/service/load_stats/v2/lrs_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…xds_protos/envoy/service/load_stats/v3/lrs_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…tos/envoy/service/rate_limit_quota/v3/rlqs_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…rotos/envoy/service/trace/v2/trace_service_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…rotos/envoy/service/trace/v3/trace_service_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…nvoy/service/extension/v3/config_discovery_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHpy_xds_protos/envoy/service/route/v3/srds_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…os/envoy/service/auth/v2/attribute_context_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…protos/envoy/service/auth/v2/external_auth_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
102 more matches not shown…
Self-Referential Comments89 hits · 267 pts
SeverityFileLineSnippetContext
MEDIUMtools/buildgen/generate_projects.sh55# Create a clean virtual environment.COMMENT
MEDIUMtools/buildgen/extract_metadata_from_bazel_xml.py418 # Create a template for our target from the bazel rule. Initially we onlyCOMMENT
MEDIUMtools/buildgen/extract_metadata_from_bazel_xml.py631 # Create the map between Bazel label and public dependency nameCOMMENT
MEDIUMtools/interop_matrix/create_matrix_images.py162 # Create a Dockerfile.COMMENT
MEDIUMtools/dockerfile/push_testing_images.sh114# Create a directory for storing logsCOMMENT
MEDIUMtools/distrib/gen_compilation_database.py33# This method is equivalent to https://github.com/grailbio/bazel-compilation-database/blob/master/generate.shCOMMENT
MEDIUMtools/distrib/check_redundant_namespace_qualifiers.py206# Define a configuration tuple for clarity.STRING
MEDIUMtools/distrib/python/docgen.py73 # Create a temporary directory out of tree, checkout gh-pages from theCOMMENT
MEDIUMtools/run_tests/run_interop_tests.py841 "# This file is generated by"CODE
MEDIUMtools/run_tests/artifacts/run_in_workspace.sh16# Create a workspace in a subdirectory to allow running multiple builds in isolation.COMMENT
MEDIUM…ols/run_tests/helper_scripts/run_tests_in_workspace.sh16# Create a workspace in a subdirectory to allow running multiple builds in isolation.COMMENT
MEDIUM…ols/internal_ci/macos/grpc_run_bazel_isolated_tests.sh36# Create the file and change the ownership to root before NTP sync.COMMENT
MEDIUMtest/distrib/ruby/run_distrib_test.sh39# Create an indexed local gem source with gRPC gems to testCOMMENT
MEDIUMtest/cpp/naming/resolver_component_tests_runner.py16# This file is auto-generatedCOMMENT
MEDIUMexamples/python/flow_control/helloworld_pb2_grpc.py108 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…mples/python/interceptors/async/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…thon/interceptors/default_value/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…les/python/interceptors/headers/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/helloworld/helloworld_pb2_grpc.py103 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/keep_alive/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…on/hellostreamingworld/hellostreamingworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/health_checking/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/timeout/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/async_streaming/phone_pb2_grpc.py48 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/observability/helloworld_pb2_grpc.py103 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/compression/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/uds/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/lb_policies/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/multiplex/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/multiplex/route_guide_pb2_grpc.py117 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM⚡examples/python/xds/server.py62 # Create a health check servicer. We use the non-blocking implementationCOMMENT
MEDIUM⚡examples/python/xds/server.py71 # Create a tuple of all of the services we want to export via reflection.COMMENT
MEDIUMexamples/python/xds/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/metadata/helloworld_pb2_grpc.py50 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/data_transmission/demo_pb2_grpc.py113 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/python/route_guide/route_guide_pb2_grpc.py117 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMbazel/update_mirror.sh28# Create a temp directory to hold the versioned tarball,COMMENT
MEDIUMpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py106 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…xds_protos/envoy/service/load_stats/v2/lrs_pb2_grpc.py100 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…xds_protos/envoy/service/load_stats/v3/lrs_pb2_grpc.py116 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…tos/envoy/service/rate_limit_quota/v3/rlqs_pb2_grpc.py144 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py114 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…rotos/envoy/service/trace/v2/trace_service_pb2_grpc.py58 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…rotos/envoy/service/trace/v3/trace_service_pb2_grpc.py58 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…nvoy/service/extension/v3/config_discovery_pb2_grpc.py154 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py114 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py267 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/route/v3/srds_pb2_grpc.py120 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…protos/envoy/service/auth/v2/external_auth_pb2_grpc.py84 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…protos/envoy/service/auth/v3/external_auth_pb2_grpc.py84 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…s/envoy/service/auth/v2alpha/external_auth_pb2_grpc.py84 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/health/v3/hds_pb2_grpc.py135 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/runtime/v3/rtds_pb2_grpc.py108 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…xds_protos/envoy/service/discovery/v2/rtds_pb2_grpc.py108 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…_xds_protos/envoy/service/discovery/v2/sds_pb2_grpc.py104 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…_xds_protos/envoy/service/discovery/v2/ads_pb2_grpc.py111 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…_xds_protos/envoy/service/discovery/v2/hds_pb2_grpc.py135 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…_xds_protos/envoy/service/discovery/v3/ads_pb2_grpc.py111 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…/service/redis_auth/v3/redis_external_auth_pb2_grpc.py80 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMpy_xds_protos/envoy/service/status/v2/csds_pb2_grpc.py96 # This class is part of an EXPERIMENTAL API.COMMENT
29 more matches not shown…
Hallucination Indicators26 hits · 230 pts
SeverityFileLineSnippetContext
CRITICALsrc/core/lib/promise/detail/seq_state.h1157 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h1560 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h1590 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2028 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2059 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2089 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2559 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2592 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2623 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h2653 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3197 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3230 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3261 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3291 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3907 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3940 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h3971 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h4001 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h4689 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h4722 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h4753 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h4783 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h5546 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h5579 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h5610 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICALsrc/core/lib/promise/detail/seq_state.h5640 auto result = prior.prior.prior.prior.prior.current_promise();CODE
Empty Error Handlers44 hits · 220 pts
SeverityFileLineSnippetContext
HIGHsetup.py602except OSError:CODE
HIGHtools/release/release_notes.py421except:CODE
HIGHtools/distrib/python/grpc_prefixed/generate.py58except FileNotFoundError:CODE
HIGHtools/distrib/python/grpc_prefixed/generate.py63except FileNotFoundError:CODE
HIGHtools/run_tests/run_tests.py41except ImportError:CODE
HIGHtools/run_tests/run_tests.py1450except:CODE
HIGHtools/run_tests/run_xds_tests.py56except ImportError:CODE
HIGHtools/run_tests/python_utils/report_utils.py20except ImportError:CODE
HIGHtools/run_tests/python_utils/dockerjob.py57except subprocess.CalledProcessError as e:CODE
HIGHtools/run_tests/python_utils/dockerjob.py79except subprocess.CalledProcessError as e:CODE
HIGHtools/run_tests/python_utils/dockerjob.py102except subprocess.CalledProcessError as e:CODE
HIGHtools/run_tests/sanity/check_deprecated_grpc++.py194except IOError:CODE
HIGH…/distrib/bazel/python/grpc_library_replacement_test.py19except ImportError:CODE
HIGH…les/python/errors/test/_error_handling_example_test.py22except ImportError:CODE
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py91except KeyError:CODE
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py124except KeyError:CODE
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py185except KeyError:CODE
HIGHsrc/python/grpcio_tests/commands.py59except Exception as error:CODE
HIGHsrc/python/grpcio_tests/tests/_runner.py188except AttributeError:CODE
HIGHsrc/python/grpcio_tests/tests/qps/benchmark_client.py184except queue.Empty:CODE
HIGHsrc/python/grpcio_tests/tests/qps/worker_server.py25except ImportError:CODE
HIGHsrc/python/grpcio_tests/tests/fork/methods.py231except queue.Empty:CODE
HIGH…ython/grpcio_tests/tests/unit/_server_shutdown_test.py50except Exception: # pylint: disable=broad-exceptCODE
HIGH…/python/grpcio_tests/tests/unit/_dynamic_stubs_test.py35except ImportError:CODE
HIGHsrc/python/grpcio_tests/tests/unit/_exit_test.py57except Exception: # pylint: disable=broad-exceptCODE
HIGHsrc/python/grpcio_tests/tests/interop/methods.py22except ImportError:CODE
HIGHsrc/python/grpcio_tests/tests/interop/methods.py299except StopIteration:CODE
HIGH…/python/grpcio_tests/tests/status/_grpc_status_test.py25except ImportError:CODE
HIGHsrc/python/grpcio_tests/tests/stress/client.py164except queue.Empty:CODE
HIGH…on/grpcio_tests/tests/stress/unary_stream_benchmark.py113except ImportError:CODE
HIGH…python/grpcio_tests/tests_aio/unit/compression_test.py57except RuntimeError:CODE
HIGHsrc/python/grpcio_tests/tests_aio/unit/abort_test.py56except aio.AbortError as e:CODE
HIGH…/tests_aio/unit/client_unary_unary_interceptor_test.py195except grpc.RpcError:CODE
HIGHsrc/python/grpcio_tests/tests_aio/unit/call_test.py464except asyncio.CancelledError:CODE
HIGHsrc/python/grpcio_tests/tests_aio/unit/call_test.py450except asyncio.CancelledError:CODE
HIGHsrc/python/grpcio_tests/tests_aio/unit/server_test.py224except TypeError:CODE
HIGHsrc/python/grpcio/grpc/_channel.py1717except (TypeError, AttributeError):CODE
HIGHsrc/python/grpcio/grpc/_channel.py2255except: # pylint: disable=bare-except # noqa: E722CODE
HIGHsrc/python/grpcio/grpc/__init__.py2342except ImportError:CODE
HIGHsrc/python/grpcio/grpc/__init__.py2348except ImportError:CODE
HIGHsrc/python/grpcio/grpc/__init__.py2354except ImportError:CODE
HIGHsrc/python/grpcio/grpc/_plugin_wrapping.py95except ImportError:CODE
HIGHsrc/python/grpcio/grpc/aio/_channel.py452except Exception: # pylint: disable=broad-exceptCODE
HIGHsrc/c-ares/gen_build_yaml.py202except:CODE
Docstring Block Structure32 hits · 160 pts
SeverityFileLineSnippetContext
HIGHtools/run_tests/run_xds_tests.py679Compare if two distributions are similar. Args: actual_distribution: A list of floats, contains the actual diSTRING
HIGHexamples/python/cancellation/search.py104Find candidate strings. Search through the space of all bytestrings, in order of increasing length, indefinitelSTRING
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py74 Find a file descriptor by file name. This function implements a DescriptorDatabase interface, and is STRING
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 qualSTRING
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py133 Find the field numbers used by all known extensions of `extendee_name`. This function implements a DesSTRING
HIGH…ection/v1alpha/proto_reflection_descriptor_database.py164 Find the file which defines an extension for the given message type and field number. This funSTRING
HIGHsrc/python/grpcio/grpc/__init__.py124Returns the result of the computation or raises its exception. This method may return immediately or may block.STRING
HIGHsrc/python/grpcio/grpc/__init__.py147Return the exception raised by the computation. This method may return immediately or may block. Args:STRING
HIGHsrc/python/grpcio/grpc/__init__.py169Access the traceback of the exception raised by the computation. This method may return immediately or may blocSTRING
HIGHsrc/python/grpcio/grpc/__init__.py699Synchronously invokes the underlying RPC. Args: request: The request value for the RPC. timSTRING
HIGHsrc/python/grpcio/grpc/__init__.py733Synchronously invokes the underlying RPC. Args: request: The request value for the RPC. timSTRING
HIGHsrc/python/grpcio/grpc/__init__.py840Synchronously invokes the underlying RPC. Args: request_iterator: An iterator that yields request valSTRING
HIGHsrc/python/grpcio/grpc/__init__.py875Synchronously invokes the underlying RPC on the client. Args: request_iterator: An iterator that yielSTRING
HIGHsrc/python/grpcio/grpc/__init__.py2168Intercepts a channel through a set of interceptors. Args: channel: A Channel. interceptors: Zero or morSTRING
HIGHsrc/python/grpcio/grpc/framework/foundation/future.py139Accesses the outcome of the computation or raises its exception. This method may return immediately or may blocSTRING
HIGHsrc/python/grpcio/grpc/framework/foundation/future.py162Return the exception raised by the computation. This method may return immediately or may block. Args:STRING
HIGHsrc/python/grpcio/grpc/framework/foundation/future.py185Access the traceback of the exception raised by the computation. This method may return immediately or may blocSTRING
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py371Synchronously invokes the underlying RPC. Args: request: The request value for the RPC. timSTRING
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py504Synchronously invokes the underlying RPC. Args: request_iterator: An iterator that yields request valSTRING
HIGH…c/python/grpcio/grpc/framework/interfaces/face/face.py677Services an RPC. Args: group: The group identifier of the RPC. method: The method identifieSTRING
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 STRING
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 ofSTRING
HIGH…c/python/grpcio/grpc/framework/interfaces/base/base.py217Services an operation. Args: group: The group identifier of the operation to be serviced. mSTRING
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py46Asynchronously invokes the underlying RPC. Args: request: The request value for the RPC. tiSTRING
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py84Asynchronously invokes the underlying RPC. Args: request: The request value for the RPC. tiSTRING
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py121Asynchronously invokes the underlying RPC. Args: request_iterator: An optional async iterable or iterSTRING
HIGHsrc/python/grpcio/grpc/aio/_base_channel.py159Asynchronously invokes the underlying RPC. Args: request_iterator: An optional async iterable or iterSTRING
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py159Intercepts a unary-unary invocation asynchronously. Args: continuation: A coroutine that proceeds witSTRING
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py199Intercepts a unary-stream invocation asynchronously. The function could return the call object or an asynchronoSTRING
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py240Intercepts a stream-unary invocation asynchronously. Within the interceptor the usage of the call methods like STRING
HIGHsrc/python/grpcio/grpc/aio/_interceptor.py286Intercepts a stream-stream invocation asynchronously. Within the interceptor the usage of the call methods likeSTRING
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. ArSTRING
Excessive Try-Catch Wrapping124 hits · 150 pts
SeverityFileLineSnippetContext
MEDIUMtools/gcp/utils/big_query_utils.py177 print("Error in creating table: %s. Err: %s" % (table_id, http_error))CODE
MEDIUM⚡tools/gcp/utils/big_query_utils.py194 print("Error inserting rows! Response: %s" % res)CODE
MEDIUM⚡tools/gcp/utils/big_query_utils.py197 print("Error inserting rows to the table %s" % table_id)CODE
MEDIUM⚡tools/gcp/utils/big_query_utils.py198 print("Error message: %s" % http_error)CODE
LOWtools/distrib/check_redundant_namespace_qualifiers.py232 except Exception as e:STRING
MEDIUMtools/distrib/fix_build_deps.py317 print("Error while parsing ", name)CODE
LOWtools/distrib/python/make_grpcio_tools.py359 except Exception as error:CODE
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py30 except Exception as e:CODE
LOW…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py148 except Exception as e:CODE
MEDIUM…rib/python/grpcio_tools/grpc_tools/test/protoc_test.py27def _wrapped(error_queue):CODE
MEDIUMtools/profiling/memory/memory_diff.py154 print("Error running benchmark:", e)CODE
LOWtools/profiling/bloat/bloat_diff.py90 except Exception:CODE
LOWtools/profiling/bloat/bloat_diff.py124 except Exception as e:CODE
LOWtools/profiling/bloat/bloat_diff.py137 except Exception as e:CODE
MEDIUMtools/run_tests/run_xds_tests.py130def parse_port_range(port_arg):CODE
MEDIUMtools/run_tests/run_xds_tests.py3255def get_health_check(gcp, health_check_name):CODE
MEDIUMtools/run_tests/run_xds_tests.py3268def get_health_check_firewall_rule(gcp, firewall_name):CODE
MEDIUMtools/run_tests/run_xds_tests.py3283def get_backend_service(gcp, backend_service_name, record_error=True):CODE
MEDIUMtools/run_tests/run_xds_tests.py3299def get_url_map(gcp, url_map_name, record_error=True):CODE
MEDIUMtools/run_tests/run_xds_tests.py3313def get_target_proxy(gcp, target_proxy_name, record_error=True):CODE
MEDIUMtools/run_tests/run_xds_tests.py3334def get_global_forwarding_rule(gcp, forwarding_rule_name, record_error=True):CODE
MEDIUMtools/run_tests/run_xds_tests.py3350def get_instance_template(gcp, template_name):CODE
MEDIUMtools/run_tests/run_xds_tests.py3363def get_instance_group(gcp, zone, instance_group_name):CODE
LOW⚡tools/run_tests/run_xds_tests.py3263 except Exception as e:CODE
LOW⚡tools/run_tests/run_xds_tests.py3278 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py797 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py867 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py941 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1016 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1404 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1481 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1528 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1593 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1693 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py1711 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py1899 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py2167 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py2373 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py2539 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py2721 except Exception:CODE
LOWtools/run_tests/run_xds_tests.py3291 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py3308 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py3329 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py3345 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py3358 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py3378 except Exception as e:CODE
LOWtools/run_tests/run_xds_tests.py4297 except Exception as e:CODE
MEDIUMtools/run_tests/python_utils/upload_test_results.py112 print("Error uploading result to bigquery, will retry.")CODE
MEDIUMtools/run_tests/python_utils/upload_rbe_results.py118 print("Error uploading result to bigquery, will retry.")CODE
LOWtools/run_tests/python_utils/upload_rbe_results.py312 except Exception as e:CODE
LOWtools/run_tests/python_utils/port_server.py76 except Exception:CODE
LOWtools/run_tests/python_utils/start_port_server.py44 except Exception as e:CODE
MEDIUMtools/run_tests/sanity/check_bzl_deps.py93 print(f"Error downloading the file: {e}")CODE
MEDIUMtools/run_tests/sanity/check_bzl_deps.py96 print(f"Error parsing JSON: {e}")CODE
MEDIUMtools/run_tests/sanity/check_bzl_deps.py114 print(f"An error occurred: {e}")CODE
MEDIUMtools/run_tests/performance/bq_upload_result.py59 print("Error uploading result to bigquery.")CODE
MEDIUMtools/run_tests/performance/bq_upload_result.py88 print("Error uploading result to bigquery.")CODE
LOWexamples/python/async_streaming/client.py61 except Exception as e:CODE
LOWexamples/python/observability/csm/csm_greeter_client.py57 except Exception: # pylint: disable=broad-exceptCODE
LOWbazel/_single_module_tester.py36 except Exception as e:CODE
64 more matches not shown…
Decorative Section Separators50 hits · 150 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/doxygen/Doxyfile.php1945#---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/doxygen/Doxyfile.php1947#---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/doxygen/Doxyfile.php1957#---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/doxygen/Doxyfile.php1959#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php18#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php20#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php402#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php404#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php694#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php696#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php753#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php755#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php968#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php970#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1054#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1056#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1080#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1082#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1623#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1625#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1781#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1783#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1847#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1849#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1891#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1893#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1918#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1920#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1995#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php1997#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php2073#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php2075#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php2125#---------------------------------------------------------------------------COMMENT
MEDIUMtools/doxygen/Doxyfile.php2127#---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/tsi/test_creds/crl_data/evil_ca_gen.sh30# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h205 // │┌▽────────────────┐COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h207 // │└┬───────────────┬┘COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h208 // │┌▽─────────────┐┌▽──────────────┐COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h210 // │└┬─────────────┘└───┬───────────┘COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h211 // ┌▽─▽────────────────┐┌▽──────────────────┐COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h213 // └┬─────────────────┬┘└┬──────────────────┘COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h214 // ┌▽───────────────┐┌▽──▽─────────────┐COMMENT
MEDIUM⚡src/core/ext/transport/chttp2/transport/hpack_parser.h216 // └────────────────┘└─────────────────┘COMMENT
MEDIUMsrc/core/lib/experiments/rollouts.yaml31# -----------------------------------------COMMENT
MEDIUM⚡src/core/telemetry/instrument.h152// ┌────────┐ ┌────────┐COMMENT
MEDIUM⚡src/core/telemetry/instrument.h156// └──────────────┤COMMENT
MEDIUM⚡src/core/telemetry/instrument.h158// ┌──────▼───────┐COMMENT
MEDIUM⚡src/core/telemetry/instrument.h160// └──────┬───────┘COMMENT
MEDIUM⚡src/core/telemetry/instrument.h162// ┌──────────────┤COMMENT
MEDIUM⚡src/core/telemetry/instrument.h166// └────────┘ └────────┘COMMENT
Deep Nesting163 hits · 149 pts
SeverityFileLineSnippetContext
LOWtools/buildgen/parse_http_archives.py59CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py187CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py248CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py288CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py436CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py478CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py670CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py734CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py980CODE
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1243CODE
LOWtools/buildgen/_mako_renderer.py66CODE
LOWtools/buildgen/_utils.py93CODE
LOWtools/buildgen/plugins/transitive_dependencies.py51CODE
LOWtools/buildgen/plugins/verify_duplicate_sources.py17CODE
LOWtools/release/release_notes.py156CODE
LOWtools/codegen/core/experiments_compiler.py669CODE
LOW…ols/github_triage/new_label_issues_untriaged_issues.py38CODE
LOWtools/github_triage/requires_reporter_action.py33CODE
LOWtools/distrib/check_redundant_namespace_qualifiers.py46CODE
LOWtools/distrib/check_redundant_namespace_qualifiers.py118CODE
LOWtools/distrib/check_redundant_namespace_qualifiers.py237CODE
LOWtools/distrib/fix_build_deps.py264CODE
LOWtools/distrib/fix_build_deps.py573CODE
LOWtools/distrib/add-iwyu.py70CODE
LOWtools/distrib/python/make_grpcio_tools.py232CODE
LOWtools/distrib/python/grpcio_tools/_spawn_patch.py43CODE
LOWtools/distrib/python/grpcio_tools/grpc_tools/protoc.py139CODE
LOWtools/profiling/ios_bin/parse_link_map.py25CODE
LOWtools/profiling/memory/memory_diff.py117CODE
LOWtools/run_tests/run_grpclb_interop_tests.py180CODE
LOWtools/run_tests/run_grpclb_interop_tests.py499CODE
LOWtools/run_tests/run_tests.py1350CODE
LOWtools/run_tests/run_tests.py1485CODE
LOWtools/run_tests/run_tests.py337CODE
LOWtools/run_tests/run_tests.py547CODE
LOWtools/run_tests/run_tests.py673CODE
LOWtools/run_tests/run_tests.py752CODE
LOWtools/run_tests/run_tests.py1055CODE
LOWtools/run_tests/run_performance_tests.py382CODE
LOWtools/run_tests/run_performance_tests.py558CODE
LOWtools/run_tests/run_xds_tests.py1618CODE
LOWtools/run_tests/run_xds_tests.py1720CODE
LOWtools/run_tests/run_xds_tests.py1908CODE
LOWtools/run_tests/run_xds_tests.py2387CODE
LOWtools/run_tests/run_xds_tests.py2547CODE
LOWtools/run_tests/run_xds_tests.py2730CODE
LOWtools/run_tests/run_xds_tests.py2917CODE
LOWtools/run_tests/run_xds_tests.py3756CODE
LOWtools/run_tests/run_tests_matrix.py158CODE
LOWtools/run_tests/artifacts/artifact_targets.py144CODE
LOWtools/run_tests/artifacts/package_targets.py171CODE
LOWtools/run_tests/python_utils/report_utils.py104CODE
LOWtools/run_tests/python_utils/check_on_pr.py67CODE
LOWtools/run_tests/python_utils/upload_test_results.py96CODE
LOWtools/run_tests/python_utils/jobset.py52CODE
LOWtools/run_tests/python_utils/jobset.py125CODE
LOWtools/run_tests/python_utils/jobset.py363CODE
LOWtools/run_tests/python_utils/jobset.py571CODE
LOWtools/run_tests/python_utils/bazel_report_helper.py35CODE
LOWtools/run_tests/python_utils/port_server.py160CODE
103 more matches not shown…
AI Structural Patterns115 hits · 114 pts
SeverityFileLineSnippetContext
LOWtools/buildgen/extract_metadata_from_bazel_xml.py433CODE
LOWtools/buildgen/build_cleaner.py103CODE
LOWtools/distrib/fix_build_deps.py264CODE
LOWtools/run_tests/run_tests_matrix.py158CODE
LOWtools/run_tests/artifacts/artifact_targets.py72CODE
LOWtools/run_tests/python_utils/jobset.py670CODE
LOWtools/run_tests/python_utils/jobset.py188CODE
LOWtools/run_tests/performance/scenario_config.py123CODE
LOWexamples/python/flow_control/helloworld_pb2_grpc.py114CODE
LOWexamples/python/flow_control/helloworld_pb2_grpc.py141CODE
LOWexamples/python/flow_control/helloworld_pb2_grpc.py168CODE
LOW…mples/python/interceptors/async/helloworld_pb2_grpc.py56CODE
LOW…thon/interceptors/default_value/helloworld_pb2_grpc.py56CODE
LOW…les/python/interceptors/headers/helloworld_pb2_grpc.py56CODE
LOWexamples/python/helloworld/helloworld_pb2_grpc.py109CODE
LOWexamples/python/helloworld/helloworld_pb2_grpc.py136CODE
LOWexamples/python/helloworld/helloworld_pb2_grpc.py163CODE
LOWexamples/python/keep_alive/helloworld_pb2_grpc.py56CODE
LOW…on/hellostreamingworld/hellostreamingworld_pb2_grpc.py56CODE
LOWexamples/python/health_checking/helloworld_pb2_grpc.py56CODE
LOWexamples/python/timeout/helloworld_pb2_grpc.py56CODE
LOWexamples/python/async_streaming/phone_pb2_grpc.py53CODE
LOWexamples/python/observability/helloworld_pb2_grpc.py109CODE
LOWexamples/python/observability/helloworld_pb2_grpc.py136CODE
LOWexamples/python/observability/helloworld_pb2_grpc.py163CODE
LOWexamples/python/compression/helloworld_pb2_grpc.py56CODE
LOWexamples/python/uds/helloworld_pb2_grpc.py56CODE
LOWexamples/python/lb_policies/helloworld_pb2_grpc.py56CODE
LOWexamples/python/multiplex/helloworld_pb2_grpc.py56CODE
LOWexamples/python/multiplex/route_guide_pb2_grpc.py123CODE
LOWexamples/python/multiplex/route_guide_pb2_grpc.py140CODE
LOWexamples/python/multiplex/route_guide_pb2_grpc.py157CODE
LOWexamples/python/multiplex/route_guide_pb2_grpc.py174CODE
LOWexamples/python/xds/helloworld_pb2_grpc.py56CODE
LOWexamples/python/metadata/helloworld_pb2_grpc.py56CODE
LOWexamples/python/data_transmission/server.py42CODE
LOWexamples/python/data_transmission/server.py58CODE
LOWexamples/python/data_transmission/demo_pb2_grpc.py121CODE
LOWexamples/python/data_transmission/demo_pb2_grpc.py138CODE
LOWexamples/python/data_transmission/demo_pb2_grpc.py155CODE
LOWexamples/python/data_transmission/demo_pb2_grpc.py172CODE
LOWexamples/python/route_guide/route_guide_pb2_grpc.py123CODE
LOWexamples/python/route_guide/route_guide_pb2_grpc.py140CODE
LOWexamples/python/route_guide/route_guide_pb2_grpc.py157CODE
LOWexamples/python/route_guide/route_guide_pb2_grpc.py174CODE
LOWpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py114CODE
LOWpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py141CODE
LOWpy_xds_protos/envoy/service/cluster/v3/cds_pb2_grpc.py168CODE
LOW…xds_protos/envoy/service/load_stats/v2/lrs_pb2_grpc.py107CODE
LOW…xds_protos/envoy/service/load_stats/v3/lrs_pb2_grpc.py131CODE
LOW…tos/envoy/service/rate_limit_quota/v3/rlqs_pb2_grpc.py186CODE
LOWpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py126CODE
LOWpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py153CODE
LOWpy_xds_protos/envoy/service/listener/v3/lds_pb2_grpc.py180CODE
LOW…rotos/envoy/service/trace/v2/trace_service_pb2_grpc.py67CODE
LOW…rotos/envoy/service/trace/v3/trace_service_pb2_grpc.py67CODE
LOW…nvoy/service/extension/v3/config_discovery_pb2_grpc.py186CODE
LOW…nvoy/service/extension/v3/config_discovery_pb2_grpc.py213CODE
LOW…nvoy/service/extension/v3/config_discovery_pb2_grpc.py240CODE
LOWpy_xds_protos/envoy/service/route/v3/rds_pb2_grpc.py126CODE
55 more matches not shown…
AI Slop Vocabulary17 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/buildgen/extract_metadata_from_bazel_xml.py1621# suite fully towards bazel might be intricate (e.g. it's unclear whether it'sCOMMENT
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.COMMENT
MEDIUMtools/run_tests/artifacts/build_artifact_python.sh322 # Build grpcio_admin source distribution and it needs the cutting-edge versionCOMMENT
MEDIUMtools/run_tests/dockerize/build_interop_image.sh99# spaces, but the "correct" way to do this is to utilize proper arrays.COMMENT
MEDIUMtools/doxygen/Doxyfile.php1140# it is more robust and this tag (HTML_STYLESHEET) will in the future becomeCOMMENT
MEDIUMtools/doxygen/Doxyfile.php1150# standard style sheet and is therefore more robust against future updates.COMMENT
LOWtools/internal_ci/macos/grpc_objc_bazel_test.sh88# is not what we want to test actually, we just use it as a backend for ObjC test).COMMENT
MEDIUMinclude/grpcpp/impl/call_op_set.h859/// the maximum count of ops we'll need in a set. We leverage theCOMMENT
MEDIUMinclude/grpcpp/support/proto_buffer_writer.h136 // below is not robust against count == 0 invocations, so directly return.COMMENT
MEDIUMsrc/core/util/overload.h26// Compose one overload with N more -- use inheritance to leverage using and theCOMMENT
MEDIUM…ext/transport/chaotic_good_legacy/pending_connection.h28// Essentially this is the promise of one endpoint in the future, with theCOMMENT
MEDIUM…c/core/ext/transport/chaotic_good/pending_connection.h29// Essentially this is the promise of one endpoint in the future, with theCOMMENT
MEDIUMsrc/core/ext/transport/chttp2/transport/stream.h208 // Absolutely nothing can be sent for this stream now (after RST or after bothCOMMENT
MEDIUMsrc/core/lib/promise/party.h265 // The size of this type matters, and so we leverage private inheritance toCOMMENT
MEDIUM…ython/grpcio_tests/tests/unit/_signal_handling_test.py45# The gevent test harness cannot run the monkeypatch code for the child process,COMMENT
MEDIUM…ython/grpcio_tests/tests/unit/_xds_credentials_test.py109 # No exceptions thrown. A more comprehensive suite of tests will beCOMMENT
LOWsrc/ruby/bin/math_server.rb123 # just return the generator, GRPC::GenericServer sends each actual responseCOMMENT
Structural Annotation Overuse22 hits · 38 pts
SeverityFileLineSnippetContext
LOW⚡tools/buildgen/extract_metadata_from_bazel_xml.py1630# Step 3: Generate the "extra metadata" for all our build targets.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1577# Step 1: run a bunch of "bazel query --output xml" queries to collectCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1608# Step 2: Extract the known bazel cc_test tests. While most testsCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1663# Step 4: Compute the build metadata that will be used in the final build.yaml.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1681# Step 5: Generate the final metadata for all the targets.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1711# Step 6: convert the dictionary with all the targets to a dict that hasCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1725# Step 7: generates build metadata for external ProtoBuf libraries.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1738# Step 7: Store the build_autogenerated.yaml in a deterministic (=sorted)COMMENT
LOWinclude/grpcpp/server.h198 /// NOTE: This method is not part of the public API for this class.COMMENT
LOWinclude/grpcpp/server.h206 /// NOTE: This method is not part of the public API for this class.COMMENT
LOWsrc/core/util/string.h73// NOTE: This function ensures sufficient bit width even on Win x64,COMMENT
LOW…xt/transport/chttp2/transport/http2_client_transport.h487 // NOTE: This function must be triggered ONLY in error scenarios (e.g., localCOMMENT
LOWsrc/core/ext/transport/chttp2/transport/write_cycle.h360 // NOTE: This function should be used with caution. For almost allCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1368 // Step 1: Push the message onto the v3 initiator inCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1371 // Step 3: Here in the v2 activity, read the messageCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1418 // Step 1: Push the metadata onto the v3 handler inCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1422 // Step 3: Here in the v2 activity, read from theCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1458 // Step 1: Push the message onto the v3 handler inCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1461 // Step 3: Here in the v2 activity, read from theCOMMENT
LOWsrc/core/lib/channel/promise_based_filter.h1350 // Step 2: Spawn a promise to pull messages from the v3COMMENT
LOWsrc/core/lib/channel/promise_based_filter.h1401 // Step 2: Spawn a promise to pull the metadata from the v3COMMENT
LOWsrc/core/lib/channel/promise_based_filter.h1441 // Step 2: Spawn a promise to pull messages from the v3COMMENT
Verbosity Indicators21 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡tools/buildgen/extract_metadata_from_bazel_xml.py1630# Step 3: Generate the "extra metadata" for all our build targets.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1577# Step 1: run a bunch of "bazel query --output xml" queries to collectCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1608# Step 2: Extract the known bazel cc_test tests. While most testsCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1663# Step 4: Compute the build metadata that will be used in the final build.yaml.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1681# Step 5: Generate the final metadata for all the targets.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1711# Step 6: convert the dictionary with all the targets to a dict that hasCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1725# Step 7: generates build metadata for external ProtoBuf libraries.COMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1738# Step 7: Store the build_autogenerated.yaml in a deterministic (=sorted)COMMENT
LOWtools/distrib/python/make_grpcio_tools.py332 # Step 1:COMMENT
LOWtools/distrib/python/make_grpcio_tools.py351 # Step 2:COMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1368 // Step 1: Push the message onto the v3 initiator inCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1371 // Step 3: Here in the v2 activity, read the messageCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1418 // Step 1: Push the metadata onto the v3 handler inCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1422 // Step 3: Here in the v2 activity, read from theCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1458 // Step 1: Push the message onto the v3 handler inCOMMENT
LOW⚡src/core/lib/channel/promise_based_filter.h1461 // Step 3: Here in the v2 activity, read from theCOMMENT
LOWsrc/core/lib/channel/promise_based_filter.h1350 // Step 2: Spawn a promise to pull messages from the v3COMMENT
LOWsrc/core/lib/channel/promise_based_filter.h1401 // Step 2: Spawn a promise to pull the metadata from the v3COMMENT
LOWsrc/core/lib/channel/promise_based_filter.h1441 // Step 2: Spawn a promise to pull messages from the v3COMMENT
LOW…thon/grpcio_observability/make_grpcio_observability.py273 # Step 1:COMMENT
LOW…thon/grpcio_observability/make_grpcio_observability.py290 # Step 2:COMMENT
Cross-Language Confusion7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtools/interop_matrix/run_interop_matrix_tests.py242 "time gcloud docker -- pull %s && time docker run --rm=true %s"CODE
HIGHtools/codegen/core/gen_grpc_tls_credentials_options.py99 " (certificate_verifier_ != nullptr && other.certificate_verifier_"CODE
HIGHtools/profiling/qps/qps_scenarios.py21 ' {"async_server_threads": 1, "security_params": null, "server_type":'CODE
HIGHtools/profiling/qps/qps_scenarios.py23 ' "ASYNC_CLIENT", "security_params": null, "payload_config":'CODE
HIGHtools/profiling/qps/qps_scenarios.py34 ' {"async_server_threads": 31, "security_params": null, "server_type":'CODE
HIGHtools/profiling/qps/qps_scenarios.py36 ' "ASYNC_CLIENT", "security_params": null, "payload_config":'CODE
HIGHtools/run_tests/run_interop_tests.py488 "pod install && xcodebuild -workspace Tests.xcworkspace"CODE
Modern Structural Boilerplate26 hits · 26 pts
SeverityFileLineSnippetContext
LOWexamples/python/data_transmission/client.py23__all__ = [CODE
LOWbazel/update_mirror_helper.py57logger = logging.getLogger(__name__)CODE
LOW…hon/grpcio_reflection/grpc_reflection/v1alpha/_base.py148__all__ = ["BaseReflectionServicer"]CODE
LOW…on/grpcio_reflection/grpc_reflection/v1alpha/_async.py64__all__ = [CODE
LOW…ervability/grpc_observability/_open_census_exporter.py79 def _setup_open_census_stackdriver_exporter(self) -> None:CODE
LOWsrc/python/grpcio_tests/tests/_loader.py25logger = logging.getLogger(__name__)CODE
LOW…ts/observability/_open_telemetry_observability_test.py44logger = logging.getLogger(__name__)CODE
LOW…ests/tests/observability/_observability_plugin_test.py38logger = logging.getLogger(__name__)CODE
LOW…/tests/observability/_csm_observability_plugin_test.py47logger = logging.getLogger(__name__)CODE
LOW…aio/observability/open_telemetry_observability_test.py40logger = logging.getLogger(__name__)CODE
LOWsrc/python/grpcio_csds/grpc_csds/__init__.py57__all__ = ["ClientStatusDiscoveryServiceServicer", "add_csds_servicer"]CODE
LOWsrc/python/grpcio_admin/grpc_admin/__init__.py42__all__ = ["add_admin_servicers"]CODE
LOWsrc/python/grpcio/grpc/_observability.py179 def set_tracing(self, enable: bool) -> None:CODE
LOWsrc/python/grpcio/grpc/_observability.py187 def set_stats(self, enable: bool) -> None:CODE
LOWsrc/python/grpcio/grpc/_observability.py231def set_plugin(observability_plugin: Optional[ObservabilityPlugin]) -> None:CODE
LOWsrc/python/grpcio/grpc/_server.py421 def set_compression(self, compression: grpc.Compression) -> None:CODE
LOWsrc/python/grpcio/grpc/_server.py442 def set_trailing_metadata(self, trailing_metadata: MetadataType) -> None:CODE
LOWsrc/python/grpcio/grpc/_server.py467 def set_code(self, code: grpc.StatusCode) -> None:CODE
LOWsrc/python/grpcio/grpc/_server.py474 def set_details(self, details: str) -> None:CODE
LOWsrc/python/grpcio/grpc/aio/_base_server.py241 def set_trailing_metadata(self, trailing_metadata: MetadataType) -> None:CODE
LOWsrc/python/grpcio/grpc/aio/_base_server.py260 def set_code(self, code: grpc.StatusCode) -> None:CODE
LOWsrc/python/grpcio/grpc/aio/_base_server.py271 def set_details(self, details: str) -> None:CODE
LOWsrc/python/grpcio/grpc/aio/_base_server.py283 def set_compression(self, compression: grpc.Compression) -> None:CODE
LOWsrc/python/grpcio/grpc/aio/_metadata.py153 def set_all(self, key: MetadataKey, values: list[MetadataValue]) -> None:CODE
LOWsrc/python/grpcio_status/grpc_status/rpc_status.py88__all__ = [CODE
LOWsrc/python/grpcio_status/grpc_status/_async.py56__all__ = [CODE
Redundant / Tautological Comments16 hits · 26 pts
SeverityFileLineSnippetContext
LOWtools/dockerfile/push_testing_images.sh274 # Check if it contains DockerfileCOMMENT
LOWtools/distrib/add-iwyu.py106 # Check if we have an exporting candidateCOMMENT
LOWtools/run_tests/run_grpclb_interop_tests.py665 # Check if servers are still running.COMMENT
LOWtools/run_tests/run_interop_tests.py1891 # Check if servers are still running.COMMENT
LOWtools/run_tests/performance/loadtest_config.py290 # Set clients to named instances.COMMENT
LOWtools/run_tests/performance/loadtest_config.py312 # Set servers to named instances.COMMENT
LOWtools/internal_ci/linux/grpc_xds_k8s_run_xtest.sh82 # Check if images existCOMMENT
LOWtest/http2_test/test_data_frame_padding.py65 # Check if full grpc msg has been read into the recv buffer yetCOMMENT
LOWexamples/python/multiprocessing/server.py92 # Check if we're on macOS and warn about SO_REUSEPORT limitationsCOMMENT
LOWsrc/python/grpcio_tests/tests/fork/debugger.py24 # Check if we are on macOS AND the environment variable is setCOMMENT
LOWsrc/python/grpcio_tests/tests/unit/_reconnect_test.py40# Set type to TypeAlias when typing_extensions installed.COMMENT
LOWsrc/python/grpcio_tests/tests/unit/_reconnect_test.py309 # Check if success and early exit.COMMENT
LOW…/python/grpcio_tests/tests/status/_grpc_status_test.py171 # Check if the underlying proto message is intactCOMMENT
LOW⚡…cio_tests/tests_aio/unit/server_time_remaining_test.py58 # Check if the deadline propagates properlyCOMMENT
LOW⚡…cio_tests/tests_aio/unit/server_time_remaining_test.py64 # Check if there is no timeout, the time_remaining will be NoneCOMMENT
LOW…thon/grpcio_tests/tests_aio/status/grpc_status_test.py153 # Check if the underlying proto message is intactCOMMENT
Slop Phrases9 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1459 # TODO(jtattermusch): consider adding grpc++_test_util_unsecure - it doesn't seem to be used by bazel build (don't fCOMMENT
LOWtools/buildgen/extract_metadata_from_bazel_xml.py1459 # TODO(jtattermusch): consider adding grpc++_test_util_unsecure - it doesn't seem to be used by bazel build (don't fCOMMENT
LOWtools/run_tests/python_utils/jobset.py37# NOTE: If you change this, please make sure to test reviewing theCOMMENT
MEDIUMtools/doxygen/Doxyfile.php281# Note: For files without extension you can use no_extension as a placeholder.COMMENT
MEDIUMtools/doxygen/Doxyfile.php841# If the value of the INPUT tag contains directories, you can use theCOMMENT
MEDIUMtools/doxygen/Doxyfile.php874# If the value of the INPUT tag contains directories, you can use theCOMMENT
MEDIUMtools/doxygen/Doxyfile.php900# If the value of the EXAMPLE_PATH tag contains directories, you can use theCOMMENT
MEDIUMsrc/ruby/lib/grpc/generic/client_stub.rb305 # @return [Enumerator|Operation|nil] as discussed aboveCOMMENT
MEDIUMsrc/ruby/lib/grpc/generic/client_stub.rb416 # @return [Enumerator|nil|Operation] as discussed aboveCOMMENT
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMsrc/ruby/end2end/end2end_common.rb90# with it for test orchestration purposes via RPCs.COMMENT
MEDIUMsrc/ruby/lib/grpc/generic/active_call.rb528 # run_server_bidi orchestrates a BiDi stream processing on a server.COMMENT
MEDIUMsrc/ruby/lib/grpc/generic/bidi_call.rb20 # The BiDiCall class orchestrates execution of a BiDi stream on a client orCOMMENT
MEDIUMsrc/ruby/lib/grpc/generic/bidi_call.rb59 # Begins orchestration of the Bidi stream for a client sending requests.COMMENT
MEDIUMsrc/ruby/lib/grpc/generic/bidi_call.rb80 # Begins orchestration of the Bidi stream for a server generating replies.COMMENT
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtools/docker_runners/examples/concurrent_bazel.sh26# Usage:COMMENT
LOWtools/run_tests/performance/scenario_config_exporter.py29# Example usage:COMMENT
LOWtest/core/test_util/fake_stats_plugin.h42// Example usage:COMMENT
LOWthird_party/upb/upb/wire/decode_fast/bisect.sh6# Example usage:COMMENT
LOWsrc/core/util/validation_errors.h37// Example usage:COMMENT
LOWsrc/objective-c/tests/xcodebuild_filter_output.sh25# Usage:COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/cpp/server/secure_server_credentials.h57// to be used with any creds type as requested in #21589 or (b) find a way toCOMMENT
AI Response Leakage1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHexamples/python/multiprocessing/server.py112 # In this example, the parent process never starts a gRPC serverSTRING
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…thon/grpcio_tests/tests/testing/_server_application.py66CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/objective-c/tests/UnitTests/GRPCCallOptionsTests.m40static NSString *const kGRPCCallOptionsTestPEMPrivateKey = @"dummy_key";CODE