AI Slop Code RIsk Monitor

apache/thrift

Apache Thrift

4.6 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for apache/thrift, a C++ project with 10,961 GitHub stars. SynthScan examined 379,325 lines of code across 1960 source files, recording 1507 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 4.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.6
Adjusted Signal
4.6
Raw Pattern Score
100%
Time Factor
2026-10-02
Last Push
11.0K
Stars
C++
Language
379.3K
Lines of Code
2.0K
Files
1.5K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1359 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

Are imports declared and package/API names verified? 55 finding(s).

Agent Over-Engineering Ratio 7.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 451 finding(s).

PR Review Velocity Impact 20.4/100 · LOW

Which changes need focused human review? 1507 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 2HIGH 33MEDIUM 18LOW 1454

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1507 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block927 hits · 912 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWappveyor.yml1#COMMENT
LOWappveyor.yml81 # PROFILE_CLASS: CYGWINCOMMENT
LOWappveyor.yml101# type: zipCOMMENT
LOWbootstrap.sh1#!/bin/shCOMMENT
LOW.travis.yml1#COMMENT
LOW.travis.yml101 - SCRIPT="sca.sh"COMMENT
LOWtutorial/py.twisted/PythonServer.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/py.twisted/PythonClient.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/py/PythonServer.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/py/PythonClient.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/dart/build.sh1#!/bin/shCOMMENT
LOWtutorial/dart/server/pubspec.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/dart/server/bin/main.dart1/// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/dart/console_client/pubspec.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/dart/console_client/bin/main.dart1/// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/dart/client/pubspec.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/dart/client/web/client.dart1/// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/haxe/make_all.sh1#!/bin/shCOMMENT
LOWtutorial/perl/PerlClient.pl1#!/usr/bin/env perlCOMMENT
LOWtutorial/perl/PerlServer.pl1#!/usr/bin/env perlCOMMENT
LOWtutorial/netstd/build.sh1#!/usr/bin/env bashCOMMENT
LOWtutorial/netstd/smoketest.sh1#!/usr/bin/env bashCOMMENT
LOWtutorial/netstd/Server/Program.cs1// Licensed to the Apache Software Foundation(ASF) under oneCOMMENT
LOWtutorial/netstd/Server/Properties/AssemblyInfo.cs1// Licensed to the Apache Software Foundation(ASF) under oneCOMMENT
LOWtutorial/netstd/Client/Program.cs1// Licensed to the Apache Software Foundation(ASF) under oneCOMMENT
LOWtutorial/netstd/Client/Properties/AssemblyInfo.cs1// Licensed to the Apache Software Foundation(ASF) under oneCOMMENT
LOWtutorial/netstd/Interfaces/GlobalSuppressions.cs1// Licensed to the Apache Software Foundation(ASF) under oneCOMMENT
LOWtutorial/netstd/Interfaces/Properties/AssemblyInfo.cs1// Licensed to the Apache Software Foundation(ASF) under oneCOMMENT
LOWtutorial/rs/src/lib.rs1// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/rs/src/bin/tutorial_client.rs1// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/rs/src/bin/tutorial_server.rs1// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtutorial/c_glib/c_glib_server.c21#include <signal.h>COMMENT
LOWtutorial/php/runserver.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/cpp/CppServer.cpp21#include <thrift/concurrency/ThreadFactory.h>COMMENT
LOWtutorial/cpp/CMakeLists.txt1#COMMENT
LOWtutorial/erl/server.sh1#!/bin/shCOMMENT
LOWtutorial/erl/client.sh1#!/bin/shCOMMENT
LOWtutorial/py.tornado/PythonServer.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/py.tornado/PythonClient.py1#!/usr/bin/env pythonCOMMENT
LOWtutorial/rb/RubyClient.rb1#!/usr/bin/env rubyCOMMENT
LOWtutorial/rb/RubyServer.rb1#!/usr/bin/env rubyCOMMENT
LOWtest/test.py1#!/usr/bin/env python3COMMENT
LOWtest/py.twisted/test_suite.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/CMakeLists.txt1#COMMENT
LOWtest/py/TestSocket.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/util.py1#COMMENT
LOWtest/py/TestSyntax.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/TSimpleJSONProtocolTest.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/TestFrozen.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/TestTypes.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/RunClientServer.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/TestRenderedDoubleConstants.py1#COMMENT
LOWtest/py/TestClient.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/SerializationTest.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/FastbinaryTest.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/TestEof.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/TestServer.py1#!/usr/bin/env pythonCOMMENT
LOWtest/py/explicit_module/runtest.sh1#!/bin/bashCOMMENT
LOWtest/py/explicit_module/EnumSerializationTest.py1#!/usr/bin/env pythonCOMMENT
867 more matches not shown…
Hyper-Verbose Identifiers357 hits · 410 pts
SeverityFileLineSnippetContext
LOWtest/py/TestFrozen.py41 def test_dict_is_hashable_only_after_frozen(self):CODE
LOWtest/py/TestFrozen.py47 def test_struct_with_collection_fields(self):CODE
LOWtest/py/TestFrozen.py107 def test_frozen_exception_with_no_fields(self):CODE
LOWtest/py/TestFrozen.py110 def test_frozen_exception_serialization(self):CODE
LOWtest/py/TestRenderedDoubleConstants.py40 def test_rendered_double_constants(self):CODE
LOWtest/py/TestRenderedDoubleConstants.py160 def test_rendered_double_list(self):CODE
LOW⚡test/py/explicit_module/EnumSerializationTest.py39def serialization_deserialization_struct_enum_test():CODE
LOW⚡test/py/explicit_module/EnumSerializationTest.py48def serialization_deserialization_struct_enum_as_string_test():CODE
LOW⚡test/py/explicit_module/EnumSerializationTest.py57def serialization_deserialization_exception_enum_as_string_test():CODE
LOW⚡test/py/explicit_module/EnumSerializationTest.py66def serialization_deserialization_exception_enum_test():CODE
LOWtest/crossrunner/report.py300 def _print_unexpected_failure(self):CODE
LOWtest/crossrunner/report.py324 def _print_unexpected_success(self):CODE
LOW⚡lib/py/test/test_twisted_frame_size.py70 def test_the_server_closes_a_connection_whose_frame_is_over_the_maximum(self):CODE
LOW⚡lib/py/test/test_twisted_frame_size.py76 def test_the_server_waits_for_a_frame_at_the_maximum(self):CODE
LOW⚡lib/py/test/test_twisted_frame_size.py82 def test_the_server_still_receives_an_ordinary_frame(self):CODE
LOW⚡lib/py/test/test_twisted_frame_size.py88 def test_the_client_closes_a_connection_whose_frame_is_over_the_maximum(self):CODE
LOW⚡lib/py/test/test_twisted_frame_size.py94 def test_every_protocol_is_held_to_the_maximum(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py89 def test_the_default_is_exported(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py93 def test_protocols_and_factories_default_to_the_limit(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py103 def test_binary_refuses_a_string_over_the_default_limit(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py108 def test_compact_refuses_a_string_over_the_default_limit(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py115 def test_the_default_limit_is_the_boundary(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py124 def test_an_old_style_message_name_is_bounded(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py130 def test_an_old_style_message_name_honours_an_explicit_limit(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py135 def test_an_explicit_limit_still_applies(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py140 def test_a_string_within_the_limit_still_reads(self):CODE
LOW⚡lib/py/test/test_protocol_string_length_limit.py144 def test_none_still_means_no_limit(self):CODE
LOWlib/py/test/test_protocol_string_length_limit.py169 def test_binary_refuses_a_string_over_the_default_limit(self):CODE
LOWlib/py/test/test_protocol_string_length_limit.py174 def test_compact_refuses_a_string_over_the_default_limit(self):CODE
LOWlib/py/test/test_container_sizing.py146 def test_declared_count_does_not_size_the_allocation(self):CODE
LOWlib/py/test/test_container_sizing.py160 def test_short_payload_still_reports_the_truncation(self):CODE
LOWlib/py/test/test_container_sizing.py167 def test_small_container_still_decodes(self):CODE
LOWlib/py/test/test_container_sizing.py202 def test_immutable_list_is_a_tuple(self):CODE
LOWlib/py/test/test_container_sizing.py208 def test_immutable_set_is_a_frozenset(self):CODE
LOWlib/py/test/test_container_sizing.py274 def test_immutable_list_is_a_tuple(self):CODE
LOWlib/py/test/test_container_sizing.py293 def test_immutable_set_is_a_frozenset(self):CODE
LOWlib/py/test/test_container_sizing.py381 def test_descent_stops_at_the_nesting_limit(self):CODE
LOWlib/py/test/test_container_sizing.py393 def test_each_level_reserves_a_bounded_amount(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py126 def test_an_oversized_negotiation_payload_is_refused(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py136 def test_a_negotiation_payload_within_the_maximum_still_reads(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py145 def test_an_empty_negotiation_payload_still_reads(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py157 def test_an_oversized_data_frame_is_refused(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py166 def test_a_negative_data_frame_length_is_refused(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py175 def test_a_data_frame_within_the_maximum_still_reads(self):CODE
LOW⚡lib/py/test/test_sasl_frame_size.py184 def test_an_empty_data_frame_is_still_accepted(self):CODE
LOWlib/py/test/thrift_TZlibTransport.py119 def test_after_flushd_write_then_read(self):CODE
LOWlib/py/test/thrift_TZlibTransport.py145 def test_decompressed_size_limit_exceeded(self):CODE
LOWlib/py/test/thrift_TZlibTransport.py162 def test_decompressed_size_limit_not_exceeded(self):CODE
LOWlib/py/test/thrift_TZlibTransport.py178 def test_whole_decompressed_size_limit_can_be_read_in_parts(self):CODE
LOWlib/py/test/thrift_TZlibTransport.py189 def test_no_data_is_read_once_the_decompressed_size_limit_is_used_up(self):CODE
LOWlib/py/test/thrift_TZlibTransport.py204 def test_max_decompressed_size_is_validated(self):CODE
LOWlib/py/test/test_sasl_transport.py64 def test_open_with_none_initial_response(self):CODE
LOWlib/py/test/test_sasl_transport.py81 def test_open_with_bytes_initial_response(self):CODE
LOWlib/py/test/test_sasl_transport.py95 def test_open_complete_with_challenge(self):CODE
LOWlib/py/test/test_sasl_transport.py108 def test_open_complete_without_challenge(self):CODE
LOWlib/py/test/test_sasl_transport.py121 def test_open_bad_status_raises(self):CODE
LOWlib/py/test/test_sasl_transport.py133 def test_open_incomplete_after_complete_status_raises(self):CODE
LOWlib/py/test/test_sasl_transport.py146 def test_open_process_raises_during_complete(self):CODE
LOWlib/py/test/thrift_TBinaryProtocol.py356 def test_skip_rejects_deeply_nested_struct(self):CODE
LOWlib/py/test/thrift_TBinaryProtocol.py364 def test_skip_accepts_struct_within_depth_limit(self):CODE
297 more matches not shown…
Empty Error Handlers21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHtest/py.twisted/test_suite.py185except TApplicationException:CODE
HIGHtest/py/RunClientServer.py115except ProcessLookupError:CODE
HIGHtest/py/RunClientServer.py108except PermissionError:CODE
HIGHtest/py/RunClientServer.py230except OSError:CODE
HIGHtest/py/TestClient.py255except TException:CODE
HIGHtest/py/TestServer.py320except Exception:CODE
HIGHtest/py.tornado/test_suite.py217except TApplicationException:CODE
HIGHlib/py/setup.py33except AttributeError:CODE
HIGHlib/py/test/test_container_sizing.py137except Exception:CODE
HIGHlib/py/test/test_sslsocket.py419except Exception:CODE
HIGHlib/py/test/test_sslsocket.py511except Exception:CODE
HIGHlib/py/test/test_sslsocket.py397except Exception:CODE
HIGHlib/py/test/fuzz/fuzz_common.py83except Exception:CODE
HIGHlib/py/test/fuzz/fuzz_common.py121except Exception:CODE
HIGHlib/py/src/transport/TSSLSocket.py290except (ssl.SSLError, socket.error, OSError):CODE
HIGHlib/py/src/server/TServer.py152except TTransport.TTransportException:CODE
HIGHlib/py/src/server/TServer.py202except TTransport.TTransportException:CODE
HIGHlib/py/src/server/TServer.py103except TTransport.TTransportException:CODE
HIGHlib/py/src/server/TServer.py308except TTransport.TTransportException:CODE
HIGHlib/py/src/server/TServer.py296except TTransport.TTransportException:CODE
HIGHlib/py/src/server/TProcessPoolServer.py85except TTransportException:CODE
Synthetic Comment Markers10 hits · 65 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md116## AI generated content ##COMMENT
HIGHAGENTS.md20- **Generative AI output**: The [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) CODE
HIGHlib/rs/README.md59The Rust library and auto-generated code target Rust versions 1.65+. TheCODE
HIGHlib/rs/README.md218 Previously, enum variants were uppercased in the auto-generated code.CODE
HIGHlib/rs/README.md271All library code, test code and auto-generated code compiles and passes clippyCODE
HIGHlib/rs/README.md275* `clippy` with default settings does not output any warnings (includes auto-generated code)COMMENT
HIGHlib/rs/src/errors.rs38/// 3. `Application`: errors encountered within auto-generated codeCOMMENT
HIGHlib/rs/src/errors.rs178 /// Errors encountered within auto-generated code, or when incomingCOMMENT
HIGHlib/rs/src/errors.rs563/// Information about errors in auto-generated code or in user-implementedCOMMENT
HIGHlib/rs/src/errors.rs606 /// Auto-generated code failed unexpectedly.COMMENT
Excessive Try-Catch Wrapping55 hits · 62 pts
SeverityFileLineSnippetContext
LOWtest/py/TestSocket.py40 except Exception:CODE
LOWtest/py/TestSocket.py54 except Exception:CODE
LOWtest/py/TestSocket.py68 except Exception:CODE
LOWtest/py/RunClientServer.py225 except Exception as exc:CODE
LOWtest/py/TestClient.py297 except Exception as e:CODE
LOWtest/py/TestServer.py320 except Exception:CODE
LOWtest/crossrunner/run.py126 except Exception:CODE
LOWtest/crossrunner/run.py260 except Exception:CODE
LOWtest/crossrunner/run.py265 except Exception:CODE
LOWtest/crossrunner/report.py192 except Exception as ex:CODE
LOWtest/features/string_limit.py73 except Exception:CODE
LOWtest/features/container_limit.py83 except Exception:CODE
LOWcontrib/zeromq/TZmqServer.py41 except Exception:CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py62 except Exception:CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py72 except Exception:CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py83 except Exception:CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py94 except Exception:CODE
MEDIUMlib/py/setup.py151 print("An error occurred while trying to compile with the C extension enabled")CODE
LOWlib/py/test/thrift_TCompactProtocol.py301 except Exception as e:CODE
MEDIUMlib/py/test/thrift_TCompactProtocol.py225def test_TCompactProtocol_write_read(self):CODE
LOWlib/py/test/test_container_sizing.py137 except Exception:CODE
LOWlib/py/test/thrift_TZlibTransport.py90 except Exception as e:CODE
LOWlib/py/test/thrift_TBinaryProtocol.py295 except Exception as e:CODE
LOWlib/py/test/thrift_TBinaryProtocol.py335 except Exception as e:CODE
MEDIUMlib/py/test/thrift_TBinaryProtocol.py208def setUp(self):CODE
LOW⚡lib/py/test/test_sslsocket.py419 except Exception:CODE
LOWlib/py/test/test_sslsocket.py85 except Exception:CODE
LOWlib/py/test/test_sslsocket.py397 except Exception:CODE
LOWlib/py/test/test_sslsocket.py506 except Exception:CODE
LOWlib/py/test/test_sslsocket.py511 except Exception:CODE
LOWlib/py/test/fuzz/fuzz_common.py83 except Exception:CODE
LOWlib/py/test/fuzz/fuzz_common.py121 except Exception:CODE
LOWlib/py/src/TTornado.py223 except Exception:CODE
MEDIUMlib/py/src/TTornado.py61def _lock_context(self):CODE
LOWlib/py/src/transport/TTransport.py189 except Exception as e:CODE
MEDIUMlib/py/src/transport/TTransport.py186def write(self, buf):CODE
LOWlib/py/src/transport/TSSLSocket.py311 except Exception as ex:CODE
LOWlib/py/src/transport/TSSLSocket.py334 except Exception as ex:CODE
LOWlib/py/src/transport/TSSLSocket.py438 except Exception:CODE
MEDIUMlib/py/src/transport/TSSLSocket.py286def close(self):CODE
LOWlib/py/src/server/TServer.py105 except Exception as x:CODE
LOWlib/py/src/server/TServer.py132 except Exception as x:CODE
LOWlib/py/src/server/TServer.py154 except Exception as x:CODE
LOWlib/py/src/server/TServer.py181 except Exception as x:CODE
LOWlib/py/src/server/TServer.py204 except Exception as x:CODE
LOWlib/py/src/server/TServer.py218 except Exception as x:CODE
LOWlib/py/src/server/TServer.py229 except Exception as x:CODE
LOWlib/py/src/server/TServer.py298 except Exception as e:CODE
LOWlib/py/src/server/TServer.py310 except Exception as x:CODE
MEDIUMlib/py/src/server/TServer.py251def try_close(file):CODE
LOWlib/py/src/server/TProcessPoolServer.py72 except Exception as x:CODE
LOWlib/py/src/server/TProcessPoolServer.py87 except Exception as x:CODE
LOWlib/py/src/server/TProcessPoolServer.py108 except Exception as x:CODE
LOWlib/py/src/server/TProcessPoolServer.py119 except Exception as x:CODE
LOWlib/py/src/server/TNonblockingServer.py61 except Exception:CODE
Unused Imports47 hits · 46 pts
SeverityFileLineSnippetContext
LOWtest/py/TestSyntax.py23CODE
LOWtest/py/TestSyntax.py24CODE
LOWtest/py/explicit_module/EnumSerializationTest.py22CODE
LOWtest/crossrunner/__init__.py20CODE
LOWtest/crossrunner/__init__.py21CODE
LOWtest/crossrunner/__init__.py21CODE
LOWtest/crossrunner/__init__.py22CODE
LOWtest/crossrunner/__init__.py23CODE
LOWtest/crossrunner/__init__.py23CODE
LOWtest/features/util.py23CODE
LOWtest/features/string_limit.py26CODE
LOWtest/features/theader_binary.py27CODE
LOWtest/features/container_limit.py26CODE
LOWcontrib/async-test/test-leaf.py24CODE
LOWcontrib/async-test/test-leaf.py25CODE
LOWcontrib/zeromq/TZmqClient.py19CODE
LOWcontrib/fb303/py/setup.py22CODE
LOWcontrib/fb303/py/setup.py24CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py26CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py32CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py33CODE
LOWlib/py/test/test_twisted_frame_size.py33CODE
LOWlib/py/test/test_protocol_string_length_limit.py34CODE
LOWlib/py/test/thrift_TCompactProtocol.py20CODE
LOWlib/py/test/test_container_sizing.py35CODE
LOWlib/py/test/test_sasl_frame_size.py37CODE
LOWlib/py/test/thrift_TZlibTransport.py24CODE
LOWlib/py/test/thrift_TBinaryProtocol.py24CODE
LOWlib/py/test/thrift_TBinaryProtocol.py210CODE
LOWlib/py/test/test_immutable_exception.py195CODE
LOWlib/py/test/test_socket.py26CODE
LOWlib/py/test/test_http_server_content_length.py35CODE
LOWlib/py/test/test_recursion_depth.py34CODE
LOWlib/py/test/test_recursion_depth.py166CODE
LOWlib/py/test/test_recursion_depth.py388CODE
LOWlib/py/test/thrift_THeaderProtocol.py23CODE
LOWlib/py/test/test_http_server_body_size.py35CODE
LOWlib/py/test/thrift_json.py22CODE
LOWlib/py/test/thrift_TNonblockingServer.py28CODE
LOWlib/py/test/test_nonblocking_server_select_progress.py38CODE
LOWlib/py/test/test_sslsocket.py34CODE
LOWlib/py/test/test_nonblocking_server_read_buffer.py31CODE
LOWlib/py/test/test_framed_frame_size.py36CODE
LOWlib/py/test/thrift_transport.py25CODE
LOWlib/py/test/test_nonblocking_server_frame_size.py34CODE
LOWlib/py/test/test_tornado_frame_size.py34CODE
LOWlib/py/test/thrift_TSerializer.py29CODE
Deep Nesting38 hits · 38 pts
SeverityFileLineSnippetContext
LOWtutorial/py.twisted/PythonServer.py52CODE
LOWtutorial/py/PythonServer.py49CODE
LOWtutorial/py.tornado/PythonServer.py50CODE
LOWtest/py/RunClientServer.py148CODE
LOWtest/py/RunClientServer.py289CODE
LOWtest/py/TestClient.py458CODE
LOWtest/py/TestClient.py38CODE
LOWtest/crossrunner/collect.py58CODE
LOWtest/crossrunner/collect.py85CODE
LOWtest/crossrunner/collect.py66CODE
LOWtest/crossrunner/run.py154CODE
LOWtest/crossrunner/run.py85CODE
LOWtest/crossrunner/run.py115CODE
LOWtest/crossrunner/run.py157CODE
LOWtest/crossrunner/report.py423CODE
LOWcontrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py112CODE
LOWlib/py/test/thrift_TCompactProtocol.py38CODE
LOWlib/py/test/thrift_TCompactProtocol.py121CODE
LOWlib/py/test/test_container_sizing.py146CODE
LOWlib/py/test/test_container_sizing.py381CODE
LOWlib/py/test/test_socket.py62CODE
LOWlib/py/test/test_compiler/test_keyword_escape.py66CODE
LOWlib/py/test/fuzz/fuzz_common.py26CODE
LOWlib/py/src/TRecursive.py28CODE
LOWlib/py/src/TTornado.py205CODE
LOWlib/py/src/Thrift.py113CODE
LOWlib/py/src/Thrift.py139CODE
LOWlib/py/src/transport/TTransport.py422CODE
LOWlib/py/src/transport/TTwisted.py154CODE
LOWlib/py/src/transport/THttpClient.py37CODE
LOWlib/py/src/server/TServer.py250CODE
LOWlib/py/src/server/TNonblockingServer.py135CODE
LOWlib/py/src/server/TNonblockingServer.py338CODE
LOWlib/py/src/server/TNonblockingServer.py378CODE
LOWlib/py/src/protocol/TJSONProtocol.py279CODE
LOWlib/py/src/protocol/TProtocol.py436CODE
LOWlib/py/src/protocol/TProtocol.py209CODE
LOWlib/py/src/protocol/TProtocol.py343CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…/src/main/java/org/apache/thrift/partial/Validate.java223 org.apache.commons.lang3.Validate.isTrue(expression, format, args);CODE
CRITICAL…/src/main/java/org/apache/thrift/partial/Validate.java227 org.apache.commons.lang3.Validate.validState(expression, format, args);CODE
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWcontrib/fb303/py/fb303_scripts/__init__.py20__all__ = ['fb303_simple_mgmt']CODE
LOWlib/py/src/__init__.py20__all__ = ['Thrift', 'TSCons']CODE
LOWlib/py/src/TTornado.py33__all__ = ['TTornadoServer', 'TTornadoStreamTransport']CODE
LOWlib/py/src/TTornado.py35logger = logging.getLogger(__name__)CODE
LOWlib/py/src/transport/TSSLSocket.py32logger = logging.getLogger(__name__)CODE
LOWlib/py/src/transport/__init__.py20__all__ = ['TTransport', 'TSocket', 'THttpClient', 'TZlibTransport']CODE
LOWlib/py/src/transport/TSocket.py29logger = logging.getLogger(__name__)CODE
LOWlib/py/src/transport/sslcompat.py25logger = logging.getLogger(__name__)CODE
LOWlib/py/src/server/__init__.py20__all__ = ['TServer', 'TNonblockingServer']CODE
LOWlib/py/src/server/TServer.py29logger = logging.getLogger(__name__)CODE
LOWlib/py/src/server/TProcessPoolServer.py28logger = logging.getLogger(__name__)CODE
LOWlib/py/src/server/TNonblockingServer.py40__all__ = ['TNonblockingServer']CODE
LOWlib/py/src/server/TNonblockingServer.py42logger = logging.getLogger(__name__)CODE
LOWlib/py/src/protocol/TJSONProtocol.py28__all__ = ['TJSONProtocol',CODE
LOWlib/py/src/protocol/__init__.py20__all__ = ['fastbinary', 'TBase', 'TBinaryProtocol', 'TCompactProtocol',CODE
LOWlib/py/src/protocol/TCompactProtocol.py25__all__ = ['TCompactProtocol', 'TCompactProtocolFactory']CODE
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtutorial/py/PythonClient.py46 # Create a client to use the protocol encoderCOMMENT
MEDIUMlib/py/test/fuzz/fuzz_common.py75 # Create a memory buffer with the fuzzed dataCOMMENT
MEDIUMlib/py/test/fuzz/fuzz_common.py105 # Create a memory buffer with the fuzzed dataCOMMENT
MEDIUMlib/rb/spec/header_transport_spec.rb526 # Create a framed binary messageCOMMENT
MEDIUMlib/rb/spec/header_transport_spec.rb539 # Create an unframed binary message (version word first)COMMENT
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH⚡compiler/cpp/test/compiler/exception_doc_test.py59 self.assertIn("second line uses a < b && c > d", content)CODE
HIGH⚡compiler/cpp/test/compiler/exception_doc_test.py69 self.assertIn("second line uses a < b && c > d", content)CODE
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/Rebus/ServiceImpl/Both.cs31 // specific containers (one per Thrift service) to leverage Rebus' handler routingCOMMENT
MEDIUMcontrib/transport-sample/client/client.cpp4// Quick n Dirty example, may not have very robust error handlingCOMMENT
MEDIUM.github/workflows/build.yml468 # lib/javame has no build harness -- no Makefile.am, no configure.acCOMMENT
MEDIUM.github/workflows/build.yml648 # The harness throws and Sys.exit(1)s on a failed assertion, so a failingCOMMENT
LOWlib/py/src/transport/THeaderTransport.py179 # if we've determined this is an unframed client, just pass the readCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWlib/py/test/test_compiler/test_keyword_escape.py49 # Check if we're in the source tree with built compilerCOMMENT
LOWlib/netstd/runfuzzer.sh30# Check if a fuzzer name and type were providedCOMMENT
LOWlib/rb/lib/thrift/protocol/json_protocol.rb277 # Check if regular character, backslash escaped, or JSON escapedCOMMENT
LOWlib/rb/lib/thrift/protocol/json_protocol.rb694 # Check if we hit the end of the listCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
LOWlib/cpp/src/thrift/transport/TBufferTransports.h811 // Don't forget to update constrctors, initCommon, and swap ifCOMMENT
LOWlib/cpp/src/thrift/async/TEvhttpServer.cpp75 // Don't forget to unregister before destorying this TEvhttpServer.COMMENT
MEDIUMlib/rb/ext/extconf.rb36 # with other gems. To explicitly export symbols you can use RUBY_FUNC_EXPORTEDCOMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWlib/netstd/buildfuzzers.sh89# Step 1: Generate C# code from FuzzTest.thriftCOMMENT
LOWlib/netstd/buildfuzzers.sh103# Step 2: Build all fuzzer projectsCOMMENT
LOWlib/netstd/buildfuzzers.sh131# Step 3: Instrument the assembliesCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWlib/netstd/buildfuzzers.sh89# Step 1: Generate C# code from FuzzTest.thriftCOMMENT
LOWlib/netstd/buildfuzzers.sh103# Step 2: Build all fuzzer projectsCOMMENT
LOWlib/netstd/buildfuzzers.sh131# Step 3: Instrument the assembliesCOMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWlib/go/test/tests/header_zlib_test.go117 const text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doCODE
LOWlib/go/test/tests/header_zlib_test.go117 const text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doCODE
LOWlib/go/thrift/binary_protocol_test.go37Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit ametCODE
LOWlib/go/thrift/binary_protocol_test.go37Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit ametCODE
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtest/audit/thrift_audit_test.pl258# -----------------------------------------------------------------------------------------------------COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…td/Tests/Thrift.Tests/Collections/TCollectionsTests.cs32 //TODO: Add tests for IEnumerable with objects and primitive values insideCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlib/rb/lib/thrift/protocol/header_protocol.rb29 # Example usage:COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/py/src/transport/TZlibTransport.py206CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/py/src/protocol/TCompactProtocol.py39 def helper(func):CODE