FlatBuffers: Memory Efficient Serialization Library
This report summarizes scanner evidence for google/flatbuffers, a C++ project with 26,560 GitHub stars. SynthScan examined 323,405 lines of code across 1503 source files, recording 757 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 4.9 (Low 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? 599 finding(s).
Are imports declared and package/API names verified? 95 finding(s).
Are wrappers, guards, and repeated structures necessary? 254 finding(s).
Which changes need focused human review? 757 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 757 distinct pattern matches across 12 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 | tests/py_test.py | 2970 | MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTest.GetRootAs( | CODE |
| CRITICAL | tests/py_test.py | 2975 | MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTestT.InitFromObj( | CODE |
| CRITICAL | tests/py_test.py | 2990 | nestUnionDecodeTFromBuf = MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTestT.InitFromPackedBuf( | CODE |
| CRITICAL | tests/py_test.py | 3008 | nestUnionDecodeTFromBuf2 = MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTestT.InitFromPackedBuf( | CODE |
| CRITICAL | tests/MyGame/Example/NestedUnion/Any.py | 16 | return MyGame.Example.NestedUnion.Vec3.Vec3T.InitFromBuf(table.Bytes, table.Pos) | CODE |
| CRITICAL | tests/MyGame/Example/NestedUnion/Any.py | 19 | return MyGame.Example.NestedUnion.TestSimpleTableWithEnum.TestSimpleTableWithEnumT.InitFromBuf(table.Bytes, tabl | CODE |
| CRITICAL | tests/MyGame/Example/NestedUnion/Vec3.py | 175 | self.test3 = MyGame.Example.NestedUnion.Test.TestT.InitFromObj(vec3.Test3()) | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/EnumVal.java | 42 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(14); return o != 0 ? | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/EnumVal.java | 43 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/EnumVal.java | 44 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 33 | public com.google.flatbuffers.reflection.Object objectsByKey(String key) { int o = __offset(4); return o != 0 ? com.go | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 34 | public com.google.flatbuffers.reflection.Object objectsByKey(com.google.flatbuffers.reflection.Object obj, String key) | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 35 | public com.google.flatbuffers.reflection.Object.Vector objectsVector() { return objectsVector(new com.google.flatbuffe | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 40 | public com.google.flatbuffers.reflection.Enum enumsByKey(String key) { int o = __offset(6); return o != 0 ? com.google | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 41 | public com.google.flatbuffers.reflection.Enum enumsByKey(com.google.flatbuffers.reflection.Enum obj, String key) { int | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 42 | public com.google.flatbuffers.reflection.Enum.Vector enumsVector() { return enumsVector(new com.google.flatbuffers.ref | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 55 | public com.google.flatbuffers.reflection.Service servicesByKey(String key) { int o = __offset(14); return o != 0 ? com | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 56 | public com.google.flatbuffers.reflection.Service servicesByKey(com.google.flatbuffers.reflection.Service obj, String k | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 57 | public com.google.flatbuffers.reflection.Service.Vector servicesVector() { return servicesVector(new com.google.flatbu | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 67 | public com.google.flatbuffers.reflection.SchemaFile fbsFilesByKey(String key) { int o = __offset(18); return o != 0 ? | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 68 | public com.google.flatbuffers.reflection.SchemaFile fbsFilesByKey(com.google.flatbuffers.reflection.SchemaFile obj, St | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Schema.java | 69 | public com.google.flatbuffers.reflection.SchemaFile.Vector fbsFilesVector() { return fbsFilesVector(new com.google.fla | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Object.java | 35 | public com.google.flatbuffers.reflection.Field fieldsByKey(String key) { int o = __offset(6); return o != 0 ? com.goog | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Object.java | 36 | public com.google.flatbuffers.reflection.Field fieldsByKey(com.google.flatbuffers.reflection.Field obj, String key) { | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Object.java | 37 | public com.google.flatbuffers.reflection.Field.Vector fieldsVector() { return fieldsVector(new com.google.flatbuffers. | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Object.java | 45 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(14); return o != 0 ? | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Object.java | 46 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri | CODE |
| CRITICAL⚡ | …ain/java/com/google/flatbuffers/reflection/Object.java | 47 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/RPCCall.java | 39 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(10); return o != 0 ? | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/RPCCall.java | 40 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/RPCCall.java | 41 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/Service.java | 35 | public com.google.flatbuffers.reflection.RPCCall callsByKey(String key) { int o = __offset(6); return o != 0 ? com.goo | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/Service.java | 36 | public com.google.flatbuffers.reflection.RPCCall callsByKey(com.google.flatbuffers.reflection.RPCCall obj, String key) | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/Service.java | 37 | public com.google.flatbuffers.reflection.RPCCall.Vector callsVector() { return callsVector(new com.google.flatbuffers. | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/Service.java | 42 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(8); return o != 0 ? c | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/Service.java | 43 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri | CODE |
| CRITICAL⚡ | …in/java/com/google/flatbuffers/reflection/Service.java | 44 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f | CODE |
| CRITICAL⚡ | …/main/java/com/google/flatbuffers/reflection/Enum.java | 35 | public com.google.flatbuffers.reflection.EnumVal valuesByKey(long key) { int o = __offset(6); return o != 0 ? com.goog | CODE |
| CRITICAL⚡ | …/main/java/com/google/flatbuffers/reflection/Enum.java | 36 | public com.google.flatbuffers.reflection.EnumVal valuesByKey(com.google.flatbuffers.reflection.EnumVal obj, long key) | CODE |
| CRITICAL⚡ | …/main/java/com/google/flatbuffers/reflection/Enum.java | 37 | public com.google.flatbuffers.reflection.EnumVal.Vector valuesVector() { return valuesVector(new com.google.flatbuffer | CODE |
| CRITICAL⚡ | …/main/java/com/google/flatbuffers/reflection/Enum.java | 45 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(12); return o != 0 ? | CODE |
| CRITICAL⚡ | …/main/java/com/google/flatbuffers/reflection/Enum.java | 46 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri | CODE |
| CRITICAL⚡ | …/main/java/com/google/flatbuffers/reflection/Enum.java | 47 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f | CODE |
| CRITICAL⚡ | …main/java/com/google/flatbuffers/reflection/Field.java | 44 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(22); return o != 0 ? | CODE |
| CRITICAL⚡ | …main/java/com/google/flatbuffers/reflection/Field.java | 45 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri | CODE |
| CRITICAL⚡ | …main/java/com/google/flatbuffers/reflection/Field.java | 46 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | net/FlatBuffers/FlatBufferVerify.cs | 761 | uint valueOffset = GetIndirectOffset(off); | COMMENT |
| LOW | net/FlatBuffers/FlatBufferVerify.cs | 781 | // /* Verify Monster table. Ignore buffer name and assume buffer does not contain data length prefix */ | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 41 | private int _vtableSize = -1; | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 201 | /// <summary> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 261 | /// <param name="x">The `bool` to add to the buffer.</param> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 281 | COMMENT | |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 301 | /// Add a `long` to the buffer (aligns the data and grows if necessary). | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 521 | /// <summary> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 541 | /// </summary> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 561 | /// and <see cref="ForceDefaults"/> is false, the value will be skipped.</param> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 581 | COMMENT | |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 601 | /// </summary> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 621 | /// it will skip writing to the buffer.</param> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 641 | /// <summary> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 661 | /// <param name="o">The index into the vtable</param> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 681 | /// <param name="d">The default value to compare the value against</param> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 701 | /// <summary> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 921 | } | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 941 | /// </remarks> | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 961 | /// A utility function return the ByteBuffer data as a | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 1001 | } | COMMENT |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 1021 | /// Finalize a buffer, pointing to the given `rootTable`, with the size prefixed. | COMMENT |
| LOW | net/FlatBuffers/ByteBuffer.cs | 21 | // can yield a reasonable performance increase. | COMMENT |
| LOW | net/FlatBuffers/ByteBuffer.cs | 981 | #endif | COMMENT |
| LOW | go/builder.go | 101 | // vtable and return. | COMMENT |
| LOW | python/setup.py | 1 | # Copyright 2016 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/number_types.py | 1 | # Copyright 2014 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/encode.py | 1 | # Copyright 2014 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/compat.py | 1 | # Copyright 2016 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/_version.py | 1 | # Copyright 2019 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/util.py | 1 | # Copyright 2017 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/__init__.py | 1 | # Copyright 2014 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/packer.py | 1 | # Copyright 2016 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/builder.py | 1 | # Copyright 2014 Google Inc. All rights reserved. | COMMENT |
| LOW | python/flatbuffers/flexbuffers.py | 1 | # Lint as: python3 | COMMENT |
| LOW | python/flatbuffers/table.py | 1 | # Copyright 2014 Google Inc. All rights reserved. | COMMENT |
| LOW | grpc/examples/go/format.sh | 1 | #!/bin/bash | COMMENT |
| LOW | grpc/src/compiler/cpp_generator.h | 1 | #ifndef GRPC_INTERNAL_COMPILER_CPP_GENERATOR_H | COMMENT |
| LOW | grpc/src/compiler/go_generator.h | 1 | #ifndef GRPC_INTERNAL_COMPILER_GO_GENERATOR_H | COMMENT |
| LOW | grpc/src/compiler/java_generator.h | 41 | #if defined(_MSC_VER) | COMMENT |
| LOW | dart/publish.sh | 1 | #!/bin/sh | COMMENT |
| LOW | dart/lib/flat_buffers.dart | 121 | /// The maximum alignment that has been seen so far. If [_buf] has to be | COMMENT |
| LOW | include/codegen/namer.h | 41 | Case types; | COMMENT |
| LOW | include/codegen/namer.h | 81 | // Object API. | COMMENT |
| LOW | include/flatbuffers/idl.h | 21 | #include <functional> | COMMENT |
| LOW | include/flatbuffers/idl.h | 61 | TD(FLOAT, "float", float, float, float32, float, float32, f32, Float, Float32, 11) /* begin float */ \ | COMMENT |
| LOW | include/flatbuffers/idl.h | 1041 | } | COMMENT |
| LOW | include/flatbuffers/flatbuffers.h | 21 | COMMENT | |
| LOW | include/flatbuffers/flatbuffers.h | 41 | /// it is the opposite transformation of GetRoot(). | COMMENT |
| LOW | include/flatbuffers/flatbuffers.h | 101 | /// back again. The resolver gets a pointer to a field inside an object API | COMMENT |
| LOW | include/flatbuffers/flatbuffers.h | 141 | // Additionally, it manually sets the alignment of the struct as a whole, | COMMENT |
| LOW | include/flatbuffers/flatbuffers.h | 161 | #else | COMMENT |
| LOW | include/flatbuffers/flexbuffers.h | 21 | #include <map> | COMMENT |
| LOW | include/flatbuffers/flexbuffers.h | 161 | // This is the "hottest" function (all offset lookups use this), so worth | COMMENT |
| LOW | include/flatbuffers/flexbuffers.h | 1261 | // We should have interleaved keys and values on the stack. | COMMENT |
| LOW | include/flatbuffers/flexbuffers.h | 1281 | // std::sort is typically already a lot faster on sorted data though. | COMMENT |
| LOW | include/flatbuffers/flexbuffers.h | 1441 | COMMENT | |
| LOW | include/flatbuffers/flexbuffers.h | 2081 | COMMENT | |
| LOW | include/flatbuffers/minireflect.h | 21 | #include "flatbuffers/util.h" | COMMENT |
| LOW | include/flatbuffers/util.h | 21 | #include <errno.h> | COMMENT |
| 267 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/flatbuffers/reflection/Field.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/Service.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/KeyValue.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/Object.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/Type.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/SchemaFile.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/RPCCall.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/EnumVal.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/Enum.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | python/flatbuffers/reflection/Schema.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | grpc/examples/python/greeter/models/HelloReply.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | grpc/examples/python/greeter/models/HelloRequest.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/service_test_generated.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/namespace_test/NamespaceC/TableInC.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/namespace_test/NamespaceA/TableInFirstNS.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/namespace_test/NamespaceA/SecondTableInA.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | …amespace_test/NamespaceA/NamespaceB/TableInNestedNS.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/union_name_test/Container.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/union_name_test/Bar.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/union_name_test/Foo.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/optional_scalars/ScalarStuff.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/MonsterExtra.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/InParentNamespace.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example2/Monster.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/Referrable.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/ArrayTable.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/Stat.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/Monster.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/TestSimpleTableWithEnum.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/TypeAliases.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/NestedUnion/NestedUnionTest.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | …/MyGame/Example/NestedUnion/TestSimpleTableWithEnum.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | tests/MyGame/Example/NestedUnion/Vec3.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | goldens/py/flatbuffers/goldens/Galaxy.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| HIGH | goldens/py/flatbuffers/goldens/Universe.py | 0 | this method is deprecated. please switch to getrootas. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/py_flexbuffers_test.py | 696 | def _check_fixed_typed_vector(self, data, vector, type_): | CODE |
| LOW | tests/py_flexbuffers_test.py | 710 | def test_fixed_typed_vector_float(self): | CODE |
| LOW | tests/py_flexbuffers_test.py | 731 | def test_fixed_typed_vector_int(self): | CODE |
| LOW | tests/py_flexbuffers_test.py | 751 | def test_fixed_typed_vector_uint(self): | CODE |
| LOW | tests/py_flexbuffers_test.py | 929 | def test_typed_vector_string_deprecated(self): | CODE |
| LOW | tests/py_flexbuffers_test.py | 942 | def test_typed_vector_invalid(self): | CODE |
| LOW | tests/py_flexbuffers_test.py | 1236 | def encode_vector_from_elements(elements): | CODE |
| LOW | tests/py_flexbuffers_test.py | 1292 | def encode_typed_vector_from_elements(elements, element_type=None): | CODE |
| LOW | tests/py_flexbuffers_test.py | 1335 | def test_typed_vector_from_array(self): | CODE |
| LOW | tests/py_flexbuffers_test.py | 1361 | def encode_fixed_typed_vector(elements, element_type=None): | CODE |
| LOW | tests/luatest.lua | 285 | local function testAccessByteVectorAsString() | CODE |
| LOW⚡ | tests/py_test.py | 485 | def test_mutate_testarrayofstring(self): | CODE |
| LOW⚡ | tests/py_test.py | 493 | def test_empty_testarrayofstring(self): | CODE |
| LOW⚡ | tests/py_test.py | 498 | def test_mutate_testarrayoftables(self): | CODE |
| LOW⚡ | tests/py_test.py | 558 | def test_mutate_testarrayofbools(self): | CODE |
| LOW⚡ | tests/py_test.py | 568 | def test_empty_testarrayofbools(self): | CODE |
| LOW⚡ | tests/py_test.py | 578 | def test_mutate_vectoroflongs(self): | CODE |
| LOW⚡ | tests/py_test.py | 597 | def test_mutate_vectorofdoubles(self): | CODE |
| LOW⚡ | tests/py_test.py | 607 | def test_empty_vectorofdoubles(self): | CODE |
| LOW⚡ | tests/py_test.py | 612 | def test_mutate_parentnamespacetest(self): | CODE |
| LOW⚡ | tests/py_test.py | 2332 | def test_default_monster_name(self): | CODE |
| LOW⚡ | tests/py_test.py | 2335 | def test_default_monster_inventory_item(self): | CODE |
| LOW⚡ | tests/py_test.py | 2338 | def test_default_monster_inventory_length(self): | CODE |
| LOW⚡ | tests/py_test.py | 2342 | def test_empty_monster_inventory_vector(self): | CODE |
| LOW⚡ | tests/py_test.py | 2391 | def test_default_monster_testarrayofstring(self): | CODE |
| LOW⚡ | tests/py_test.py | 2394 | def test_default_monster_testarrayofstring_length(self): | CODE |
| LOW⚡ | tests/py_test.py | 2398 | def test_empty_monster_testarrayofstring_vector(self): | CODE |
| LOW⚡ | tests/py_test.py | 2474 | def test_default_monster_testnestedflatbuffer(self): | CODE |
| LOW⚡ | tests/py_test.py | 2477 | def test_default_monster_testnestedflatbuffer_length(self): | CODE |
| LOW⚡ | tests/py_test.py | 2481 | def test_empty_monster_testnestedflatbuffer_vector(self): | CODE |
| LOW⚡ | tests/py_test.py | 2811 | def test_object_is_nested_error(self): | CODE |
| LOW⚡ | tests/py_test.py | 2818 | def test_object_is_not_nested_error(self): | CODE |
| LOW⚡ | tests/py_test.py | 2824 | def test_struct_is_not_inline_error(self): | CODE |
| LOW⚡ | tests/py_test.py | 2841 | def test_create_shared_string_is_nested_error(self): | CODE |
| LOW⚡ | tests/py_test.py | 2849 | def test_create_string_is_nested_error(self): | CODE |
| LOW⚡ | tests/py_test.py | 2857 | def test_create_byte_vector_is_nested_error(self): | CODE |
| LOW⚡ | tests/py_test.py | 2865 | def test_finished_bytes_error(self): | CODE |
| LOW | tests/py_test.py | 64 | def create_namespace_shortcut(is_onefile): | CODE |
| LOW | tests/py_test.py | 160 | def test_consistency_with_repeated_pack_and_unpack(self): | CODE |
| LOW | tests/py_test.py | 195 | def test_default_values_with_pack_and_unpack(self): | CODE |
| LOW | tests/py_test.py | 310 | def test_optional_scalars_with_pack_and_unpack(self): | CODE |
| LOW | tests/py_test.py | 371 | def _create_and_load_object_class(self, b): | CODE |
| LOW | tests/py_test.py | 510 | def test_empty_testarrayoftables(self): | CODE |
| LOW | tests/py_test.py | 522 | def test_mutate_testnestedflatbuffer(self): | CODE |
| LOW | tests/py_test.py | 529 | def test_empty_testnestedflatbuffer(self): | CODE |
| LOW | tests/py_test.py | 1056 | def test_create_ascii_shared_string(self): | CODE |
| LOW | tests/py_test.py | 1112 | def test_create_arbitrary_shared_string(self): | CODE |
| LOW | tests/py_test.py | 1179 | def test_create_arbitrary_string(self): | CODE |
| LOW | tests/py_test.py | 1203 | def test_comparison_of_np_arrays(self): | CODE |
| LOW | tests/py_test.py | 1579 | def test_create_numpy_vector_bool(self): | CODE |
| LOW | tests/py_test.py | 1610 | def test_create_numpy_vector_reject_strings(self): | CODE |
| LOW | tests/py_test.py | 1628 | def test_create_numpy_vector_reject_object(self): | CODE |
| LOW | tests/py_test.py | 1653 | def test_vtable_with_one_true_bool(self): | CODE |
| LOW | tests/py_test.py | 1680 | def test_vtable_with_one_default_bool(self): | CODE |
| LOW | tests/py_test.py | 1783 | def test_vtable_with_empty_vector(self): | CODE |
| LOW | tests/py_test.py | 1814 | def test_vtable_with_empty_vector_of_byte_and_some_scalars(self): | CODE |
| LOW | tests/py_test.py | 1975 | def test_table_with_some_elements(self): | CODE |
| LOW | tests/py_test.py | 2009 | def test__one_unfinished_table_and_one_finished_table(self): | CODE |
| LOW | tests/py_test.py | 2196 | def make_monster_from_generated_code( | CODE |
| LOW | tests/py_test.py | 2276 | def test_default_force_defaults(self): | CODE |
| 124 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/monster_test_generated.py | 412 | except: | CODE |
| HIGH | tests/monster_test_generated.py | 574 | except: | CODE |
| HIGH | tests/monster_test_generated.py | 657 | except: | CODE |
| HIGH | tests/monster_test_generated.py | 2121 | except: | CODE |
| HIGH | tests/monster_test_generated.py | 2937 | except: | CODE |
| HIGH | tests/py_test.py | 759 | except ImportError: | CODE |
| HIGH | tests/namespace_test/NamespaceC/TableInC.py | 89 | except: | CODE |
| HIGH | tests/namespace_test/NamespaceA/TableInFirstNS.py | 144 | except: | CODE |
| HIGH | tests/namespace_test/NamespaceA/SecondTableInA.py | 69 | except: | CODE |
| HIGH | tests/flatc/flatc_schema_tests.py | 79 | except subprocess.CalledProcessError: | CODE |
| HIGH | tests/union_name_test/Container.py | 73 | except: | CODE |
| HIGH | tests/optional_scalars/ScalarStuff.py | 513 | except: | CODE |
| HIGH | tests/MyGame/MonsterExtra.py | 249 | except: | CODE |
| HIGH | tests/MyGame/Example/monster_test_grpc_fb.py | 286 | except ImportError: | CODE |
| HIGH | tests/MyGame/Example/ArrayStruct.py | 111 | except: | CODE |
| HIGH | tests/MyGame/Example/NestedStruct.py | 101 | except: | CODE |
| HIGH | tests/MyGame/Example/StructOfStructsOfStructs.py | 44 | except: | CODE |
| HIGH | tests/MyGame/Example/ArrayTable.py | 65 | except: | CODE |
| HIGH | tests/MyGame/Example/StructOfStructs.py | 54 | except: | CODE |
| HIGH | tests/MyGame/Example/Monster.py | 1576 | except: | CODE |
| HIGH | tests/MyGame/Example/LargeArrayStruct.py | 146 | except: | CODE |
| HIGH | tests/MyGame/Example/TypeAliases.py | 273 | except: | CODE |
| HIGH | tests/MyGame/Example/Vec3.py | 55 | except: | CODE |
| HIGH | tests/MyGame/Example/NestedUnion/NestedUnionTest.py | 101 | except: | CODE |
| HIGH | tests/MyGame/Example/NestedUnion/Vec3.py | 126 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/flatbuffers/number_types.py | 15 | CODE | |
| LOW | python/flatbuffers/encode.py | 15 | CODE | |
| LOW | python/flatbuffers/encode.py | 16 | CODE | |
| LOW | python/flatbuffers/__init__.py | 15 | CODE | |
| LOW | python/flatbuffers/__init__.py | 16 | CODE | |
| LOW | python/flatbuffers/__init__.py | 17 | CODE | |
| LOW | python/flatbuffers/__init__.py | 18 | CODE | |
| LOW | python/flatbuffers/__init__.py | 19 | CODE | |
| LOW | python/flatbuffers/builder.py | 21 | CODE | |
| LOW | python/flatbuffers/builder.py | 23 | CODE | |
| LOW | grpc/tests/grpctest.py | 1 | CODE | |
| LOW | grpc/examples/python/greeter/greeter_grpc.fb.py | 3 | CODE | |
| LOW | grpc/examples/python/greeter/greeter_grpc.fb.py | 5 | CODE | |
| LOW | grpc/examples/python/greeter/greeter_grpc.fb.py | 6 | CODE | |
| LOW | grpc/examples/python/greeter/models/greeter_grpc_fb.py | 3 | CODE | |
| LOW | grpc/examples/python/greeter/models/greeter_grpc_fb.py | 6 | CODE | |
| LOW | grpc/examples/python/greeter/models/greeter_grpc_fb.py | 7 | CODE | |
| LOW | tests/monster_test_generated.py | 411 | CODE | |
| LOW | tests/monster_test_generated.py | 573 | CODE | |
| LOW | tests/monster_test_generated.py | 656 | CODE | |
| LOW | tests/monster_test_generated.py | 2120 | CODE | |
| LOW | tests/monster_test_generated.py | 2120 | CODE | |
| LOW | tests/monster_test_generated.py | 2936 | CODE | |
| LOW | tests/py_test.py | 3329 | CODE | |
| LOW | tests/namespace_test/NamespaceC/TableInC.py | 88 | CODE | |
| LOW | tests/namespace_test/NamespaceA/TableInFirstNS.py | 143 | CODE | |
| LOW | tests/namespace_test/NamespaceA/SecondTableInA.py | 68 | CODE | |
| LOW | tests/flatc/flatc_kotlin_tests.py | 15 | CODE | |
| LOW | tests/flatc/flatc_cpp_tests.py | 15 | CODE | |
| LOW | tests/flatc/flatc_schema_tests.py | 16 | CODE | |
| LOW | tests/flatc/flatc_ts_tests.py | 15 | CODE | |
| LOW | tests/optional_scalars/ScalarStuff.py | 512 | CODE | |
| LOW | tests/ts/TypeScriptTest.py | 19 | CODE | |
| LOW | tests/ts/TypeScriptTest.py | 21 | CODE | |
| LOW | tests/MyGame/MonsterExtra.py | 248 | CODE | |
| LOW | tests/MyGame/Example/ArrayStruct.py | 7 | CODE | |
| LOW | tests/MyGame/Example/ArrayStruct.py | 110 | CODE | |
| LOW | tests/MyGame/Example/NestedStruct.py | 7 | CODE | |
| LOW | tests/MyGame/Example/NestedStruct.py | 100 | CODE | |
| LOW | tests/MyGame/Example/StructOfStructsOfStructs.py | 43 | CODE | |
| LOW | tests/MyGame/Example/StructOfStructs.py | 53 | CODE | |
| LOW | tests/MyGame/Example/Monster.py | 1575 | CODE | |
| LOW | tests/MyGame/Example/Monster.py | 1575 | CODE | |
| LOW | tests/MyGame/Example/LargeArrayStruct.py | 7 | CODE | |
| LOW | tests/MyGame/Example/LargeArrayStruct.py | 145 | CODE | |
| LOW | tests/MyGame/Example/TypeAliases.py | 272 | CODE | |
| LOW | tests/MyGame/Example/Vec3.py | 54 | CODE | |
| LOW | tests/MyGame/Example/NestedUnion/Test.py | 7 | CODE | |
| LOW | …/MyGame/Example/NestedUnion/TestSimpleTableWithEnum.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/flatbuffers/reflection/Field.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/Service.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/KeyValue.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/Object.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/Type.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/SchemaFile.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/RPCCall.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/EnumVal.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/Enum.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | python/flatbuffers/reflection/Schema.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | grpc/examples/python/greeter/models/HelloReply.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | grpc/examples/python/greeter/models/HelloRequest.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/service_test_generated.py | 18 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/service_test_generated.py | 44 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 101 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 168 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 299 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 710 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 821 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 902 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/monster_test_generated.py | 2738 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/py_test.py | 2903 | # Create a table with the ArrayStruct. | COMMENT |
| MEDIUM | tests/namespace_test/NamespaceC/TableInC.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/namespace_test/NamespaceA/TableInFirstNS.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/namespace_test/NamespaceA/SecondTableInA.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | …amespace_test/NamespaceA/NamespaceB/TableInNestedNS.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/union_name_test/Container.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/union_name_test/Bar.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/union_name_test/Foo.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/optional_scalars/ScalarStuff.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/MonsterExtra.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/InParentNamespace.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example2/Monster.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/Referrable.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/ArrayTable.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/Stat.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/Monster.py | 22 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/TestSimpleTableWithEnum.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/TypeAliases.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/NestedUnion/NestedUnionTest.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | …/MyGame/Example/NestedUnion/TestSimpleTableWithEnum.py | 22 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | tests/MyGame/Example/NestedUnion/Vec3.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | goldens/py/flatbuffers/goldens/Galaxy.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| MEDIUM | goldens/py/flatbuffers/goldens/Universe.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/flatbuffers/builder.py | 208 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 46 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 250 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 492 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 638 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 667 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 697 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 857 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 1154 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 1403 | CODE | |
| LOW | python/flatbuffers/flexbuffers.py | 1538 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 315 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 347 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 416 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 429 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 444 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 457 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 541 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 554 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 591 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 654 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 710 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 731 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 751 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 785 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 862 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 965 | CODE | |
| LOW | tests/py_flexbuffers_test.py | 1078 | CODE | |
| LOW | tests/py_test.py | 832 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/flatbuffers/compat.py | 53 | # Helper functions to facilitate making numpy optional instead of required | COMMENT |
| MEDIUM | include/flatbuffers/vector_downward.h | 34 | // Essentially, this supports 2 std::vectors in a single buffer. | COMMENT |
| MEDIUM | tests/cpp17/stringify_util.h | 17 | // This contains some utilities/examples for how to leverage the static reflec- | COMMENT |
| MEDIUM | samples/sample_binary.py | 19 | # to facilitate executing this script in the `samples` folder, and to root | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/flatbuffers/table.py | 68 | CODE | |
| LOW | tests/monster_test_generated.py | 2127 | CODE | |
| LOW | tests/monster_test_generated.py | 2943 | CODE | |
| LOW | tests/optional_scalars/ScalarStuff.py | 519 | CODE | |
| LOW | tests/MyGame/MonsterExtra.py | 255 | CODE | |
| LOW | tests/MyGame/Example/Monster.py | 1582 | CODE | |
| LOW | tests/MyGame/Example/TypeAliases.py | 279 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/flatbuffers/flexbuffers.h | 134 | // TODO: implement proper support for 8/16bit floats, or decide not to | COMMENT |
| LOW | src/reflection.cpp | 343 | s += "(struct)"; // TODO: implement this as well. | CODE |
| LOW | src/reflection.cpp | 371 | return "[(elements)]"; // TODO: implement this as well. | CODE |
| LOW | src/reflection.cpp | 373 | return "(union)"; // TODO: implement this as well. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/py_test.py | 99 | except Exception as e: | CODE |
| LOW | tests/flatc/flatc_test.py | 130 | except Exception as e: | CODE |