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,825 GitHub stars. SynthScan v2.0 examined 660,300 lines of code across 1297 source files, recording 2149 pattern matches distributed across 13 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-08-28
Last Push
71.8K
Stars
C++
Language
660.3K
Lines of Code
1.3K
Files
2.1K
Pattern Hits
2026-08-29
Scan Date
0.40
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 1613

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 2149 distinct pattern matches across 13 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 Block1375 hits · 1299 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.c361 }COMMENT
LOWpython/protobuf.c401} PyUpb_Arena;COMMENT
LOWpython/repeated.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/repeated.c21#include "python/protobuf.h"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/buffer_convert.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/map.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/map.c21#include "upb/message/array.h"COMMENT
LOWpython/descriptor_pool.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/descriptor.c21#include "python/descriptor_containers.h"COMMENT
LOWpython/descriptor.c661 // }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/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.c41static PyObject* PyUpb_MessageMeta_GetAttr(PyObject* self, PyObject* name);COMMENT
LOWpython/message.c61 size_t type_basicsize; // sizeof(PyHeapTypeObject)COMMENT
LOWpython/message.c161 Py_XDECREF(type);COMMENT
LOWpython/message.c181// foo PyUpb_Message FooMessageCOMMENT
LOWpython/buffer_convert.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/buffer_convert.h41COMMENT
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
1315 more matches not shown…
Hyper-Verbose Identifiers194 hits · 184 pts
SeverityFileLineSnippetContext
LOWpython/minimal_test.py72 def test_repeated_field_slice_delete(self):CODE
LOWphp/tests/DebugInfoTest.php124 public function testTopLevelLongBytesValue()CODE
LOWphp/tests/DebugInfoTest.php133 public function testJsonEncodeNullSubMessage()CODE
LOWphp/tests/DebugInfoTest.php291 public function testAnyWithDefaultWrapperMessagePacked()CODE
LOWphp/tests/DebugInfoTest.php310 public function testEmptyAnySerialization()CODE
LOWphp/tests/DebugInfoTest.php360 public function testTopLevelRepeatedField()CODE
LOWphp/tests/UpdateReservedTest.php8 public function testBashScriptIdempotency()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.php81 public function testEncodeTopLevelBoolValue()CODE
LOWphp/tests/EncodeDecodeTest.php88 public function testDecodeTopLevelDoubleValue()CODE
LOWphp/tests/EncodeDecodeTest.php95 public function testEncodeTopLevelDoubleValue()CODE
LOWphp/tests/EncodeDecodeTest.php102 public function testDecodeTopLevelFloatValue()CODE
LOWphp/tests/EncodeDecodeTest.php109 public function testEncodeTopLevelFloatValue()CODE
LOWphp/tests/EncodeDecodeTest.php193 public function testDecodeTopLevelStringValue()CODE
LOWphp/tests/EncodeDecodeTest.php200 public function testEncodeTopLevelStringValue()CODE
LOWphp/tests/EncodeDecodeTest.php207 public function testDecodeRepeatedStringValue()CODE
LOWphp/tests/EncodeDecodeTest.php214 public function testDecodeEnumMapWithUnknownStringValueThrows()CODE
LOWphp/tests/EncodeDecodeTest.php806 public function testDecodeValidStringData()CODE
LOWphp/tests/EncodeDecodeTest.php813 public function testDecodeInvalidBytesLengthMiss()CODE
LOWphp/tests/EncodeDecodeTest.php821 public function testDecodeInvalidBytesDataMiss()CODE
LOWphp/tests/EncodeDecodeTest.php847 public function testDecodeInvalidMessageLengthMiss()CODE
LOWphp/tests/EncodeDecodeTest.php855 public function testDecodeInvalidMessageDataMiss()CODE
LOWphp/tests/EncodeDecodeTest.php863 public function testDecodeInvalidPackedMessageLength()CODE
LOWphp/tests/EncodeDecodeTest.php2310 public function testParseHachiMaiDoNumber() {CODE
LOWphp/tests/EncodeDecodeTest.php2316 public function testCaseSensitiveGauntletParsingFails() {CODE
LOWphp/tests/EncodeDecodeTest.php2322 public function testCaseSensitiveRawNameParsingFails() {CODE
LOWphp/tests/EncodeDecodeTest.php2328 public function testSerializeRepeatedEnum() {CODE
LOWphp/tests/EncodeDecodeTest.php2337 public function testParseRepeatedEnumStrict() {CODE
LOWphp/tests/EncodeDecodeTest.php2345 public function testParseRepeatedEnumStrictUnknownFails() {CODE
LOWphp/tests/EncodeDecodeTest.php2351 public function testParseRepeatedEnumLenient() {CODE
LOWphp/tests/EncodeDecodeTest.php2359 public function testParseRepeatedEnumLenientIgnoresUnknown() {CODE
LOWphp/tests/EncodeDecodeTest.php2395 public function testParseMapEnumLenientIgnoresUnknown() {CODE
LOWphp/tests/EncodeDecodeTest.php2402 public function testSerializeNestedEnumShield() {CODE
LOWphp/tests/EncodeDecodeTest.php2411 public function testParseNestedEnumShieldCustomName() {CODE
LOWphp/tests/EncodeDecodeTest.php2417 public function testParseNestedEnumShieldRawName() {CODE
LOWphp/tests/EncodeDecodeTest.php2423 public function testParseNestedEnumShieldNumber() {CODE
LOWphp/tests/EncodeDecodeTest.php2429 public function testEnumDescriptorReflection() {CODE
LOWphp/tests/EncodeDecodeTest.php63 public function testDecodeJsonIgnoreUnknown()CODE
LOWphp/tests/EncodeDecodeTest.php70 public function testDecodeTopLevelBoolValue()CODE
LOWphp/tests/EncodeDecodeTest.php228 public function testDecodeEnumMapWithUnknownStringValueIgnored()CODE
LOWphp/tests/EncodeDecodeTest.php245 public function testDecodeRepeatedEnumWithUnknownStringValueThrows()CODE
LOWphp/tests/EncodeDecodeTest.php259 public function testDecodeRepeatedEnumWithUnknownStringValueIgnored()CODE
LOWphp/tests/EncodeDecodeTest.php283 public function testDecodeTopLevelBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php290 public function testEncodeTopLevelBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php305 public function testEncodeTopLevelLongBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php432 public function testJsonEncodeDecodeOptional()CODE
LOWphp/tests/EncodeDecodeTest.php450 public function testJsonEncodeDecodeOneof()CODE
LOWphp/tests/EncodeDecodeTest.php524 public function testUnpackedDecodeUnpacked()CODE
LOWphp/tests/EncodeDecodeTest.php567 public function testDecodeToExistingMessage()CODE
LOWphp/tests/EncodeDecodeTest.php642 public function testOverlyRecursiveMessage() {CODE
134 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.rs77// 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.cs595 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.py129 # 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.rs826 // TODO: Add tests covering a message-type field in a oneof.COMMENT
LOWrust/test/shared/accessors_test.rs879 // 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
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWupb/wire/decode_fast/bisect.sh6# Example usage:COMMENT