AI Slop Code Risk Monitor

protocolbuffers/protobuf

SlopCodeMonitor badge for protocolbuffers/protobuf Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Protocol Buffers - Google's data interchange format

8.4 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for protocolbuffers/protobuf, a C++ project with 72,138 GitHub stars. SynthScan examined 709,291 lines of code across 1353 source files, recording 2232 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-31
Last Push
72.1K
Stars
C++
Language
709.3K
Lines of Code
1.4K
Files
2.2K
Pattern Hits
2026-10-31
Scan Date
0.42
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 10.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 26.4/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? 2232 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 1652

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 2232 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.java6363 // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder()COMMENT
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java1504 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java7152 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java7214 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java10483 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java10658 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java15819 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java15916 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16007 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16098 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16189 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16280 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16371 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16462 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16554 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16645 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16736 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFloat_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16827 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedDouble_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16918 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBool_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17024 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedString_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17140 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBytes_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17358 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedNestedMessage_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17684 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedForeignMessage_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18289 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18386 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18477 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18568 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18659 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18750 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18841 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18932 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19023 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19114 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19205 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFloat_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19296 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedDouble_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19387 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedBool_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19712 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19809 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19900 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19991 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20082 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20173 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20264 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20355 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20447 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20538 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20629 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFloat_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20720 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedDouble_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20811 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedBool_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java25098 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java5336 // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder()COMMENT
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java1294 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java6003 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java6049 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java8576 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java8735 com.google.protobuf.Internal.MapAdapter.newEnumConverter(CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13607 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13671 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13727 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_);CODE
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13783 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_);CODE
503 more matches not shown…
Over-Commented Block1411 hits · 1334 pts
SeverityFileLineSnippetContext
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_Arena;COMMENT
LOWpython/repeated.c1// Protocol Buffers - Google's data interchange formatCOMMENT
LOWpython/repeated.c21#include "python/message.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/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_pool.h"COMMENT
LOWpython/descriptor.c281static void PyUpb_DescriptorBase_Dealloc(PyUpb_DescriptorBase* base) {COMMENT
LOWpython/descriptor.c661static PyObject* PyUpb_Descriptor_GetName(PyObject* self, void* closure) {COMMENT
LOWpython/descriptor.c681 // In this case, upb stores tables for E1 and E2, but it does not store aCOMMENT
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// For an expression like: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/free_threading/lazy_ptr.h"COMMENT
LOWpython/message.c41#include "upb/wire/decode.h"COMMENT
LOWpython/message.c81 // 3.10.COMMENT
LOWpython/message.c181COMMENT
LOWpython/message.c2201COMMENT
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.py81COMMENT
LOWpython/docs/conf.py121# -- Options for HTMLHelp output ---------------------------------------------COMMENT
1351 more matches not shown…
Hyper-Verbose Identifiers197 hits · 186 pts
SeverityFileLineSnippetContext
LOWpython/minimal_test.py49 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.py13CODE
LOWpython/minimal_test.py14CODE
LOWpython/minimal_test.py16CODE
LOWpython/minimal_test.py17CODE
LOWpython/minimal_test.py20CODE
LOWpython/minimal_test.py21CODE
LOW…_distutils/protobuf_distutils/generate_py_protobufs.py16CODE
LOWupb/cmake/staleness_test_lib.py14CODE
LOWupb/cmake/staleness_test_lib.py15CODE
LOWupb/cmake/staleness_test.py14CODE
LOWupb/bazel/private/oss/amalgamate.py9CODE
LOWexamples/list_people.py11CODE
LOW.github/scripts/validate_yaml.py14CODE
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.py108CODE
LOWexamples/list_people.py17CODE
LOWexamples/add_person.py21CODE
LOWbenchmarks/compare.py37CODE
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.cs833 // TODO: Add test back when DiscardUnknownFields API is supported.COMMENT
LOWcsharp/src/Google.Protobuf.Test/GeneratedMessageTest.cs850 // 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.py142except 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.sh12# Example usage:COMMENT