Repository Analysis

protocolbuffers/protobuf

Protocol Buffers - Google's data interchange format

8.4 Low AI signal View on GitHub
8.4
Adjusted Score
8.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
71,296
Stars
C++
Language
649,166
Lines of Code
1270
Files
2097
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 519HIGH 1MEDIUM 16LOW 1561

Pattern Findings

2097 matches across 13 categories. Click a row to expand file-level details.

Hallucination Indicators519 hits · 3885 pts
SeverityFileLineSnippet
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java6356 // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder()
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java1497 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java7145 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java7207 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java10476 com.google.protobuf.Internal.MapAdapter.newEnumConverter(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java10651 com.google.protobuf.Internal.MapAdapter.newEnumConverter(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java15812 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java15909 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16000 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16091 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16182 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16273 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16364 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16455 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16547 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16638 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16729 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFloat_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16820 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedDouble_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java16911 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBool_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17017 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedString_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17133 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBytes_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17351 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedNestedMessage_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java17677 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedForeignMessage_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18282 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18379 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18470 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18561 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18652 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18743 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18834 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java18925 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19016 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19107 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19198 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFloat_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19289 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedDouble_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19380 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedBool_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19705 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19802 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19893 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java19984 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20075 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20166 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20257 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20348 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20440 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20531 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20622 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFloat_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20713 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedDouble_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java20804 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedBool_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java25091 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java5329 // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder()
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java1287 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java5996 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java6042 legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java8569 com.google.protobuf.Internal.MapAdapter.newEnumConverter(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java8728 com.google.protobuf.Internal.MapAdapter.newEnumConverter(
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13600 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13664 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13720 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_);
CRITICAL…legacy_gencode_test/proto3/Proto3GencodeTestProto.java13776 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_);
459 more matches not shown…
Over-Commented Block1349 hits · 1280 pts
SeverityFileLineSnippet
LOWgoogle3_export_generated_files.sh1#!/bin/bash
LOWhpb_generator/gen_messages.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/gen_utils.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/context.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/names.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/gen_enums.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/gen_repeated_fields.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/keywords.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/gen_accessors.h1// Protocol Buffers - Google's data interchange format
LOWhpb_generator/generator.h1// Protocol Buffers - Google's data interchange format
LOWpython/map.h1// Protocol Buffers - Google's data interchange format
LOWpython/unknown_fields.h1// Protocol Buffers - Google's data interchange format
LOWpython/protobuf.c1// Protocol Buffers - Google's data interchange format
LOWpython/protobuf.c21#include "python/repeated.h"
LOWpython/protobuf.c321 // assert(m.submsg is m.submsg)
LOWpython/protobuf.c341 // clang-format off
LOWpython/repeated.c1// Protocol Buffers - Google's data interchange format
LOWpython/convert.c1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor.h1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor_pool.c1// Protocol Buffers - Google's data interchange format
LOWpython/message.h1// Protocol Buffers - Google's data interchange format
LOWpython/extension_dict.h1// Protocol Buffers - Google's data interchange format
LOWpython/minimal_test.py1# Protocol Buffers - Google's data interchange format
LOWpython/descriptor_containers.h1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor_containers.h21// "adaptor" code we need to write.
LOWpython/python_api.h1// Protocol Buffers - Google's data interchange format
LOWpython/python_api.h21#include "Python.h"
LOWpython/unknown_fields.c1// Protocol Buffers - Google's data interchange format
LOWpython/unknown_fields.c41}
LOWpython/map.c1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor_pool.h1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor.c1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor.c601
LOWpython/descriptor.c621 // To work around this, we build an actual Python dict whenever a user
LOWpython/repeated.h1// Protocol Buffers - Google's data interchange format
LOWpython/protobuf.h1// Protocol Buffers - Google's data interchange format
LOWpython/protobuf.h21#include "upb/hash/int_table.h"
LOWpython/protobuf.h101// Any use of the module state during startup needs to be passed explicitly.
LOWpython/protobuf.h141// while (PyUpb_WeakMap_Next(map, &key, &obj, &it)) {
LOWpython/protobuf.h221
LOWpython/convert.h1// Protocol Buffers - Google's data interchange format
LOWpython/descriptor_containers.c1// Protocol Buffers - Google's data interchange format
LOWpython/extension_dict.c1// Protocol Buffers - Google's data interchange format
LOWpython/message.c1// Protocol Buffers - Google's data interchange format
LOWpython/message.c21#include "python/repeated.h"
LOWpython/message.c41// CPythonBits
LOWpython/message.c61} PyUpb_CPythonBits;
LOWpython/message.c161 Py_XDECREF(hex_version);
LOWpython/message.c181//
LOWpython/message.c1881PyType_Spec PyUpb_Message_Spec = {
LOWpython/docs/conf.py1# -*- coding: utf-8 -*-
LOWpython/docs/conf.py21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LOWpython/docs/conf.py81# You can specify multiple suffix as a list of string:
LOWpython/docs/conf.py101# The name of the Pygments (syntax highlighting) style to use.
LOWpython/docs/conf.py121# Add any paths that contain custom static files (such as style sheets) here,
LOWpython/docs/conf.py141}
LOW…_distutils/protobuf_distutils/generate_py_protobufs.py61 # source_dir = 'a/b/c'
LOWeditions/edition_defaults_test_utils.h1#ifndef GOOGLE_PROTOBUF_EDITIONS_EDITION_DEFAULTS_TEST_UTILS_H__
LOWrust/singular.rs1// Protocol Buffers - Google's data interchange format
LOWrust/singular.rs21/// Note that a subset of Singular types are permitted as Map keys: messages, bytes and enums are
1289 more matches not shown…
Hyper-Verbose Identifiers173 hits · 167 pts
SeverityFileLineSnippet
LOWpython/minimal_test.py72 def test_repeated_field_slice_delete(self):
LOWphp/tests/DebugInfoTest.php121 public function testTopLevelLongBytesValue()
LOWphp/tests/DebugInfoTest.php130 public function testJsonEncodeNullSubMessage()
LOWphp/tests/DebugInfoTest.php288 public function testAnyWithDefaultWrapperMessagePacked()
LOWphp/tests/DebugInfoTest.php307 public function testEmptyAnySerialization()
LOWphp/tests/DebugInfoTest.php357 public function testTopLevelRepeatedField()
LOWphp/tests/test_util.php474 public static function getGoldenTestPackedMessage()
LOWphp/tests/test_util.php494 public static function getGoldenTestUnpackedMessage()
LOWphp/tests/PhpImplementationTest.php570 public function testArrayConstructorJsonCaseThrowsException()
LOWphp/tests/PhpImplementationTest.php581 public function testArraysForMessagesThrowsException()
LOWphp/tests/PhpImplementationTest.php594 public function testArrayConstructorWithNullValues()
LOWphp/tests/PhpImplementationTest.php607 public function testArrayConstructorWithNullValuesThrowsException($fieldName)
LOWphp/tests/PhpImplementationTest.php615 public static function provideArrayConstructorWithNullValuesThrowsException()
LOWphp/tests/DescriptorsTest.php53 public function testDescriptorPoolIncorrectArgs()
LOWphp/tests/DescriptorsTest.php88 public function testDescriptorForIncludedMessage()
LOWphp/tests/DescriptorsTest.php231 public function testFieldDescriptorEnumException()
LOWphp/tests/DescriptorsTest.php241 public function testFieldDescriptorMessageException()
LOWphp/tests/EncodeDecodeTest.php77 public function testEncodeTopLevelBoolValue()
LOWphp/tests/EncodeDecodeTest.php84 public function testDecodeTopLevelDoubleValue()
LOWphp/tests/EncodeDecodeTest.php91 public function testEncodeTopLevelDoubleValue()
LOWphp/tests/EncodeDecodeTest.php98 public function testDecodeTopLevelFloatValue()
LOWphp/tests/EncodeDecodeTest.php105 public function testEncodeTopLevelFloatValue()
LOWphp/tests/EncodeDecodeTest.php189 public function testDecodeTopLevelStringValue()
LOWphp/tests/EncodeDecodeTest.php196 public function testEncodeTopLevelStringValue()
LOWphp/tests/EncodeDecodeTest.php203 public function testDecodeRepeatedStringValue()
LOWphp/tests/EncodeDecodeTest.php210 public function testDecodeEnumMapWithUnknownStringValueThrows()
LOWphp/tests/EncodeDecodeTest.php802 public function testDecodeValidStringData()
LOWphp/tests/EncodeDecodeTest.php809 public function testDecodeInvalidBytesLengthMiss()
LOWphp/tests/EncodeDecodeTest.php817 public function testDecodeInvalidBytesDataMiss()
LOWphp/tests/EncodeDecodeTest.php843 public function testDecodeInvalidMessageLengthMiss()
LOWphp/tests/EncodeDecodeTest.php851 public function testDecodeInvalidMessageDataMiss()
LOWphp/tests/EncodeDecodeTest.php859 public function testDecodeInvalidPackedMessageLength()
LOWphp/tests/EncodeDecodeTest.php59 public function testDecodeJsonIgnoreUnknown()
LOWphp/tests/EncodeDecodeTest.php66 public function testDecodeTopLevelBoolValue()
LOWphp/tests/EncodeDecodeTest.php224 public function testDecodeEnumMapWithUnknownStringValueIgnored()
LOWphp/tests/EncodeDecodeTest.php241 public function testDecodeRepeatedEnumWithUnknownStringValueThrows()
LOWphp/tests/EncodeDecodeTest.php255 public function testDecodeRepeatedEnumWithUnknownStringValueIgnored()
LOWphp/tests/EncodeDecodeTest.php279 public function testDecodeTopLevelBytesValue()
LOWphp/tests/EncodeDecodeTest.php286 public function testEncodeTopLevelBytesValue()
LOWphp/tests/EncodeDecodeTest.php301 public function testEncodeTopLevelLongBytesValue()
LOWphp/tests/EncodeDecodeTest.php428 public function testJsonEncodeDecodeOptional()
LOWphp/tests/EncodeDecodeTest.php446 public function testJsonEncodeDecodeOneof()
LOWphp/tests/EncodeDecodeTest.php520 public function testUnpackedDecodeUnpacked()
LOWphp/tests/EncodeDecodeTest.php563 public function testDecodeToExistingMessage()
LOWphp/tests/EncodeDecodeTest.php638 public function testOverlyRecursiveMessage() {
LOWphp/tests/EncodeDecodeTest.php674 public function testDecodeInvalidSubMessage()
LOWphp/tests/EncodeDecodeTest.php778 public function testDecodeInvalidStringLengthMiss()
LOWphp/tests/EncodeDecodeTest.php786 public function testDecodeInvalidStringDataMiss()
LOWphp/tests/EncodeDecodeTest.php1077 public function testJsonEncodeNullSubMessage()
LOWphp/tests/EncodeDecodeTest.php1118 public function testEncodeDecodeTimestampConsistency()
LOWphp/tests/EncodeDecodeTest.php1174 public function testDecodeTopLevelListValue()
LOWphp/tests/EncodeDecodeTest.php1181 public function testEncodeTopLevelListValue()
LOWphp/tests/EncodeDecodeTest.php1286 public function testDecodeAnyWithWellKnownPacked()
LOWphp/tests/EncodeDecodeTest.php1301 public function testDecodeAnyWithUnknownPacked()
LOWphp/tests/EncodeDecodeTest.php1362 public function testEncodeAnyWithDefaultWrapperMessagePacked()
LOWphp/tests/EncodeDecodeTest.php1374 public function testDecodeTopLevelFieldMask()
LOWphp/tests/EncodeDecodeTest.php1390 public function testEncodeTopLevelFieldMask()
LOWphp/tests/EncodeDecodeTest.php1397 public function testEncodeFieldMaskWithInvalidPath()
LOWphp/tests/EncodeDecodeTest.php1423 public function testEncodeFieldMaskWithUppercasePath()
LOWphp/tests/EncodeDecodeTest.php1456 public function testJsonDecodeMapWithDefaultValueKey()
113 more matches not shown…
Decorative Section Separators8 hits · 28 pts
SeverityFileLineSnippet
MEDIUMobjectivec/DevTools/compile_testing_protos.sh6# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh13# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh28# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh59# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh63# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh71# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh119# -----------------------------------------------------------------------------
MEDIUMobjectivec/DevTools/compile_testing_protos.sh126# -----------------------------------------------------------------------------
Unused Imports17 hits · 17 pts
SeverityFileLineSnippet
LOWcmake/dependencies_generator.py16
LOWcmake/dependencies_generator.py17
LOWcmake/dependencies_generator.py18
LOWcmake/dependencies_generator.py20
LOWpython/minimal_test.py36
LOWpython/minimal_test.py37
LOWpython/minimal_test.py39
LOWpython/minimal_test.py40
LOWpython/minimal_test.py43
LOWpython/minimal_test.py44
LOW…_distutils/protobuf_distutils/generate_py_protobufs.py16
LOWupb/cmake/staleness_test_lib.py38
LOWupb/cmake/staleness_test_lib.py39
LOWupb/cmake/staleness_test.py37
LOWupb/bazel/private/oss/amalgamate.py33
LOWexamples/list_people.py5
LOW.github/scripts/validate_yaml.py7
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippet
MEDIUMrust/internal.rs76// This function is not fully robust against malformed version strings, but
MEDIUMrust/string.rs217 /// method is not unsafe, as the underlying implementations are robust against
MEDIUMrust/string.rs437 /// method is not unsafe, as the underlying implementations are robust against
MEDIUMcsharp/src/Google.Protobuf/JsonParser.cs593 var token = tokenizer.Next(); // Definitely start-object; checked in previous method
MEDIUM…c/Google.Protobuf.Test.TestProtos/UnittestIssues.pb.cs2038 /// This allows for reasonably robust tests of JSON output
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippet
LOWpython/docs/generate_docs.py109
LOWexamples/list_people.py11
LOWexamples/add_person.py15
LOWbenchmarks/compare.py61
LOWobjectivec/DevTools/pddm.py608
LOWobjectivec/DevTools/pddm.py175
LOWobjectivec/DevTools/pddm.py295
LOWobjectivec/DevTools/pddm.py568
LOWobjectivec/DevTools/pddm.py303
LOWconformance/conformance_python.py54
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMcmake/dependencies_generator.py126 # This file contains lists of external dependencies based on our Bazel
MEDIUM.github/workflows/test_runner.yml3# This file implements the protection strategy laid out in
MEDIUMcsharp/build_tools.sh31# Create a zip file for each binary.
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippet
LOWexamples/go/cmd/list_people/list_people_test.go16 Name: "John Doe",
LOWexamples/go/cmd/list_people/list_people_test.go19 {Number: "555-4321", Type: pb.Person_HOME},
LOWexamples/go/cmd/list_people/list_people_test.go39 Name: "John Doe",
LOWexamples/go/cmd/list_people/list_people_test.go44 Name: "Jane Doe",
LOWcsharp/src/AddressBook/SampleUsage.cs26 Phones = { new Person.Types.PhoneNumber { Number = "555-1212" } }
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
HIGHobjectivec/DevTools/pddm.py241Expands the macro reference. Args: macro_ref_str: String of a macro reference (i.e. foo(a, b)). Returns:
Excessive Try-Catch Wrapping4 hits · 4 pts
SeverityFileLineSnippet
LOWconformance/conformance_python.py80 except Exception as e:
LOWconformance/conformance_python.py87 except Exception as e:
LOWconformance/conformance_python.py103 except Exception as e:
LOWconformance/conformance_python.py112 except Exception as e:
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOW.github/workflows/release_prep.sh25# Read the file assets already present on the release
LOW.github/workflows/release_prep.sh45# Check if the asset was found (jq emits "null" or empty if missing)
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWupb/wire/decode_fast/bisect.sh6# Example usage: