Repository Analysis

envoyproxy/envoy

Cloud-native high-performance edge/middle/service proxy

3.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of envoyproxy/envoy, a C++ project with 28,675 GitHub stars. SynthScan v2.0 examined 583,412 lines of code across 4738 source files, recording 1725 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 3.5 places this repository in the Likely human-written band.

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

3.5
Adjusted Score
3.5
Raw Score
100%
Time Factor
2026-08-01
Last Push
28.7K
Stars
C++
Language
583.4K
Lines of Code
4.7K
Files
1.7K
Pattern Hits
2026-08-02
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

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

CRITICAL 7HIGH 7MEDIUM 59LOW 1652

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block1370 hits · 1340 pts
SeverityFileLineSnippetContext
LOWrustfmt.toml1# This config is copied from https://github.com/bitdriftlabs/shared-core/blob/4114708cafb80103092b7e585987ef275a136f87/rCOMMENT
LOWtools/stack_decode.py1#!/usr/bin/env python3COMMENT
LOWtools/stack_decode.py21import sysCOMMENT
LOWtools/local_fix_format.sh1#!/usr/bin/env bashCOMMENT
LOWtools/find_related_envoy_files.py1#!/usr/bin/env pythonCOMMENT
LOWtools/path_fix.sh1#!/usr/bin/env bashCOMMENT
LOWtools/api_proto_plugin/type_context.py141 def __init__(self, source_code_info, name):COMMENT
LOWtools/deprecate_guards/deprecate_guards.py1# Bazel usageCOMMENT
LOWtools/debugging/run-valgrind.sh1#!/usr/bin/env bashCOMMENT
LOWtools/dependency/ossf_scorecard.py1#!/usr/bin/env python3COMMENT
LOWtools/github/sync_assignable.py1# Sync envoyproxy organization users to envoyproxy/assignable team.COMMENT
LOWtools/protoprint/protoprint.py361 # if we evaluate to the fully qualified type. If so, we're done. It's notCOMMENT
LOWtools/protoprint/protoprint.py381 # 1. its root package is different from the root package of the context typeCOMMENT
LOWtools/spelling/check_spelling_pedantic.py21COMMENT
LOWtools/base/requirements.txt1#COMMENT
LOWtools/base/requirements.txt21 # envoy-distribution-releaseCOMMENT
LOWtools/base/requirements.txt41 # aio-api-githubCOMMENT
LOWtools/base/requirements.txt61 --hash=sha256:43c80688c50ba3a528d88635fee5653b9f0f40fc4a036e1aeaddf8ada3794d2eCOMMENT
LOWtools/git/last_github_commit.sh1#!/usr/bin/env bashCOMMENT
LOWcompat/openssl/tools/generate.c.sh1#!/bin/bashCOMMENT
LOWcompat/openssl/tools/generate.c.sh61# Note that if the OpenSSL function that we are calling onto is a function-likeCOMMENT
LOWcompat/openssl/prefixer/prefixer.cpp1#include "clang/AST/ASTConsumer.h"COMMENT
LOWcompat/openssl/source/ossl_dlutil.c1#define _GNU_SOURCECOMMENT
LOWcompat/openssl/source/log.h21#define bssl_compat_debug(...) \COMMENT
LOWcompat/openssl/source/SSL_get_curve_id.c61 //case ossl_NID_curveSM2: return 41;COMMENT
LOWcompat/openssl/source/BIO_gets.c1#include <openssl/bio.h>COMMENT
LOWcompat/openssl/patch/crypto/test/file_test.cc.sh1#!/bin/bashCOMMENT
LOWcompat/openssl/patch/crypto/test/file_test_gtest.cc.sh1#!/bin/bashCOMMENT
LOWcompat/openssl/patch/crypto/test/test_data.cc.sh1#!/bin/bashCOMMENT
LOWcompat/openssl/patch/crypto/test/file_test.h.sh1#!/bin/bashCOMMENT
LOWcompat/openssl/patch/ssl/ssl_c_test.c.sh1#!/bin/bashCOMMENT
LOWcompat/openssl/patch/include/openssl/ssl.h.sh241 --uncomment-macro DTLS1_3_VERSIONCOMMENT
LOWcompat/openssl/patch/include/openssl/ssl.h.sh261// numbering (which densely covers 100-422 and 1010-1120).COMMENT
LOWcompat/openssl/patch/include/openssl/ssl.h.sh281#define SSL_R_EXCESS_HANDSHAKE_DATA 10007COMMENT
LOWcompat/openssl/patch/include/openssl/ssl.h.sh301#ifndef SSL_R_INVALID_ALPN_PROTOCOL_LISTCOMMENT
LOWtest/test_listener.h1#pragma onceCOMMENT
LOWtest/tools/router_check/router.h1#pragma onceCOMMENT
LOWtest/config/v2_link_hacks.h1#pragma onceCOMMENT
LOWtest/config/utility.h1#pragma onceCOMMENT
LOWtest/config/integration/certs/generate_nul_cert.py81# Subject Alternative Name (SAN):COMMENT
LOWtest/integration/integration_tcp_client.h1#pragma onceCOMMENT
LOWtest/integration/quic_http_integration_test.h1#pragma onceCOMMENT
LOWtest/integration/quic_http_integration_test.h21COMMENT
LOWtest/integration/http_integration.h1#pragma onceCOMMENT
LOWtest/integration/xdstp_config_sources_integration.h1#pragma onceCOMMENT
LOWtest/integration/http_protocol_integration.h21//COMMENT
LOWtest/integration/xfcc_integration_test.h1#pragma onceCOMMENT
LOWtest/integration/base_integration_test.h1#pragma onceCOMMENT
LOWtest/integration/base_integration_test.h21#include "test/integration/utility.h"COMMENT
LOWtest/integration/scoped_rds.h1#pragma onceCOMMENT
LOWtest/integration/ads_xdstp_config_sources_integration.h1#pragma onceCOMMENT
LOWtest/integration/tracked_watermark_buffer.h1#pragma onceCOMMENT
LOWtest/integration/tracked_watermark_buffer.h81 // Number of buffers still in use.COMMENT
LOWtest/integration/vhds.h1#pragma onceCOMMENT
LOWtest/integration/vhds.h201 // Make sure this number matches the size of the 'clusters' repeated field in the bootstrapCOMMENT
LOWtest/integration/fake_upstream.h1#pragma onceCOMMENT
LOWtest/integration/fake_upstream.h21#include "source/common/common/basic_resource_impl.h"COMMENT
LOWtest/integration/fake_upstream.h41#include "test/mocks/protobuf/mocks.h"COMMENT
LOWtest/integration/fake_upstream.h281 // Headers get updated in decodeHeaders() and accessed in headers() methods. Those methods canCOMMENT
LOWtest/integration/integration.h1#pragma onceCOMMENT
1310 more matches not shown…
Decorative Section Separators44 hits · 196 pts
SeverityFileLineSnippetContext
MEDIUMrustfmt.toml4# =========================COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt31// ┌──────────────────┐COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt33// │ ┌──────────────┐ │COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt34// ┌─────────────────────────┐ ┌─┼─►listener_proxy│ │COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt35// │https://localhost:{port} │ ┌──────────────┬┘ │ └──────┬───────┘ │ ┌─────────────────┐COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt37// └─────────────────────────┘ └──────────────┘ │ ┌──────▼──────┐ │ └──────▲──────────┘COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt39// │ └─────────────┴──┼────────┘COMMENT
MEDIUM…ng/ProxyInfoIntentPerformHTTPSRequestUsingProxyTest.kt41// └──────────────────┘COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt28// ┌──────────────────┐COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt30// │ ┌──────────────┐ │COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt31// ┌────────────────────────┐ ┌─┼─►listener_proxy│ │COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt32// │http://localhost:{port} │ ┌──────────────┬┘ │ └──────┬───────┘ │ ┌─────────────────┐COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt34// └────────────────────────┘ └──────────────┘ │ ┌──────▼──────┐ │ └──────▲──────────┘COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt36// │ └─────────────┴──┼────────┘COMMENT
MEDIUM…/proxying/ProxyPollPerformHTTPRequestUsingProxyTest.kt38// └──────────────────┘COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt31// ┌──────────────────┐COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt33// │ ┌──────────────┐ │COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt34// ┌─────────────────────────┐ ┌─┼─►listener_proxy│ │COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt35// │https://localhost:{port} │ ┌──────────────┬┘ │ └──────┬───────┘ │ ┌─────────────────┐COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt37// └─────────────────────────┘ └──────────────┘ │ ┌──────▼──────┐ │ └──────▲──────────┘COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt39// │ └─────────────┴──┼────────┘COMMENT
MEDIUM…oxyInfoIntentPerformHTTPSRequestUsingAsyncProxyTest.kt41// └──────────────────┘COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt31// ┌──────────────────┐COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt33// │ ┌──────────────┐ │COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt34// ┌─────────────────────────┐ ┌─┼─►listener_proxy│ │COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt35// │https://localhost:{port} │ ┌──────────────┬┘ │ └──────┬───────┘ │ ┌──────────────────┐COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt37// └─────────────────────────┘ └──────────────┘ │ ┌──────▼──────┐ │ └──────▲───────────┘COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt39// │ └─────────────┴──┼────────┘COMMENT
MEDIUM…g/ProxyInfoIntentPerformHTTPSRequestBadHostnameTest.kt41// └──────────────────┘COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt30// ┌──────────────────┐COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt32// │ ┌──────────────┐ │COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt33// ┌────────────────────────┐ ┌─┼─►listener_proxy│ │COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt34// │http://localhost:{port}/│ ┌──────────────┬┘ │ └──────┬───────┘ │ ┌────────────-----┐COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt36// └────────────────────────┘ └──────────────┘ │ ┌──────▼──────┐ │ └──────▲─────-----┘COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt38// │ └─────────────┴──┼────────┘COMMENT
MEDIUM…ing/ProxyInfoIntentPerformHTTPRequestUsingProxyTest.kt40// └──────────────────┘COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt29// ┌──────────────────┐COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt31// │ ┌──────────────┐ │COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt32// ┌─────────────────────────┐ │ │listener_proxy│ │COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt33// │https://localhost:{port} │ ┌──────────────┐ │ └──────┬───────┘ │ ┌─────────────────┐COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt35// └─────────────────────────┘ └───────┬──────┘ │ ┌──────▼──────┐ │ └──────▲──────────┘COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt37// │ │ └─────────────┘ │ │COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt39// │ └──────────────────┘ │COMMENT
MEDIUM…ProxyPollPerformHTTPRequestWithoutUsingPACProxyTest.kt41// └─────────────────────────────────────┘COMMENT
Hyper-Verbose Identifiers148 hits · 166 pts
SeverityFileLineSnippetContext
LOWtools/gen_compilation_database.py11def get_bazel_startup_options():CODE
LOWtools/gen_compilation_database.py30def generate_compilation_database(args):CODE
LOWtools/api_proto_plugin/type_context.py16 def get_comment_with_transforms(self, annotation_xforms):CODE
LOWtools/api_proto_plugin/type_context.py80 def leading_comment_path_lookup(self, path):CODE
LOWtools/api_proto_plugin/type_context.py96 def leading_detached_comments_path_lookup(self, path):CODE
LOWtools/api_proto_plugin/type_context.py115 def trailing_comment_path_lookup(self, path):CODE
LOWtools/api_proto_plugin/type_context.py275 def leading_detached_comments(self):CODE
LOWtools/api_proto_plugin/utils.py4def proto_file_canonical_from_label(label):CODE
LOWtools/api_proto_plugin/utils.py18def bazel_bin_path_for_output_artifact(label, suffix, root=''):CODE
LOWtools/type_whisperer/typedb_gen.py72def upgraded_type_with_description(type_name, type_desc):CODE
LOWtools/dependency/validate_test.py50 def test_valid_build_graph_structure(self):CODE
LOWtools/dependency/validate_test.py58 def test_invalid_build_graph_structure(self):CODE
LOWtools/dependency/validate_test.py68 def test_valid_test_only_deps(self):CODE
LOWtools/dependency/validate_test.py75 def test_invalid_test_only_deps(self):CODE
LOWtools/dependency/validate_test.py83 def test_valid_dataplane_core_deps(self):CODE
LOWtools/dependency/validate_test.py88 def test_invalid_dataplane_core_deps(self):CODE
LOWtools/dependency/validate_test.py95 def test_valid_controlplane_deps(self):CODE
LOWtools/dependency/validate_test.py100 def test_invalid_controlplane_deps(self):CODE
LOWtools/dependency/validate_test.py106 def test_valid_extension_deps(self):CODE
LOWtools/dependency/validate_test.py116 def test_invalid_extension_deps_wrong_category(self):CODE
LOWtools/dependency/validate_test.py128 def test_invalid_extension_deps_allowlist(self):CODE
LOWtools/dependency/validate.py198 async def validate_build_graph_structure(self):CODE
LOWtools/dependency/validate.py243 async def validate_data_plane_core_deps(self):CODE
LOWtools/dependency/validate.py277 async def validate_control_plane_deps(self):CODE
LOWtools/clang-tidy/collect_fixes.py47def get_bazel_startup_options() -> list[str]:CODE
LOWtools/clang-tidy/collect_fixes.py170def external_repository_from_path(path: str) -> str | None:CODE
LOWtools/clang-tidy/collect_fixes.py186def filter_document_diagnostics(document: dict, repository_name: str | None) -> dict | None:CODE
LOWtools/protoprint/protoprint.py47def get_versioning_annotation(options):CODE
LOWtools/protoprint/protoprint.py62def extract_clang_proto_style(clang_format_text):CODE
LOWtools/protoprint/protoprint.py146def create_next_free_field_xform(msg_proto):CODE
LOWtools/protoprint/protoprint.py164def format_type_context_comments(type_context, annotation_xforms=None):CODE
LOWtools/protoprint/protoprint.py325 def format_public_import_block(xs):CODE
LOWtools/protoprint/protoprint.py338def normalize_field_type_name(type_context, field_fqn):CODE
LOWtools/protoprint/protoprint.py397 def equivalent_in_type_context(splits):CODE
LOWtools/protoprint/protoprint.py618 def _deprecated_annotation_version_value(self):CODE
LOWtools/api_proto_breaking_change_detector/detector_ci.py17def detect_breaking_changes_git(path_to_buf, ref):CODE
LOW…ls/api_proto_breaking_change_detector/detector_test.py41 def test_change_field_plurality(self):CODE
LOW…ls/api_proto_breaking_change_detector/detector_test.py50 def test_change_field_from_oneof(self):CODE
LOW…ls/api_proto_breaking_change_detector/detector_test.py53 def test_change_field_to_oneof(self):CODE
LOW…ls/api_proto_breaking_change_detector/detector_test.py83 def test_remove_and_reserve_field(self):CODE
LOWtools/api_versioning/utils_test.py44 def test_valid_version_newline(self):CODE
LOWtools/api_versioning/utils_test.py47 def test_invalid_version_string(self):CODE
LOWtools/api_versioning/utils_test.py50 def test_invalid_version_partial(self):CODE
LOWtools/api_versioning/utils_test.py60 def test_invalid_multiple_lines(self):CODE
LOWtools/api_versioning/utils_test.py63 def test_valid_oldest_api_version(self):CODE
LOWtools/api_versioning/utils_test.py73 def test_valid_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py76 def test_zero_major_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py79 def test_char_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py82 def test_patch_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py85 def test_negative_minor_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py88 def test_missing_major_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py91 def test_single_number_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils_test.py94 def test_empty_number_deprecated_version_annotation(self):CODE
LOWtools/api_versioning/utils.py37def compute_oldest_api_version(current_version: ApiVersion):CODE
LOWtools/api_versioning/utils.py55def is_deprecated_annotation_version(version: str):CODE
LOW…ols/api_versioning/generate_api_version_header_test.py57 def test_valid_version_newline(self):CODE
LOWtools/vscode/generate_debug_config.py41def build_binary_with_debug_info(target, config=None):CODE
LOWtools/spelling/check_spelling_pedantic_test.py56def check_file_expecting_errors(filename, expected_substrings):CODE
LOWtools/spelling/check_spelling_pedantic_test.py61def check_file_path_expecting_ok(filename):CODE
LOWtools/code_format/check_format.py355 def allow_listed_for_protobuf_deps(self, file_path):CODE
88 more matches not shown…
Hallucination Indicators7 hits · 128 pts
SeverityFileLineSnippetContext
CRITICALcontrib/kafka/filters/network/source/serialization.h1018 * Ref: org.apache.kafka.common.utils.ByteUtils.writeUnsignedVarint(int, ByteBuffer)COMMENT
CRITICALcontrib/kafka/filters/network/source/serialization.h1024 * Ref: org.apache.kafka.common.utils.ByteUtils.writeVarint(int, ByteBuffer)COMMENT
CRITICALcontrib/kafka/filters/network/source/serialization.h1030 * Ref: org.apache.kafka.common.utils.ByteUtils.writeVarlong(long, ByteBuffer)COMMENT
CRITICAL…proxy/envoymobile/utilities/AndroidNetworkLibrary.java132 if (io.envoyproxy.envoymobile.engine.AndroidNetworkMonitorV2.getInstance() == null) {CODE
CRITICAL…proxy/envoymobile/utilities/AndroidNetworkLibrary.java135 return io.envoyproxy.envoymobile.engine.AndroidNetworkMonitorV2.getInstance().getDefaultNetId();CODE
CRITICAL…proxy/envoymobile/utilities/AndroidNetworkLibrary.java139 if (io.envoyproxy.envoymobile.engine.AndroidNetworkMonitorV2.getInstance() == null) {CODE
CRITICAL…proxy/envoymobile/utilities/AndroidNetworkLibrary.java143 io.envoyproxy.envoymobile.engine.AndroidNetworkMonitorV2.getInstance()CODE
Unused Imports50 hits · 50 pts
SeverityFileLineSnippetContext
LOWtools/build_profile.py6CODE
LOWtools/envoy_collect/envoy_collect.py37CODE
LOWtools/deprecate_guards/deprecate_guards.py15CODE
LOWtools/deprecate_features/deprecate_features.py3CODE
LOWtools/spelling/check_spelling_pedantic.py3CODE
LOWtools/spelling/check_spelling_pedantic_test.py5CODE
LOWtest/config/integration/certs/generate_nul_cert.py7CODE
LOWtest/integration/capture_fuzz_gen.py8CODE
LOWtest/integration/capture_fuzz_gen.py10CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py23CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py24CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py25CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py26CODE
LOW…dential_providers/iam_roles_anywhere_test_generator.py12CODE
LOW…nfig_schemas_test_data/test_top_level_config_schema.py2CODE
LOW…nfig_schemas_test_data/test_top_level_config_schema.py2CODE
LOW…n/json/config_schemas_test_data/test_cluster_schema.py2CODE
LOW…n/json/config_schemas_test_data/test_cluster_schema.py2CODE
LOW…g_schemas_test_data/test_route_configuration_schema.py2CODE
LOW…g_schemas_test_data/test_route_configuration_schema.py2CODE
LOW…/json/config_schemas_test_data/test_listener_schema.py2CODE
LOW…on/config_schemas_test_data/test_route_entry_schema.py2CODE
LOW…on/config_schemas_test_data/test_route_entry_schema.py2CODE
LOW…on/config_schemas_test_data/test_http_router_schema.py2CODE
LOW…son/config_schemas_test_data/test_access_log_schema.py2CODE
LOW…son/config_schemas_test_data/test_access_log_schema.py2CODE
LOWrestarter/hot-restarter.py2CODE
LOWmobile/test/python/echo_test_server.py3CODE
LOWmobile/test/python/test_transport_factory.py11CODE
LOWmobile/test/python/test_transport_factory.py11CODE
LOWmobile/test/python/fetch_test.py7CODE
LOWmobile/test/python/fetch_test.py7CODE
LOWmobile/test/python/fetch_test.py7CODE
LOWmobile/test/python/test_httpx_transport.py11CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py1CODE
LOWmobile/library/python/envoy_mobile/__init__.py13CODE
LOWmobile/library/python/envoy_mobile/__init__.py14CODE
LOWmobile/library/python/envoy_mobile/__init__.py15CODE
LOWmobile/library/python/envoy_mobile/__init__.py16CODE
LOWapi/tools/tap2pcap.py20CODE
LOWapi/tools/tap2pcap_test.py2CODE
Deep Nesting35 hits · 34 pts
SeverityFileLineSnippetContext
LOWtools/stack_decode.py28CODE
LOWtools/envoy_collect/envoy_collect.py66CODE
LOWtools/envoy_collect/envoy_collect.py153CODE
LOWtools/socket_passing/socket_passing.py25CODE
LOWtools/dependency/cve_fetch.py160CODE
LOWtools/dependency/validate.py308CODE
LOWtools/clang-tidy/collect_fixes.py150CODE
LOWtools/clang-tidy/collect_fixes.py212CODE
LOWtools/protoprint/protoprint.py183CODE
LOWtools/protoprint/protoprint.py621CODE
LOWtools/proto_format/proto_sync.py68CODE
LOWtools/proto_format/format_api.py96CODE
LOWtools/vscode/generate_debug_config.py110CODE
LOWtools/repo/notify.py138CODE
LOWtools/spelling/check_spelling_pedantic.py326CODE
LOWtools/spelling/check_spelling_pedantic.py505CODE
LOWtools/spelling/check_spelling_pedantic.py608CODE
LOWtools/spelling/check_spelling_pedantic.py262CODE
LOWtools/code_format/check_format.py109CODE
LOWtools/code_format/check_format.py276CODE
LOWtools/code_format/check_format.py460CODE
LOWtools/code_format/check_format.py1033CODE
LOW…tensions/filters/network/thrift_proxy/driver/server.py98CODE
LOW…tensions/filters/network/thrift_proxy/driver/client.py58CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py283CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py349CODE
LOW…twork/thrift_proxy/driver/fbthrift/THeaderTransport.py496CODE
LOWdocs/tools/protodoc/protodoc.py390CODE
LOW…rib/kafka/filters/network/source/protocol/generator.py144CODE
LOW…rib/kafka/filters/network/source/protocol/generator.py210CODE
LOW…rib/kafka/filters/network/source/protocol/generator.py345CODE
LOWmobile/ci/sonatype_nexus_upload.py28CODE
LOW…/library/python/envoy_mobile/async_client_transport.py67CODE
LOW…e/library/python/envoy_mobile/sync_client_transport.py62CODE
LOW…bile/library/python/envoy_mobile/async_client/utils.py60CODE
Structural Annotation Overuse15 hits · 28 pts
SeverityFileLineSnippetContext
LOWcompat/openssl/AGENTS.md34### Step 1: Uncomment the declarationCOMMENT
LOWcompat/openssl/AGENTS.md43### Step 2: Add to the BUILD fileCOMMENT
LOWcompat/openssl/AGENTS.md48### Step 3: Decide if a handwritten source file is neededCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go463 // NOTE: This method should only be called during OnRequest* or OnResponse* callbacks orCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go472 // NOTE: This method should only be called during OnRequest* or OnResponse* callbacks orCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go480 // NOTE: This method should only be called during OnRequest* or OnResponse* callbacks orCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go487 // NOTE: This method should only be called during OnRequest* or OnResponse* callbacks orCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go286 // NOTE: This function should only be called when the plugin chains are hung up becauseCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go291 // NOTE: This function should only be called when the plugin chains are hung up becauseCOMMENT
LOWsource/extensions/dynamic_modules/sdk/go/shared/http.go451 // NOTE: This method should only be called during OnRequest* or OnResponse* callbacks orCOMMENT
LOW…tensions/dynamic_modules/sdk/go/shared/network_base.go213 // NOTE: This method should only be called during network filter callbacks or scheduled functionsCOMMENT
LOWsource/common/network/lc_trie.h80 // Step 1: separate the provided prefixes by protocol (IPv4 vs IPv6),COMMENT
LOWsource/common/network/lc_trie.h121 // Step 2: push each Binary Trie's prefixes to its leaves.COMMENT
LOWsource/common/network/lc_trie.h144 // Step 3: take the disjoint prefixes from the leaves of each Binary TrieCOMMENT
LOW.github/workflows/_run.yml348 # WARNING: This allows untrusted code to run!!!COMMENT
Excessive Try-Catch Wrapping19 hits · 21 pts
SeverityFileLineSnippetContext
LOWtools/socket_passing/socket_passing.py36 except Exception as e:CODE
LOWtools/repo/notify.py170 except Exception as e:CODE
MEDIUMtools/repo/notify.py171 print("Error while fetching and parsing the on-call calendar: {e}")CODE
LOWtest/config/integration/certs/generate_nul_cert.py18 except Exception as e:CODE
LOWtest/config/integration/certs/generate_nul_cert.py30 except Exception as e:CODE
LOWtest/config/integration/certs/generate_nul_cert.py72 except Exception as e:CODE
LOW…rib/kafka/filters/network/source/protocol/generator.py170 except Exception as e:CODE
LOWmobile/ci/sonatype_nexus_upload.py114 except Exception as e:CODE
LOWmobile/ci/sonatype_nexus_upload.py150 except Exception as e:CODE
LOWmobile/ci/sonatype_nexus_upload.py168 except Exception as e:CODE
LOWmobile/ci/sonatype_nexus_upload.py184 except Exception as e:CODE
LOWmobile/ci/sonatype_nexus_upload.py200 except Exception as e:CODE
LOWmobile/ci/sonatype_nexus_upload.py322 except Exception as e:STRING
LOWmobile/ci/sonatype_nexus_upload.py331 except Exception as e:STRING
MEDIUMmobile/ci/sonatype_nexus_upload.py100def _create_staging_repository(profile_id):CODE
LOWmobile/ci/start_ios_mock_server.py46 except Exception as e:CODE
LOWmobile/ci/start_ios_mock_server.py63 except Exception:CODE
LOW…/library/python/envoy_mobile/async_client_transport.py203 except Exception:CODE
MEDIUM…/library/python/envoy_mobile/async_client_transport.py28def __aiter__(self) -> AsyncIterable[bytes]:CODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtools/gen_compilation_database.py29# This method is equivalent to https://github.com/grailbio/bazel-compilation-database/blob/master/generate.pyCOMMENT
MEDIUMci/docker-entrypoint-extra.sh9 # Create a group with the same GID as the socketCOMMENT
MEDIUMdocs/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMmobile/docs/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM.github/workflows/envoy-release.yml55 # Create a release commit, when landed this will publish.COMMENT
MEDIUM.github/workflows/copilot-setup-steps.yml54 # Create a helper script to fix truststore as mkcert CA changes when copilot startsCOMMENT
AI Slop Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtest/integration/filters/tee_filter.h39// Inject a specific instance of this factory in order to leverage the sameCOMMENT
MEDIUMtest/server/guarddog_test_interlock.h12// Helps make tests using the GuardDog more robust by providing a way ofCOMMENT
MEDIUMsource/server/hot_restart_impl.h61 // Deal with robust handling here. If the other process dies without unlocking, we are goingCOMMENT
MEDIUMsource/extensions/filters/common/ext_authz/ext_authz.h130 // dynamic metadata that other filters can leverage.COMMENT
MEDIUMsource/common/common/mutex_tracer_impl.h55 // We utilize std::memory_order_relaxed for all operations for the least possible contention.COMMENT
MEDIUMsource/common/http/headers.h17// is disallowed. Essentially this is write-once then read-only.COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtools/code_format/check_format.py274 # writing the result lines as requested.COMMENT
HIGHtest/integration/vhds.h207 // 1) It appends to fake_upstreams_ as many as you asked for via setUpstreamCount().COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHmobile/test/python/lifecycle_test.py0integration tests for the envoy mobile python asyncio bindings.STRING
HIGHmobile/test/python/fetch_test.py0integration tests for the envoy mobile python asyncio bindings.STRING
HIGH…le/test/python/async_client/async_client_fetch_test.py0integration tests for the envoy mobile python asyncio bindings.STRING
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/dependency/validate.py73Find the set of external dependencies in a given use_category. Args: use_category: string providing uSTRING
HIGHtools/api_versioning/utils.py15Returns the API version from a given API version input file. Args: input_path: the file containing the API veSTRING
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/dependency/cve_test.sh9# Check if the JSON array contains any CVEs and not just if file is non-empty.COMMENT
LOWtools/github/write_current_source_version.py52 # Check if we have VERSION.txt availableCOMMENT
LOWtools/api_versioning/generate_api_version_header.py48 # Print output to stdoutCOMMENT
LOWtools/vscode/generate_debug_config.py146 # Check if we're on ARM64 architectureCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/dependency/ossf_scorecard.py5# Usage:COMMENT
LOWci/docker_rebuild_google-vrp.sh9# Usage:COMMENT
LOWconfigs/envoy-otel-http.yaml4# Usage:COMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsource/common/network/lc_trie.h80 // Step 1: separate the provided prefixes by protocol (IPv4 vs IPv6),COMMENT
LOWsource/common/network/lc_trie.h121 // Step 2: push each Binary Trie's prefixes to its leaves.COMMENT
LOWsource/common/network/lc_trie.h144 // Step 3: take the disjoint prefixes from the leaves of each Binary TrieCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/code_format/check_format.py23logger = logging.getLogger(__name__)CODE
LOWrestarter/hot-restarter.py23logger = logging.getLogger(__name__)CODE
LOWdocs/tools/protodoc/protodoc.py26logger = logging.getLogger(__name__)CODE
LOWmobile/library/python/envoy_mobile/__init__.py18__all__ = [CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…est/java/org/chromium/net/UploadDataProvidersTest.java35 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. "CODE
LOW…est/java/org/chromium/net/UploadDataProvidersTest.java35 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. "CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…rib/kafka/filters/network/source/protocol/generator.py208CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…e/library/python/envoy_mobile/sync_client_transport.py144 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE