AI Slop Code RIsk Monitor

apache/trafficserver

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

8.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for apache/trafficserver, a C++ project with 1,993 GitHub stars. SynthScan examined 794,391 lines of code across 3792 source files, recording 4920 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 8.7 (Moderate 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.

8.7
Adjusted Signal
8.7
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
2.0K
Stars
C++
Language
794.4K
Lines of Code
3.8K
Files
4.9K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 21.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.5/100 · LOW

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

Agent Over-Engineering Ratio 17.8/100 · LOW

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

PR Review Velocity Impact 38.4/100 · MEDIUM

Which changes need focused human review? 4920 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 1HIGH 403MEDIUM 382LOW 4134

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 4920 distinct pattern matches across 21 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 Block3211 hits · 3064 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#######################COMMENT
LOWCMakeLists.txt461# the combination developers ask for, but the option itself does not restrict it.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/changelog/pyproject.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtools/changelog/changelog.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_ast_roundtrip.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/ast_unparse.py1#COMMENT
3151 more matches not shown…
Cross-File Repetition296 hits · 1480 pts
SeverityFileLineSnippetContext
HIGHtests/gold_tests/pipeline/noop_keepalive.test.py0configure the origin server. :param tr: the test run to associate with the origin server with. :return: the origin serveSTRING
HIGH…s/gold_tests/pipeline/delete_maxfwd_noop_drain.test.py0configure the origin server. :param tr: the test run to associate with the origin server with. :return: the origin serveSTRING
HIGHtests/gold_tests/pipeline/pipeline.test.py0configure the origin server. :param tr: the test run to associate with the origin server with. :return: the origin serveSTRING
HIGHtests/gold_tests/pipeline/noop_keepalive.test.py0configure the client. :param tr: the test run to associate with the client process with. :return: the client process.STRING
HIGH…s/gold_tests/pipeline/delete_maxfwd_noop_drain.test.py0configure the client. :param tr: the test run to associate with the client process with. :return: the client process.STRING
HIGHtests/gold_tests/pipeline/pipeline.test.py0configure the client. :param tr: the test run to associate with the client process with. :return: the client process.STRING
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_txn_start_read_gate.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/http2_max_active_streams.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2_origin_trailers_h1.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/h2_to_origin_continuation.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/h2_to_origin_pool_reuse.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/h2_settings_ack_not_counted.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGH…/gold_tests/h2/h2_to_origin_payload_validation.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
HIGH…sts/gold_tests/h2/http2_crlf_header_validation.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
HIGH…ts/gold_tests/h2/http2_origin_interim_response.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/h2_origin_cert_reverify.test.py0ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.keySTRING
HIGHtests/gold_tests/h2/h2_settings_ack_inbound.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
236 more matches not shown…
Decorative Section Separators290 hits · 830 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.py209# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_common.py211# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_lsp.py670# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/hrw4u/tests/test_lsp.py672# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/gold_tests/remap/virtualhost_remap.test.py186# ============================================================================STRING
MEDIUMtests/gold_tests/remap/virtualhost_remap.test.py196# ============================================================================STRING
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.py120 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py122 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py163 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py165 # ------------------------------------------------------------------COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py317# ======================================================================COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py319# ======================================================================COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py382# ======================================================================COMMENT
MEDIUM…sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py384# ======================================================================COMMENT
MEDIUM…nTest/header_rewrite/header_rewrite_bundle.replay.yaml1243# ==========================================================================COMMENT
MEDIUM…nTest/header_rewrite/header_rewrite_bundle.replay.yaml1245# ==========================================================================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
230 more matches not shown…
Hyper-Verbose Identifiers458 hits · 437 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
LOW⚡tools/hrw4u/tests/test_common.py103 def test_valid_input_with_error_collection(self):CODE
LOW⚡tools/hrw4u/tests/test_common.py110 def test_valid_input_without_error_collection(self):CODE
LOW⚡tools/hrw4u/tests/test_common.py116 def test_invalid_input_collects_errors(self):CODE
LOW⚡tools/hrw4u/tests/test_common.py142 def test_ast_mode_with_parse_errors(self, capsys):CODE
LOW⚡tools/hrw4u/tests/test_common.py150 def test_error_collector_summary_on_errors(self, capsys):CODE
LOW⚡tools/hrw4u/tests/test_common.py158 def test_ast_mode_tree_none_with_errors(self, capsys):CODE
LOW⚡tools/hrw4u/tests/test_common.py167 def test_error_collector_reports_failure_to_caller(self):CODE
LOW⚡tools/hrw4u/tests/test_common.py229 def test_single_file_to_stdout(self, monkeypatch, capsys, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_common.py235 def test_multiple_files_with_separator(self, monkeypatch, capsys, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_common.py245 def test_bulk_input_output_pairs(self, monkeypatch, capsys, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_common.py253 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_common.py180 def test_clean_input_reports_no_failure(self):CODE
LOWtools/hrw4u/tests/test_common.py188 def test_visitor_exception_collected(self, capsys):CODE
LOWtools/hrw4u/tests/test_ast_roundtrip.py73def test_emitted_config_survives_a_round_trip_through_the_ast(input_file: Path) -> None:CODE
LOWtools/hrw4u/tests/test_ast_roundtrip.py86def test_the_corpus_reaches_every_grammar_rule() -> None:CODE
LOW⚡tools/hrw4u/tests/test_coverage.py40 def test_policy_sets_non_dict(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py44 def test_policy_sets_unknown_key(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py48 def test_policy_sets_unknown_language(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py52 def test_policy_sets_unknown_modifier(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py56 def test_policy_sets_is_active(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py62 def test_sandbox_config_is_active(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py68 def test_sandbox_load_non_dict_sandbox(self, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py74 def test_sandbox_load_non_dict_deny(self, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py80 def test_sandbox_load_non_dict_warn(self, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py86 def test_sandbox_load_missing_key(self, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py92 def test_sandbox_load_deny_warn_overlap(self, tmp_path):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py156 def test_increment_decrement_cond_indent(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py166 def test_emit_line_and_emit_statement(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py172 def test_debug_enter_with_args(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py181 def test_normalize_empty_string_condition(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py187 def test_build_condition_connector(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py197 def test_reconstruct_redirect_args(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py206 def test_intern_keyword_known(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py210 def test_intern_keyword_unknown(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py226 def test_resolve_assignment_unknown_symbol(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py231 def test_resolve_add_assignment_unsupported(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py236 def test_resolve_function_unknown(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py241 def test_resolve_statement_func_unknown(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py246 def test_get_variable_suggestions(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py255 def test_syntax_error_collected(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py343 def test_negate_function_call(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py352 def test_negate_complex_expression(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py357 def test_convert_set_parens_to_brackets(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py361 def test_convert_set_already_brackets(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py373 def test_format_iprange_invalid(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py377 def test_handle_state_tag_unknown_type(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py382 def test_handle_state_tag_invalid_index(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py387 def test_handle_state_tag_missing_payload(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py392 def test_handle_ip_tag_unknown(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py397 def test_rewrite_inline_booleans(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py402 def test_rewrite_inline_numeric(self):CODE
LOW⚡tools/hrw4u/tests/test_coverage.py406 def test_rewrite_inline_percent_block(self):CODE
398 more matches not shown…
Cross-Language Confusion61 hits · 235 pts
SeverityFileLineSnippetContext
HIGH⚡tools/hrw4u/tests/test_coverage.py354 result = r.negate_expression("a && b")CODE
HIGH⚡tools/hrw4u/tests/test_coverage.py355 assert result == "!(a && b)"CODE
HIGHtools/hrw4u/tests/test_ast_visitor.py411 ' if !inbound.resp.All-Cache && inbound.req.X-B == "b" {\n'CODE
HIGHtools/hrw4u/tests/test_ast_visitor.py719 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.py1316 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
HIGHtests/gold_tests/shutdown/double_sigterm.test.py46 f'{sys.executable} ./{TS_PID_SCRIPT} double_sigterm_ts --signal TERM && sleep 1 && 'STRING
HIGHtests/gold_tests/shutdown/double_sigterm.test.py47 f'{sys.executable} ./{TS_PID_SCRIPT} double_sigterm_ts --signal TERM && sleep {SHUTDOWN_TIMEOUT + 2}')STRING
HIGH…ts/gold_tests/cache/cache_shm_bad_disk_dropped.test.py161 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…ts/gold_tests/cache/cache_shm_bad_disk_dropped.test.py162 f'{sys.executable} ./{self.TS_PID_SCRIPT} shmbd_ts1 --signal TERM && sleep 3')STRING
HIGH…ts/gold_tests/cache/cache_shm_bad_disk_dropped.test.py207 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…ts/gold_tests/cache/cache_shm_bad_disk_dropped.test.py208 f'{sys.executable} ./{self.TS_PID_SCRIPT} shmbd_ts2 --signal TERM && sleep 3')STRING
HIGH⚡…ts/gold_tests/cache/cache_shm_storage_mismatch.test.py163 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH⚡…ts/gold_tests/cache/cache_shm_storage_mismatch.test.py164 f'{sys.executable} ./{self.TS_PID_SCRIPT} shms_ts1 --signal TERM && sleep 3')STRING
HIGH…ts/gold_tests/cache/cache_shm_storage_mismatch.test.py186 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…ts/gold_tests/cache/cache_shm_storage_mismatch.test.py187 f'{sys.executable} ./{self.TS_PID_SCRIPT} shms_ts2 --signal TERM && sleep 3')STRING
HIGH…s/gold_tests/cache/cache_shm_concurrent_attach.test.py162 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…s/gold_tests/cache/cache_shm_concurrent_attach.test.py163 f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3')STRING
HIGH…ts/gold_tests/cache/cache_shm_purge_on_disable.test.py178 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…ts/gold_tests/cache/cache_shm_purge_on_disable.test.py179 f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3')STRING
HIGHtests/gold_tests/cache/cache_shm_dir_invalid.test.py194 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGHtests/gold_tests/cache/cache_shm_dir_invalid.test.py195 f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3')STRING
HIGH…ts/gold_tests/cache/cache_shm_unclean_shutdown.test.py146 tr.Processes.Default.Command = (f'{sys.executable} ./{self.TS_PID_SCRIPT} shmu_ts1 --signal KILL && sleep 3')STRING
HIGH…ts/gold_tests/cache/cache_shm_unclean_shutdown.test.py165 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…ts/gold_tests/cache/cache_shm_unclean_shutdown.test.py166 f'{sys.executable} ./{self.TS_PID_SCRIPT} shmu_ts2 --signal TERM && sleep 3')STRING
HIGHtests/gold_tests/cache/cache_shm_fast_restart.test.py198 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGHtests/gold_tests/cache/cache_shm_fast_restart.test.py199 f'{sys.executable} ./{self.TS_PID_SCRIPT} shm_ts1 --signal TERM && sleep 3')STRING
HIGHtests/gold_tests/cache/cache_shm_fast_restart.test.py222 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGHtests/gold_tests/cache/cache_shm_fast_restart.test.py223 f'{sys.executable} ./{self.TS_PID_SCRIPT} shm_ts2 --signal TERM && sleep 3')STRING
HIGH…sts/gold_tests/cache/cache_shm_schema_mismatch.test.py158 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…sts/gold_tests/cache/cache_shm_schema_mismatch.test.py159 f'{sys.executable} ./{self.TS_PID_SCRIPT} shmx_ts1 --signal TERM && sleep 3')STRING
HIGH…sts/gold_tests/cache/cache_shm_schema_mismatch.test.py186 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…sts/gold_tests/cache/cache_shm_schema_mismatch.test.py187 f'{sys.executable} ./{self.TS_PID_SCRIPT} shmx_ts2 --signal TERM && sleep 3')STRING
HIGH…ld_tests/cache/cache_shm_control_size_mismatch.test.py171 f'traffic_ctl server drain && sleep 1 && 'STRING
HIGH…ld_tests/cache/cache_shm_control_size_mismatch.test.py172 f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3')STRING
HIGH…old_tests/pluginTest/healthchecks/healthchecks.test.py124 p.Command = f'rm {Test.RunDirectory}/acme-ssl && sleep 1'CODE
HIGH⚡…old_tests/pluginTest/healthchecks/healthchecks.test.py190 command = (f'dd if=/dev/zero of={acme_file} bs=16384 count=1 2>/dev/null && sleep 1 && ' + '{curl} -s ' + url + 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
HIGH…/gold_tests/pluginTest/lua/lua_global_shutdown.test.py114 f'127.0.0.1 {ts.Variables.port} {Test.RunDirectory} lua_shutdown_ts && sleep 3')STRING
HIGH…/gold_tests/pluginTest/lua/lua_global_shutdown.test.py185ps.Command = f'{sys.executable} ./{TS_PID_SCRIPT} lua_shutdown_quiet_ts --signal TERM && sleep 3'STRING
HIGH…old_tests/pluginTest/rate_limit/rate_limit_sni.test.py113 f"curl -sk --max-time 2 -o /dev/null '{BASE_URL}/queued' {RESOLVE} 2>/dev/null; "STRING
HIGH…gold_tests/pluginTest/esi/esi_request_size_cap.test.py34# + url.length()STRING
HIGH…gold_tests/pluginTest/esi/esi_request_size_cap.test.py36# + _headers_str.length()STRING
HIGH⚡tests/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⚡tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py75 f"cp {ssl_dir}/server.pem {ssl_dir}/cert-{i:02d}.pem && cp {ssl_dir}/server.key {ssl_dir}/cert-{i:02d}.key"CODE
HIGH⚡tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py90tr.Processes.Default.Command = "sleep 3 && echo ATS started"CODE
HIGH⚡tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py128 f'cp {ssl_dir}/cert-01.key {ssl_dir}/cert-13.key && touch {ssl_dir}/cert-13.pem', # key mismatchCODE
HIGH⚡tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py168 f'cp {ssl_dir}/server.pem {ssl_dir}/cert-{i:02d}.pem && cp {ssl_dir}/server.key {ssl_dir}/cert-{i:02d}.key' for i inCODE
HIGH⚡…ld_tests/jsonrpc/config_reload_reserve_subtask.test.py88 'sleep 3 && traffic_ctl config set proxy.config.diags.debug.tags 'CODE
HIGH⚡…sts/gold_tests/jsonrpc/config_reload_ssl_state.test.py66tr.Processes.Default.Command = "sleep 3 && echo 'ATS started'"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…d_tests/config_processor/config_destroy_thread.test.py51tr.Processes.Default.Command = f"sleep 3 && touch {os.path.join(config_dir, 'parent.config')} && sleep 1"STRING
HIGH…d_tests/config_processor/config_destroy_thread.test.py60tr.Processes.Default.Command = "traffic_ctl config set proxy.config.http.response_server_str probe && sleep 3"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
1 more matches not shown…
Empty Error Handlers45 hits · 225 pts
SeverityFileLineSnippetContext
HIGHtools/traffic_grapher/traffic_grapher.py651except (subprocess.TimeoutExpired, OSError):CODE
HIGHtools/traffic_grapher/traffic_grapher.py530except (OSError, IOError):CODE
HIGHtools/traffic_grapher/traffic_grapher.py521except (OSError, IOError):CODE
HIGHtools/hrw4u/tests/test_lsp.py201except ValueError:CODE
HIGHtools/hrw4u/src/kg_visitor.py338except Exception:CODE
HIGHtools/hrw4u/src/suggestions.py39except ImportError:CODE
HIGHtools/hrw4u/src/errors.py104except Exception:CODE
HIGHtools/hrw4u/src/errors.py227except Exception:CODE
HIGHtools/hrw4u/src/hrw_visitor.py236except ValueError:CODE
HIGHtools/hrw4u/src/lsp/strings.py164except ValueError:CODE
HIGHtests/tools/mock_origin.py108except ConnectionError:CODE
HIGHtests/tools/mock_origin.py127except ConnectionError:CODE
HIGHtests/tools/mock_origin.py137except ConnectionError:CODE
HIGHtests/gold_tests/pipeline/request_framing_server.py173except (KeyboardInterrupt, SystemExit):CODE
HIGHtests/gold_tests/pipeline/noop_keepalive_client.py38except socket.timeout:CODE
HIGHtests/gold_tests/pipeline/desync_client_miss.py36except socket.timeout:CODE
HIGHtests/gold_tests/pipeline/desync_client.py76except socket.timeout:CODE
HIGHtests/gold_tests/pipeline/desync_server.py78except OSError:CODE
HIGHtests/gold_tests/h2/trickle_server.py236except KeyError:CODE
HIGHtests/gold_tests/h2/trickle_server.py232except KeyError:CODE
HIGHtests/gold_tests/h2/grpc/grpc_server.py118except KeyboardInterrupt:CODE
HIGH…old_tests/pluginTest/txn_box/ramp/multi_ramp_common.py55except:CODE
HIGH…old_tests/pluginTest/txn_box/ramp/multi_ramp_common.py81except:CODE
HIGH…gold_tests/pluginTest/abuse_shield/idle_connections.py33except OSError:CODE
HIGH…s/gold_tests/pluginTest/abuse_shield/h2_rate_client.py99except Exception:CODE
HIGH…s/gold_tests/pluginTest/abuse_shield/h2_rate_client.py94except (BrokenPipeError, ConnectionResetError):CODE
HIGHtests/gold_tests/tunnel/dumb_proxy.py57except OSError:CODE
HIGHtests/gold_tests/tunnel/dumb_proxy.py62except OSError:CODE
HIGH…sts/gold_tests/tls/tls_renegotiation_allowed_client.py109except BrokenPipeError:CODE
HIGHtests/gold_tests/tls/tls_engine_abort.py50except (ssl.SSLWantReadError, ssl.SSLWantWriteError, ssl.SSLError, socket.timeout, OSError):CODE
HIGHtests/gold_tests/tls/tls_engine_abort.py55except OSError:CODE
HIGHtests/gold_tests/tls/tls_engine_abort.py60except OSError:CODE
HIGH…/gold_tests/chunked_encoding/chunk_extension_client.py80except OSError:CODE
HIGH…ts/gold_tests/chunked_encoding/chunk_trailer_client.py78except OSError:CODE
HIGHtests/gold_tests/redirect/redirect_actions.test.py42except socket.gaierror:CODE
HIGHtests/gold_tests/redirect/redirect_actions.test.py53except socket.gaierror:CODE
HIGHtests/gold_tests/logging/verify_milestone_fields.py160except ValueError:CODE
HIGH…test-1.13.0/googletest/test/gtest_xml_outfiles_test.py89except os.error:CODE
HIGH…test-1.13.0/googletest/test/gtest_xml_outfiles_test.py93except os.error:CODE
HIGH…test-1.13.0/googletest/test/gtest_xml_outfiles_test.py97except os.error:CODE
HIGH…t-1.13.0/googletest/test/googletest-filter-unittest.py47except ImportError:CODE
HIGH….13.0/googletest/test/googletest-json-outfiles-test.py152except os.error:CODE
HIGH….13.0/googletest/test/googletest-json-outfiles-test.py156except os.error:CODE
HIGH….13.0/googletest/test/googletest-json-outfiles-test.py160except os.error:CODE
HIGHdoc/conf.cmake.in.py174except Exception:CODE
Unused Imports163 hits · 160 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_ast_roundtrip.py41CODE
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.py22CODE
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/ast_unparse.py23CODE
LOWtools/hrw4u/tests/ast_unparse.py25CODE
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
103 more matches not shown…
Deep Nesting137 hits · 132 pts
SeverityFileLineSnippetContext
LOWtools/gdb-helpers.py47CODE
LOWtools/records/convert2yaml.py249CODE
LOWtools/changelog/changelog.py78CODE
LOWtools/changelog/changelog.py164CODE
LOWtools/changelog/changelog.py402CODE
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.py72CODE
LOWtools/hrw4u/tests/utils.py461CODE
LOWtools/hrw4u/tests/test_lsp.py78CODE
LOWtools/hrw4u/tests/test_lsp.py194CODE
LOWtools/hrw4u/tests/test_lsp.py336CODE
LOWtools/hrw4u/src/ast_visitor.py52CODE
LOWtools/hrw4u/src/ast_visitor.py107CODE
LOWtools/hrw4u/src/kg_visitor.py216CODE
LOWtools/hrw4u/src/kg_visitor.py384CODE
LOWtools/hrw4u/src/kg_visitor.py485CODE
LOWtools/hrw4u/src/kg_visitor.py511CODE
LOWtools/hrw4u/src/types.py229CODE
LOWtools/hrw4u/src/types.py247CODE
LOWtools/hrw4u/src/symbols.py72CODE
LOWtools/hrw4u/src/symbols.py118CODE
LOWtools/hrw4u/src/visitor.py147CODE
LOWtools/hrw4u/src/visitor.py190CODE
LOWtools/hrw4u/src/visitor.py281CODE
LOWtools/hrw4u/src/visitor.py348CODE
LOWtools/hrw4u/src/visitor.py410CODE
LOWtools/hrw4u/src/visitor.py604CODE
LOWtools/hrw4u/src/visitor.py686CODE
LOWtools/hrw4u/src/visitor.py766CODE
LOWtools/hrw4u/src/visitor.py1105CODE
LOWtools/hrw4u/src/visitor.py196CODE
LOWtools/hrw4u/src/common.py234CODE
LOWtools/hrw4u/src/common.py289CODE
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.py317CODE
LOWtools/hrw4u/src/hrw_symbols.py484CODE
LOWtools/hrw4u/src/lsp/documentation.py727CODE
LOWtools/hrw4u/src/lsp/documentation.py1221CODE
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.py129CODE
LOWtests/gold_tests/autest-site/jsonrpc.py262CODE
LOWtests/gold_tests/pipeline/request_framing_server.py86CODE
LOWtests/gold_tests/pipeline/request_framing_server.py157CODE
LOWtests/gold_tests/pipeline/request_framing_client.py83CODE
77 more matches not shown…
Excessive Try-Catch Wrapping71 hits · 102 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.py231 except Exception as e:CODE
LOWtools/hrw4u/src/visitor.py270 except Exception:CODE
LOWtools/hrw4u/src/visitor.py945 except Exception as e:CODE
LOWtools/hrw4u/src/visitor.py1034 except Exception as e:CODE
LOWtools/hrw4u/src/visitor.py1068 except Exception as exc:CODE
LOWtools/hrw4u/src/common.py224 except Exception as e:CODE
LOWtools/hrw4u/src/common.py271 except Exception as e:CODE
LOWtools/hrw4u/src/common.py390 except Exception as e:CODE
LOWtools/hrw4u/src/common.py410 except Exception as e:CODE
LOWtools/hrw4u/src/common.py424 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.py321 except Exception:CODE
LOWtools/hrw4u/src/hrw_symbols.py349 except Exception:CODE
LOWtools/hrw4u/src/hrw_symbols.py366 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.py199 except Exception:CODE
LOWtests/gold_tests/h2/h2_interim_origin.py170 except Exception as e: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.py125 except Exception as e:CODE
MEDIUM…ts/pluginTest/compress/compress_100_continue_origin.py126 print(f'Error handling connection from {addr}: {e}', file=sys.stderr)CODE
LOW…luginTest/stats_over_http/prometheus_stats_ingester.py64 except Exception as e:CODE
LOW…luginTest/stats_over_http/prometheus_stats_ingester.py77 except Exception as e:CODE
LOW…luginTest/stats_over_http/prometheus_stats_ingester.py406 except Exception as e:CODE
MEDIUM⚡…luginTest/stats_over_http/prometheus_stats_ingester.py421 print(f"Error fetching URL {args.url}: {e}", file=sys.stderr)CODE
MEDIUM⚡…luginTest/stats_over_http/prometheus_stats_ingester.py428 print(f"Error validating Prometheus v2 metrics: {e}", file=sys.stderr)CODE
MEDIUM⚡…luginTest/stats_over_http/prometheus_stats_ingester.py434 print(f"Error parsing ATS metrics: {e}", file=sys.stderr)CODE
MEDIUM⚡…luginTest/stats_over_http/prometheus_stats_ingester.py441 print(f"Error validating metric families: {e}", file=sys.stderr)CODE
MEDIUM⚡…luginTest/stats_over_http/prometheus_stats_ingester.py448 print(f"Error parsing the metrics when printing them: {e}", file=sys.stderr)CODE
LOW…s/gold_tests/pluginTest/abuse_shield/h2_rate_client.py99 except Exception:CODE
LOW⚡tests/gold_tests/timeout/tunnel_timeout_client.py74 except Exception as e:CODE
LOW⚡tests/gold_tests/timeout/tunnel_timeout_client.py79 except Exception as e:CODE
MEDIUM⚡tests/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
MEDIUM⚡tests/gold_tests/tls/receive_split_client_hello.py117 print(f"Error handling client connection")CODE
LOW⚡tests/gold_tests/tls/receive_split_client_hello.py122 except Exception as e:CODE
MEDIUM⚡tests/gold_tests/tls/receive_split_client_hello.py123 print(f"An error occurred: {e}")CODE
LOW…ts/gold_tests/chunked_encoding/h2_end_stream_origin.py92 except Exception as error:CODE
LOW…old_tests/headers/clients/oversized_field_h2_client.py134 except Exception as e:CODE
LOWtests/gold_tests/logging/pipe_buffer_is_larger_than.py65 except Exception as e:CODE
11 more matches not shown…
AI Slop Vocabulary36 hits · 89 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/pipeline/request_framing_server.py174 # SIGTERM from the test harness or a Ctrl-C is a clean shutdown.COMMENT
MEDIUM…slice/replay/slice_stale_generation_client.replay.yaml109 # and not a broken plugin or harness.COMMENT
MEDIUMtests/gold_tests/cripts/cripts_bundle.replay.yaml20# Configuration for autest integration. This replay file is the harness forCOMMENT
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_engine_abort.test.py118# writes to stderr, which the harness binds to traffic.out -- not diags.log --STRING
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.py657# if the poutput is a bit complex, then you can just set your own gold file.STRING
MEDIUMtests/gold_tests/traffic_ctl/traffic_ctl_test_utils.py676 # records, and config diff would otherwise list the harness's rolling setting.COMMENT
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 Comments39 hits · 73 pts
SeverityFileLineSnippetContext
MEDIUMtools/compare_servers.pl157 # Create a user agent objectCOMMENT
MEDIUMtools/compare_servers.pl161 # Create a user agent objectCOMMENT
MEDIUM…ts/gold_tests/h2/http2_origin_interim_response.test.py60# Create an origin process per mode and build the remap table from their ports.STRING
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…old_tests/pluginTest/abuse_shield/abuse_shield.test.py56 # Create the plugin config file.STRING
MEDIUM…old_tests/pluginTest/abuse_shield/abuse_shield.test.py303 # Create the plugin config file with a low max_req_rate for testing.STRING
MEDIUM…old_tests/pluginTest/abuse_shield/abuse_shield.test.py442 # Create the plugin config file with a low max_conn_rate for testing.STRING
MEDIUM…old_tests/pluginTest/abuse_shield/abuse_shield.test.py675 # Create the plugin config file with a low max_req_rate for testing.STRING
MEDIUM…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1187 # Create the plugin config file with a log_file setting.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.py92# Create an arbitrary process that just sleeps so that we can provide a waitSTRING
MEDIUMtests/gold_tests/logging/log_pipe.test.py169# 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 Boilerplate51 hits · 35 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.py44def update_config_file(path1: str, content1: str, path2: str, content2: str) -> None:STRING
LOW⚡tests/gold_tests/post/expect_tests.test.py35 def _setup_dns(self, tr: 'TestRun') -> None:CODE
LOW⚡tests/gold_tests/post/expect_tests.test.py43 def _setup_origin(self, tr: 'TestRun') -> None:CODE
LOW⚡tests/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…/gold_tests/cache/client_abort_before_response.test.py70 def _setup_ts(self) -> 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/certifier/certifier.test.py34 def set_permissions() -> None:STRING
LOW…/gold_tests/pluginTest/regex_remap/regex_remap.test.py172 def _update_rules(self) -> None:CODE
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py46 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py253 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py273 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py398 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py417 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py509 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py528 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py641 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py660 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py748 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py767 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py861 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py880 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1021 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1040 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1143 def _setup_origin_server(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1162 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1262 def _setup_ts(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1327 def _update_fingerprint_rule(self) -> None:STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py1426 def _setup_ts(self) -> None:STRING
LOW…pluginTest/abuse_shield/abuse_shield_h2_errors.test.py38 def _setup_ts(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.py37def 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
Verbosity Indicators18 hits · 21 pts
SeverityFileLineSnippetContext
LOW⚡…old_tests/pluginTest/abuse_shield/abuse_shield.test.py978 # Step 3: Wait for block to expire (5 seconds + buffer).STRING
LOW⚡…old_tests/pluginTest/abuse_shield/abuse_shield.test.py985 # Step 4: Verify requests work again after expiration. The quiet waitSTRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py933 # Step 1: Trigger a block by exceeding rate limit.STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py952 # Step 2: Verify the block action and a subsequent rejection are bothSTRING
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
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.py112 # 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
LOW⚡tests/gold_tests/jsonrpc/config_reload_rpc.test.py364 # Check if any task has inline- prefixCOMMENT
LOWtests/gold_tests/jsonrpc/config_reload_rpc.test.py300 # Check if there's an error (which is fine)COMMENT
LOW⚡tests/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
Structural Annotation Overuse17 hits · 18 pts
SeverityFileLineSnippetContext
LOWREADME.md23### Step 1: ConfigurationCOMMENT
LOW⚡…old_tests/pluginTest/abuse_shield/abuse_shield.test.py978 # Step 3: Wait for block to expire (5 seconds + buffer).STRING
LOW⚡…old_tests/pluginTest/abuse_shield/abuse_shield.test.py985 # Step 4: Verify requests work again after expiration. The quiet waitSTRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py933 # Step 1: Trigger a block by exceeding rate limit.STRING
LOW…old_tests/pluginTest/abuse_shield/abuse_shield.test.py952 # Step 2: Verify the block action and a subsequent rejection are bothSTRING
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
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWtools/hrw4u/tests/test_coverage.py120 def test_function(self):CODE