AI Slop Code RIsk Monitor

protocolbuffers/protobuf

Protocol Buffers - Google's data interchange format

8.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for protocolbuffers/protobuf, a C++ project with 72,104 GitHub stars. SynthScan examined 704,325 lines of code across 1341 source files, recording 2188 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 8.4 (Moderate pattern signal); it is not an authorship estimate.

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

8.4
Adjusted Signal
8.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
72.1K
Stars
C++
Language
704.3K
Lines of Code
1.3K
Files
2.2K
Pattern Hits
2026-10-12
Scan Date
0.42
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 10.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 26.5/100 · MEDIUM

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 40.4/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 563HIGH 2MEDIUM 15LOW 1608

Directory Score Breakdown

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

Pattern Findings

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

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

Hallucination Indicators563 hits · 4315 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
503 more matches not shown…
Over-Commented Block1367 hits · 1296 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.c161 PyUpb_WeakMap* obj_cache;COMMENT
LOWpython/repeated.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/repeated.c21#include "python/free_threading/weak_map.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/descriptor_pool.c21#include "python/python_api.h"COMMENT
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/mem/arena.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.c281 // This deallocator can be called on different types (which, despiteCOMMENT
LOWpython/descriptor.c681 // B = 1;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/mem/arena.h"COMMENT
LOWpython/protobuf.h181// Sets a Python FrozenInstanceError with the default error messageCOMMENT
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/free_threading/lazy_ptr.h"COMMENT
LOWpython/message.c41#include "upb/wire/decode.h"COMMENT
LOWpython/message.c81 // 3.10.COMMENT
LOWpython/message.c181// will be an instance of the PyUpb_MessageMeta type (defined below). So theCOMMENT
LOWpython/buffer_convert.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/buffer_convert.h41COMMENT
LOWpython/free_threading/lazy_ptr.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/free_threading/lazy_ptr.h21// acquiring global locks. On CAS collisions (races where two threadsCOMMENT
LOWpython/free_threading/lazy_ptr.h41// &desc->cached_options, CreateOptionsCallback, &context_args);COMMENT
LOWpython/free_threading/weak_map.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/free_threading/weak_map.h1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/free_threading/weak_map.h21// A WeakMap maps C pointers to the corresponding Python wrapper object. WeCOMMENT
LOWpython/free_threading/mutex.h1// Protocol Buffers - Google's data interchange formatCOMMENT
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
1307 more matches not shown…
Hyper-Verbose Identifiers197 hits · 186 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
LOW⚡php/tests/EncodeDecodeTest.php82 public function testEncodeTopLevelBoolValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php89 public function testDecodeTopLevelDoubleValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php96 public function testEncodeTopLevelDoubleValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php103 public function testDecodeTopLevelFloatValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php110 public function testEncodeTopLevelFloatValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php194 public function testDecodeTopLevelStringValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php201 public function testEncodeTopLevelStringValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php208 public function testDecodeRepeatedStringValue()CODE
LOW⚡php/tests/EncodeDecodeTest.php215 public function testDecodeEnumMapWithUnknownStringValueThrows()CODE
LOW⚡php/tests/EncodeDecodeTest.php807 public function testDecodeValidStringData()CODE
LOW⚡php/tests/EncodeDecodeTest.php814 public function testDecodeInvalidBytesLengthMiss()CODE
LOW⚡php/tests/EncodeDecodeTest.php822 public function testDecodeInvalidBytesDataMiss()CODE
LOW⚡php/tests/EncodeDecodeTest.php848 public function testDecodeInvalidMessageLengthMiss()CODE
LOW⚡php/tests/EncodeDecodeTest.php856 public function testDecodeInvalidMessageDataMiss()CODE
LOW⚡php/tests/EncodeDecodeTest.php864 public function testDecodeInvalidPackedMessageLength()CODE
LOW⚡php/tests/EncodeDecodeTest.php2311 public function testParseHachiMaiDoNumber() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2317 public function testCaseSensitiveGauntletParsingFails() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2323 public function testCaseSensitiveRawNameParsingFails() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2329 public function testSerializeRepeatedEnum() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2338 public function testParseRepeatedEnumStrict() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2346 public function testParseRepeatedEnumStrictUnknownFails() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2352 public function testParseRepeatedEnumLenient() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2360 public function testParseRepeatedEnumLenientIgnoresUnknown() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2396 public function testParseMapEnumLenientIgnoresUnknown() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2403 public function testSerializeNestedEnumShield() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2412 public function testParseNestedEnumShieldCustomName() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2418 public function testParseNestedEnumShieldRawName() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2424 public function testParseNestedEnumShieldNumber() {CODE
LOW⚡php/tests/EncodeDecodeTest.php2430 public function testEnumDescriptorReflection() {CODE
LOWphp/tests/EncodeDecodeTest.php64 public function testDecodeJsonIgnoreUnknown()CODE
LOWphp/tests/EncodeDecodeTest.php71 public function testDecodeTopLevelBoolValue()CODE
LOWphp/tests/EncodeDecodeTest.php229 public function testDecodeEnumMapWithUnknownStringValueIgnored()CODE
LOWphp/tests/EncodeDecodeTest.php246 public function testDecodeRepeatedEnumWithUnknownStringValueThrows()CODE
LOWphp/tests/EncodeDecodeTest.php260 public function testDecodeRepeatedEnumWithUnknownStringValueIgnored()CODE
LOWphp/tests/EncodeDecodeTest.php284 public function testDecodeTopLevelBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php291 public function testEncodeTopLevelBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php306 public function testEncodeTopLevelLongBytesValue()CODE
LOWphp/tests/EncodeDecodeTest.php433 public function testJsonEncodeDecodeOptional()CODE
LOWphp/tests/EncodeDecodeTest.php451 public function testJsonEncodeDecodeOneof()CODE
LOWphp/tests/EncodeDecodeTest.php525 public function testUnpackedDecodeUnpacked()CODE
LOWphp/tests/EncodeDecodeTest.php568 public function testDecodeToExistingMessage()CODE
LOWphp/tests/EncodeDecodeTest.php643 public function testOverlyRecursiveMessage() {CODE
137 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
MEDIUM⚡objectivec/DevTools/compile_testing_protos.sh59# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡objectivec/DevTools/compile_testing_protos.sh63# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡objectivec/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 Vocabulary4 hits · 11 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
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.py57CODE
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
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpython/docs/generate_docs.py143except FileExistsError: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.py83 except Exception as e:CODE
LOWconformance/conformance_python.py90 except Exception as e:CODE
LOWconformance/conformance_python.py106 except Exception as e:CODE
LOWconformance/conformance_python.py115 except Exception as e:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWupb/wire/decode_fast/bisect.sh6# Example usage:COMMENT