Repository Analysis

apache/trafficserver

Apache Traffic Server™ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.

7.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of apache/trafficserver, a C++ project with 1,965 GitHub stars. SynthScan v2.0 examined 740,210 lines of code across 3379 source files, recording 4124 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 7.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).

7.4
Adjusted Score
7.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.0K
Stars
C++
Language
740.2K
Lines of Code
3.4K
Files
4.1K
Pattern Hits
2026-07-14
Scan Date
0.08
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 1HIGH 278MEDIUM 249LOW 3596

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 4124 distinct pattern matches across 19 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.

Over-Commented Block2875 hits · 2729 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#######################COMMENT
LOWCMakeLists.txt361 add_link_options(-g -fsanitize=thread)COMMENT
LOWsetup.cfg1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtools/compare_servers.pl1#!/usr/bin/perlCOMMENT
LOWtools/freelist_diff.pl1#!/usr/bin/env perlCOMMENT
LOWtools/compare_records.pl1#!/usr/bin/perlCOMMENT
LOWtools/compare_records.pl21# It provides a list of common configs/metrics and their default value changes.COMMENT
LOWtools/cmake-format.sh1#! /usr/bin/env bashCOMMENT
LOWtools/build_h3_tools.sh1#!/usr/bin/env bashCOMMENT
LOWtools/slow_log_report.pl1#!/usr/bin/perlCOMMENT
LOWtools/build_boringssl_h3_tools.sh1#!/usr/bin/env bashCOMMENT
LOWtools/yapf.sh1#! /usr/bin/env bashCOMMENT
LOWtools/sni_lua_to_yaml.pl1#!/usr/bin/perlCOMMENT
LOWtools/clang-format.sh1#! /usr/bin/env bashCOMMENT
LOWtools/build_openssl_h3_tools.sh1#!/usr/bin/env bashCOMMENT
LOWtools/whitespace-format.sh1#!/usr/bin/env bashCOMMENT
LOWtools/gdb-helpers.py1#COMMENT
LOWtools/gdb-helpers.py21# In a .gdbinit file or from the gdb command prompt:COMMENT
LOWtools/traffic_cacheable.pl1#!/usr/bin/perlCOMMENT
LOWtools/install_cmake.sh1#! /usr/bin/env bashCOMMENT
LOWtools/gdb_mutex_contention.pl1#!/usr/bin/perlCOMMENT
LOWtools/benchmark/CMakeLists.txt1#######################COMMENT
LOWtools/http_load/port.h21** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)COMMENT
LOWtools/http_load/port.h41#define ARCH "Linux"COMMENT
LOWtools/http_load/port.h61#if (__FreeBSD_version >= 411000)COMMENT
LOWtools/http_load/port.h81#define HAVE_DAEMONCOMMENT
LOWtools/http_load/http_load.c21** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)COMMENT
LOWtools/http_load/http_load.c41#include <netinet/in.h>COMMENT
LOWtools/http_load/merge_stats.pl1#!/usr/bin/perlCOMMENT
LOWtools/records/convert2yaml.py1#!/usr/bin/env python3COMMENT
LOWtools/cripts/genconfig.py1#!/usr/bin/env python3COMMENT
LOWtools/cripts/compiler.sh1#!/bin/shCOMMENT
LOWtools/traffic_via/traffic_via.pl1#!/usr/bin/env perlCOMMENT
LOWtools/traffic_via/traffic_via.pl21# @File traffic_via.plCOMMENT
LOWtools/ebpf/trylock-stats/trylock-stats.py1#!/usr/bin/env pythonCOMMENT
LOWtools/traffic_grapher/pyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtools/traffic_grapher/traffic_grapher.py1#!/usr/bin/env python3COMMENT
LOWtools/hrw4u/pyproject.toml1#COMMENT
LOWtools/hrw4u/bootstrap.sh1#!/usr/bin/env bashCOMMENT
LOWtools/hrw4u/tests/test_procedures.py1#COMMENT
LOWtools/hrw4u/tests/test_common.py1#COMMENT
LOWtools/hrw4u/tests/test_coverage.py1#COMMENT
LOWtools/hrw4u/tests/test_ops_reverse.py1#COMMENT
LOWtools/hrw4u/tests/test_tables.py1#COMMENT
LOWtools/hrw4u/tests/test_vars.py1#COMMENT
LOWtools/hrw4u/tests/test_errors.py1#COMMENT
LOWtools/hrw4u/tests/test_ast_visitor.py1#COMMENT
LOWtools/hrw4u/tests/test_ast_nodes.py1#COMMENT
LOWtools/hrw4u/tests/test_vars_reverse.py1#COMMENT
LOWtools/hrw4u/tests/test_bulk.py1#COMMENT
LOWtools/hrw4u/tests/test_examples_reverse.py1#COMMENT
LOWtools/hrw4u/tests/test_conds.py1#COMMENT
LOWtools/hrw4u/tests/test_hooks.py1#COMMENT
LOWtools/hrw4u/tests/test_hooks_reverse.py1#COMMENT
LOWtools/hrw4u/tests/utils.py1#COMMENT
LOWtools/hrw4u/tests/test_units.py1#COMMENT
LOWtools/hrw4u/tests/test_conds_reverse.py1#COMMENT
LOWtools/hrw4u/tests/lsp_asserts.py1#COMMENT
LOWtools/hrw4u/tests/test_sandbox.py1#COMMENT
LOWtools/hrw4u/tests/test_ops.py1#COMMENT
2815 more matches not shown…
Cross-File Repetition258 hits · 1290 pts
SeverityFileLineSnippetContext
HIGHtests/gold_tests/pipeline/pipeline_server.py0create a listening socket. :param address: the address to listen on. :param port: the port to listen on. :returns: a lisSTRING
HIGHtests/gold_tests/slow_post/quick_server.py0create a listening socket. :param address: the address to listen on. :param port: the port to listen on. :returns: a lisSTRING
HIGHtests/gold_tests/early_hints/early_hints_server.py0create a listening socket. :param address: the address to listen on. :param port: the port to listen on. :returns: a lisSTRING
HIGHtests/gold_tests/pipeline/pipeline_server.py0accept a connection. :param sock: the socket to accept a connection on. :returns: the accepted socket.STRING
HIGHtests/gold_tests/slow_post/quick_server.py0accept a connection. :param sock: the socket to accept a connection on. :returns: the accepted socket.STRING
HIGHtests/gold_tests/early_hints/early_hints_server.py0accept a connection. :param sock: the socket to accept a connection on. :returns: the accepted socket.STRING
HIGHtests/gold_tests/pipeline/pipeline_client.py0open a connection to the desired host. :param address: the address of the host to connect to. :param port: the port of tSTRING
HIGHtests/gold_tests/post/expect_client.py0open a connection to the desired host. :param address: the address of the host to connect to. :param port: the port of tSTRING
HIGHtests/gold_tests/slow_post/slow_post_client.py0open a connection to the desired host. :param address: the address of the host to connect to. :param port: the port of tSTRING
HIGH…ts/gold_tests/remap/remap_load_missing_success.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGHtests/gold_tests/remap/remap_load_empty_failure.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGHtests/gold_tests/remap/regex_map.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGHtests/gold_tests/remap/remap_load_empty_success.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGH…ts/gold_tests/remap/remap_load_missing_failure.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGHtests/gold_tests/remap/map_with_recv_port.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGH…/gold_tests/remap_yaml/map_with_recv_port_yaml.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGHtests/gold_tests/remap_yaml/regex_map_yaml.test.py0verify correct behavior of regex_map in remap.config.STRING
HIGHtests/gold_tests/remap/remap_ws.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/remap/remap_https.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/post/post-continue.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/post/post-early-return.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_close_connection.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_flow_control.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2disable.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2origin.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2enable.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_write_threshold.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2enable_no_accept_threads.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2disable_no_accept_threads.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2origin_single_thread.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_empty_data_frame.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/nghttp.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_rst_stream.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_concurrent_streams.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/httpbin.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2spec.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2get_with_body.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/http2_priority.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/grpc/grpc.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/cache/background_fill.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…s/gold_tests/post_slow_server/post_slow_server.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…inTest/server_push_preload/server_push_preload.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…old_tests/pluginTest/txn_box/prod/txn_box_mTLS.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…ts/pluginTest/txn_box/remap/txn_box_remap-base.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…ests/pluginTest/txn_box/basic/txn_box_tls-cert.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…old_tests/pluginTest/txn_box/basic/txn_box_tls.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…old_tests/pluginTest/txn_box/ramp/multi_ramp_common.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…pluginTest/txn_box/ct_header/txn_box_ct_header.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…old_tests/pluginTest/healthchecks/healthchecks.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…/gold_tests/pluginTest/multiplexer/multiplexer.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…sts/pluginTest/ja3_fingerprint/ja3_fingerprint.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…gold_tests/pluginTest/tsapi/test_TSHttpSsnInfo.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/pluginTest/tsapi/tsapi.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…gold_tests/pluginTest/tsapi/test_TSVConnPPInfo.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/pluginTest/url_sig/url_sig.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/pluginTest/certifier/certifier.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…ts/gold_tests/pluginTest/sslheaders/sslheaders.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…ts/gold_tests/pluginTest/test_hooks/test_hooks.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
198 more matches not shown…
Decorative Section Separators170 hits · 463 pts
SeverityFileLineSnippetContext
MEDIUMtools/compare_servers.pl30#----------------------------------------------------------------------------COMMENT
MEDIUMtools/compare_servers.pl43#----------------------------------------------------------------------------COMMENT
MEDIUMtools/compare_servers.pl75#----------------------------------------------------------------------------COMMENT
MEDIUMtools/compare_servers.pl128#----------------------------------------------------------------------------COMMENT
MEDIUMtools/traffic_cacheable.pl61#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/traffic_cacheable.pl86#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/traffic_cacheable.pl94#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py75# =============================================================================COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py77# =============================================================================COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py332# =============================================================================COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py334# =============================================================================COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py535# =============================================================================COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py537# =============================================================================COMMENT
MEDIUMtools/traffic_grapher/traffic_grapher.py935# =============================================================================STRING
MEDIUMtools/traffic_grapher/traffic_grapher.py937# =============================================================================STRING
MEDIUMtools/traffic_grapher/traffic_grapher.py1559# =============================================================================STRING
MEDIUMtools/traffic_grapher/traffic_grapher.py1561# =============================================================================STRING
MEDIUMtools/traffic_grapher/traffic_grapher.py1573# =============================================================================STRING
MEDIUMtools/traffic_grapher/traffic_grapher.py1575# =============================================================================STRING
MEDIUMtools/hrw4u/tests/test_common.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_common.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_common.py197# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_common.py199# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_lsp.py670# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_lsp.py672# ---------------------------------------------------------------------------COMMENT
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py71# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py79# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py99# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py101# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py127# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py132# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py154# ---------------------------------------------------------------------------STRING
MEDIUM…/gold_tests/records/records_runroot_precedence.test.py156# ---------------------------------------------------------------------------STRING
MEDIUM…_tests/cache/replay/cache-heuristic-status.replay.yaml70 # =====================================================================COMMENT
MEDIUM…_tests/cache/replay/cache-heuristic-status.replay.yaml77 # =====================================================================COMMENT
MEDIUM…_tests/cache/replay/cache-heuristic-status.replay.yaml347 # =====================================================================COMMENT
MEDIUM…_tests/cache/replay/cache-heuristic-status.replay.yaml353 # =====================================================================COMMENT
MEDIUM…old_tests/cache/replay/varied_transactions.replay.yaml18# -------------COMMENT
MEDIUM…old_tests/cache/replay/varied_transactions.replay.yaml20# -------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py119 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py121 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py162 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py164 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py315# ======================================================================COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py317# ======================================================================COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py380# ======================================================================COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py382# ======================================================================COMMENT
MEDIUM…nTest/header_rewrite/header_rewrite_bundle.replay.yaml1208# ==========================================================================COMMENT
MEDIUM…nTest/header_rewrite/header_rewrite_bundle.replay.yaml1210# ==========================================================================COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml23 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml25 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml56 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml58 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml89 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml91 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml124 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml126 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml165 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml167 #---------------------------------------------------------------------------COMMENT
MEDIUM…luginTest/transform/transaction-with-body.replays.yaml195 #---------------------------------------------------------------------------COMMENT
110 more matches not shown…
Hyper-Verbose Identifiers341 hits · 342 pts
SeverityFileLineSnippetContext
LOWtools/gdb-helpers.py47 def event_value_to_description(event_num: int) -> str:CODE
LOWtools/records/convert2yaml.py225def make_tmp_file_with_renamed_fields(file):CODE
LOWtools/traffic_grapher/traffic_grapher.py455def get_figure_size_for_terminal() -> Tuple[float, float]:CODE
LOWtools/traffic_grapher/traffic_grapher.py599def get_socket_via_traffic_ctl(tc):CODE
LOWtools/hrw4u/tests/test_common.py103 def test_valid_input_with_error_collection(self):CODE
LOWtools/hrw4u/tests/test_common.py110 def test_valid_input_without_error_collection(self):CODE
LOWtools/hrw4u/tests/test_common.py116 def test_invalid_input_collects_errors(self):CODE
LOWtools/hrw4u/tests/test_common.py142 def test_ast_mode_with_parse_errors(self, capsys):CODE
LOWtools/hrw4u/tests/test_common.py150 def test_error_collector_summary_on_errors(self, capsys):CODE
LOWtools/hrw4u/tests/test_common.py158 def test_ast_mode_tree_none_with_errors(self, capsys):CODE
LOWtools/hrw4u/tests/test_common.py167 def test_error_collector_exits_on_parse_failure(self, capsys):CODE
LOWtools/hrw4u/tests/test_common.py176 def test_visitor_exception_collected(self, capsys):CODE
LOWtools/hrw4u/tests/test_common.py217 def test_single_file_to_stdout(self, monkeypatch, capsys, tmp_path):CODE
LOWtools/hrw4u/tests/test_common.py223 def test_multiple_files_with_separator(self, monkeypatch, capsys, tmp_path):CODE
LOWtools/hrw4u/tests/test_common.py233 def test_bulk_input_output_pairs(self, monkeypatch, capsys, tmp_path):CODE
LOWtools/hrw4u/tests/test_common.py241 def test_bulk_nonexistent_input(self, monkeypatch, capsys, tmp_path):CODE
LOWtools/hrw4u/tests/test_common.py61 def test_returns_parser_and_group(self):CODE
LOWtools/hrw4u/tests/test_common.py66 def test_parser_has_expected_arguments(self):CODE
LOWtools/hrw4u/tests/test_common.py84 def test_stdin_returns_default_filename(self):CODE
LOWtools/hrw4u/tests/test_common.py91 def test_file_input_returns_real_filename(self, tmp_path):CODE
LOWtools/hrw4u/tests/test_coverage.py39 def test_policy_sets_non_dict(self):CODE
LOWtools/hrw4u/tests/test_coverage.py43 def test_policy_sets_unknown_key(self):CODE
LOWtools/hrw4u/tests/test_coverage.py47 def test_policy_sets_unknown_language(self):CODE
LOWtools/hrw4u/tests/test_coverage.py51 def test_policy_sets_unknown_modifier(self):CODE
LOWtools/hrw4u/tests/test_coverage.py55 def test_policy_sets_is_active(self):CODE
LOWtools/hrw4u/tests/test_coverage.py61 def test_sandbox_config_is_active(self):CODE
LOWtools/hrw4u/tests/test_coverage.py67 def test_sandbox_load_non_dict_sandbox(self, tmp_path):CODE
LOWtools/hrw4u/tests/test_coverage.py73 def test_sandbox_load_non_dict_deny(self, tmp_path):CODE
LOWtools/hrw4u/tests/test_coverage.py79 def test_sandbox_load_non_dict_warn(self, tmp_path):CODE
LOWtools/hrw4u/tests/test_coverage.py85 def test_sandbox_load_missing_key(self, tmp_path):CODE
LOWtools/hrw4u/tests/test_coverage.py91 def test_sandbox_load_deny_warn_overlap(self, tmp_path):CODE
LOWtools/hrw4u/tests/test_coverage.py107 def test_increment_decrement_cond_indent(self):CODE
LOWtools/hrw4u/tests/test_coverage.py117 def test_emit_line_and_emit_statement(self):CODE
LOWtools/hrw4u/tests/test_coverage.py123 def test_debug_enter_with_args(self):CODE
LOWtools/hrw4u/tests/test_coverage.py132 def test_normalize_empty_string_condition(self):CODE
LOWtools/hrw4u/tests/test_coverage.py138 def test_build_condition_connector(self):CODE
LOWtools/hrw4u/tests/test_coverage.py148 def test_reconstruct_redirect_args(self):CODE
LOWtools/hrw4u/tests/test_coverage.py157 def test_intern_keyword_known(self):CODE
LOWtools/hrw4u/tests/test_coverage.py161 def test_intern_keyword_unknown(self):CODE
LOWtools/hrw4u/tests/test_coverage.py177 def test_resolve_assignment_unknown_symbol(self):CODE
LOWtools/hrw4u/tests/test_coverage.py182 def test_resolve_add_assignment_unsupported(self):CODE
LOWtools/hrw4u/tests/test_coverage.py187 def test_resolve_function_unknown(self):CODE
LOWtools/hrw4u/tests/test_coverage.py192 def test_resolve_statement_func_unknown(self):CODE
LOWtools/hrw4u/tests/test_coverage.py197 def test_get_variable_suggestions(self):CODE
LOWtools/hrw4u/tests/test_coverage.py206 def test_syntax_error_collected(self):CODE
LOWtools/hrw4u/tests/test_coverage.py294 def test_negate_function_call(self):CODE
LOWtools/hrw4u/tests/test_coverage.py303 def test_negate_complex_expression(self):CODE
LOWtools/hrw4u/tests/test_coverage.py308 def test_convert_set_parens_to_brackets(self):CODE
LOWtools/hrw4u/tests/test_coverage.py312 def test_convert_set_already_brackets(self):CODE
LOWtools/hrw4u/tests/test_coverage.py324 def test_format_iprange_invalid(self):CODE
LOWtools/hrw4u/tests/test_coverage.py328 def test_handle_state_tag_unknown_type(self):CODE
LOWtools/hrw4u/tests/test_coverage.py333 def test_handle_state_tag_invalid_index(self):CODE
LOWtools/hrw4u/tests/test_coverage.py338 def test_handle_state_tag_missing_payload(self):CODE
LOWtools/hrw4u/tests/test_coverage.py343 def test_handle_ip_tag_unknown(self):CODE
LOWtools/hrw4u/tests/test_coverage.py348 def test_rewrite_inline_booleans(self):CODE
LOWtools/hrw4u/tests/test_coverage.py353 def test_rewrite_inline_numeric(self):CODE
LOWtools/hrw4u/tests/test_coverage.py357 def test_rewrite_inline_percent_block(self):CODE
LOWtools/hrw4u/tests/test_coverage.py362 def test_rewrite_inline_fallback_quoted(self):CODE
LOWtools/hrw4u/tests/test_coverage.py367 def test_get_var_declarations_empty(self):CODE
LOWtools/hrw4u/tests/test_coverage.py371 def test_get_var_declarations_after_state_tag(self):CODE
281 more matches not shown…
Unused Imports158 hits · 156 pts
SeverityFileLineSnippetContext
LOWtools/gdb-helpers.py37CODE
LOWtools/records/convert2yaml.py29CODE
LOWtools/records/convert2yaml.py32CODE
LOWtools/records/convert2yaml.py33CODE
LOWtools/records/convert2yaml.py36CODE
LOWtools/ebpf/trylock-stats/trylock-stats.py23CODE
LOWtools/ebpf/trylock-stats/trylock-stats.py25CODE
LOWtools/traffic_grapher/traffic_grapher.py57CODE
LOWtools/hrw4u/tests/test_procedures.py17CODE
LOWtools/hrw4u/tests/test_common.py24CODE
LOWtools/hrw4u/tests/test_ops_reverse.py17CODE
LOWtools/hrw4u/tests/test_tables.py18CODE
LOWtools/hrw4u/tests/test_vars.py17CODE
LOWtools/hrw4u/tests/test_ast_visitor.py18CODE
LOWtools/hrw4u/tests/test_vars_reverse.py17CODE
LOWtools/hrw4u/tests/test_bulk.py17CODE
LOWtools/hrw4u/tests/test_examples_reverse.py17CODE
LOWtools/hrw4u/tests/test_conds.py17CODE
LOWtools/hrw4u/tests/test_hooks.py17CODE
LOWtools/hrw4u/tests/test_hooks_reverse.py17CODE
LOWtools/hrw4u/tests/utils.py17CODE
LOWtools/hrw4u/tests/test_conds_reverse.py17CODE
LOWtools/hrw4u/tests/lsp_asserts.py19CODE
LOWtools/hrw4u/tests/test_sandbox.py17CODE
LOWtools/hrw4u/tests/test_ops.py17CODE
LOWtools/hrw4u/tests/test_lsp.py19CODE
LOWtools/hrw4u/tests/test_cli.py17CODE
LOWtools/hrw4u/tests/test_cli.py22CODE
LOWtools/hrw4u/tests/test_examples.py17CODE
LOWtools/hrw4u/tests/test_debug_mode.py25CODE
LOWtools/hrw4u/scripts/testcase.py19CODE
LOWtools/hrw4u/scripts/testcase.py24CODE
LOWtools/hrw4u/src/ast_visitor.py18CODE
LOWtools/hrw4u/src/ast_visitor.py21CODE
LOWtools/hrw4u/src/kg_visitor.py18CODE
LOWtools/hrw4u/src/suggestions.py18CODE
LOWtools/hrw4u/src/suggestions.py20CODE
LOWtools/hrw4u/src/formatters.py24CODE
LOWtools/hrw4u/src/formatters.py31CODE
LOWtools/hrw4u/src/formatters.py31CODE
LOWtools/hrw4u/src/interning.py19CODE
LOWtools/hrw4u/src/types.py18CODE
LOWtools/hrw4u/src/debugging.py18CODE
LOWtools/hrw4u/src/generators.py25CODE
LOWtools/hrw4u/src/sandbox.py19CODE
LOWtools/hrw4u/src/symbols.py17CODE
LOWtools/hrw4u/src/visitor.py18CODE
LOWtools/hrw4u/src/common.py19CODE
LOWtools/hrw4u/src/visitor_base.py17CODE
LOWtools/hrw4u/src/tables.py18CODE
LOWtools/hrw4u/src/errors.py18CODE
LOWtools/hrw4u/src/errors.py27CODE
LOWtools/hrw4u/src/procedures.py21CODE
LOWtools/hrw4u/src/states.py18CODE
LOWtools/hrw4u/src/states.py21CODE
LOWtools/hrw4u/src/symbols_base.py18CODE
LOWtools/hrw4u/src/hrw_visitor.py17CODE
LOWtools/hrw4u/src/hrw_symbols.py18CODE
LOWtools/hrw4u/src/hrw_symbols.py19CODE
LOWtools/hrw4u/src/ast_nodes.py18CODE
98 more matches not shown…
Cross-Language Confusion19 hits · 98 pts
SeverityFileLineSnippetContext
HIGHtools/hrw4u/tests/test_coverage.py305 result = r.negate_expression("a && b")CODE
HIGHtools/hrw4u/tests/test_coverage.py306 assert result == "!(a && b)"CODE
HIGHtools/hrw4u/tests/test_ast_visitor.py354 ' if !inbound.resp.All-Cache && inbound.req.X-B == "b" {\n'CODE
HIGHtools/hrw4u/tests/test_ast_visitor.py634 if bool_0 || (bool_1 && bool_2) {CODE
HIGHtools/hrw4u/src/lsp/documentation.py927 examples=["if random(100) < 10 {\n // 10% sampling rate\n}", "random(1000) > 500 && inbound.method == \"GCODE
HIGHtools/hrw4u/src/lsp/documentation.py938 "ssn-txn-count() == 1 && inbound.method == \"GET\""CODE
HIGHtools/hrw4u/src/lsp/documentation.py1283 examples=["if now.HOUR >= 22 || now.HOUR < 6 {\n // Night time processing\n}", "now.WEEKDAY == 0 // SundCODE
HIGHtests/gold_tests/ats_probe/cache_dir_probe.test.py110 f"sleep 1 && curl -sSf -o /dev/null -H 'Host: cache-probe.test' {cache_url} && "CODE
HIGH…old_tests/pluginTest/healthchecks/healthchecks.test.py121 p.Command = f'rm {Test.RunDirectory}/acme-ssl && sleep 1'CODE
HIGH…ts/gold_tests/pluginTest/stek_share/stek_share.test.py293tr1.Processes.Default.Command = 'sleep 10 && curl https://127.0.0.1:{0} -k'.format(ts1.Variables.ssl_port)CODE
HIGHtests/gold_tests/jsonrpc/config_reload_dedup.test.py104tr.Processes.Default.Command = ('sleep 3 && traffic_ctl config set proxy.config.ssl.server.session_ticket.enable 0 --colCODE
HIGH…ld_tests/jsonrpc/config_reload_reserve_subtask.test.py88 'sleep 3 && traffic_ctl config set proxy.config.diags.debug.tags 'CODE
HIGH…/gold_tests/ip_allow/ip_allow_reload_triggered.test.py109tr.Processes.Default.Command = f"sleep 3 && touch {os.path.join(config_dir, 'ip_allow.yaml')} && sleep 1"STRING
HIGHtests/gold_tests/redirect/redirect_post.test.py82 'touch largefile.txt && truncate -s 50M largefile.txt && {{curl}} -H "Expect: " -i http://127.0.0.1:{0}/redirect1 -FSTRING
HIGH…/gold_tests/parent_config/parent_config_reload.test.py49tr.Processes.Default.Command = f"sleep 3 && touch {os.path.join(config_dir, 'parent.config')} && sleep 1"STRING
HIGH…ld_tests/command_argument/verify_global_plugin.test.py129tr = Test.AddTestRun("Regression test for an undefined, mangled C++ symbol.")STRING
HIGH…tl/convert_ssl_multicert/convert_ssl_multicert.test.py56tr.Processes.Default.Command = 'traffic_ctl config convert ssl_multicert basic.config generated.yaml > /dev/null && cat CODE
HIGH…tl/convert_plugin_config/convert_plugin_config.test.py55tr.Processes.Default.Command = 'traffic_ctl config convert plugin_config basic.config generated.yaml > /dev/null && cat CODE
HIGH…ts/traffic_ctl/convert_storage/convert_storage.test.py64 ' > /dev/null && cat generated.yaml'CODE
Excessive Try-Catch Wrapping65 hits · 92 pts
SeverityFileLineSnippetContext
LOWtools/records/convert2yaml.py334 except Exception as e:CODE
MEDIUMtools/records/convert2yaml.py335 print("Something went wrong:\n{}".format(e))CODE
LOWtools/traffic_grapher/traffic_grapher.py615 except Exception:CODE
LOWtools/traffic_grapher/traffic_grapher.py982 except Exception:STRING
LOWtools/hrw4u/tests/test_lsp.py127 except Exception as e:CODE
LOWtools/hrw4u/tests/test_lsp.py141 except Exception:CODE
LOWtools/hrw4u/tests/test_lsp.py321 except Exception:CODE
LOWtools/hrw4u/scripts/testcase.py103 except Exception as e:CODE
LOWtools/hrw4u/scripts/testcase.py126 except Exception as e:CODE
LOWtools/hrw4u/src/kg_visitor.py338 except Exception:CODE
LOWtools/hrw4u/src/visitor.py223 except Exception as e:CODE
LOWtools/hrw4u/src/visitor.py269 except Exception:CODE
LOWtools/hrw4u/src/visitor.py951 except Exception as e:CODE
LOWtools/hrw4u/src/visitor.py1037 except Exception as e:CODE
LOWtools/hrw4u/src/visitor.py1069 except Exception as exc:CODE
LOWtools/hrw4u/src/common.py224 except Exception as e:CODE
LOWtools/hrw4u/src/common.py267 except Exception as e:CODE
LOWtools/hrw4u/src/common.py384 except Exception as e:CODE
LOWtools/hrw4u/src/common.py404 except Exception as e:CODE
LOWtools/hrw4u/src/common.py417 except Exception as e:CODE
LOWtools/hrw4u/src/errors.py82 except Exception:CODE
LOWtools/hrw4u/src/errors.py104 except Exception:CODE
LOWtools/hrw4u/src/errors.py227 except Exception:CODE
LOWtools/hrw4u/src/hrw_visitor.py310 except Exception as e:CODE
LOWtools/hrw4u/src/hrw_symbols.py315 except Exception:CODE
LOWtools/hrw4u/src/hrw_symbols.py343 except Exception:CODE
LOWtools/hrw4u/src/hrw_symbols.py360 except Exception:CODE
LOWtools/hrw4u/src/lsp/strings.py245 except Exception:CODE
LOWplugins/traffic_dump/post_process.py212 except Exception as e:STRING
LOWplugins/traffic_dump/post_process.py218 except Exception as e:STRING
LOWtests/gold_tests/autest-site/ports.py188 except Exception:CODE
LOWtests/gold_tests/h2/h2active_timeout.py128 except Exception:CODE
LOWtests/gold_tests/h2/trickle_client.py299 except Exception as e:CODE
LOW…ts/pluginTest/compress/compress_100_continue_origin.py90 except Exception as e:CODE
MEDIUM…ts/pluginTest/compress/compress_100_continue_origin.py91 print(f'Error handling connection from {addr}: {e}', file=sys.stderr)CODE
LOW…luginTest/stats_over_http/prometheus_stats_ingester.py45 except Exception as e:CODE
LOW…luginTest/stats_over_http/prometheus_stats_ingester.py58 except Exception as e:CODE
LOW…luginTest/stats_over_http/prometheus_stats_ingester.py83 except Exception as e:CODE
MEDIUM…luginTest/stats_over_http/prometheus_stats_ingester.py98 print(f"Error fetching URL {args.url}: {e}", file=sys.stderr)CODE
MEDIUM…luginTest/stats_over_http/prometheus_stats_ingester.py104 print(f"Error parsing ATS metrics: {e}", file=sys.stderr)CODE
MEDIUM…luginTest/stats_over_http/prometheus_stats_ingester.py111 print(f"Error parsing the metrics when printing them: {e}", file=sys.stderr)CODE
LOWtests/gold_tests/timeout/tunnel_timeout_client.py74 except Exception as e:CODE
LOWtests/gold_tests/timeout/tunnel_timeout_client.py79 except Exception as e:CODE
MEDIUMtests/gold_tests/timeout/tunnel_timeout_client.py80 print(f"Error: {e}")CODE
LOWtests/gold_tests/tls/tls_reload_under_load_client.py90 except Exception as exc: # noqa: BLE001 - any failure is a test signalCODE
LOWtests/gold_tests/tls/tls_reload_under_load_client.py149 except Exception as exc: # noqa: BLE001CODE
LOWtests/gold_tests/tls/tls_flow_control_client.py86 except Exception as exc: # noqa: BLE001 - any failure is a test signalCODE
LOWtests/gold_tests/tls/split_client_hello.py110 except Exception as e:CODE
LOWtests/gold_tests/tls/split_client_hello.py135 except Exception as e:CODE
MEDIUMtests/gold_tests/tls/h2_early_decode.py241 print('Error: No input file to decode.')CODE
MEDIUMtests/gold_tests/tls/receive_split_client_hello.py117 print(f"Error handling client connection")CODE
LOWtests/gold_tests/tls/receive_split_client_hello.py122 except Exception as e:CODE
MEDIUMtests/gold_tests/tls/receive_split_client_hello.py123 print(f"An error occurred: {e}")CODE
LOWtests/gold_tests/logging/pipe_buffer_is_larger_than.py49 except Exception as e:CODE
MEDIUMtests/gold_tests/logging/pipe_buffer_is_larger_than.py38def test_fifo(fifo, minimum_buffer_size):CODE
MEDIUMtests/gold_tests/logging/new_log_flds_observer.py33 print(f'Error: Expected 4 fields at line {ln_num}, got {len(ln)}', file=sys.stderr)CODE
MEDIUMtests/gold_tests/logging/new_log_flds_observer.py39 print(f'Error: Invalid ccid value at line {ln_num}: {i}', file=sys.stderr)CODE
MEDIUMtests/gold_tests/logging/new_log_flds_observer.py44 print(f'Error: Invalid ctid value at line {ln_num}: {i}', file=sys.stderr)CODE
MEDIUMtests/gold_tests/logging/new_log_flds_observer.py49 print(f'Error: Expected ctid value "reallyreallyreallyreallylong.com" at line {ln_num}, got {ln[2]}', file=sCODE
MEDIUMtests/gold_tests/logging/new_log_flds_observer.py53 print(f'Error: Expected ctid value "-" at line {ln_num}, got {ln[2]}', file=sys.stderr)CODE
5 more matches not shown…
Deep Nesting94 hits · 91 pts
SeverityFileLineSnippetContext
LOWtools/gdb-helpers.py47CODE
LOWtools/records/convert2yaml.py249CODE
LOWtools/cripts/genconfig.py74CODE
LOWtools/traffic_grapher/traffic_grapher.py500CODE
LOWtools/traffic_grapher/traffic_grapher.py792CODE
LOWtools/traffic_grapher/traffic_grapher.py953CODE
LOWtools/traffic_grapher/traffic_grapher.py1088CODE
LOWtools/traffic_grapher/traffic_grapher.py1098CODE
LOWtools/traffic_grapher/traffic_grapher.py1247CODE
LOWtools/traffic_grapher/traffic_grapher.py1418CODE
LOWtools/hrw4u/tests/utils.py70CODE
LOWtools/hrw4u/tests/utils.py419CODE
LOWtools/hrw4u/tests/test_lsp.py78CODE
LOWtools/hrw4u/tests/test_lsp.py194CODE
LOWtools/hrw4u/tests/test_lsp.py336CODE
LOWtools/hrw4u/src/ast_visitor.py32CODE
LOWtools/hrw4u/src/ast_visitor.py87CODE
LOWtools/hrw4u/src/kg_visitor.py216CODE
LOWtools/hrw4u/src/kg_visitor.py387CODE
LOWtools/hrw4u/src/kg_visitor.py488CODE
LOWtools/hrw4u/src/kg_visitor.py514CODE
LOWtools/hrw4u/src/types.py228CODE
LOWtools/hrw4u/src/types.py246CODE
LOWtools/hrw4u/src/symbols.py79CODE
LOWtools/hrw4u/src/symbols.py124CODE
LOWtools/hrw4u/src/visitor.py155CODE
LOWtools/hrw4u/src/visitor.py280CODE
LOWtools/hrw4u/src/visitor.py347CODE
LOWtools/hrw4u/src/visitor.py409CODE
LOWtools/hrw4u/src/visitor.py603CODE
LOWtools/hrw4u/src/visitor.py685CODE
LOWtools/hrw4u/src/visitor.py765CODE
LOWtools/hrw4u/src/visitor.py1106CODE
LOWtools/hrw4u/src/common.py234CODE
LOWtools/hrw4u/src/common.py285CODE
LOWtools/hrw4u/src/visitor_base.py248CODE
LOWtools/hrw4u/src/states.py134CODE
LOWtools/hrw4u/src/hrw_visitor.py208CODE
LOWtools/hrw4u/src/hrw_symbols.py130CODE
LOWtools/hrw4u/src/hrw_symbols.py311CODE
LOWtools/hrw4u/src/hrw_symbols.py474CODE
LOWtools/hrw4u/src/lsp/documentation.py727CODE
LOWtools/hrw4u/src/lsp/documentation.py1188CODE
LOWtools/hrw4u/src/lsp/hover.py143CODE
LOWtools/hrw4u/src/lsp/hover.py212CODE
LOWtools/hrw4u/src/lsp/hover.py363CODE
LOWtools/hrw4u/src/lsp/strings.py40CODE
LOWtools/hrw4u/src/lsp/strings.py199CODE
LOWplugins/traffic_dump/post_process.py226CODE
LOWtests/tools/mock_origin.py87CODE
LOWtests/gold_tests/autest-site/ports.py122CODE
LOWtests/gold_tests/autest-site/jsonrpc.py262CODE
LOWtests/gold_tests/pipeline/pipeline_server.py62CODE
LOWtests/gold_tests/pipeline/pipeline_server.py156CODE
LOWtests/gold_tests/remap/remap_acl.test.py553CODE
LOWtests/gold_tests/h2/h2active_timeout.py57CODE
LOWtests/gold_tests/h2/trickle_server.py169CODE
LOWtests/gold_tests/h2/trickle_client.py243CODE
LOWtests/gold_tests/h2/trickle_client.py126CODE
LOWtests/gold_tests/h2/h2client.py56CODE
34 more matches not shown…
AI Slop Vocabulary31 hits · 76 pts
SeverityFileLineSnippetContext
MEDIUMtools/hrw4u/tests/test_lsp.py512 """Test that namespace prefixes provide comprehensive hover documentation."""STRING
MEDIUMtools/hrw4u/tests/test_lsp.py602 """Test that sub-namespace patterns provide comprehensive hover documentation."""STRING
MEDIUMtools/hrw4u/tests/test_lsp.py628 """Test that connection sub-namespaces provide comprehensive documentation details."""STRING
MEDIUMtools/hrw4u/src/errors.py171 """Collects multiple syntax errors and warnings for comprehensive reporting."""STRING
MEDIUMtools/hrw4u/src/hrw_visitor.py360 """Process operation lines with comprehensive error handling."""STRING
MEDIUMtools/hrw4u/src/lsp/completions.py160 # Use comprehensive documentation if availableCOMMENT
MEDIUMtools/hrw4u/src/lsp/hover.py178 # Use comprehensive HTTP control documentationCOMMENT
MEDIUMtools/hrw4u/src/lsp/hover.py220 # Special handling for cookie patterns - use comprehensive documentationCOMMENT
MEDIUMtools/hrw4u/src/lsp/hover.py365 # Handle method field with comprehensive documentationCOMMENT
MEDIUMtools/hrw4u/src/lsp/hover.py398 # Handle namespace prefixes with comprehensive documentation as fallbackCOMMENT
MEDIUMtools/hrw4u/src/lsp/hover.py500 """Get hover info for functions with comprehensive documentation."""STRING
MEDIUMtools/hrw4u/src/lsp/hover.py501 # Check comprehensive documentation firstCOMMENT
MEDIUMplugins/header_rewrite/matcher.h62 MOD_MID = 1 << 8, // Essentially a substringCODE
LOWci/jenkins/jobs.yaml85# remove the BSD builder and just use the linux one.COMMENT
MEDIUMtests/gold_tests/tls/tls_post_abort_origin.py51 # request headers: the test harness probes the port (a bare TCP connectCOMMENT
MEDIUMtests/gold_tests/tls/tls_renegotiation_allowed.test.py71 # The server is a long-running process the harness terminates at the end ofCOMMENT
LOWtests/gold_tests/traffic_ctl/traffic_ctl_test_utils.py484# if the poutput is a bit complex, then you can just set your own gold file.STRING
MEDIUMlib/highway/hwy/nanobenchmark.h20// prediction hit rates. Uses a robust estimator to summarize the measurements.COMMENT
MEDIUMlib/highway/hwy/nanobenchmark.h46// which is more robust to outliers and skewed data than the mean or median.COMMENT
MEDIUMlib/highway/hwy/auto_tune.h78 // - The minimum is not a robust estimator because there are also "luckyCOMMENT
MEDIUMlib/highway/hwy/auto_tune.h96 // - Trim the initial sample via MAD or skewness for a robust estimate of theCOMMENT
MEDIUMlib/highway/hwy/auto_tune.h153 // deviation, which is robust to almost half of the sample being outliers.COMMENT
MEDIUMlib/highway/hwy/robust_statistics.h82// Half Sample Mode estimator proposed by Bickel in "On a fast, robustCOMMENT
MEDIUMlib/highway/hwy/robust_statistics.h132// Returns a robust measure of variability.COMMENT
MEDIUMlib/highway/hwy/ops/rvv-inl.h4701// Definitely at least 128 bit: match x86 semantics (independent blocks). UsingCOMMENT
MEDIUMlib/highway/hwy/ops/rvv-inl.h4761// Definitely less than 128-bit only if there is a small cap; fractional LMULCOMMENT
MEDIUM…est-1.13.0/googletest/include/gtest/gtest-death-test.h152// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM…est-1.13.0/googletest/include/gtest/gtest-death-test.h224// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMlib/yamlcpp/src/contrib/dragonbox.h1223 // Without the bound on n_max (which compilers these days never leverage), theCOMMENT
MEDIUMlib/yamlcpp/src/contrib/dragonbox.h1233 // Without the bound on n_max (which compilers these days never leverage), theCOMMENT
MEDIUMlib/yamlcpp/src/contrib/dragonbox.h1246 // Without the bound on n_max (which compilers these days never leverage), theCOMMENT
Self-Referential Comments33 hits · 67 pts
SeverityFileLineSnippetContext
MEDIUMtools/compare_servers.pl157 # Create a user agent objectCOMMENT
MEDIUMtools/compare_servers.pl161 # Create a user agent objectCOMMENT
MEDIUMtests/gold_tests/h2/trickle_server.py44 # Create a chunk of 0 padded bytes, followed by a space.COMMENT
MEDIUMtests/gold_tests/h2/trickle_client.py43 # Create a chunk of 0 padded bytes, followed by a space.COMMENT
MEDIUM…replay/negative-caching-300-second-timeout.replay.yaml18# Create a cached response with a max-age of 300 seconds.COMMENT
MEDIUM…inTest/regex_revalidate/regex_revalidate_state.test.py95# Create a state file, second line will be discarded and not mergedSTRING
MEDIUM…ebug/x_probe_full_json_slow_origin/slow-body-server.sh27# Create a named pipe for the responseCOMMENT
MEDIUMtests/gold_tests/pluginTest/esi/esi.test.py151 # Create a run to start the server.STRING
MEDIUMtests/gold_tests/pluginTest/esi/esi.test.py176 # Create a run to start the ATS process.STRING
MEDIUMtests/gold_tests/pluginTest/esi/esi_304.test.py117 # Create a run to start the server.STRING
MEDIUMtests/gold_tests/pluginTest/esi/esi_304.test.py142 # Create a run to start the ATS process.STRING
MEDIUM…ts/gold_tests/pluginTest/crash_test/crash_test.test.py31# Create an origin server for the test.STRING
MEDIUMtests/gold_tests/continuations/double.test.py68# Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands.STRING
MEDIUMtests/gold_tests/continuations/openclose_h2.test.py74# Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands.STRING
MEDIUMtests/gold_tests/continuations/session_id.test.py70# Create a bunch of curl commands to be executed in parallel. Default.ProcessSTRING
MEDIUMtests/gold_tests/continuations/double_h2.test.py87# Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands.STRING
MEDIUMtests/gold_tests/continuations/openclose.test.py59# Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands.STRING
MEDIUMtests/gold_tests/body_factory/http204_response.test.py38# Create a template body for a 204.STRING
MEDIUMtests/gold_tests/logging/log_pipe.test.py88# Create an arbitrary process that just sleeps so that we can provide a waitSTRING
MEDIUMtests/gold_tests/logging/log_pipe.test.py159# Create an arbitrary process that just sleeps so that we can provide a waitSTRING
MEDIUM…ld_tests/traffic_ctl/traffic_ctl_config_output.test.py116# # Create a new instance with default values onlySTRING
MEDIUM…ld_tests/traffic_ctl/traffic_ctl_config_reload.test.py138# Create a multi-key config fileSTRING
MEDIUM…tl/convert_ssl_multicert/convert_ssl_multicert.test.py22# Create an ATS process to get the environment with PATH set correctly.COMMENT
MEDIUM…ts/traffic_ctl/convert_storage/convert_storage.test.py22# Create an ATS process to get the environment with PATH set correctly.COMMENT
MEDIUMdoc/conf.cmake.in.py22# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMdoc/ext/traffic-server.cmake.in.py234 # Create an index node so that Sphinx adds this config variable to theCOMMENT
MEDIUMdoc/ext/traffic-server.cmake.in.py367 # Create an index node so that Sphinx adds this statistic to theCOMMENT
MEDIUMdoc/ext/traffic-server.py234 # Create an index node so that Sphinx adds this config variable to theCOMMENT
MEDIUMdoc/ext/traffic-server.py363 # Create an index node so that Sphinx adds this statistic to theCOMMENT
MEDIUMdoc/ext/extras/txnbox.cmake.in.py137 # Create an index node so that Sphinx adds this directive to the index.COMMENT
MEDIUMdoc/ext/extras/txnbox.cmake.in.py218 # Create an index node so that Sphinx adds this directive to the index.COMMENT
MEDIUMdoc/ext/extras/txnbox.cmake.in.py305 # Create an index node so that Sphinx adds this directive to the index.COMMENT
MEDIUMdoc/ext/extras/txnbox.cmake.in.py387 # Create an index node so that Sphinx adds this directive to the index.COMMENT
Modern Structural Boilerplate27 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/hrw4u/src/errors.py186 def set_sandbox_message(self, message: str) -> None:CODE
LOWtools/hrw4u/src/ast_nodes.py23__all__ = [CODE
LOWtests/gold_tests/remap/remap_reload.test.py19def update_remap_config(path: str, lines: list) -> None:CODE
LOWtests/gold_tests/remap/remap_acl.test.py41def update_config_file(path1: str, content1: str, path2: str, content2: str) -> None:STRING
LOWtests/gold_tests/post/expect_tests.test.py35 def _setup_dns(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/post/expect_tests.test.py43 def _setup_origin(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/post/expect_tests.test.py51 def _setup_trafficserver(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/post/expect_tests.test.py68 def _setup_client(self, tr: 'TestRun') -> None:CODE
LOW…s/gold_tests/pluginTest/xdebug/x_probe/x_probe.test.py46 def _setupOriginServer(self, tr: 'TestRun') -> None:CODE
LOW…s/gold_tests/pluginTest/xdebug/x_probe/x_probe.test.py52 def _setupTS(self, tr: 'TestRun') -> None:CODE
LOW…s/gold_tests/pluginTest/xdebug/x_probe/x_probe.test.py66 def _setupClient(self, tr: 'TestRun') -> None:CODE
LOW…est/xdebug/x_probe_full_json/x_probe_full_json.test.py47 def _setupOriginServer(self) -> None:CODE
LOW…est/xdebug/x_probe_full_json/x_probe_full_json.test.py52 def _setupTS(self) -> None:CODE
LOW…est/xdebug/x_probe_full_json/x_probe_full_json.test.py74 def _setupClient(self) -> None:CODE
LOW…est/xdebug/x_probe_full_json/x_probe_full_json.test.py91 def _setupJqValidation(self) -> None:CODE
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py55 def _setup_dns(self, tr: 'TestRun') -> None:STRING
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py63 def _setup_servers(self, tr: 'TestRun', disable_redirect_header: bool) -> None:STRING
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py117 def _setup_ts(self, tr: 'Process', disable_redirect_header: bool) -> None:STRING
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py150 def _setup_client(self, tr: 'Process') -> None:STRING
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py197 def _setup_dns(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py201 def _setup_servers(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py238 def _setup_ts(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/pluginTest/escalate/escalate.test.py264 def _setup_client(self, tr: 'TestRun') -> None:CODE
LOWtests/gold_tests/remap_yaml/remap_reload_yaml.test.py19def update_remap_yaml(path: str, lines: list) -> None:CODE
LOWtests/gold_tests/remap_yaml/remap_acl_yaml.test.py34def update_config_file(path1: str, content1: str, path2: str, content2: str) -> None:STRING
LOWtests/gold_tests/ip_allow/ip_category.test.py155 def _update_remap_with_acl(self) -> None:STRING
LOWtests/gold_tests/ip_allow/ip_category.test.py173 def _update_categories_file(self, category_content: 'CategoryFile') -> None:STRING
Redundant / Tautological Comments17 hits · 20 pts
SeverityFileLineSnippetContext
LOWtools/traffic_grapher/traffic_grapher.py1350 # Check if this is a percentage or latency panelSTRING
LOWtools/hrw4u/scripts/testcase.py80 # Check if this test has a direction exceptionCOMMENT
LOWtools/hrw4u/scripts/testcase.py155 # Check if this test should be skippedCOMMENT
LOWtools/hrw4u/src/types.py111 # Check if this is a quoted boolean valueCOMMENT
LOWci/jenkins/bin/environment.sh36# Check if we're doing Debian style hardeningCOMMENT
LOWci/jenkins/bin/environment.sh39# Check if we need to use a different "make"COMMENT
LOWci/jenkins/bin/build.sh21# Check if it's a debug or release buildCOMMENT
LOWci/jenkins/bin/gh-mirror.sh53 # Check if commits have doc/ changesCOMMENT
LOWci/jenkins/bin/gh-mirror.sh60 # Check if commits have non doc/ changesCOMMENT
LOWtests/gold_tests/pluginTest/url_sig/url_sig.test.py34# Set up to check the output after the tests have run.STRING
LOWtests/gold_tests/jsonrpc/config_reload_rpc.test.py356 # Check if any task has inline- prefixCOMMENT
LOWtests/gold_tests/jsonrpc/config_reload_rpc.test.py292 # Check if there's an error (which is fine)COMMENT
LOWtests/gold_tests/jsonrpc/config_reload_tracking.test.py113 # Check if it's a "reload in progress" errorCOMMENT
LOWtests/gold_tests/headers/forwarded.test.py83# Set up to check the output after the tests have run.STRING
LOWtests/gold_tests/headers/via.test.py68# Set up to check the output after the tests have run.STRING
LOWtests/gold_tests/redirect/redirect_stale.test.py71# Set up to check the output after the tests have run.STRING
LOW…t-1.13.0/googletest/test/googletest-filter-unittest.py67# Check if this platform can unset environment variables in child processes.COMMENT
Verbosity Indicators14 hits · 19 pts
SeverityFileLineSnippetContext
LOW…ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py88# Step 0: confirm the record is registered as RECA_READ_ONLY and starts atSTRING
LOW…ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py98# Step 1: attempt to write the record via the management RPC. The handlerSTRING
LOW…ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py108# Step 2: re-look-up the record. Even if step 1's response had beenSTRING
LOWlib/yamlcpp/src/contrib/dragonbox.h3386 // Step 1: Schubfach multiplier calculation.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3422 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3480 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3583 // Step 1: Schubfach multiplier calculation.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3622 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3679 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3727 // Step 1: Schubfach multiplier calculation.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3753 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3787 // Step 3: Find the significand with the small divisor.COMMENT
LOWlib/Catch2/src/catch2/internal/catch_run_context.cpp111 // No children have started. We need to check if theyCOMMENT
LOWlib/Catch2/extras/catch_amalgamated.cpp5689 // No children have started. We need to check if theyCOMMENT
Structural Annotation Overuse13 hits · 16 pts
SeverityFileLineSnippetContext
LOWREADME.md23### Step 1: ConfigurationCOMMENT
LOW…ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py88# Step 0: confirm the record is registered as RECA_READ_ONLY and starts atSTRING
LOW…ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py98# Step 1: attempt to write the record via the management RPC. The handlerSTRING
LOW…ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py108# Step 2: re-look-up the record. Even if step 1's response had beenSTRING
LOWlib/yamlcpp/src/contrib/dragonbox.h3386 // Step 1: Schubfach multiplier calculation.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3422 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3480 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3583 // Step 1: Schubfach multiplier calculation.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3622 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3679 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3727 // Step 1: Schubfach multiplier calculation.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3753 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWlib/yamlcpp/src/contrib/dragonbox.h3787 // Step 3: Find the significand with the small divisor.COMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMinclude/tscpp/api/GlobalPlugin.h43 * Here is a simple example of a GlobalPlugin:COMMENT
MEDIUMinclude/tscpp/api/Stat.h41 * Stats are very easy to use, here is a simple example of how you can create a counter and increment itsCOMMENT
Hallucination Indicators1 hit · 5 pts
SeverityFileLineSnippetContext
CRITICAL…inTest/txn_box/example/txn_box_accept-encoding.test.py32tr.Variables.TS.Disk.records_config.update(STRING
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…/googletest-1.13.0/googletest/test/gtest_test_utils.py198Changes into a specified directory, if provided, and executes a command. Restores the old directory afterwards. STRING
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/gold_tests/h2/grpc/grpc_server.py52CODE
LOWtests/gold_tests/h2/grpc/grpc_server.py59CODE
LOW…etest-1.13.0/googletest/test/googletest-output-test.py200CODE
LOW…googletest-1.13.0/googlemock/test/gmock_output_test.py72CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…mlcpp/test/googletest-1.13.0/docs/reference/mocking.md279 .WillRepeatedly(Return("John Doe")); // Return "John Doe" on all callsCODE