Facebook's branch of Apache Thrift, including a new C++ server.
This report presents the forensic synthetic code analysis of facebook/fbthrift, a C++ project with 2,695 GitHub stars. SynthScan v2.0 examined 843,173 lines of code across 3926 source files, recording 3392 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 5.4 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 3392 distinct pattern matches across 23 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 |
|---|---|---|---|---|
| LOW | thrift/test/py/SimpleJSONReadTest.py | 71 | def test_unicode_in_binary_escape(self): | CODE |
| LOW | thrift/test/py/SimpleJSONReadTest.py | 199 | def test_skip_unrecognized_fields(self): | CODE |
| LOW⚡ | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 42 | def _trigger_initial_generated_warning() -> ModuleType: | CODE |
| LOW⚡ | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 46 | def _trigger_nested_generated_warning() -> ModuleType: | CODE |
| LOW⚡ | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 51 | def _install_warning_logging_filter() -> InstagramE2ETestExecutionUUIDFilterShape: | CODE |
| LOW⚡ | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 67 | def _remove_cpython_warning_originals() -> None: | CODE |
| LOW⚡ | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 73 | def _remove_cpython_formatwarning_original() -> None: | CODE |
| LOW⚡ | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 78 | def _enable_lazy_import_probe() -> None: | CODE |
| LOW | thrift/test/py/TestFastProto.py | 223 | def test_decode_failure_lists_fieldname(self): | CODE |
| LOW | …py/thrift_py_deprecated_warning_reentrancy_e2e_test.py | 54 | def test_capturewarnings_filter_reentry_is_gated_in_subprocess(self) -> None: | CODE |
| LOW | …py/thrift_py_deprecated_warning_reentrancy_e2e_test.py | 73 | def test_unproven_cpython_hooks_still_use_reentrancy_guard_outside_lazy_import( | CODE |
| LOW | …py/thrift_py_deprecated_warning_reentrancy_e2e_test.py | 94 | def test_missing_cpython_originals_use_fallback_during_lazy_import(self) -> None: | CODE |
| LOW | thrift/test/py/thrift_py_deprecated_warning_test.py | 44 | def test_no_warning_when_helper_symbol_is_missing(self) -> None: | CODE |
| LOW | thrift/test/py/ReprTest.py | 70 | def test_double_underscore_field_repr(self): | CODE |
| LOW | …py/thrift_py_deprecated_warning_e2e_test_parameters.py | 54 | def non_tty_detailed_warning_cases() -> list[tuple[str, str, str, str, int, str, str]]: | CODE |
| LOW | …py/thrift_py_deprecated_warning_e2e_test_parameters.py | 148 | def lazy_first_use_warning_cases() -> list[tuple[str, str, str, str, int, str, str]]: | CODE |
| LOW | …py/thrift_py_deprecated_warning_e2e_test_parameters.py | 166 | def non_tty_filter_exit_cases() -> list[tuple[str, str, str, str, int, str, str]]: | CODE |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 140 | def test_tty_cli_summary_output( | CODE |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 163 | def test_force_env_keeps_detailed_warning_on_tty(self) -> None: | CODE |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 192 | def test_non_tty_filter_exit_behavior( | CODE |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 217 | def test_lazy_first_use_warning_shape( | CODE |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 242 | def test_non_tty_detailed_warning_output( | CODE |
| LOW⚡ | thrift/test/python_capi/parity_test.py | 55 | def test_struct_parity_unset_optional(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/parity_test.py | 58 | def test_struct_parity_set_optional(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/parity_test.py | 65 | def test_error_parity_unset_optional(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/parity_test.py | 68 | def test_error_parity_set_optional(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/parity_test.py | 71 | def test_marshal_error_isset_deprecated_layout(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 251 | def test_roundtrip_iobuf_union(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 272 | def test_roundtrip_field_adapted(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 277 | def test_roundtrip_type_adapted(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 319 | def test_roundtrip_locally_set_fields_constructor( | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 346 | def test_roundtrip_locally_set_fields_empty(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 351 | def test_roundtrip_annotation_only_isset_struct(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 556 | def test_roundtrip_field_adapted(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 561 | def test_roundtrip_type_adapted(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 667 | def test_serialize_oversized_py_struct(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 675 | def test_serialize_oversized_cpp_struct(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 698 | def test_template_list_construct(self) -> None: | CODE |
| LOW | thrift/test/python_capi/capi_test.py | 706 | def test_template_list_extract(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/capi_test.py | 723 | def test_template_set_construct(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/capi_test.py | 731 | def test_template_set_extract(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/capi_test.py | 741 | def test_template_map_construct(self) -> None: | CODE |
| LOW⚡ | thrift/test/python_capi/capi_test.py | 749 | def test_template_map_extract(self) -> None: | CODE |
| LOW | thrift/test/python_capi/cpp_convert/test_convert.py | 53 | def test_union_to_cpp_overflow(self) -> None: | CODE |
| LOW | …rift/test/default_values/default_values_python_test.py | 27 | def test_intrinsic_default_values(self) -> None: | CODE |
| LOW | …rift/test/default_values/default_values_python_test.py | 43 | def test_custom_default_values(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 46 | def _assert_serialization_round_trip( | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 238 | def test_from_value_ambiguous_int_bool(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 266 | def test_from_value_ambiguous_bool_int(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 297 | def test_from_value_ambiguous_float_int(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 486 | def test_set_nonexistent_field(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 494 | def test_union_field_enum_type_annotations(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 862 | def test_adapted_types_assignment(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 939 | def test_set_nonexistent_field(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/union_test.py | 1052 | def test_union_field_enum_type_annotations(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/struct_test.py | 93 | def _assert_thrift_serialization_round_trip( | CODE |
| LOW | thrift/test/thrift-python/struct_test.py | 190 | def test_intrinsic_default_values_for_unqualified_fields(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/struct_test.py | 257 | def test_struct_constant_default_for_immutable_struct_field(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/struct_test.py | 313 | def test_equality_and_hashability(self) -> None: | CODE |
| LOW | thrift/test/thrift-python/struct_test.py | 419 | def test_serialization_round_trip(self) -> None: | CODE |
| 1476 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/CMakeLists.txt | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/TransportTest.cpp | 581 | // first frame, and then we attempt to read past the end of that frame, and | COMMENT |
| LOW | thrift/test/AdapterTest.cpp | 21 | #include <limits> | COMMENT |
| LOW | thrift/test/SchemaTest.cpp | 21 | #include <thrift/lib/cpp2/schema/detail/Merge.h> | COMMENT |
| LOW | thrift/test/AdapterTest.h | 21 | #include <map> | COMMENT |
| LOW | thrift/test/py/NameConflictsTest.py | 1 | #!/usr/bin/env fbpython | COMMENT |
| LOW | thrift/test/py/reserved_keywords_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | …t/test/py/thrift_py_deprecated_warning_e2e_source_a.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/JSONReaderTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/SimpleJSONReadTest.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | thrift/test/py/TestSocket.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …/py/thrift_py_deprecated_warning_reentrancy_e2e_cli.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/TestOptionalRequired.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/enums_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/TestSyntax.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/JSONGenerateTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/TestFastProto.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/UnionTests.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/HiddenTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/kwargs_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/adapter_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | …py/thrift_py_deprecated_warning_reentrancy_e2e_test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/constants_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/TMemoryBufferTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …est/py/thrift_py_deprecated_warning_e2e_lazy_source.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_cli.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/thrift_py_deprecated_warning_test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/UTF8StringTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/BigFrameTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/enums_py3_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/TestClientServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/Exceptions.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/SerializationTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/TValidatorTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/RecursivePyTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/TestAsyncioServer.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/adapter_for_tests.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/TestSerializationSorted.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/ReprTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/TestDefaultValues.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/py/TestFrameSize.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …py/thrift_py_deprecated_warning_e2e_test_parameters.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/TestEof.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …t/test/py/thrift_py_deprecated_warning_e2e_source_b.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/py/TestServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thrift/test/py/explicit_module/runtest.sh | 1 | #!/bin/bash | COMMENT |
| LOW | thrift/test/py-asyncio/test_suite_asyncio.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | thrift/test/python_capi/parity_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/python_capi/capi_test.py | 1 | #!/usr/bin/env fbpython | COMMENT |
| LOW | thrift/test/python_capi/cpp_convert/test_convert.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/fuzzer/TestFuzzer.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/fuzzer/RandomizerTest.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | …rift/test/default_values/default_values_python_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/thrift-python/union_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/thrift-python/struct_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/thrift-python/abstract_types_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/thrift-python/enum_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | thrift/test/thrift-python/schema_evolution_test.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| 913 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | thrift/lib/python/CMakeLists.txt | 67 | # ============================================================================= | COMMENT |
| MEDIUM | thrift/lib/python/CMakeLists.txt | 69 | # ============================================================================= | COMMENT |
| MEDIUM | thrift/lib/python/CMakeLists.txt | 103 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | thrift/lib/python/test/CMakeLists.txt | 771 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | thrift/lib/python/test/CMakeLists.txt | 773 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | thrift/lib/python/test/CMakeLists.txt | 781 | # ========================================================================== | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 96 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 98 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 367 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 369 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 395 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 397 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 429 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 431 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 513 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 515 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 701 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 703 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 1000 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 1002 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 1080 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/syntax_graph.py | 1082 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/runtime_digest.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/runtime_digest.py | 95 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/runtime_digest.py | 140 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/runtime_digest.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/runtime_digest.py | 254 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/runtime_digest.py | 256 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/runtime_digest.py | 316 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/runtime_digest.py | 319 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/_record.py | 84 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/_record.py | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/type_system_bridge.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/type_system_bridge.py | 162 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/type_system.py | 650 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | thrift/lib/python/schema/type_system.py | 652 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 90 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 279 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 415 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 417 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 459 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 461 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 678 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 680 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 800 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system.py | 803 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 77 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 156 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 158 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 221 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 223 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 279 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | thrift/lib/python/schema/type_system_builder.py | 281 | # --------------------------------------------------------------------------- | COMMENT |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | thrift/test/thrift-python/abstract_types_test.py | 1282 | struct_field=thrift.test.thrift_python.union_test.thrift_types.TestStruct() | CODE |
| CRITICAL | thrift/test/thrift-python/abstract_types_test.py | 1290 | struct_field=thrift.test.thrift_python.union_test.thrift_mutable_types.TestStruct() | CODE |
| CRITICAL | …cated/src/test/java/com/facebook/thrift/UnionTest.java | 221 | new com.facebook.thrift.android.test.MySimpleUnion(); | CODE |
| CRITICAL⚡ | …cated/src/test/java/com/facebook/thrift/UnionTest.java | 243 | new com.facebook.thrift.android.test.MySimpleUnion(); | CODE |
| CRITICAL⚡ | …cated/src/test/java/com/facebook/thrift/UnionTest.java | 252 | new com.facebook.thrift.android.test.MySimpleUnion( | CODE |
| CRITICAL⚡ | …cated/src/test/java/com/facebook/thrift/UnionTest.java | 254 | new com.facebook.thrift.android.test.MySimpleStruct(1L, "blabla")); | CODE |
| CRITICAL⚡ | …cated/src/test/java/com/facebook/thrift/UnionTest.java | 258 | new com.facebook.thrift.android.test.MySimpleUnion( | CODE |
| CRITICAL⚡ | …cated/src/test/java/com/facebook/thrift/UnionTest.java | 265 | com.facebook.thrift.javaswift.test.MySimpleUnion.fromCaseOne(1); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 55 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 61 | new com.facebook.thrift.java.test.MySimpleStruct(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 74 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 80 | new com.facebook.thrift.java.test.MySimpleStruct(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 94 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 101 | new com.facebook.thrift.java.test.MySimpleUnion(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 116 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 139 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 145 | new com.facebook.thrift.java.test.SimpleStructTypes(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 171 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 200 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 285 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 342 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 349 | new com.facebook.thrift.java.test.SimpleCollectionStruct(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 435 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 450 | new com.facebook.thrift.java.test.ComplexNestedStruct(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 567 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 648 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 676 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …st/java/com/facebook/thrift/DeprecatedToSwiftTest.java | 738 | new org.apache.thrift.protocol.TCompactProtocol.Factory(); | CODE |
| CRITICAL | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 121 | new com.facebook.thrift.android.test.MySimpleStruct(123L, "toto"); | CODE |
| CRITICAL | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 125 | new com.facebook.thrift.android.test.MySimpleStruct(null, "toto"); | CODE |
| CRITICAL | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 140 | new com.facebook.thrift.android.test.MySimpleStruct(123L, "toto"); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 152 | new com.facebook.thrift.android.test.MySimpleStruct(id, name); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 162 | com.facebook.thrift.android.test.MySimpleUnion.caseOne(1L); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 172 | new com.facebook.thrift.android.test.MySimpleStruct(id, name); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 176 | com.facebook.thrift.android.test.MySimpleUnion.caseFour(simpleStruct2); | CODE |
| CRITICAL | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 189 | new com.facebook.thrift.android.test.MySimpleStruct(id, name); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 220 | new com.facebook.thrift.android.test.MySimpleStruct(id, name); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 222 | com.facebook.thrift.android.test.MySimpleUnion.caseOne(1L); | CODE |
| CRITICAL⚡ | …src/test/java/com/facebook/thrift/TBaseHelperTest.java | 224 | new com.facebook.thrift.android.test.NestedStruct(myMap, struct2, mySet, myList, union2); | CODE |
| CRITICAL | …test/java/com/facebook/thrift/SensitiveStructTest.java | 37 | new com.facebook.thrift.android.test.MySensitiveStruct(123L, password); | CODE |
| CRITICAL | …test/java/com/facebook/thrift/SensitiveStructTest.java | 44 | new com.facebook.thrift.javaswift.test.MySensitiveStruct.Builder() | CODE |
| CRITICAL⚡ | …ated/src/test/java/com/facebook/thrift/StructTest.java | 193 | new com.facebook.thrift.android.test.StructWithOptional(1L, "toto", 2, "titi"); | CODE |
| CRITICAL⚡ | …ated/src/test/java/com/facebook/thrift/StructTest.java | 196 | new com.facebook.thrift.android.test.StructWithOptional(1L, "toto", 2, null); | CODE |
| CRITICAL⚡ | …ated/src/test/java/com/facebook/thrift/StructTest.java | 200 | new com.facebook.thrift.android.test.StructWithOptional(1L, "toto", null, "titi"); | CODE |
| CRITICAL | …/facebook/thrift/protocol/TSimpleJSONProtocolTest.java | 216 | new com.facebook.thrift.android.test.EveryLayout.Builder() | CODE |
| CRITICAL | …/facebook/thrift/protocol/TSimpleJSONProtocolTest.java | 255 | () -> com.facebook.thrift.android.test.EveryLayout.deserialize(protocol2)); | CODE |
| CRITICAL | …ebook/thrift/client/ClientRuntimeThriftClientTest.java | 309 | org.junit.jupiter.api.Assertions.assertEquals( | CODE |
| CRITICAL | …om/facebook/thrift/util/resources/ResourcesHolder.java | 63 | com.facebook.thrift.util.NettyUtil.createEventLoopGroup( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/test/py/reserved_keywords_test.py | 17 | CODE | |
| LOW | thrift/test/py/reserved_keywords_test.py | 17 | CODE | |
| LOW | thrift/test/py/reserved_keywords_test.py | 17 | CODE | |
| LOW | thrift/test/py/reserved_keywords_test.py | 17 | CODE | |
| LOW | thrift/test/py/reserved_keywords_test.py | 25 | CODE | |
| LOW | thrift/test/py/JSONReaderTest.py | 17 | CODE | |
| LOW | thrift/test/py/JSONReaderTest.py | 17 | CODE | |
| LOW | thrift/test/py/JSONReaderTest.py | 17 | CODE | |
| LOW | thrift/test/py/JSONReaderTest.py | 17 | CODE | |
| LOW | thrift/test/py/SimpleJSONReadTest.py | 18 | CODE | |
| LOW | thrift/test/py/SimpleJSONReadTest.py | 18 | CODE | |
| LOW | thrift/test/py/SimpleJSONReadTest.py | 18 | CODE | |
| LOW | thrift/test/py/SimpleJSONReadTest.py | 18 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 18 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 18 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 18 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 18 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 31 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 32 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 37 | CODE | |
| LOW | thrift/test/py/TestSocket.py | 39 | CODE | |
| LOW | thrift/test/py/TestOptionalRequired.py | 17 | CODE | |
| LOW | thrift/test/py/TestOptionalRequired.py | 17 | CODE | |
| LOW | thrift/test/py/TestOptionalRequired.py | 17 | CODE | |
| LOW | thrift/test/py/TestOptionalRequired.py | 17 | CODE | |
| LOW | thrift/test/py/enums_test.py | 18 | CODE | |
| LOW | thrift/test/py/enums_test.py | 18 | CODE | |
| LOW | thrift/test/py/enums_test.py | 18 | CODE | |
| LOW | thrift/test/py/enums_test.py | 18 | CODE | |
| LOW | thrift/test/py/TestSyntax.py | 16 | CODE | |
| LOW | thrift/test/py/TestSyntax.py | 16 | CODE | |
| LOW | thrift/test/py/TestSyntax.py | 16 | CODE | |
| LOW | thrift/test/py/TestSyntax.py | 16 | CODE | |
| LOW | thrift/test/py/TestSyntax.py | 25 | CODE | |
| LOW | thrift/test/py/TestSyntax.py | 25 | CODE | |
| LOW | thrift/test/py/JSONGenerateTest.py | 17 | CODE | |
| LOW | thrift/test/py/JSONGenerateTest.py | 17 | CODE | |
| LOW | thrift/test/py/JSONGenerateTest.py | 17 | CODE | |
| LOW | thrift/test/py/JSONGenerateTest.py | 17 | CODE | |
| LOW | thrift/test/py/TestFastProto.py | 17 | CODE | |
| LOW | thrift/test/py/TestFastProto.py | 17 | CODE | |
| LOW | thrift/test/py/TestFastProto.py | 17 | CODE | |
| LOW | thrift/test/py/TestFastProto.py | 17 | CODE | |
| LOW | thrift/test/py/UnionTests.py | 18 | CODE | |
| LOW | thrift/test/py/UnionTests.py | 18 | CODE | |
| LOW | thrift/test/py/UnionTests.py | 18 | CODE | |
| LOW | thrift/test/py/UnionTests.py | 18 | CODE | |
| LOW | thrift/test/py/kwargs_test.py | 18 | CODE | |
| LOW | thrift/test/py/kwargs_test.py | 18 | CODE | |
| LOW | thrift/test/py/kwargs_test.py | 18 | CODE | |
| LOW | thrift/test/py/kwargs_test.py | 18 | CODE | |
| LOW | thrift/test/py/adapter_test.py | 20 | CODE | |
| LOW | thrift/test/py/constants_test.py | 17 | CODE | |
| LOW | thrift/test/py/constants_test.py | 17 | CODE | |
| LOW | thrift/test/py/constants_test.py | 17 | CODE | |
| LOW | thrift/test/py/constants_test.py | 17 | CODE | |
| LOW | thrift/test/py/TMemoryBufferTest.py | 18 | CODE | |
| LOW | thrift/test/py/TMemoryBufferTest.py | 18 | CODE | |
| LOW | thrift/test/py/TMemoryBufferTest.py | 18 | CODE | |
| LOW | thrift/test/py/TMemoryBufferTest.py | 18 | CODE | |
| 332 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …py/thrift_py_deprecated_warning_reentrancy_e2e_test.py | 0 | \ thrift.test.py.thrift_py_deprecated_warning_e2e_source_a:18: thriftpydeprecatedwarning: uses thrift-py-deprecated. mig | STRING |
| HIGH | …py/thrift_py_deprecated_warning_e2e_test_parameters.py | 0 | \ thrift.test.py.thrift_py_deprecated_warning_e2e_source_a:18: thriftpydeprecatedwarning: uses thrift-py-deprecated. mig | STRING |
| HIGH | thrift/test/py/thrift_py_deprecated_warning_e2e_test.py | 0 | \ thrift.test.py.thrift_py_deprecated_warning_e2e_source_a:18: thriftpydeprecatedwarning: uses thrift-py-deprecated. mig | STRING |
| HIGH | thrift/lib/python/test/unions.py | 0 | the `setup` method performs these assignments with type hints to enable pyre when using 'parameterized'. otherwise, pyre | STRING |
| HIGH | thrift/lib/python/test/structs.py | 0 | the `setup` method performs these assignments with type hints to enable pyre when using 'parameterized'. otherwise, pyre | STRING |
| HIGH | thrift/lib/python/test/serializer.py | 0 | the `setup` method performs these assignments with type hints to enable pyre when using 'parameterized'. otherwise, pyre | STRING |
| HIGH | thrift/lib/python/test/exceptions.py | 0 | the `setup` method performs these assignments with type hints to enable pyre when using 'parameterized'. otherwise, pyre | STRING |
| HIGH | thrift/lib/python/test/refs.py | 0 | the `setup` method performs these assignments with type hints to enable pyre when using 'parameterized'. otherwise, pyre | STRING |
| HIGH | thrift/lib/python/test/iobuf.py | 0 | the `setup` method performs these assignments with type hints to enable pyre when using 'parameterized'. otherwise, pyre | STRING |
| HIGH | thrift/lib/python/test/client_server.py | 0 | these are tests where a client and server talk to each other | STRING |
| HIGH | …ython/test/metadata_response/metadata_response_test.py | 0 | these are tests where a client and server talk to each other | STRING |
| HIGH | thrift/lib/py3/test/auto_migrate/client_server.py | 0 | these are tests where a client and server talk to each other | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/test/fuzzer/RandomizerTest.py | 455 | CODE | |
| LOW | thrift/test/fuzzer/RandomizerTest.py | 1124 | CODE | |
| LOW | thrift/lib/py/Thrift.py | 511 | CODE | |
| LOW | thrift/lib/py/Thrift.py | 313 | CODE | |
| LOW | thrift/lib/py/transport/TSSLSocket.py | 239 | CODE | |
| LOW | thrift/lib/py/transport/THeaderTransport.py | 299 | CODE | |
| LOW | thrift/lib/py/transport/THeaderTransport.py | 437 | CODE | |
| LOW | thrift/lib/py/transport/THeaderTransport.py | 456 | CODE | |
| LOW | thrift/lib/py/transport/THeaderTransport.py | 548 | CODE | |
| LOW | thrift/lib/py/transport/TSocket.py | 287 | CODE | |
| LOW | thrift/lib/py/util/remote.py | 519 | CODE | |
| LOW | thrift/lib/py/util/remote.py | 663 | CODE | |
| LOW | thrift/lib/py/util/randomizer.py | 269 | CODE | |
| LOW | thrift/lib/py/util/randomizer.py | 872 | CODE | |
| LOW | thrift/lib/py/util/Recursive.py | 20 | CODE | |
| LOW | thrift/lib/py/util/__init__.py | 50 | CODE | |
| LOW | thrift/lib/py/util/inspect.py | 216 | CODE | |
| LOW | thrift/lib/py/util/fuzzer.py | 438 | CODE | |
| LOW | thrift/lib/py/util/fuzzer.py | 738 | CODE | |
| LOW | thrift/lib/py/util/fuzzer.py | 967 | CODE | |
| LOW | thrift/lib/py/util/Decorators.py | 306 | CODE | |
| LOW | thrift/lib/py/server/TCppServer.py | 200 | CODE | |
| LOW | thrift/lib/py/protocol/TJSONProtocol.py | 215 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 255 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 310 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 324 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 398 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 432 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 489 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 605 | CODE | |
| LOW | thrift/lib/py/protocol/TSimpleJSONProtocol.py | 703 | CODE | |
| LOW | thrift/lib/py/protocol/TProtocol.py | 173 | CODE | |
| LOW | thrift/lib/py/protocol/TProtocol.py | 221 | CODE | |
| LOW | thrift/lib/python/metadata.py | 593 | CODE | |
| LOW | thrift/lib/python/metadata.py | 120 | CODE | |
| LOW | thrift/lib/python/metadata.py | 422 | CODE | |
| LOW | thrift/lib/python/test_helpers.py | 288 | CODE | |
| LOW | thrift/lib/python/benchmark/containers.py | 180 | CODE | |
| LOW | thrift/lib/python/benchmark/converter.py | 50 | CODE | |
| LOW | thrift/lib/python/benchmark/struct_memory.py | 325 | CODE | |
| LOW | thrift/lib/python/test/enums.py | 270 | CODE | |
| LOW | thrift/lib/python/test/json5_serializer_test.py | 230 | CODE | |
| LOW | thrift/lib/python/any/test/any_registry.py | 160 | CODE | |
| LOW | thrift/lib/python/any/test/any_registry.py | 187 | CODE | |
| LOW | thrift/lib/python/schema/_serializable_builder.py | 59 | CODE | |
| LOW | thrift/lib/python/schema/runtime_digest.py | 295 | CODE | |
| LOW | thrift/lib/python/schema/syntax_graph_builder.py | 189 | CODE | |
| LOW | thrift/lib/python/schema/syntax_graph_builder.py | 99 | CODE | |
| LOW | thrift/lib/python/schema/syntax_graph_builder.py | 377 | CODE | |
| LOW | thrift/lib/python/schema/syntax_graph_builder.py | 596 | CODE | |
| LOW | thrift/lib/python/schema/syntax_graph_builder.py | 629 | CODE | |
| LOW | thrift/lib/python/schema/type_system_builder.py | 373 | CODE | |
| LOW | thrift/lib/python/schema/type_system_builder.py | 405 | CODE | |
| LOW | thrift/lib/python/schema/type_system_digest.py | 139 | CODE | |
| LOW | thrift/lib/python/schema/type_system_digest.py | 174 | CODE | |
| LOW | thrift/lib/python/schema/type_system_digest.py | 199 | CODE | |
| LOW | thrift/lib/python/schema/type_system_digest.py | 311 | CODE | |
| LOW | …ft/lib/python/schema/tests/test_type_system_builder.py | 331 | CODE | |
| LOW | …ft/lib/python/schema/tests/test_type_system_builder.py | 452 | CODE | |
| LOW | thrift/lib/python/client/test/sync_client_test.py | 203 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/test/py/TestSocket.py | 53 | except Exception: | CODE |
| LOW | thrift/test/py/TestSocket.py | 67 | except Exception: | CODE |
| LOW | thrift/test/py/TestSocket.py | 81 | except Exception: | CODE |
| LOW | thrift/test/py/UnionTests.py | 42 | except Exception: | CODE |
| LOW | thrift/test/py/TestClientServer.py | 259 | except Exception: # type is undefined | CODE |
| LOW | thrift/test/py-asyncio/test_suite_asyncio.py | 203 | except Exception: # type is undefined | CODE |
| LOW | thrift/test/thrift-python/abstract_types_test.py | 278 | except Exception as ex: | CODE |
| LOW | thrift/test/testset/generator_test.py | 73 | except Exception: | STRING |
| LOW | thrift/lib/py/async_common.py | 328 | except Exception as ex: | CODE |
| LOW | thrift/lib/py/async_common.py | 396 | except Exception: | CODE |
| MEDIUM | thrift/lib/py/async_common.py | 173 | def close(self): | CODE |
| LOW | thrift/lib/py/Thrift.py | 227 | except Exception as e: | CODE |
| LOW | thrift/lib/py/transport/TSocket.py | 70 | except Exception: | CODE |
| LOW | thrift/lib/py/transport/TSocket.py | 450 | except Exception: | CODE |
| MEDIUM | thrift/lib/py/transport/TSocket.py | 67 | def unregister(self, fileno): | CODE |
| LOW | thrift/lib/py/transport/THttpClient.py | 149 | except Exception as e: | CODE |
| LOW | thrift/lib/py/util/remote.py | 250 | except Exception: | CODE |
| MEDIUM | thrift/lib/py/util/remote.py | 394 | print("Error: %s" % error_message, file=err_out) | CODE |
| LOW | thrift/lib/py/util/remote.py | 537 | except Exception: | CODE |
| LOW | thrift/lib/py/util/fuzzer.py | 408 | except Exception: | CODE |
| LOW | thrift/lib/py/util/fuzzer.py | 796 | except Exception as e: | CODE |
| MEDIUM | thrift/lib/py/util/fuzzer.py | 260 | def _try_parse_type(cls, name, type_, val): | CODE |
| LOW | thrift/lib/py/util/Decorators.py | 147 | except Exception as e: | CODE |
| LOW | thrift/lib/py/util/Decorators.py | 217 | except Exception as e: | CODE |
| LOW | thrift/lib/py/util/Decorators.py | 330 | except Exception as e: | CODE |
| MEDIUM | thrift/lib/py/util/Decorators.py | 238 | def _done(future, processor, handler_ctx, fn_name, oprot, reply_type, seqid, one | CODE |
| LOW | thrift/lib/py/server/TCppServer.py | 195 | except Exception: | CODE |
| MEDIUM | thrift/lib/py/server/TCppServer.py | 89 | def call_processor( | CODE |
| LOW | thrift/lib/py/server/TServer.py | 206 | except Exception as x: | CODE |
| LOW | thrift/lib/py/server/test/TAsyncioServerTest.py | 309 | except Exception: | CODE |
| LOW | thrift/lib/python/metadata.py | 154 | except Exception: | CODE |
| LOW | thrift/lib/python/test/mutable_set_test.py | 679 | except Exception as error: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 234 | except Exception: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 315 | except Exception: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 492 | except Exception as error: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 1177 | except Exception as error: | CODE |
| LOW | thrift/lib/python/test/mutable_list_test.py | 616 | except Exception as error: | CODE |
| LOW | thrift/lib/python/test/mutable_list_test.py | 767 | except Exception as error: | CODE |
| LOW | thrift/lib/python/test/client_server.py | 466 | except Exception as e: | CODE |
| LOW | …ython/server/test/interactions/connection_drop_test.py | 99 | except Exception: | CODE |
| LOW | …ython/server/test/interactions/connection_drop_test.py | 128 | except Exception: | CODE |
| LOW⚡ | thrift/lib/python/schema/type_system_bridge.py | 383 | except Exception: | CODE |
| LOW | thrift/lib/py3/testing.py | 55 | except Exception: | CODE |
| LOW | thrift/compiler/test/fixture_utils.py | 257 | except Exception as err: | CODE |
| LOW | thrift/compiler/test/fixture_test.py | 81 | except Exception: | CODE |
| LOW⚡ | thrift/conformance/python/rpc_client.py | 244 | except Exception: | CODE |
| LOW⚡ | thrift/conformance/python/rpc_client.py | 260 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/go/thrift/processor.go | 94 | // Step 1: Decode message only using Decoder interface and GetResponseHeaders method on the protocol. | COMMENT |
| LOW | thrift/lib/go/thrift/processor.go | 145 | // Step 2: Processing the message without using the Protocol. | COMMENT |
| LOW | thrift/lib/go/thrift/processor.go | 167 | // Step 3: Write the message using only the Encoder interface and SetRequestHeader method. | COMMENT |
| LOW | thrift/lib/py3/test/auto_migrate/enums.py | 360 | # NOTE: The following assertion used to be reversed, but has been failing for | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1407 | // Step 2: Fire timeout - run(Timeout) executes and schedules run() | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1413 | // Step 3: Cancel BEFORE run() executes | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1416 | // Step 4: Now execute run() | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1449 | // Step 1: Subscribe | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1452 | // Step 2: Fire timeout | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1458 | // Step 3: Cancel before run() executes | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1461 | // Step 4: Execute run() | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1502 | // Step 2: Fire timeout | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1508 | // Step 3: Cancel before run() executes | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1511 | // Step 4: Execute run() | COMMENT |
| LOW | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1491 | // Step 1: Subscribe | COMMENT |
| LOW⚡ | …rt/rocket/server/test/RocketBiDiClientCallbackTest.cpp | 848 | // Step 1: Server completes the stream direction. | COMMENT |
| LOW⚡ | …rt/rocket/server/test/RocketBiDiClientCallbackTest.cpp | 851 | // Step 2: ErrorFrame arrives from client — handleFrame dispatches to | COMMENT |
| LOW | …thrift/frame/write/handler/FrameFragmentationHandler.h | 311 | // Step 1: Drain immediate queue. | COMMENT |
| LOW | …thrift/frame/write/handler/FrameFragmentationHandler.h | 336 | // Step 2: SRPT — always flush the stream with least remaining bytes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/go/thrift/processor.go | 94 | // Step 1: Decode message only using Decoder interface and GetResponseHeaders method on the protocol. | COMMENT |
| LOW | thrift/lib/go/thrift/processor.go | 145 | // Step 2: Processing the message without using the Protocol. | COMMENT |
| LOW | thrift/lib/go/thrift/processor.go | 167 | // Step 3: Write the message using only the Encoder interface and SetRequestHeader method. | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1407 | // Step 2: Fire timeout - run(Timeout) executes and schedules run() | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1413 | // Step 3: Cancel BEFORE run() executes | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1416 | // Step 4: Now execute run() | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1449 | // Step 1: Subscribe | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1452 | // Step 2: Fire timeout | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1458 | // Step 3: Cancel before run() executes | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1461 | // Step 4: Execute run() | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1502 | // Step 2: Fire timeout | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1508 | // Step 3: Cancel before run() executes | COMMENT |
| LOW⚡ | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1511 | // Step 4: Execute run() | COMMENT |
| LOW | …m/facebook/thrift/util/MonoTimeoutTransformerTest.java | 1491 | // Step 1: Subscribe | COMMENT |
| LOW⚡ | …rt/rocket/server/test/RocketBiDiClientCallbackTest.cpp | 848 | // Step 1: Server completes the stream direction. | COMMENT |
| LOW⚡ | …rt/rocket/server/test/RocketBiDiClientCallbackTest.cpp | 851 | // Step 2: ErrorFrame arrives from client — handleFrame dispatches to | COMMENT |
| LOW | …thrift/frame/write/handler/FrameFragmentationHandler.h | 311 | // Step 1: Drain immediate queue. | COMMENT |
| LOW | …thrift/frame/write/handler/FrameFragmentationHandler.h | 336 | // Step 2: SRPT — always flush the stream with least remaining bytes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/py/util/randomizer.py | 880 | # If that's the case just return none | COMMENT |
| LOW | thrift/lib/py/server/test/handler.py | 45 | # simply return the value in OverflowResult | COMMENT |
| LOW | thrift/lib/python/any/any_registry.py | 53 | # When storing an empty container, the elem type doesn't matter so we just use bool as placeholder | COMMENT |
| MEDIUM | …transport/core/testutil/TransportCompatibilityTest.cpp | 56 | // Timeout used for polling callCompleted_ to make the test more robust. | COMMENT |
| MEDIUM | …cpp2/test/server/ThriftServerCustomCompressionTest.cpp | 426 | // in the remainer of the connection. However, that is not robust, and | COMMENT |
| MEDIUM | thrift/lib/cpp2/server/peeking/TLSHelper.cpp | 48 | // Definitely not TLS | COMMENT |
| MEDIUM | thrift/lib/cpp2/protocol/TableBasedSerializerImpl.h | 728 | // utilize the same search logic with a field info of type TType::T_STOP. | COMMENT |
| MEDIUM | thrift/lib/cpp2/frozen/FrozenHashTable-inl.h | 221 | // also be robust in the presence of versioning; the addition of a new, | COMMENT |
| MEDIUM | thrift/perf/cpp2/server/Server.cpp | 100 | // Essentially infinite time. | COMMENT |
| MEDIUM | thrift/perf/cpp2/client/Client.cpp | 136 | // Essentially infinite time. | COMMENT |
| MEDIUM | …t/conformance/rpc/server/RpcServerReactiveHandler.java | 229 | // The return type makes no sense here. Definitely a bug | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | thrift/test/py/JSONReaderTest.py | 35 | struct.readFromJson('{ "data" : null }') | CODE |
| HIGH⚡ | thrift/test/py/JSONReaderTest.py | 41 | struct.readFromJson('{ "data" : null }') | CODE |
| HIGH⚡ | thrift/test/py/JSONReaderTest.py | 46 | struct.readFromJson('{ "data" : null }', bad_kwarg=True) | CODE |
| HIGH | thrift/test/py/SimpleJSONReadTest.py | 183 | j = '{"aString": "a fancy e looks like \\u00e9", "anotherString": null, "anInteger": 10, "unknownField": null}' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/py/__init__.py | 17 | __all__ = ["Thrift", "TSCons"] | CODE |
| LOW | thrift/lib/py/async_common.py | 54 | logger = logging.getLogger(__name__) | CODE |
| LOW | thrift/lib/py/util/__init__.py | 24 | __all__ = ["Serializer", "struct_to_dict", "parse_struct_spec"] | CODE |
| LOW | thrift/lib/py/server/__init__.py | 17 | __all__ = ["TServer", "TAsyncioServer"] | CODE |
| LOW | thrift/lib/py/server/TAsyncioServer.py | 35 | __all__ = [ | CODE |
| LOW | thrift/lib/py/server/TAsyncioServer.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | thrift/lib/py/protocol/TJSONProtocol.py | 26 | __all__ = ["TJSONProtocol", "TJSONProtocolFactory"] | CODE |
| LOW | thrift/lib/py/protocol/__init__.py | 15 | __all__ = [ | CODE |
| LOW | thrift/lib/py/protocol/TCompactProtocol.py | 23 | __all__ = [ | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 77 | def set_nested_list(worker_value: int) -> None: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 95 | def set_nested_set(worker_value: int) -> None: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 417 | def set_item(item: tuple[str, int]) -> None: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 476 | def set_invalid_nested_list(worker_value: int) -> None: | CODE |
| LOW | thrift/lib/python/test/mutable_map_test.py | 1057 | def update_invalid_keyword(worker_value: int) -> None: | CODE |
| LOW⚡ | thrift/lib/python/schema/runtime_digest.py | 83 | __all__ = [ | CODE |
| LOW⚡ | thrift/lib/python/schema/type_system.py | 641 | def _set_target_type(self, target_type: TypeRef) -> None: | CODE |
| LOW | thrift/lib/python/schema/type_system.py | 485 | def _set_annotations(self, annotations: Mapping[str, SerializableRecord]) -> None: | CODE |
| LOW | thrift/lib/python/schema/type_system.py | 490 | def _set_source_info(self, source_info: SourceInfo | None) -> None: | CODE |
| LOW | thrift/lib/python/schema/type_system.py | 550 | def _set_fields(self, fields: Sequence[FieldDefinition]) -> None: | CODE |
| LOW | thrift/lib/python/schema/type_system.py | 584 | def _set_fields(self, fields: Sequence[FieldDefinition]) -> None: | CODE |
| LOW | thrift/lib/python/schema/type_system.py | 613 | def _set_values(self, values: Sequence[EnumValue]) -> None: | CODE |
| LOW | thrift/lib/python/reflection/constants_reflection.py | 67 | def _setattr(self: Any, name: str, value: Any) -> None: | CODE |
| LOW | thrift/lib/python/reflection/__init__.py | 21 | __all__ = ["inspect", "inspectable"] | CODE |
| LOW | thrift/lib/py3/__init__.py | 20 | __all__ = [] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | thrift/lib/py/Thrift.py | 629 | # This function is only used by Torch packages that were built after D49041314 (Sep 7 | COMMENT |
| MEDIUM | thrift/lib/py/util/remote.py | 520 | # Create the protocol and client | COMMENT |
| MEDIUM | thrift/lib/py/util/inspect.py | 165 | # This function is not defined by this module | COMMENT |
| MEDIUM | thrift/lib/py/util/fuzzer.py | 525 | # Create the protocol and client | COMMENT |
| MEDIUM | thrift/lib/py/util/fuzzer.py | 847 | # Create a spec_args tuple for the method args struct type | COMMENT |
| MEDIUM | thrift/lib/python/test_helpers.py | 53 | # This module contains helper functions suitable for migrating customer tests | COMMENT |
| MEDIUM | thrift/lib/python/test/iobuf.py | 86 | # Create a chained IOBuf: [b"hello"] -> [b"world"] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/test/thrift-python/struct_test.py | 2404 | sub_w = TestStructMutable(optional_string="Lorem ipsum") | CODE |
| LOW⚡ | thrift/lib/rust/any/src/dummy_any.rs | 25 | fn get_dummy_any(dummy_data: &str) -> Self; | CODE |
| LOW⚡ | thrift/lib/rust/any/src/dummy_any.rs | 30 | fn get_dummy_any(dummy_data: &str) -> any::Any { | CODE |
| LOW⚡ | thrift/lib/rust/any/src/dummy_any.rs | 33 | name: TypeName::structType(TypeUri::uri(dummy_data.to_string())), | CODE |
| LOW⚡ | thrift/lib/rust/any/src/dummy_any.rs | 37 | data: dummy_data.into(), | CODE |
| LOW | thrift/lib/java/runtime/src/test/resources/lorem.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum id sem eget tellus interdum bibendum. Curabitur phar | CODE |
| LOW | thrift/lib/java/runtime/src/test/resources/lorem.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum id sem eget tellus interdum bibendum. Curabitur phar | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | thrift/lib/cpp/test/loadgen/Worker.h | 194 | // Only send as fast as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/test/testset/generator.py | 593 | CODE | |
| LOW | thrift/test/testset/generator.py | 629 | CODE | |
| LOW | thrift/lib/py/transport/TSSLSocket.py | 179 | CODE | |
| LOW | thrift/lib/py/server/TAsyncioServer.py | 50 | CODE | |
| LOW | thrift/lib/python/reflection/services_reflection.py | 190 | CODE | |
| LOW | thrift/lib/py3/test/auto_migrate/test_auto_migrate.py | 40 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/py/async_common.py | 241 | # Don't forget to implement connection_made/connection_lost in your | COMMENT |
| LOW | thrift/lib/cpp/transport/TBufferTransports.h | 959 | // Don't forget to update constructors, initCommon, and swap if | COMMENT |
| LOW | …2/transport/core/testutil/TransportCompatibilityTest.h | 41 | // Don't forget to start the server before running the tests. | COMMENT |
| LOW | …2/transport/core/testutil/TransportCompatibilityTest.h | 80 | // Don't forget to start the server before running the tests. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | thrift/lib/python/test/stream.py | 64 | CODE | |
| MEDIUM | …lib/python/server/interceptor/test/interceptor_test.py | 72 | CODE | |
| MEDIUM | thrift/lib/py3/test/stream/test_client.py | 55 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/go/thrift/client.go | 204 | // Example usage: | COMMENT |
| LOW | thrift/lib/cpp2/util/DebugString.h | 62 | // Usage example: | COMMENT |
| LOW | thrift/lib/cpp2/util/DebugString.h | 73 | // Usage example: | COMMENT |
| LOW⚡ | thrift/lib/cpp2/fast_thrift/bench/perf_harness.sh | 23 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/py/util/randomizer.py | 1017 | # Check if this randomizer is already in self.randomizers | COMMENT |
| LOW | thrift/lib/python/test/serializer.py | 915 | # Set fields to their intrinsic default. | COMMENT |
| LOW | thrift/lib/py3/test/auto_migrate/serializer.py | 378 | # Set fields to their intrinsic default. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/py/Thrift.py | 81 | # TODO: implement asyncComplete for Twisted | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thrift/lib/py/protocol/TCompactProtocol.py | 42 | def helper(func): | CODE |