Protocol Buffers - Google's data interchange format
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1589 finding(s).
Are imports declared and package/API names verified? 586 finding(s).
Are wrappers, guards, and repeated structures necessary? 210 finding(s).
Which changes need focused human review? 2188 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 6356 | // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder() | COMMENT |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 1497 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 7145 | legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 7207 | legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 10476 | com.google.protobuf.Internal.MapAdapter.newEnumConverter( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 10651 | com.google.protobuf.Internal.MapAdapter.newEnumConverter( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 15812 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 15909 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16000 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16091 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16182 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16273 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSint64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16364 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16455 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFixed64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16547 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16638 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedSfixed64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16729 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedFloat_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16820 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedDouble_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 16911 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBool_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 17017 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedString_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 17133 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedBytes_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 17351 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedNestedMessage_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 17677 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedForeignMessage_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18282 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18379 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedInt64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18470 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18561 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedUint64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18652 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18743 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSint64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18834 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 18925 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFixed64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19016 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19107 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedSfixed64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19198 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedFloat_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19289 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedDouble_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19380 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packedBool_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19705 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19802 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedInt64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19893 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 19984 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedUint64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20075 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20166 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSint64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20257 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20348 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFixed64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20440 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20531 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedSfixed64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20622 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedFloat_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20713 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedDouble_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 20804 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unpackedBool_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 25091 | com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 5329 | // legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedMessage.newBuilder() | COMMENT |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 1287 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, z_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 5996 | legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.NestedEnum.valueOf( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 6042 | legacy_gencode_test.proto3.Proto3GencodeTestProto.TestMostTypesProto3.AliasedEnum.valueOf( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 8569 | com.google.protobuf.Internal.MapAdapter.newEnumConverter( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 8728 | com.google.protobuf.Internal.MapAdapter.newEnumConverter( | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 13600 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 13664 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedInt64_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 13720 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint32_); | CODE |
| CRITICAL | …legacy_gencode_test/proto3/Proto3GencodeTestProto.java | 13776 | com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repeatedUint64_); | CODE |
| 503 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | google3_export_generated_files.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hpb_generator/gen_messages.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/gen_utils.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/context.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/names.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/gen_enums.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/gen_repeated_fields.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/keywords.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/gen_accessors.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | hpb_generator/generator.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/map.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/unknown_fields.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/protobuf.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/protobuf.c | 161 | PyUpb_WeakMap* obj_cache; | COMMENT |
| LOW | python/repeated.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/repeated.c | 21 | #include "python/free_threading/weak_map.h" | COMMENT |
| LOW | python/convert.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor_pool.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor_pool.c | 21 | #include "python/python_api.h" | COMMENT |
| LOW | python/buffer_convert.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/message.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/extension_dict.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/minimal_test.py | 1 | # Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor_containers.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor_containers.h | 21 | // "adaptor" code we need to write. | COMMENT |
| LOW | python/python_api.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/python_api.h | 21 | #include "Python.h" | COMMENT |
| LOW | python/unknown_fields.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/map.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/map.c | 21 | #include "upb/mem/arena.h" | COMMENT |
| LOW | python/descriptor_pool.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor.c | 21 | #include "python/descriptor_containers.h" | COMMENT |
| LOW | python/descriptor.c | 281 | // This deallocator can be called on different types (which, despite | COMMENT |
| LOW | python/descriptor.c | 681 | // B = 1; | COMMENT |
| LOW | python/repeated.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/protobuf.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/protobuf.h | 21 | #include "upb/mem/arena.h" | COMMENT |
| LOW | python/protobuf.h | 181 | // Sets a Python FrozenInstanceError with the default error message | COMMENT |
| LOW | python/convert.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/descriptor_containers.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/extension_dict.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/message.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/message.c | 21 | #include "python/free_threading/lazy_ptr.h" | COMMENT |
| LOW | python/message.c | 41 | #include "upb/wire/decode.h" | COMMENT |
| LOW | python/message.c | 81 | // 3.10. | COMMENT |
| LOW | python/message.c | 181 | // will be an instance of the PyUpb_MessageMeta type (defined below). So the | COMMENT |
| LOW | python/buffer_convert.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/buffer_convert.h | 41 | COMMENT | |
| LOW | python/free_threading/lazy_ptr.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/free_threading/lazy_ptr.h | 21 | // acquiring global locks. On CAS collisions (races where two threads | COMMENT |
| LOW | python/free_threading/lazy_ptr.h | 41 | // &desc->cached_options, CreateOptionsCallback, &context_args); | COMMENT |
| LOW | python/free_threading/weak_map.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/free_threading/weak_map.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/free_threading/weak_map.h | 21 | // A WeakMap maps C pointers to the corresponding Python wrapper object. We | COMMENT |
| LOW | python/free_threading/mutex.h | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/docs/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | python/docs/conf.py | 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | COMMENT |
| LOW | python/docs/conf.py | 81 | # You can specify multiple suffix as a list of string: | COMMENT |
| 1307 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/minimal_test.py | 72 | def test_repeated_field_slice_delete(self): | CODE |
| LOW | php/tests/DebugInfoTest.php | 124 | public function testTopLevelLongBytesValue() | CODE |
| LOW | php/tests/DebugInfoTest.php | 133 | public function testJsonEncodeNullSubMessage() | CODE |
| LOW | php/tests/DebugInfoTest.php | 291 | public function testAnyWithDefaultWrapperMessagePacked() | CODE |
| LOW | php/tests/DebugInfoTest.php | 310 | public function testEmptyAnySerialization() | CODE |
| LOW | php/tests/DebugInfoTest.php | 360 | public function testTopLevelRepeatedField() | CODE |
| LOW | php/tests/UpdateReservedTest.php | 8 | public function testBashScriptIdempotency() | CODE |
| LOW | php/tests/test_util.php | 474 | public static function getGoldenTestPackedMessage() | CODE |
| LOW | php/tests/test_util.php | 494 | public static function getGoldenTestUnpackedMessage() | CODE |
| LOW | php/tests/PhpImplementationTest.php | 570 | public function testArrayConstructorJsonCaseThrowsException() | CODE |
| LOW | php/tests/PhpImplementationTest.php | 581 | public function testArraysForMessagesThrowsException() | CODE |
| LOW | php/tests/PhpImplementationTest.php | 594 | public function testArrayConstructorWithNullValues() | CODE |
| LOW | php/tests/PhpImplementationTest.php | 607 | public function testArrayConstructorWithNullValuesThrowsException($fieldName) | CODE |
| LOW | php/tests/PhpImplementationTest.php | 615 | public static function provideArrayConstructorWithNullValuesThrowsException() | CODE |
| LOW | php/tests/DescriptorsTest.php | 53 | public function testDescriptorPoolIncorrectArgs() | CODE |
| LOW | php/tests/DescriptorsTest.php | 88 | public function testDescriptorForIncludedMessage() | CODE |
| LOW | php/tests/DescriptorsTest.php | 231 | public function testFieldDescriptorEnumException() | CODE |
| LOW | php/tests/DescriptorsTest.php | 241 | public function testFieldDescriptorMessageException() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 82 | public function testEncodeTopLevelBoolValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 89 | public function testDecodeTopLevelDoubleValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 96 | public function testEncodeTopLevelDoubleValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 103 | public function testDecodeTopLevelFloatValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 110 | public function testEncodeTopLevelFloatValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 194 | public function testDecodeTopLevelStringValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 201 | public function testEncodeTopLevelStringValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 208 | public function testDecodeRepeatedStringValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 215 | public function testDecodeEnumMapWithUnknownStringValueThrows() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 807 | public function testDecodeValidStringData() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 814 | public function testDecodeInvalidBytesLengthMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 822 | public function testDecodeInvalidBytesDataMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 848 | public function testDecodeInvalidMessageLengthMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 856 | public function testDecodeInvalidMessageDataMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 864 | public function testDecodeInvalidPackedMessageLength() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2311 | public function testParseHachiMaiDoNumber() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2317 | public function testCaseSensitiveGauntletParsingFails() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2323 | public function testCaseSensitiveRawNameParsingFails() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2329 | public function testSerializeRepeatedEnum() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2338 | public function testParseRepeatedEnumStrict() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2346 | public function testParseRepeatedEnumStrictUnknownFails() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2352 | public function testParseRepeatedEnumLenient() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2360 | public function testParseRepeatedEnumLenientIgnoresUnknown() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2396 | public function testParseMapEnumLenientIgnoresUnknown() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2403 | public function testSerializeNestedEnumShield() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2412 | public function testParseNestedEnumShieldCustomName() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2418 | public function testParseNestedEnumShieldRawName() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2424 | public function testParseNestedEnumShieldNumber() { | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 2430 | public function testEnumDescriptorReflection() { | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 64 | public function testDecodeJsonIgnoreUnknown() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 71 | public function testDecodeTopLevelBoolValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 229 | public function testDecodeEnumMapWithUnknownStringValueIgnored() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 246 | public function testDecodeRepeatedEnumWithUnknownStringValueThrows() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 260 | public function testDecodeRepeatedEnumWithUnknownStringValueIgnored() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 284 | public function testDecodeTopLevelBytesValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 291 | public function testEncodeTopLevelBytesValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 306 | public function testEncodeTopLevelLongBytesValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 433 | public function testJsonEncodeDecodeOptional() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 451 | public function testJsonEncodeDecodeOneof() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 525 | public function testUnpackedDecodeUnpacked() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 568 | public function testDecodeToExistingMessage() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 643 | public function testOverlyRecursiveMessage() { | CODE |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | objectivec/DevTools/compile_testing_protos.sh | 6 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | objectivec/DevTools/compile_testing_protos.sh | 13 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | objectivec/DevTools/compile_testing_protos.sh | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | objectivec/DevTools/compile_testing_protos.sh | 59 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | objectivec/DevTools/compile_testing_protos.sh | 63 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | objectivec/DevTools/compile_testing_protos.sh | 71 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | objectivec/DevTools/compile_testing_protos.sh | 119 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | objectivec/DevTools/compile_testing_protos.sh | 126 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmake/dependencies_generator.py | 16 | CODE | |
| LOW | cmake/dependencies_generator.py | 17 | CODE | |
| LOW | cmake/dependencies_generator.py | 18 | CODE | |
| LOW | cmake/dependencies_generator.py | 20 | CODE | |
| LOW | python/minimal_test.py | 36 | CODE | |
| LOW | python/minimal_test.py | 37 | CODE | |
| LOW | python/minimal_test.py | 39 | CODE | |
| LOW | python/minimal_test.py | 40 | CODE | |
| LOW | python/minimal_test.py | 43 | CODE | |
| LOW | python/minimal_test.py | 44 | CODE | |
| LOW | …_distutils/protobuf_distutils/generate_py_protobufs.py | 16 | CODE | |
| LOW | upb/cmake/staleness_test_lib.py | 38 | CODE | |
| LOW | upb/cmake/staleness_test_lib.py | 39 | CODE | |
| LOW | upb/cmake/staleness_test.py | 37 | CODE | |
| LOW | upb/bazel/private/oss/amalgamate.py | 33 | CODE | |
| LOW | examples/list_people.py | 5 | CODE | |
| LOW | .github/scripts/validate_yaml.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rust/internal.rs | 77 | // This function is not fully robust against malformed version strings, but | COMMENT |
| MEDIUM | rust/string.rs | 217 | /// method is not unsafe, as the underlying implementations are robust against | COMMENT |
| MEDIUM | rust/string.rs | 437 | /// method is not unsafe, as the underlying implementations are robust against | COMMENT |
| MEDIUM | csharp/src/Google.Protobuf/JsonParser.cs | 595 | var token = tokenizer.Next(); // Definitely start-object; checked in previous method | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/docs/generate_docs.py | 109 | CODE | |
| LOW | examples/list_people.py | 11 | CODE | |
| LOW | examples/add_person.py | 15 | CODE | |
| LOW | benchmarks/compare.py | 61 | CODE | |
| LOW | objectivec/DevTools/pddm.py | 608 | CODE | |
| LOW | objectivec/DevTools/pddm.py | 175 | CODE | |
| LOW | objectivec/DevTools/pddm.py | 295 | CODE | |
| LOW | objectivec/DevTools/pddm.py | 568 | CODE | |
| LOW | objectivec/DevTools/pddm.py | 303 | CODE | |
| LOW | conformance/conformance_python.py | 57 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmake/dependencies_generator.py | 129 | # This file contains lists of external dependencies based on our Bazel | COMMENT |
| MEDIUM | .github/workflows/test_runner.yml | 3 | # This file implements the protection strategy laid out in | COMMENT |
| MEDIUM | csharp/build_tools.sh | 31 | # Create a zip file for each binary. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/test/shared/accessors_test.rs | 826 | // TODO: Add tests covering a message-type field in a oneof. | COMMENT |
| LOW | rust/test/shared/accessors_test.rs | 879 | // TODO: Add tests covering a message-type field in a oneof. | COMMENT |
| LOW | …3.0.0/src/Google.Protobuf.Test/GeneratedMessageTest.cs | 632 | // TODO: Add test back after DiscardUnknownFields is supported | COMMENT |
| LOW | …3.0.0/src/Google.Protobuf.Test/GeneratedMessageTest.cs | 642 | // TODO: Add test back after DiscardUnknownField is supported. | COMMENT |
| LOW | csharp/src/Google.Protobuf.Test/GeneratedMessageTest.cs | 781 | // TODO: Add test back when DiscardUnknownFields API is supported. | COMMENT |
| LOW | csharp/src/Google.Protobuf.Test/GeneratedMessageTest.cs | 798 | // TODO: Add test back when DiscardUnknownFields API is supported. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/go/cmd/list_people/list_people_test.go | 16 | Name: "John Doe", | CODE |
| LOW | examples/go/cmd/list_people/list_people_test.go | 19 | {Number: "555-4321", Type: pb.Person_HOME}, | CODE |
| LOW | examples/go/cmd/list_people/list_people_test.go | 39 | Name: "John Doe", | CODE |
| LOW | examples/go/cmd/list_people/list_people_test.go | 44 | Name: "Jane Doe", | CODE |
| LOW | .github/workflows/release_prep_test.sh | 37 | git config user.email "test@test.com" | CODE |
| LOW | csharp/src/AddressBook/SampleUsage.cs | 26 | Phones = { new Person.Types.PhoneNumber { Number = "555-1212" } } | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/docs/generate_docs.py | 143 | except FileExistsError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | objectivec/DevTools/pddm.py | 241 | Expands the macro reference. Args: macro_ref_str: String of a macro reference (i.e. foo(a, b)). Returns: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conformance/conformance_python.py | 83 | except Exception as e: | CODE |
| LOW | conformance/conformance_python.py | 90 | except Exception as e: | CODE |
| LOW | conformance/conformance_python.py | 106 | except Exception as e: | CODE |
| LOW | conformance/conformance_python.py | 115 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | upb/wire/decode_fast/bisect.sh | 6 | # Example usage: | COMMENT |