Repository Analysis

protocolbuffers/protobuf

Protocol Buffers - Google's data interchange format

8.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of protocolbuffers/protobuf, a C++ project with 71,495 GitHub stars. SynthScan v2.0 examined 652,919 lines of code across 1276 source files, recording 2120 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 8.3 places this repository in the Low AI signal 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).

8.3
Adjusted Score
8.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
71.5K
Stars
C++
Language
652.9K
Lines of Code
1.3K
Files
2.1K
Pattern Hits
2026-07-14
Scan Date
0.41
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 519HIGH 1MEDIUM 16LOW 1584

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 2120 distinct pattern matches across 14 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.

Hallucination Indicators519 hits · 3885 pts
SeverityFileLineSnippetContext
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java6356 // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder()COMMENT
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java1497 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java7145 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java7207 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java10476 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java10651 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java15812 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java15909 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16000 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16091 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16182 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16273 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16364 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16455 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16547 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16638 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16729 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFloat_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16820 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedDouble_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16911 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBool_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17017 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedString_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17133 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBytes_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17351 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedNestedMessage_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17677 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedForeignMessage_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18282 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18379 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18470 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18561 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18652 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18743 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18834 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18925 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19016 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19107 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19198 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFloat_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19289 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedDouble_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19380 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedBool_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19705 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19802 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19893 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19984 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20075 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20166 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20257 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20348 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20440 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20531 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20622 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFloat_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20713 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedDouble_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20804 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedBool_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java25091 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java5329 // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder()COMMENT
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java1287 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java5996 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java6042 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java8569 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java8728 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13600 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13664 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13720 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13776 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_);CODE
459 more matches not shown…
Over-Commented Block1362 hits · 1287 pts
SeverityFileLineSnippetContext
LOWgoogle3_export_generated_files.sh1#!/bin/bashCOMMENT
LOWhpb_generator/gen_messages.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/gen_utils.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/context.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/names.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/gen_enums.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/gen_repeated_fields.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/keywords.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/gen_accessors.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWhpb_generator/generator.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/map.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/unknown_fields.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/protobuf.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/protobuf.c21#include "python/message.h"COMMENT
LOWpython/protobuf.c321 // # Returns true most of the time, but false during shutdown.COMMENT
LOWpython/protobuf.c341typedef struct {COMMENT
LOWpython/repeated.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/repeated.c381error:COMMENT
LOWpython/convert.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor_pool.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/message.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/extension_dict.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/minimal_test.py1# Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor_containers.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor_containers.h21// "adaptor" code we need to write.COMMENT
LOWpython/python_api.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/python_api.h21#include "Python.h"COMMENT
LOWpython/unknown_fields.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/unknown_fields.c41}COMMENT
LOWpython/map.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor_pool.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor.c601COMMENT
LOWpython/descriptor.c621 //COMMENT
LOWpython/repeated.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/protobuf.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/protobuf.h21#include "upb/hash/int_table.h"COMMENT
LOWpython/protobuf.h101// Returns NULL if module state is not yet available (during startup).COMMENT
LOWpython/protobuf.h141// intptr_t it = PYUPB_WEAKMAP_BEGIN;COMMENT
LOWpython/protobuf.h221COMMENT
LOWpython/convert.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor_containers.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/extension_dict.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/message.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/message.c21#include "python/protobuf.h"COMMENT
LOWpython/message.c41// -----------------------------------------------------------------------------COMMENT
LOWpython/message.c61 inquiry type_clear; // PyTypeObject.tp_clearCOMMENT
LOWpython/message.c161 Py_XDECREF(sys);COMMENT
LOWpython/message.c181// message_meta_type PyTypeObject 'type' in PythonCOMMENT
LOWpython/message.c1921 0, // tp_itemsizeCOMMENT
LOWpython/docs/conf.py1# -*- coding: utf-8 -*-COMMENT
LOWpython/docs/conf.py21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTCOMMENT
LOWpython/docs/conf.py81# You can specify multiple suffix as a list of string:COMMENT
LOWpython/docs/conf.py101# The name of the Pygments (syntax highlighting) style to use.COMMENT
LOWpython/docs/conf.py121# Add any paths that contain custom static files (such as style sheets) here,COMMENT
LOWpython/docs/conf.py141}COMMENT
LOW…_distutils/protobuf_distutils/generate_py_protobufs.py61 # source_dir = 'a/b/c'COMMENT
LOWeditions/edition_defaults_test_utils.h1#ifndef GOOGLE_PROTOBUF_EDITIONS_EDITION_DEFAULTS_TEST_UTILS_H__COMMENT
LOWrust/singular.rs1// Protocol Buffers - Google's data interchange formatCOMMENT
1302 more matches not shown…
Hyper-Verbose Identifiers176 hits · 169 pts
SeverityFileLineSnippetContext
LOWpython/minimal_test.py72 def test_repeated_field_slice_delete(self):CODE
LOWphp/tests/DebugInfoTest.php121 public function testTopLevelLongBytesValue()CODE
LOWphp/tests/DebugInfoTest.php130 public function testJsonEncodeNullSubMessage()CODE
LOWphp/tests/DebugInfoTest.php288 public function testAnyWithDefaultWrapperMessagePacked()CODE
LOWphp/tests/DebugInfoTest.php307 public function testEmptyAnySerialization()CODE
LOWphp/tests/DebugInfoTest.php357 public function testTopLevelRepeatedField()CODE
LOWphp/tests/test_util.php474 public static function getGoldenTestPackedMessage()CODE
LOWphp/tests/test_util.php494 public static function getGoldenTestUnpackedMessage()CODE
LOWphp/tests/PhpImplementationTest.php570 public function testArrayConstructorJsonCaseThrowsException()CODE
LOWphp/tests/PhpImplementationTest.php581 public function testArraysForMessagesThrowsException()CODE
LOWphp/tests/PhpImplementationTest.php594 public function testArrayConstructorWithNullValues()CODE
LOWphp/tests/PhpImplementationTest.php607 public function testArrayConstructorWithNullValuesThrowsException($fieldName)CODE
LOWphp/tests/PhpImplementationTest.php615 public static function provideArrayConstructorWithNullValuesThrowsException()CODE
LOWphp/tests/DescriptorsTest.php53 public function testDescriptorPoolIncorrectArgs()CODE
LOWphp/tests/DescriptorsTest.php88 public function testDescriptorForIncludedMessage()CODE
LOWphp/tests/DescriptorsTest.php231 public function testFieldDescriptorEnumException()CODE
LOWphp/tests/DescriptorsTest.php241 public function testFieldDescriptorMessageException()CODE
LOWphp/tests/EncodeDecodeTest.php77 public function testEncodeTopLevelBoolValue()CODE
LOWphp/tests/EncodeDecodeTest.php84 public function testDecodeTopLevelDoubleValue()CODE
LOWphp/tests/EncodeDecodeTest.php91 public function testEncodeTopLevelDoubleValue()CODE
LOWphp/tests/EncodeDecodeTest.php98 public function testDecodeTopLevelFloatValue()CODE
LOWphp/tests/EncodeDecodeTest.php105 public function testEncodeTopLevelFloatValue()CODE
LOWphp/tests/EncodeDecodeTest.php189 public function testDecodeTopLevelStringValue()CODE
LOWphp/tests/EncodeDecodeTest.php196 public function testEncodeTopLevelStringValue()CODE
LOWphp/tests/EncodeDecodeTest.php203 public function testDecodeRepeatedStringValue()CODE
LOWphp/tests/EncodeDecodeTest.php210 public function testDecodeEnumMapWithUnknownStringValueThrows()CODE
LOWphp/tests/EncodeDecodeTest.php802 public function testDecodeValidStringData()CODE
LOWphp/tests/EncodeDecodeTest.php809 public function testDecodeInvalidBytesLengthMiss()CODE
LOWphp/tests/EncodeDecodeTest.php817 public function testDecodeInvalidBytesDataMiss()CODE
LOWphp/tests/EncodeDecodeTest.php843 public function testDecodeInvalidMessageLengthMiss()CODE
LOWphp/tests/EncodeDecodeTest.php851 public function testDecodeInvalidMessageDataMiss()CODE
LOWphp/tests/EncodeDecodeTest.php859 public function testDecodeInvalidPackedMessageLength()CODE
LOWphp/tests/EncodeDecodeTest.php59 public function testDecodeJsonIgnoreUnknown()CODE
LOWphp/tests/EncodeDecodeTest.php66 public function testDecodeTopLevelBoolValue()CODE
LOWphp/tests/EncodeDecodeTest.php224 public function testDecodeEnumMapWithUnknownStringValueIgnored()CODE
LOWphp/tests/EncodeDecodeTest.php241 public function testDecodeRepeatedEnumWithUnknownStringValueThrows()CODE
LOWphp/tests/EncodeDecodeTest.php255 public function testDecodeRepeatedEnumWithUnknownStringValueIgnored()CODE
LOWphp/tests/EncodeDecodeTest.php279 public function testDecodeTopLevelBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php286 public function testEncodeTopLevelBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php301 public function testEncodeTopLevelLongBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php428 public function testJsonEncodeDecodeOptional()CODE
LOWphp/tests/EncodeDecodeTest.php446 public function testJsonEncodeDecodeOneof()CODE
LOWphp/tests/EncodeDecodeTest.php520 public function testUnpackedDecodeUnpacked()CODE
LOWphp/tests/EncodeDecodeTest.php563 public function testDecodeToExistingMessage()CODE
LOWphp/tests/EncodeDecodeTest.php638 public function testOverlyRecursiveMessage() {CODE
LOWphp/tests/EncodeDecodeTest.php674 public function testDecodeInvalidSubMessage()CODE
LOWphp/tests/EncodeDecodeTest.php778 public function testDecodeInvalidStringLengthMiss()CODE
LOWphp/tests/EncodeDecodeTest.php786 public function testDecodeInvalidStringDataMiss()CODE
LOWphp/tests/EncodeDecodeTest.php1077 public function testJsonEncodeNullSubMessage()CODE
LOWphp/tests/EncodeDecodeTest.php1118 public function testEncodeDecodeTimestampConsistency()CODE
LOWphp/tests/EncodeDecodeTest.php1174 public function testDecodeTopLevelListValue()CODE
LOWphp/tests/EncodeDecodeTest.php1181 public function testEncodeTopLevelListValue()CODE
LOWphp/tests/EncodeDecodeTest.php1286 public function testDecodeAnyWithWellKnownPacked()CODE
LOWphp/tests/EncodeDecodeTest.php1301 public function testDecodeAnyWithUnknownPacked()CODE
LOWphp/tests/EncodeDecodeTest.php1362 public function testEncodeAnyWithDefaultWrapperMessagePacked()CODE
LOWphp/tests/EncodeDecodeTest.php1374 public function testDecodeTopLevelFieldMask()CODE
LOWphp/tests/EncodeDecodeTest.php1390 public function testEncodeTopLevelFieldMask()CODE
LOWphp/tests/EncodeDecodeTest.php1397 public function testEncodeFieldMaskWithInvalidPath()CODE
LOWphp/tests/EncodeDecodeTest.php1423 public function testEncodeFieldMaskWithUppercasePath()CODE
LOWphp/tests/EncodeDecodeTest.php1456 public function testJsonDecodeMapWithDefaultValueKey()CODE
116 more matches not shown…
Decorative Section Separators8 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMobjectivec/DevTools/compile_testing_protos.sh6# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh13# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh28# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh59# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh63# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh71# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh119# -----------------------------------------------------------------------------COMMENT
MEDIUMobjectivec/DevTools/compile_testing_protos.sh126# -----------------------------------------------------------------------------COMMENT
Unused Imports17 hits · 17 pts
SeverityFileLineSnippetContext
LOWcmake/dependencies_generator.py16CODE
LOWcmake/dependencies_generator.py17CODE
LOWcmake/dependencies_generator.py18CODE
LOWcmake/dependencies_generator.py20CODE
LOWpython/minimal_test.py36CODE
LOWpython/minimal_test.py37CODE
LOWpython/minimal_test.py39CODE
LOWpython/minimal_test.py40CODE
LOWpython/minimal_test.py43CODE
LOWpython/minimal_test.py44CODE
LOW…_distutils/protobuf_distutils/generate_py_protobufs.py16CODE
LOWupb/cmake/staleness_test_lib.py38CODE
LOWupb/cmake/staleness_test_lib.py39CODE
LOWupb/cmake/staleness_test.py37CODE
LOWupb/bazel/private/oss/amalgamate.py33CODE
LOWexamples/list_people.py5CODE
LOW.github/scripts/validate_yaml.py7CODE
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMrust/internal.rs76// This function is not fully robust against malformed version strings, butCOMMENT
MEDIUMrust/string.rs217 /// method is not unsafe, as the underlying implementations are robust againstCOMMENT
MEDIUMrust/string.rs437 /// method is not unsafe, as the underlying implementations are robust againstCOMMENT
MEDIUMcsharp/src/Google.Protobuf/JsonParser.cs593 var token = tokenizer.Next(); // Definitely start-object; checked in previous methodCODE
MEDIUM…c/Google.Protobuf.Test.TestProtos/UnittestIssues.pb.cs2038 /// This allows for reasonably robust tests of JSON outputCOMMENT
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWpython/docs/generate_docs.py109CODE
LOWexamples/list_people.py11CODE
LOWexamples/add_person.py15CODE
LOWbenchmarks/compare.py61CODE
LOWobjectivec/DevTools/pddm.py608CODE
LOWobjectivec/DevTools/pddm.py175CODE
LOWobjectivec/DevTools/pddm.py295CODE
LOWobjectivec/DevTools/pddm.py568CODE
LOWobjectivec/DevTools/pddm.py303CODE
LOWconformance/conformance_python.py54CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcmake/dependencies_generator.py126 # This file contains lists of external dependencies based on our BazelCOMMENT
MEDIUM.github/workflows/test_runner.yml3# This file implements the protection strategy laid out inCOMMENT
MEDIUMcsharp/build_tools.sh31# Create a zip file for each binary.COMMENT
TODO Padding6 hits · 9 pts
SeverityFileLineSnippetContext
LOWrust/test/shared/accessors_test.rs820 // TODO: Add tests covering a message-type field in a oneof.COMMENT
LOWrust/test/shared/accessors_test.rs852 // TODO: Add tests covering a message-type field in a oneof.COMMENT
LOW…3.0.0/src/Google.Protobuf.Test/GeneratedMessageTest.cs632 // TODO: Add test back after DiscardUnknownFields is supportedCOMMENT
LOW…3.0.0/src/Google.Protobuf.Test/GeneratedMessageTest.cs642 // TODO: Add test back after DiscardUnknownField is supported.COMMENT
LOWcsharp/src/Google.Protobuf.Test/GeneratedMessageTest.cs781 // TODO: Add test back when DiscardUnknownFields API is supported.COMMENT
LOWcsharp/src/Google.Protobuf.Test/GeneratedMessageTest.cs798 // TODO: Add test back when DiscardUnknownFields API is supported.COMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWexamples/go/cmd/list_people/list_people_test.go16 Name: "John Doe",CODE
LOWexamples/go/cmd/list_people/list_people_test.go19 {Number: "555-4321", Type: pb.Person_HOME},CODE
LOWexamples/go/cmd/list_people/list_people_test.go39 Name: "John Doe",CODE
LOWexamples/go/cmd/list_people/list_people_test.go44 Name: "Jane Doe",CODE
LOW.github/workflows/release_prep_test.sh37git config user.email "test@test.com"CODE
LOWcsharp/src/AddressBook/SampleUsage.cs26 Phones = { new Person.Types.PhoneNumber { Number = "555-1212" } }CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHobjectivec/DevTools/pddm.py241Expands the macro reference. Args: macro_ref_str: String of a macro reference (i.e. foo(a, b)). Returns:STRING
Excessive Try-Catch Wrapping4 hits · 4 pts
SeverityFileLineSnippetContext
LOWconformance/conformance_python.py80 except Exception as e:CODE
LOWconformance/conformance_python.py87 except Exception as e:CODE
LOWconformance/conformance_python.py103 except Exception as e:CODE
LOWconformance/conformance_python.py112 except Exception as e:CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/release_prep.sh25# Read the file assets already present on the releaseCOMMENT
LOW.github/workflows/release_prep.sh45# Check if the asset was found (jq emits "null" or empty if missing)COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWupb/wire/decode_fast/bisect.sh6# Example usage:COMMENT