Apache Thrift
This report presents the forensic synthetic code analysis of apache/thrift, a C++ project with 10,934 GitHub stars. SynthScan v2.0 examined 346,323 lines of code across 1876 source files, recording 1238 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 3.9 places this repository in the Likely human-written 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 1238 distinct pattern matches across 20 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 | CMakeLists.txt | 1 | # | COMMENT |
| LOW | appveyor.yml | 1 | # | COMMENT |
| LOW | appveyor.yml | 121 | COMMENT | |
| LOW | appveyor.yml | 141 | # commands to see why something failed... | COMMENT |
| LOW | bootstrap.sh | 1 | #!/bin/sh | COMMENT |
| LOW | .travis.yml | 1 | # | COMMENT |
| LOW | .travis.yml | 161 | - SCRIPT="covscan.sh" | COMMENT |
| LOW | tutorial/py.twisted/PythonServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/py.twisted/PythonClient.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/py/PythonServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/py/PythonClient.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/dart/build.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tutorial/dart/server/pubspec.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/dart/server/bin/main.dart | 1 | /// Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/dart/console_client/pubspec.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/dart/console_client/bin/main.dart | 1 | /// Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/dart/client/pubspec.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/dart/client/web/client.dart | 1 | /// Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/haxe/make_all.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tutorial/perl/PerlClient.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | tutorial/perl/PerlServer.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | tutorial/netstd/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tutorial/netstd/Server/Program.cs | 1 | // Licensed to the Apache Software Foundation(ASF) under one | COMMENT |
| LOW | tutorial/netstd/Server/Properties/AssemblyInfo.cs | 1 | // Licensed to the Apache Software Foundation(ASF) under one | COMMENT |
| LOW | tutorial/netstd/Client/Program.cs | 1 | // Licensed to the Apache Software Foundation(ASF) under one | COMMENT |
| LOW | tutorial/netstd/Client/Properties/AssemblyInfo.cs | 1 | // Licensed to the Apache Software Foundation(ASF) under one | COMMENT |
| LOW | tutorial/netstd/Interfaces/GlobalSuppressions.cs | 1 | // Licensed to the Apache Software Foundation(ASF) under one | COMMENT |
| LOW | tutorial/netstd/Interfaces/Properties/AssemblyInfo.cs | 1 | // Licensed to the Apache Software Foundation(ASF) under one | COMMENT |
| LOW | tutorial/rs/src/lib.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/rs/src/bin/tutorial_client.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/rs/src/bin/tutorial_server.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tutorial/c_glib/c_glib_server.c | 21 | #include <signal.h> | COMMENT |
| LOW | tutorial/php/runserver.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/cpp/CppServer.cpp | 21 | #include <thrift/concurrency/ThreadFactory.h> | COMMENT |
| LOW | tutorial/cpp/CMakeLists.txt | 1 | # | COMMENT |
| LOW | tutorial/erl/server.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tutorial/erl/client.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tutorial/py.tornado/PythonServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/py.tornado/PythonClient.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tutorial/rb/RubyClient.rb | 1 | #!/usr/bin/env ruby | COMMENT |
| LOW | tutorial/rb/RubyServer.rb | 1 | #!/usr/bin/env ruby | COMMENT |
| LOW | test/test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/py.twisted/test_suite.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/CMakeLists.txt | 1 | # | COMMENT |
| LOW | test/py/TestSocket.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/util.py | 1 | # | COMMENT |
| LOW | test/py/TestSyntax.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/TSimpleJSONProtocolTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/TestFrozen.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/TestTypes.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/RunClientServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/TestRenderedDoubleConstants.py | 1 | # | COMMENT |
| LOW | test/py/TestClient.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/SerializationTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/FastbinaryTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/TestEof.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/TestServer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/py/explicit_module/runtest.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/py/explicit_module/EnumSerializationTest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/go/src/common/printing_handler.go | 41 | fmt.Println("testVoid()") | COMMENT |
| 788 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/py/TestFrozen.py | 41 | def test_dict_is_hashable_only_after_frozen(self): | CODE |
| LOW | test/py/TestFrozen.py | 47 | def test_struct_with_collection_fields(self): | CODE |
| LOW | test/py/TestFrozen.py | 107 | def test_frozen_exception_with_no_fields(self): | CODE |
| LOW | test/py/TestFrozen.py | 110 | def test_frozen_exception_serialization(self): | CODE |
| LOW | test/py/TestRenderedDoubleConstants.py | 40 | def test_rendered_double_constants(self): | CODE |
| LOW | test/py/TestRenderedDoubleConstants.py | 160 | def test_rendered_double_list(self): | CODE |
| LOW⚡ | test/py/explicit_module/EnumSerializationTest.py | 39 | def serialization_deserialization_struct_enum_test(): | CODE |
| LOW⚡ | test/py/explicit_module/EnumSerializationTest.py | 48 | def serialization_deserialization_struct_enum_as_string_test(): | CODE |
| LOW⚡ | test/py/explicit_module/EnumSerializationTest.py | 57 | def serialization_deserialization_exception_enum_as_string_test(): | CODE |
| LOW⚡ | test/py/explicit_module/EnumSerializationTest.py | 66 | def serialization_deserialization_exception_enum_test(): | CODE |
| LOW | test/crossrunner/report.py | 300 | def _print_unexpected_failure(self): | CODE |
| LOW | test/crossrunner/report.py | 324 | def _print_unexpected_success(self): | CODE |
| LOW | lib/py/test/thrift_TZlibTransport.py | 72 | def test_after_flushd_write_then_read(self): | CODE |
| LOW | lib/py/test/thrift_TZlibTransport.py | 98 | def test_decompressed_size_limit_exceeded(self): | CODE |
| LOW | lib/py/test/thrift_TZlibTransport.py | 115 | def test_decompressed_size_limit_not_exceeded(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 64 | def test_open_with_none_initial_response(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 81 | def test_open_with_bytes_initial_response(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 95 | def test_open_complete_with_challenge(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 108 | def test_open_complete_without_challenge(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 121 | def test_open_bad_status_raises(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 133 | def test_open_incomplete_after_complete_status_raises(self): | CODE |
| LOW | lib/py/test/test_sasl_transport.py | 146 | def test_open_process_raises_during_complete(self): | CODE |
| LOW | lib/py/test/thrift_TBinaryProtocol.py | 356 | def test_skip_rejects_deeply_nested_struct(self): | CODE |
| LOW | lib/py/test/thrift_TBinaryProtocol.py | 364 | def test_skip_accepts_struct_within_depth_limit(self): | CODE |
| LOW⚡ | lib/py/test/test_immutable_exception.py | 147 | def test_immutable_exception_is_hashable(self): | CODE |
| LOW⚡ | lib/py/test/test_immutable_exception.py | 153 | def test_immutable_exception_blocks_modification(self): | CODE |
| LOW⚡ | lib/py/test/test_immutable_exception.py | 160 | def test_immutable_exception_blocks_deletion(self): | CODE |
| LOW⚡ | lib/py/test/test_immutable_exception.py | 167 | def test_immutable_exception_binary_protocol(self): | CODE |
| LOW⚡ | lib/py/test/test_immutable_exception.py | 174 | def test_immutable_exception_compact_protocol(self): | CODE |
| LOW⚡ | lib/py/test/test_immutable_exception.py | 181 | def test_mutable_exception_can_be_modified(self): | CODE |
| LOW | lib/py/test/test_immutable_exception.py | 209 | def test_immutable_exception_binary_accelerated(self): | CODE |
| LOW | lib/py/test/test_immutable_exception.py | 221 | def test_immutable_exception_compact_accelerated(self): | CODE |
| LOW | lib/py/test/test_socket.py | 34 | def test_failed_connection_raises_exception(self): | CODE |
| LOW | lib/py/test/test_socket.py | 44 | def test_socket_readtimeout_exception(self): | CODE |
| LOW | lib/py/test/test_recursion_depth.py | 125 | def test_exception_type_over_limit(self): | CODE |
| LOW | lib/py/test/test_recursion_depth.py | 130 | def test_depth_restored_after_exception(self): | CODE |
| LOW | lib/py/test/test_recursion_depth.py | 192 | def test_write_over_limit_accelerated(self): | CODE |
| LOW | lib/py/test/thrift_json.py | 36 | def test_escaped_unicode_string(self): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 142 | def _assert_connection_failure(self, server, path=None, **client_args): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 162 | def _assert_connection_success(self, server, path=None, **client_args): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 196 | def test_set_cert_reqs_by_validate(self): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 208 | def test_set_validate_by_cert_reqs(self): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 355 | def test_match_hostname_is_from_sslcompat(self): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 363 | def test_match_hostname_rejects_mismatch(self): | CODE |
| LOW⚡ | lib/py/test/thrift_transport.py | 111 | def test_decompression_bomb_blocked(self): | CODE |
| LOW⚡ | lib/py/test/thrift_transport.py | 119 | def test_payload_at_limit_passes(self): | CODE |
| LOW⚡ | lib/py/test/thrift_transport.py | 125 | def test_set_max_decompressed_size_rejects_invalid(self): | CODE |
| LOW | lib/py/test/test_compiler/test_keyword_escape.py | 64 | def test_keyword_escape_compilation(): | CODE |
| LOW | lib/py/src/transport/THeaderTransport.py | 138 | def set_max_decompressed_size(self, size): | CODE |
| LOW | lib/py/src/protocol/TProtocol.py | 54 | def increment_recursion_depth(self): | CODE |
| LOW | lib/py/src/protocol/TProtocol.py | 61 | def decrement_recursion_depth(self): | CODE |
| LOW | …java/org/apache/thrift/THttpClientResponseHandler.java | 13 | public class THttpClientResponseHandler implements HttpClientResponseHandler<InputStream> { | CODE |
| LOW | lib/php/test/Unit/Lib/TMultiplexedProcessorTest.php | 37 | public function testProcessDispatchesToRegisteredService(): void | CODE |
| LOW | lib/php/test/Unit/Lib/TMultiplexedProcessorTest.php | 83 | public function testProcessRejectsUnexpectedMessageType(): void | CODE |
| LOW | lib/php/test/Unit/Lib/TMultiplexedProcessorTest.php | 104 | public function testProcessRequiresServiceSeparator(): void | CODE |
| LOW | lib/php/test/Unit/Lib/TMultiplexedProcessorTest.php | 125 | public function testProcessRequiresKnownServiceName(): void | CODE |
| LOW | lib/php/test/Unit/Lib/StoredMessageProtocolTest.php | 34 | public function testReadMessageBeginReturnsStoredValues(): void | CODE |
| LOW | …php/test/Unit/Lib/Serializer/TBinarySerializerTest.php | 48 | public function testSerializeAndDeserialize($stringVal, $intVal) | CODE |
| LOW | …php/test/Unit/Lib/Serializer/TBinarySerializerTest.php | 66 | public static function serializeDeserializeDataProvider() | CODE |
| LOW | …php/test/Unit/Lib/Serializer/TBinarySerializerTest.php | 102 | public function testDeserializeWithCustomBufferSize() | CODE |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 116 | ## AI generated content ## | COMMENT |
| HIGH | AGENTS.md | 20 | - **Generative AI output**: The [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) | CODE |
| HIGH | lib/rs/README.md | 42 | The Rust library and auto-generated code targets Rust versions 1.28+. | CODE |
| HIGH | lib/rs/README.md | 199 | Previously, enum variants were uppercased in the auto-generated code. | CODE |
| HIGH | lib/rs/README.md | 252 | All library code, test code and auto-generated code compiles and passes clippy | CODE |
| HIGH | lib/rs/README.md | 256 | * `clippy` with default settings does not output any warnings (includes auto-generated code) | COMMENT |
| HIGH | lib/rs/src/errors.rs | 38 | /// 3. `Application`: errors encountered within auto-generated code | COMMENT |
| HIGH | lib/rs/src/errors.rs | 178 | /// Errors encountered within auto-generated code, or when incoming | COMMENT |
| HIGH | lib/rs/src/errors.rs | 563 | /// Information about errors in auto-generated code or in user-implemented | COMMENT |
| HIGH | lib/rs/src/errors.rs | 606 | /// Auto-generated code failed unexpectedly. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/py/TestSocket.py | 40 | except Exception: | CODE |
| LOW | test/py/TestSocket.py | 54 | except Exception: | CODE |
| LOW | test/py/TestSocket.py | 68 | except Exception: | CODE |
| LOW | test/py/RunClientServer.py | 192 | except Exception as exc: | CODE |
| LOW | test/py/TestClient.py | 297 | except Exception as e: | CODE |
| LOW | test/py/TestServer.py | 280 | except Exception: | CODE |
| LOW | test/py/TestServer.py | 374 | except Exception: | CODE |
| LOW | test/crossrunner/run.py | 126 | except Exception: | CODE |
| LOW | test/crossrunner/run.py | 260 | except Exception: | CODE |
| LOW | test/crossrunner/run.py | 265 | except Exception: | CODE |
| LOW | test/crossrunner/report.py | 192 | except Exception as ex: | CODE |
| LOW | test/features/string_limit.py | 73 | except Exception: | CODE |
| LOW | test/features/container_limit.py | 83 | except Exception: | CODE |
| LOW | contrib/zeromq/TZmqServer.py | 41 | except Exception: | CODE |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 62 | except Exception: | CODE |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 72 | except Exception: | CODE |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 83 | except Exception: | CODE |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 94 | except Exception: | CODE |
| MEDIUM | lib/py/setup.py | 151 | print("An error occurred while trying to compile with the C extension enabled") | CODE |
| LOW | lib/py/test/thrift_TCompactProtocol.py | 301 | except Exception as e: | CODE |
| MEDIUM | lib/py/test/thrift_TCompactProtocol.py | 225 | def test_TCompactProtocol_write_read(self): | CODE |
| LOW | lib/py/test/thrift_TBinaryProtocol.py | 295 | except Exception as e: | CODE |
| LOW | lib/py/test/thrift_TBinaryProtocol.py | 335 | except Exception as e: | CODE |
| MEDIUM | lib/py/test/thrift_TBinaryProtocol.py | 208 | def setUp(self): | CODE |
| LOW | lib/py/test/test_sslsocket.py | 84 | except Exception: | CODE |
| LOW | lib/py/test/fuzz/fuzz_common.py | 83 | except Exception: | CODE |
| LOW | lib/py/test/fuzz/fuzz_common.py | 121 | except Exception: | CODE |
| LOW | lib/py/src/TTornado.py | 199 | except Exception: | CODE |
| MEDIUM | lib/py/src/TTornado.py | 60 | def _lock_context(self): | CODE |
| LOW | lib/py/src/transport/TTransport.py | 171 | except Exception as e: | CODE |
| MEDIUM | lib/py/src/transport/TTransport.py | 168 | def write(self, buf): | CODE |
| LOW | lib/py/src/transport/TSSLSocket.py | 300 | except Exception as ex: | CODE |
| LOW | lib/py/src/transport/TSSLSocket.py | 315 | except Exception as ex: | CODE |
| LOW | lib/py/src/transport/TSSLSocket.py | 405 | except Exception: | CODE |
| MEDIUM | lib/py/src/transport/TSSLSocket.py | 275 | def close(self): | CODE |
| LOW | lib/py/src/server/TServer.py | 105 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 132 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 154 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 181 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 204 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 218 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 229 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TServer.py | 298 | except Exception as e: | CODE |
| LOW | lib/py/src/server/TServer.py | 310 | except Exception as x: | CODE |
| MEDIUM | lib/py/src/server/TServer.py | 251 | def try_close(file): | CODE |
| LOW | lib/py/src/server/TProcessPoolServer.py | 72 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TProcessPoolServer.py | 87 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TProcessPoolServer.py | 108 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TProcessPoolServer.py | 119 | except Exception as x: | CODE |
| LOW | lib/py/src/server/TNonblockingServer.py | 61 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/py/TestSyntax.py | 23 | CODE | |
| LOW | test/py/TestSyntax.py | 24 | CODE | |
| LOW | test/py/explicit_module/EnumSerializationTest.py | 22 | CODE | |
| LOW | test/crossrunner/__init__.py | 20 | CODE | |
| LOW | test/crossrunner/__init__.py | 21 | CODE | |
| LOW | test/crossrunner/__init__.py | 21 | CODE | |
| LOW | test/crossrunner/__init__.py | 22 | CODE | |
| LOW | test/crossrunner/__init__.py | 23 | CODE | |
| LOW | test/crossrunner/__init__.py | 23 | CODE | |
| LOW | test/features/util.py | 23 | CODE | |
| LOW | test/features/string_limit.py | 26 | CODE | |
| LOW | test/features/theader_binary.py | 27 | CODE | |
| LOW | test/features/container_limit.py | 26 | CODE | |
| LOW | contrib/async-test/test-leaf.py | 24 | CODE | |
| LOW | contrib/async-test/test-leaf.py | 25 | CODE | |
| LOW | contrib/zeromq/TZmqClient.py | 19 | CODE | |
| LOW | contrib/fb303/py/setup.py | 22 | CODE | |
| LOW | contrib/fb303/py/setup.py | 24 | CODE | |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 26 | CODE | |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 32 | CODE | |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 33 | CODE | |
| LOW | lib/py/test/thrift_TCompactProtocol.py | 20 | CODE | |
| LOW | lib/py/test/thrift_TZlibTransport.py | 24 | CODE | |
| LOW | lib/py/test/thrift_TBinaryProtocol.py | 24 | CODE | |
| LOW | lib/py/test/thrift_TBinaryProtocol.py | 210 | CODE | |
| LOW | lib/py/test/test_immutable_exception.py | 195 | CODE | |
| LOW | lib/py/test/test_socket.py | 26 | CODE | |
| LOW | lib/py/test/test_recursion_depth.py | 32 | CODE | |
| LOW | lib/py/test/test_recursion_depth.py | 142 | CODE | |
| LOW | lib/py/test/thrift_THeaderProtocol.py | 23 | CODE | |
| LOW | lib/py/test/thrift_json.py | 22 | CODE | |
| LOW | lib/py/test/thrift_TNonblockingServer.py | 28 | CODE | |
| LOW | lib/py/test/test_sslsocket.py | 33 | CODE | |
| LOW | lib/py/test/thrift_transport.py | 25 | CODE | |
| LOW | lib/py/test/thrift_TSerializer.py | 29 | CODE | |
| LOW | lib/py/src/transport/sslcompat.py | 69 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tutorial/py.twisted/PythonServer.py | 52 | CODE | |
| LOW | tutorial/py/PythonServer.py | 49 | CODE | |
| LOW | tutorial/py.tornado/PythonServer.py | 50 | CODE | |
| LOW | test/py/RunClientServer.py | 267 | CODE | |
| LOW | test/py/TestClient.py | 458 | CODE | |
| LOW | test/py/TestClient.py | 38 | CODE | |
| LOW | test/py/TestServer.py | 249 | CODE | |
| LOW | test/crossrunner/collect.py | 58 | CODE | |
| LOW | test/crossrunner/collect.py | 85 | CODE | |
| LOW | test/crossrunner/collect.py | 66 | CODE | |
| LOW | test/crossrunner/run.py | 154 | CODE | |
| LOW | test/crossrunner/run.py | 85 | CODE | |
| LOW | test/crossrunner/run.py | 115 | CODE | |
| LOW | test/crossrunner/run.py | 157 | CODE | |
| LOW | test/crossrunner/report.py | 423 | CODE | |
| LOW | contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py | 112 | CODE | |
| LOW | lib/py/test/thrift_TCompactProtocol.py | 38 | CODE | |
| LOW | lib/py/test/thrift_TCompactProtocol.py | 121 | CODE | |
| LOW | lib/py/test/test_socket.py | 62 | CODE | |
| LOW | lib/py/test/fuzz/fuzz_common.py | 26 | CODE | |
| LOW | lib/py/src/TRecursive.py | 28 | CODE | |
| LOW | lib/py/src/TTornado.py | 182 | CODE | |
| LOW | lib/py/src/Thrift.py | 113 | CODE | |
| LOW | lib/py/src/Thrift.py | 139 | CODE | |
| LOW | lib/py/src/transport/TTransport.py | 377 | CODE | |
| LOW | lib/py/src/transport/TTwisted.py | 154 | CODE | |
| LOW | lib/py/src/transport/THttpClient.py | 37 | CODE | |
| LOW | lib/py/src/server/TServer.py | 250 | CODE | |
| LOW | lib/py/src/server/TNonblockingServer.py | 133 | CODE | |
| LOW | lib/py/src/server/TNonblockingServer.py | 322 | CODE | |
| LOW | lib/py/src/server/TNonblockingServer.py | 362 | CODE | |
| LOW | lib/py/src/protocol/TJSONProtocol.py | 272 | CODE | |
| LOW | lib/py/src/protocol/TProtocol.py | 419 | CODE | |
| LOW | lib/py/src/protocol/TProtocol.py | 202 | CODE | |
| LOW | lib/py/src/protocol/TProtocol.py | 336 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/src/main/java/org/apache/thrift/partial/Validate.java | 223 | org.apache.commons.lang3.Validate.isTrue(expression, format, args); | CODE |
| CRITICAL | …/src/main/java/org/apache/thrift/partial/Validate.java | 227 | org.apache.commons.lang3.Validate.validState(expression, format, args); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/fb303/py/fb303_scripts/__init__.py | 20 | __all__ = ['fb303_simple_mgmt'] | CODE |
| LOW | lib/py/src/__init__.py | 20 | __all__ = ['Thrift', 'TSCons'] | CODE |
| LOW | lib/py/src/TTornado.py | 32 | __all__ = ['TTornadoServer', 'TTornadoStreamTransport'] | CODE |
| LOW | lib/py/src/TTornado.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/transport/TSSLSocket.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/transport/__init__.py | 20 | __all__ = ['TTransport', 'TSocket', 'THttpClient', 'TZlibTransport'] | CODE |
| LOW | lib/py/src/transport/TSocket.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/transport/sslcompat.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/server/__init__.py | 20 | __all__ = ['TServer', 'TNonblockingServer'] | CODE |
| LOW | lib/py/src/server/TServer.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/server/TProcessPoolServer.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/server/TNonblockingServer.py | 40 | __all__ = ['TNonblockingServer'] | CODE |
| LOW | lib/py/src/server/TNonblockingServer.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | lib/py/src/protocol/TJSONProtocol.py | 27 | __all__ = ['TJSONProtocol', | CODE |
| LOW | lib/py/src/protocol/__init__.py | 20 | __all__ = ['fastbinary', 'TBase', 'TBinaryProtocol', 'TCompactProtocol', | CODE |
| LOW | lib/py/src/protocol/TCompactProtocol.py | 24 | __all__ = ['TCompactProtocol', 'TCompactProtocolFactory'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tutorial/py/PythonClient.py | 46 | # Create a client to use the protocol encoder | COMMENT |
| MEDIUM | lib/py/test/fuzz/fuzz_common.py | 75 | # Create a memory buffer with the fuzzed data | COMMENT |
| MEDIUM | lib/py/test/fuzz/fuzz_common.py | 105 | # Create a memory buffer with the fuzzed data | COMMENT |
| MEDIUM | lib/rb/spec/header_transport_spec.rb | 222 | # Create a framed binary message | COMMENT |
| MEDIUM | lib/rb/spec/header_transport_spec.rb | 235 | # Create an unframed binary message (version word first) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | contrib/Rebus/ServiceImpl/Both.cs | 31 | // specific containers (one per Thrift service) to leverage Rebus' handler routing | COMMENT |
| MEDIUM | contrib/transport-sample/client/client.cpp | 4 | // Quick n Dirty example, may not have very robust error handling | COMMENT |
| MEDIUM | .github/workflows/build.yml | 555 | # The harness throws and Sys.exit(1)s on a failed assertion, so a failing | COMMENT |
| LOW | lib/py/src/transport/THeaderTransport.py | 175 | # if we've determined this is an unframed client, just pass the read | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/py/test/test_compiler/test_keyword_escape.py | 47 | # Check if we're in the source tree with built compiler | COMMENT |
| LOW | lib/netstd/runfuzzer.sh | 30 | # Check if a fuzzer name and type were provided | COMMENT |
| LOW | lib/rb/lib/thrift/protocol/json_protocol.rb | 290 | # Check if regular character, backslash escaped, or JSON escaped | COMMENT |
| LOW | lib/rb/lib/thrift/protocol/json_protocol.rb | 694 | # Check if we hit the end of the list | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/cpp/src/thrift/transport/TBufferTransports.h | 767 | // Don't forget to update constrctors, initCommon, and swap if | COMMENT |
| LOW | lib/cpp/src/thrift/async/TEvhttpServer.cpp | 75 | // Don't forget to unregister before destorying this TEvhttpServer. | COMMENT |
| MEDIUM | lib/rb/ext/extconf.rb | 36 | # with other gems. To explicitly export symbols you can use RUBY_FUNC_EXPORTED | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/netstd/buildfuzzers.sh | 89 | # Step 1: Generate C# code from FuzzTest.thrift | COMMENT |
| LOW | lib/netstd/buildfuzzers.sh | 103 | # Step 2: Build all fuzzer projects | COMMENT |
| LOW | lib/netstd/buildfuzzers.sh | 131 | # Step 3: Instrument the assemblies | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/netstd/buildfuzzers.sh | 89 | # Step 1: Generate C# code from FuzzTest.thrift | COMMENT |
| LOW | lib/netstd/buildfuzzers.sh | 103 | # Step 2: Build all fuzzer projects | COMMENT |
| LOW | lib/netstd/buildfuzzers.sh | 131 | # Step 3: Instrument the assemblies | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/go/test/tests/header_zlib_test.go | 117 | const text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | lib/go/test/tests/header_zlib_test.go | 117 | const text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | lib/go/thrift/binary_protocol_test.go | 35 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit amet | CODE |
| LOW | lib/go/thrift/binary_protocol_test.go | 35 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit amet | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/audit/thrift_audit_test.pl | 200 | # ----------------------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …td/Tests/Thrift.Tests/Collections/TCollectionsTests.cs | 32 | //TODO: Add tests for IEnumerable with objects and primitive values inside | COMMENT |
| LOW | lib/rb/ext/compact_protocol.c | 67 | // TODO: implement this | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/rb/lib/thrift/protocol/header_protocol.rb | 29 | # Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/py/src/transport/TZlibTransport.py | 203 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/py/src/protocol/TCompactProtocol.py | 38 | def helper(func): | CODE |