Protocol Buffers - Google's data interchange format
This report presents the forensic synthetic code analysis of protocolbuffers/protobuf, a C++ project with 71,495 GitHub stars. SynthScan v2.0 examined 652,919 lines of code across 1276 source files, recording 2120 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 8.3 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2120 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 |
| 459 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 | 21 | #include "python/message.h" | COMMENT |
| LOW | python/protobuf.c | 321 | // # Returns true most of the time, but false during shutdown. | COMMENT |
| LOW | python/protobuf.c | 341 | typedef struct { | COMMENT |
| LOW | python/repeated.c | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | python/repeated.c | 381 | error: | 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/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/unknown_fields.c | 41 | } | COMMENT |
| LOW | python/map.c | 1 | // Protocol Buffers - Google's data interchange format | 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 | 601 | COMMENT | |
| LOW | python/descriptor.c | 621 | // | 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/hash/int_table.h" | COMMENT |
| LOW | python/protobuf.h | 101 | // Returns NULL if module state is not yet available (during startup). | COMMENT |
| LOW | python/protobuf.h | 141 | // intptr_t it = PYUPB_WEAKMAP_BEGIN; | COMMENT |
| LOW | python/protobuf.h | 221 | 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/protobuf.h" | COMMENT |
| LOW | python/message.c | 41 | // ----------------------------------------------------------------------------- | COMMENT |
| LOW | python/message.c | 61 | inquiry type_clear; // PyTypeObject.tp_clear | COMMENT |
| LOW | python/message.c | 161 | Py_XDECREF(sys); | COMMENT |
| LOW | python/message.c | 181 | // message_meta_type PyTypeObject 'type' in Python | COMMENT |
| LOW | python/message.c | 1921 | 0, // tp_itemsize | 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 |
| LOW | python/docs/conf.py | 101 | # The name of the Pygments (syntax highlighting) style to use. | COMMENT |
| LOW | python/docs/conf.py | 121 | # Add any paths that contain custom static files (such as style sheets) here, | COMMENT |
| LOW | python/docs/conf.py | 141 | } | COMMENT |
| LOW | …_distutils/protobuf_distutils/generate_py_protobufs.py | 61 | # source_dir = 'a/b/c' | COMMENT |
| LOW | editions/edition_defaults_test_utils.h | 1 | #ifndef GOOGLE_PROTOBUF_EDITIONS_EDITION_DEFAULTS_TEST_UTILS_H__ | COMMENT |
| LOW | rust/singular.rs | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| 1302 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 | 121 | public function testTopLevelLongBytesValue() | CODE |
| LOW | php/tests/DebugInfoTest.php | 130 | public function testJsonEncodeNullSubMessage() | CODE |
| LOW | php/tests/DebugInfoTest.php | 288 | public function testAnyWithDefaultWrapperMessagePacked() | CODE |
| LOW | php/tests/DebugInfoTest.php | 307 | public function testEmptyAnySerialization() | CODE |
| LOW | php/tests/DebugInfoTest.php | 357 | public function testTopLevelRepeatedField() | 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 | 77 | public function testEncodeTopLevelBoolValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 84 | public function testDecodeTopLevelDoubleValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 91 | public function testEncodeTopLevelDoubleValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 98 | public function testDecodeTopLevelFloatValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 105 | public function testEncodeTopLevelFloatValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 189 | public function testDecodeTopLevelStringValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 196 | public function testEncodeTopLevelStringValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 203 | public function testDecodeRepeatedStringValue() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 210 | public function testDecodeEnumMapWithUnknownStringValueThrows() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 802 | public function testDecodeValidStringData() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 809 | public function testDecodeInvalidBytesLengthMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 817 | public function testDecodeInvalidBytesDataMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 843 | public function testDecodeInvalidMessageLengthMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 851 | public function testDecodeInvalidMessageDataMiss() | CODE |
| LOW⚡ | php/tests/EncodeDecodeTest.php | 859 | public function testDecodeInvalidPackedMessageLength() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 59 | public function testDecodeJsonIgnoreUnknown() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 66 | public function testDecodeTopLevelBoolValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 224 | public function testDecodeEnumMapWithUnknownStringValueIgnored() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 241 | public function testDecodeRepeatedEnumWithUnknownStringValueThrows() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 255 | public function testDecodeRepeatedEnumWithUnknownStringValueIgnored() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 279 | public function testDecodeTopLevelBytesValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 286 | public function testEncodeTopLevelBytesValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 301 | public function testEncodeTopLevelLongBytesValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 428 | public function testJsonEncodeDecodeOptional() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 446 | public function testJsonEncodeDecodeOneof() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 520 | public function testUnpackedDecodeUnpacked() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 563 | public function testDecodeToExistingMessage() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 638 | public function testOverlyRecursiveMessage() { | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 674 | public function testDecodeInvalidSubMessage() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 778 | public function testDecodeInvalidStringLengthMiss() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 786 | public function testDecodeInvalidStringDataMiss() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1077 | public function testJsonEncodeNullSubMessage() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1118 | public function testEncodeDecodeTimestampConsistency() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1174 | public function testDecodeTopLevelListValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1181 | public function testEncodeTopLevelListValue() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1286 | public function testDecodeAnyWithWellKnownPacked() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1301 | public function testDecodeAnyWithUnknownPacked() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1362 | public function testEncodeAnyWithDefaultWrapperMessagePacked() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1374 | public function testDecodeTopLevelFieldMask() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1390 | public function testEncodeTopLevelFieldMask() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1397 | public function testEncodeFieldMaskWithInvalidPath() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1423 | public function testEncodeFieldMaskWithUppercasePath() | CODE |
| LOW | php/tests/EncodeDecodeTest.php | 1456 | public function testJsonDecodeMapWithDefaultValueKey() | CODE |
| 116 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 | 76 | // 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 | 593 | var token = tokenizer.Next(); // Definitely start-object; checked in previous method | CODE |
| MEDIUM | …c/Google.Protobuf.Test.TestProtos/UnittestIssues.pb.cs | 2038 | /// This allows for reasonably robust tests of JSON output | COMMENT |
| 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 | 54 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmake/dependencies_generator.py | 126 | # 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 | 820 | // TODO: Add tests covering a message-type field in a oneof. | COMMENT |
| LOW | rust/test/shared/accessors_test.rs | 852 | // 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 | 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 | 80 | except Exception as e: | CODE |
| LOW | conformance/conformance_python.py | 87 | except Exception as e: | CODE |
| LOW | conformance/conformance_python.py | 103 | except Exception as e: | CODE |
| LOW | conformance/conformance_python.py | 112 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release_prep.sh | 25 | # Read the file assets already present on the release | COMMENT |
| LOW | .github/workflows/release_prep.sh | 45 | # Check if the asset was found (jq emits "null" or empty if missing) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | upb/wire/decode_fast/bisect.sh | 6 | # Example usage: | COMMENT |