Apache Traffic Server™ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3941 finding(s).
Are imports declared and package/API names verified? 226 finding(s).
Are wrappers, guards, and repeated structures necessary? 1215 finding(s).
Which changes need focused human review? 4920 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | ####################### | COMMENT |
| LOW | CMakeLists.txt | 461 | # the combination developers ask for, but the option itself does not restrict it. | COMMENT |
| LOW | setup.cfg | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tools/compare_servers.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/freelist_diff.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | tools/compare_records.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/compare_records.pl | 21 | # It provides a list of common configs/metrics and their default value changes. | COMMENT |
| LOW | tools/cmake-format.sh | 1 | #! /usr/bin/env bash | COMMENT |
| LOW | tools/build_h3_tools.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/slow_log_report.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/build_boringssl_h3_tools.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/yapf.sh | 1 | #! /usr/bin/env bash | COMMENT |
| LOW | tools/sni_lua_to_yaml.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/clang-format.sh | 1 | #! /usr/bin/env bash | COMMENT |
| LOW | tools/build_openssl_h3_tools.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/whitespace-format.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/gdb-helpers.py | 1 | # | COMMENT |
| LOW | tools/gdb-helpers.py | 21 | # In a .gdbinit file or from the gdb command prompt: | COMMENT |
| LOW | tools/traffic_cacheable.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/install_cmake.sh | 1 | #! /usr/bin/env bash | COMMENT |
| LOW | tools/gdb_mutex_contention.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/benchmark/CMakeLists.txt | 1 | ####################### | COMMENT |
| LOW | tools/http_load/port.h | 21 | ** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | COMMENT |
| LOW | tools/http_load/port.h | 41 | #define ARCH "Linux" | COMMENT |
| LOW | tools/http_load/port.h | 61 | #if (__FreeBSD_version >= 411000) | COMMENT |
| LOW | tools/http_load/port.h | 81 | #define HAVE_DAEMON | COMMENT |
| LOW | tools/http_load/http_load.c | 21 | ** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | COMMENT |
| LOW | tools/http_load/http_load.c | 41 | #include <netinet/in.h> | COMMENT |
| LOW | tools/http_load/merge_stats.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/records/convert2yaml.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/changelog/pyproject.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tools/changelog/changelog.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/cripts/genconfig.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/cripts/compiler.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/traffic_via/traffic_via.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | tools/traffic_via/traffic_via.pl | 21 | # @File traffic_via.pl | COMMENT |
| LOW | tools/ebpf/trylock-stats/trylock-stats.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/traffic_grapher/pyproject.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | tools/traffic_grapher/traffic_grapher.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/hrw4u/pyproject.toml | 1 | # | COMMENT |
| LOW | tools/hrw4u/bootstrap.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/hrw4u/tests/test_procedures.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_common.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_ast_roundtrip.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_coverage.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_ops_reverse.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_tables.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_vars.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_errors.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_ast_visitor.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_ast_nodes.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_vars_reverse.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_bulk.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_examples_reverse.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_conds.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_hooks.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_hooks_reverse.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/utils.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/test_units.py | 1 | # | COMMENT |
| LOW | tools/hrw4u/tests/ast_unparse.py | 1 | # | COMMENT |
| 3151 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/gold_tests/pipeline/noop_keepalive.test.py | 0 | configure the origin server. :param tr: the test run to associate with the origin server with. :return: the origin serve | STRING |
| HIGH | …s/gold_tests/pipeline/delete_maxfwd_noop_drain.test.py | 0 | configure the origin server. :param tr: the test run to associate with the origin server with. :return: the origin serve | STRING |
| HIGH | tests/gold_tests/pipeline/pipeline.test.py | 0 | configure the origin server. :param tr: the test run to associate with the origin server with. :return: the origin serve | STRING |
| HIGH | tests/gold_tests/pipeline/noop_keepalive.test.py | 0 | configure 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.py | 0 | configure the client. :param tr: the test run to associate with the client process with. :return: the client process. | STRING |
| HIGH | tests/gold_tests/pipeline/pipeline.test.py | 0 | configure the client. :param tr: the test run to associate with the client process with. :return: the client process. | STRING |
| HIGH | tests/gold_tests/pipeline/pipeline_server.py | 0 | create a listening socket. :param address: the address to listen on. :param port: the port to listen on. :returns: a lis | STRING |
| HIGH | tests/gold_tests/slow_post/quick_server.py | 0 | create a listening socket. :param address: the address to listen on. :param port: the port to listen on. :returns: a lis | STRING |
| HIGH | tests/gold_tests/early_hints/early_hints_server.py | 0 | create a listening socket. :param address: the address to listen on. :param port: the port to listen on. :returns: a lis | STRING |
| HIGH | tests/gold_tests/pipeline/pipeline_server.py | 0 | accept a connection. :param sock: the socket to accept a connection on. :returns: the accepted socket. | STRING |
| HIGH | tests/gold_tests/slow_post/quick_server.py | 0 | accept a connection. :param sock: the socket to accept a connection on. :returns: the accepted socket. | STRING |
| HIGH | tests/gold_tests/early_hints/early_hints_server.py | 0 | accept a connection. :param sock: the socket to accept a connection on. :returns: the accepted socket. | STRING |
| HIGH | tests/gold_tests/pipeline/pipeline_client.py | 0 | open a connection to the desired host. :param address: the address of the host to connect to. :param port: the port of t | STRING |
| HIGH | tests/gold_tests/post/expect_client.py | 0 | open a connection to the desired host. :param address: the address of the host to connect to. :param port: the port of t | STRING |
| HIGH | tests/gold_tests/slow_post/slow_post_client.py | 0 | open a connection to the desired host. :param address: the address of the host to connect to. :param port: the port of t | STRING |
| HIGH | …ts/gold_tests/remap/remap_load_missing_success.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | tests/gold_tests/remap/remap_load_empty_failure.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | tests/gold_tests/remap/regex_map.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | tests/gold_tests/remap/remap_load_empty_success.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | …ts/gold_tests/remap/remap_load_missing_failure.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | tests/gold_tests/remap/map_with_recv_port.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | …/gold_tests/remap_yaml/map_with_recv_port_yaml.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | tests/gold_tests/remap_yaml/regex_map_yaml.test.py | 0 | verify correct behavior of regex_map in remap.config. | STRING |
| HIGH | tests/gold_tests/remap/remap_ws.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/remap/remap_https.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/post/post-continue.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/post/post-early-return.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_close_connection.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_txn_start_read_gate.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_flow_control.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_max_active_streams.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2_origin_trailers_h1.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2disable.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2origin.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2_to_origin_continuation.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2enable.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_write_threshold.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2_to_origin_pool_reuse.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2enable_no_accept_threads.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2disable_no_accept_threads.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2origin_single_thread.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_empty_data_frame.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2_settings_ack_not_counted.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | …/gold_tests/h2/h2_to_origin_payload_validation.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/nghttp.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | …sts/gold_tests/h2/http2_crlf_header_validation.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_rst_stream.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | …ts/gold_tests/h2/http2_origin_interim_response.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_concurrent_streams.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/httpbin.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2spec.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2get_with_body.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/http2_priority.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2_origin_cert_reverify.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/h2_settings_ack_inbound.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/h2/grpc/grpc.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | tests/gold_tests/cache/background_fill.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | …s/gold_tests/post_slow_server/post_slow_server.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| HIGH | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 0 | ssl_multicert: - ssl_cert_name: server.pem dest_ip: "*" ssl_key_name: server.key | STRING |
| 236 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/compare_servers.pl | 30 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/compare_servers.pl | 43 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/compare_servers.pl | 75 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/compare_servers.pl | 128 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/traffic_cacheable.pl | 61 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/traffic_cacheable.pl | 86 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/traffic_cacheable.pl | 94 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 75 | # ============================================================================= | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 77 | # ============================================================================= | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 332 | # ============================================================================= | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 334 | # ============================================================================= | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 535 | # ============================================================================= | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 537 | # ============================================================================= | COMMENT |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 935 | # ============================================================================= | STRING |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 937 | # ============================================================================= | STRING |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 1559 | # ============================================================================= | STRING |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 1561 | # ============================================================================= | STRING |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 1573 | # ============================================================================= | STRING |
| MEDIUM | tools/traffic_grapher/traffic_grapher.py | 1575 | # ============================================================================= | STRING |
| MEDIUM | tools/hrw4u/tests/test_common.py | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/hrw4u/tests/test_common.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/hrw4u/tests/test_common.py | 209 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/hrw4u/tests/test_common.py | 211 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/hrw4u/tests/test_lsp.py | 670 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/hrw4u/tests/test_lsp.py | 672 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/gold_tests/remap/virtualhost_remap.test.py | 186 | # ============================================================================ | STRING |
| MEDIUM | tests/gold_tests/remap/virtualhost_remap.test.py | 196 | # ============================================================================ | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 71 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 79 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 99 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 101 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 127 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 132 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 154 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …/gold_tests/records/records_runroot_precedence.test.py | 156 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | …_tests/cache/replay/cache-heuristic-status.replay.yaml | 70 | # ===================================================================== | COMMENT |
| MEDIUM | …_tests/cache/replay/cache-heuristic-status.replay.yaml | 77 | # ===================================================================== | COMMENT |
| MEDIUM | …_tests/cache/replay/cache-heuristic-status.replay.yaml | 347 | # ===================================================================== | COMMENT |
| MEDIUM | …_tests/cache/replay/cache-heuristic-status.replay.yaml | 353 | # ===================================================================== | COMMENT |
| MEDIUM | …old_tests/cache/replay/varied_transactions.replay.yaml | 18 | # ------------- | COMMENT |
| MEDIUM | …old_tests/cache/replay/varied_transactions.replay.yaml | 20 | # ------------- | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 120 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 122 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 163 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 165 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 317 | # ====================================================================== | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 319 | # ====================================================================== | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 382 | # ====================================================================== | COMMENT |
| MEDIUM | …sts/pluginTest/jax_fingerprint/jax_fingerprint.test.py | 384 | # ====================================================================== | COMMENT |
| MEDIUM | …nTest/header_rewrite/header_rewrite_bundle.replay.yaml | 1243 | # ========================================================================== | COMMENT |
| MEDIUM | …nTest/header_rewrite/header_rewrite_bundle.replay.yaml | 1245 | # ========================================================================== | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 23 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 25 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 56 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 58 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 89 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 91 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 124 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 126 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …luginTest/transform/transaction-with-body.replays.yaml | 165 | #--------------------------------------------------------------------------- | COMMENT |
| 230 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gdb-helpers.py | 47 | def event_value_to_description(event_num: int) -> str: | CODE |
| LOW | tools/records/convert2yaml.py | 225 | def make_tmp_file_with_renamed_fields(file): | CODE |
| LOW | tools/traffic_grapher/traffic_grapher.py | 455 | def get_figure_size_for_terminal() -> Tuple[float, float]: | CODE |
| LOW | tools/traffic_grapher/traffic_grapher.py | 599 | def get_socket_via_traffic_ctl(tc): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 103 | def test_valid_input_with_error_collection(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 110 | def test_valid_input_without_error_collection(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 116 | def test_invalid_input_collects_errors(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 142 | def test_ast_mode_with_parse_errors(self, capsys): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 150 | def test_error_collector_summary_on_errors(self, capsys): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 158 | def test_ast_mode_tree_none_with_errors(self, capsys): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 167 | def test_error_collector_reports_failure_to_caller(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 229 | def test_single_file_to_stdout(self, monkeypatch, capsys, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 235 | def test_multiple_files_with_separator(self, monkeypatch, capsys, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 245 | def test_bulk_input_output_pairs(self, monkeypatch, capsys, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_common.py | 253 | def test_bulk_nonexistent_input(self, monkeypatch, capsys, tmp_path): | CODE |
| LOW | tools/hrw4u/tests/test_common.py | 61 | def test_returns_parser_and_group(self): | CODE |
| LOW | tools/hrw4u/tests/test_common.py | 66 | def test_parser_has_expected_arguments(self): | CODE |
| LOW | tools/hrw4u/tests/test_common.py | 84 | def test_stdin_returns_default_filename(self): | CODE |
| LOW | tools/hrw4u/tests/test_common.py | 91 | def test_file_input_returns_real_filename(self, tmp_path): | CODE |
| LOW | tools/hrw4u/tests/test_common.py | 180 | def test_clean_input_reports_no_failure(self): | CODE |
| LOW | tools/hrw4u/tests/test_common.py | 188 | def test_visitor_exception_collected(self, capsys): | CODE |
| LOW | tools/hrw4u/tests/test_ast_roundtrip.py | 73 | def test_emitted_config_survives_a_round_trip_through_the_ast(input_file: Path) -> None: | CODE |
| LOW | tools/hrw4u/tests/test_ast_roundtrip.py | 86 | def test_the_corpus_reaches_every_grammar_rule() -> None: | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 40 | def test_policy_sets_non_dict(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 44 | def test_policy_sets_unknown_key(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 48 | def test_policy_sets_unknown_language(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 52 | def test_policy_sets_unknown_modifier(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 56 | def test_policy_sets_is_active(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 62 | def test_sandbox_config_is_active(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 68 | def test_sandbox_load_non_dict_sandbox(self, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 74 | def test_sandbox_load_non_dict_deny(self, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 80 | def test_sandbox_load_non_dict_warn(self, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 86 | def test_sandbox_load_missing_key(self, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 92 | def test_sandbox_load_deny_warn_overlap(self, tmp_path): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 156 | def test_increment_decrement_cond_indent(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 166 | def test_emit_line_and_emit_statement(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 172 | def test_debug_enter_with_args(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 181 | def test_normalize_empty_string_condition(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 187 | def test_build_condition_connector(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 197 | def test_reconstruct_redirect_args(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 206 | def test_intern_keyword_known(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 210 | def test_intern_keyword_unknown(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 226 | def test_resolve_assignment_unknown_symbol(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 231 | def test_resolve_add_assignment_unsupported(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 236 | def test_resolve_function_unknown(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 241 | def test_resolve_statement_func_unknown(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 246 | def test_get_variable_suggestions(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 255 | def test_syntax_error_collected(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 343 | def test_negate_function_call(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 352 | def test_negate_complex_expression(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 357 | def test_convert_set_parens_to_brackets(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 361 | def test_convert_set_already_brackets(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 373 | def test_format_iprange_invalid(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 377 | def test_handle_state_tag_unknown_type(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 382 | def test_handle_state_tag_invalid_index(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 387 | def test_handle_state_tag_missing_payload(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 392 | def test_handle_ip_tag_unknown(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 397 | def test_rewrite_inline_booleans(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 402 | def test_rewrite_inline_numeric(self): | CODE |
| LOW⚡ | tools/hrw4u/tests/test_coverage.py | 406 | def test_rewrite_inline_percent_block(self): | CODE |
| 398 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tools/hrw4u/tests/test_coverage.py | 354 | result = r.negate_expression("a && b") | CODE |
| HIGH⚡ | tools/hrw4u/tests/test_coverage.py | 355 | assert result == "!(a && b)" | CODE |
| HIGH | tools/hrw4u/tests/test_ast_visitor.py | 411 | ' if !inbound.resp.All-Cache && inbound.req.X-B == "b" {\n' | CODE |
| HIGH | tools/hrw4u/tests/test_ast_visitor.py | 719 | if bool_0 || (bool_1 && bool_2) { | CODE |
| HIGH | tools/hrw4u/src/lsp/documentation.py | 927 | examples=["if random(100) < 10 {\n // 10% sampling rate\n}", "random(1000) > 500 && inbound.method == \"G | CODE |
| HIGH | tools/hrw4u/src/lsp/documentation.py | 938 | "ssn-txn-count() == 1 && inbound.method == \"GET\"" | CODE |
| HIGH | tools/hrw4u/src/lsp/documentation.py | 1316 | examples=["if now.HOUR >= 22 || now.HOUR < 6 {\n // Night time processing\n}", "now.WEEKDAY == 0 // Sund | CODE |
| HIGH | tests/gold_tests/ats_probe/cache_dir_probe.test.py | 110 | f"sleep 1 && curl -sSf -o /dev/null -H 'Host: cache-probe.test' {cache_url} && " | CODE |
| HIGH | tests/gold_tests/shutdown/double_sigterm.test.py | 46 | f'{sys.executable} ./{TS_PID_SCRIPT} double_sigterm_ts --signal TERM && sleep 1 && ' | STRING |
| HIGH | tests/gold_tests/shutdown/double_sigterm.test.py | 47 | 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.py | 161 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_bad_disk_dropped.test.py | 162 | 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.py | 207 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_bad_disk_dropped.test.py | 208 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shmbd_ts2 --signal TERM && sleep 3') | STRING |
| HIGH⚡ | …ts/gold_tests/cache/cache_shm_storage_mismatch.test.py | 163 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH⚡ | …ts/gold_tests/cache/cache_shm_storage_mismatch.test.py | 164 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shms_ts1 --signal TERM && sleep 3') | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_storage_mismatch.test.py | 186 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_storage_mismatch.test.py | 187 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shms_ts2 --signal TERM && sleep 3') | STRING |
| HIGH | …s/gold_tests/cache/cache_shm_concurrent_attach.test.py | 162 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …s/gold_tests/cache/cache_shm_concurrent_attach.test.py | 163 | f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3') | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_purge_on_disable.test.py | 178 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_purge_on_disable.test.py | 179 | f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3') | STRING |
| HIGH | tests/gold_tests/cache/cache_shm_dir_invalid.test.py | 194 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | tests/gold_tests/cache/cache_shm_dir_invalid.test.py | 195 | f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3') | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_unclean_shutdown.test.py | 146 | 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.py | 165 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …ts/gold_tests/cache/cache_shm_unclean_shutdown.test.py | 166 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shmu_ts2 --signal TERM && sleep 3') | STRING |
| HIGH | tests/gold_tests/cache/cache_shm_fast_restart.test.py | 198 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | tests/gold_tests/cache/cache_shm_fast_restart.test.py | 199 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shm_ts1 --signal TERM && sleep 3') | STRING |
| HIGH | tests/gold_tests/cache/cache_shm_fast_restart.test.py | 222 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | tests/gold_tests/cache/cache_shm_fast_restart.test.py | 223 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shm_ts2 --signal TERM && sleep 3') | STRING |
| HIGH | …sts/gold_tests/cache/cache_shm_schema_mismatch.test.py | 158 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …sts/gold_tests/cache/cache_shm_schema_mismatch.test.py | 159 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shmx_ts1 --signal TERM && sleep 3') | STRING |
| HIGH | …sts/gold_tests/cache/cache_shm_schema_mismatch.test.py | 186 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …sts/gold_tests/cache/cache_shm_schema_mismatch.test.py | 187 | f'{sys.executable} ./{self.TS_PID_SCRIPT} shmx_ts2 --signal TERM && sleep 3') | STRING |
| HIGH | …ld_tests/cache/cache_shm_control_size_mismatch.test.py | 171 | f'traffic_ctl server drain && sleep 1 && ' | STRING |
| HIGH | …ld_tests/cache/cache_shm_control_size_mismatch.test.py | 172 | f'{sys.executable} ./{self.TS_PID_SCRIPT} {name} --signal TERM && sleep 3') | STRING |
| HIGH | …old_tests/pluginTest/healthchecks/healthchecks.test.py | 124 | p.Command = f'rm {Test.RunDirectory}/acme-ssl && sleep 1' | CODE |
| HIGH⚡ | …old_tests/pluginTest/healthchecks/healthchecks.test.py | 190 | 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.py | 293 | tr1.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.py | 114 | 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.py | 185 | ps.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.py | 113 | 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.py | 34 | # + url.length() | STRING |
| HIGH | …gold_tests/pluginTest/esi/esi_request_size_cap.test.py | 36 | # + _headers_str.length() | STRING |
| HIGH⚡ | tests/gold_tests/jsonrpc/config_reload_dedup.test.py | 104 | tr.Processes.Default.Command = ('sleep 3 && traffic_ctl config set proxy.config.ssl.server.session_ticket.enable 0 --col | CODE |
| HIGH⚡ | tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py | 75 | 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.py | 90 | tr.Processes.Default.Command = "sleep 3 && echo ATS started" | CODE |
| HIGH⚡ | tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py | 128 | f'cp {ssl_dir}/cert-01.key {ssl_dir}/cert-13.key && touch {ssl_dir}/cert-13.pem', # key mismatch | CODE |
| HIGH⚡ | tests/gold_tests/jsonrpc/config_reload_ssl_bulk.test.py | 168 | 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 in | CODE |
| HIGH⚡ | …ld_tests/jsonrpc/config_reload_reserve_subtask.test.py | 88 | 'sleep 3 && traffic_ctl config set proxy.config.diags.debug.tags ' | CODE |
| HIGH⚡ | …sts/gold_tests/jsonrpc/config_reload_ssl_state.test.py | 66 | tr.Processes.Default.Command = "sleep 3 && echo 'ATS started'" | CODE |
| HIGH⚡ | …/gold_tests/ip_allow/ip_allow_reload_triggered.test.py | 109 | tr.Processes.Default.Command = f"sleep 3 && touch {os.path.join(config_dir, 'ip_allow.yaml')} && sleep 1" | STRING |
| HIGH | tests/gold_tests/redirect/redirect_post.test.py | 82 | 'touch largefile.txt && truncate -s 50M largefile.txt && {{curl}} -H "Expect: " -i http://127.0.0.1:{0}/redirect1 -F | STRING |
| HIGH⚡ | …/gold_tests/parent_config/parent_config_reload.test.py | 49 | tr.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.py | 129 | tr = Test.AddTestRun("Regression test for an undefined, mangled C++ symbol.") | STRING |
| HIGH | …d_tests/config_processor/config_destroy_thread.test.py | 51 | tr.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.py | 60 | tr.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.py | 56 | tr.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.py | 55 | tr.Processes.Default.Command = 'traffic_ctl config convert plugin_config basic.config generated.yaml > /dev/null && cat | CODE |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/traffic_grapher/traffic_grapher.py | 651 | except (subprocess.TimeoutExpired, OSError): | CODE |
| HIGH | tools/traffic_grapher/traffic_grapher.py | 530 | except (OSError, IOError): | CODE |
| HIGH | tools/traffic_grapher/traffic_grapher.py | 521 | except (OSError, IOError): | CODE |
| HIGH | tools/hrw4u/tests/test_lsp.py | 201 | except ValueError: | CODE |
| HIGH | tools/hrw4u/src/kg_visitor.py | 338 | except Exception: | CODE |
| HIGH | tools/hrw4u/src/suggestions.py | 39 | except ImportError: | CODE |
| HIGH | tools/hrw4u/src/errors.py | 104 | except Exception: | CODE |
| HIGH | tools/hrw4u/src/errors.py | 227 | except Exception: | CODE |
| HIGH | tools/hrw4u/src/hrw_visitor.py | 236 | except ValueError: | CODE |
| HIGH | tools/hrw4u/src/lsp/strings.py | 164 | except ValueError: | CODE |
| HIGH | tests/tools/mock_origin.py | 108 | except ConnectionError: | CODE |
| HIGH | tests/tools/mock_origin.py | 127 | except ConnectionError: | CODE |
| HIGH | tests/tools/mock_origin.py | 137 | except ConnectionError: | CODE |
| HIGH | tests/gold_tests/pipeline/request_framing_server.py | 173 | except (KeyboardInterrupt, SystemExit): | CODE |
| HIGH | tests/gold_tests/pipeline/noop_keepalive_client.py | 38 | except socket.timeout: | CODE |
| HIGH | tests/gold_tests/pipeline/desync_client_miss.py | 36 | except socket.timeout: | CODE |
| HIGH | tests/gold_tests/pipeline/desync_client.py | 76 | except socket.timeout: | CODE |
| HIGH | tests/gold_tests/pipeline/desync_server.py | 78 | except OSError: | CODE |
| HIGH | tests/gold_tests/h2/trickle_server.py | 236 | except KeyError: | CODE |
| HIGH | tests/gold_tests/h2/trickle_server.py | 232 | except KeyError: | CODE |
| HIGH | tests/gold_tests/h2/grpc/grpc_server.py | 118 | except KeyboardInterrupt: | CODE |
| HIGH | …old_tests/pluginTest/txn_box/ramp/multi_ramp_common.py | 55 | except: | CODE |
| HIGH | …old_tests/pluginTest/txn_box/ramp/multi_ramp_common.py | 81 | except: | CODE |
| HIGH | …gold_tests/pluginTest/abuse_shield/idle_connections.py | 33 | except OSError: | CODE |
| HIGH | …s/gold_tests/pluginTest/abuse_shield/h2_rate_client.py | 99 | except Exception: | CODE |
| HIGH | …s/gold_tests/pluginTest/abuse_shield/h2_rate_client.py | 94 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | tests/gold_tests/tunnel/dumb_proxy.py | 57 | except OSError: | CODE |
| HIGH | tests/gold_tests/tunnel/dumb_proxy.py | 62 | except OSError: | CODE |
| HIGH | …sts/gold_tests/tls/tls_renegotiation_allowed_client.py | 109 | except BrokenPipeError: | CODE |
| HIGH | tests/gold_tests/tls/tls_engine_abort.py | 50 | except (ssl.SSLWantReadError, ssl.SSLWantWriteError, ssl.SSLError, socket.timeout, OSError): | CODE |
| HIGH | tests/gold_tests/tls/tls_engine_abort.py | 55 | except OSError: | CODE |
| HIGH | tests/gold_tests/tls/tls_engine_abort.py | 60 | except OSError: | CODE |
| HIGH | …/gold_tests/chunked_encoding/chunk_extension_client.py | 80 | except OSError: | CODE |
| HIGH | …ts/gold_tests/chunked_encoding/chunk_trailer_client.py | 78 | except OSError: | CODE |
| HIGH | tests/gold_tests/redirect/redirect_actions.test.py | 42 | except socket.gaierror: | CODE |
| HIGH | tests/gold_tests/redirect/redirect_actions.test.py | 53 | except socket.gaierror: | CODE |
| HIGH | tests/gold_tests/logging/verify_milestone_fields.py | 160 | except ValueError: | CODE |
| HIGH | …test-1.13.0/googletest/test/gtest_xml_outfiles_test.py | 89 | except os.error: | CODE |
| HIGH | …test-1.13.0/googletest/test/gtest_xml_outfiles_test.py | 93 | except os.error: | CODE |
| HIGH | …test-1.13.0/googletest/test/gtest_xml_outfiles_test.py | 97 | except os.error: | CODE |
| HIGH | …t-1.13.0/googletest/test/googletest-filter-unittest.py | 47 | except ImportError: | CODE |
| HIGH | ….13.0/googletest/test/googletest-json-outfiles-test.py | 152 | except os.error: | CODE |
| HIGH | ….13.0/googletest/test/googletest-json-outfiles-test.py | 156 | except os.error: | CODE |
| HIGH | ….13.0/googletest/test/googletest-json-outfiles-test.py | 160 | except os.error: | CODE |
| HIGH | doc/conf.cmake.in.py | 174 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gdb-helpers.py | 37 | CODE | |
| LOW | tools/records/convert2yaml.py | 29 | CODE | |
| LOW | tools/records/convert2yaml.py | 32 | CODE | |
| LOW | tools/records/convert2yaml.py | 33 | CODE | |
| LOW | tools/records/convert2yaml.py | 36 | CODE | |
| LOW | tools/ebpf/trylock-stats/trylock-stats.py | 23 | CODE | |
| LOW | tools/ebpf/trylock-stats/trylock-stats.py | 25 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 57 | CODE | |
| LOW | tools/hrw4u/tests/test_procedures.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_common.py | 24 | CODE | |
| LOW | tools/hrw4u/tests/test_ast_roundtrip.py | 41 | CODE | |
| LOW | tools/hrw4u/tests/test_ops_reverse.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_tables.py | 18 | CODE | |
| LOW | tools/hrw4u/tests/test_vars.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_ast_visitor.py | 22 | CODE | |
| LOW | tools/hrw4u/tests/test_vars_reverse.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_bulk.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_examples_reverse.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_conds.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_hooks.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_hooks_reverse.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/utils.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/ast_unparse.py | 23 | CODE | |
| LOW | tools/hrw4u/tests/ast_unparse.py | 25 | CODE | |
| LOW | tools/hrw4u/tests/test_conds_reverse.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/lsp_asserts.py | 19 | CODE | |
| LOW | tools/hrw4u/tests/test_sandbox.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_ops.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_lsp.py | 19 | CODE | |
| LOW | tools/hrw4u/tests/test_cli.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_cli.py | 22 | CODE | |
| LOW | tools/hrw4u/tests/test_examples.py | 17 | CODE | |
| LOW | tools/hrw4u/tests/test_debug_mode.py | 25 | CODE | |
| LOW | tools/hrw4u/scripts/testcase.py | 19 | CODE | |
| LOW | tools/hrw4u/scripts/testcase.py | 24 | CODE | |
| LOW | tools/hrw4u/src/ast_visitor.py | 18 | CODE | |
| LOW | tools/hrw4u/src/ast_visitor.py | 21 | CODE | |
| LOW | tools/hrw4u/src/kg_visitor.py | 18 | CODE | |
| LOW | tools/hrw4u/src/suggestions.py | 18 | CODE | |
| LOW | tools/hrw4u/src/suggestions.py | 20 | CODE | |
| LOW | tools/hrw4u/src/formatters.py | 24 | CODE | |
| LOW | tools/hrw4u/src/formatters.py | 31 | CODE | |
| LOW | tools/hrw4u/src/formatters.py | 31 | CODE | |
| LOW | tools/hrw4u/src/interning.py | 19 | CODE | |
| LOW | tools/hrw4u/src/types.py | 18 | CODE | |
| LOW | tools/hrw4u/src/debugging.py | 18 | CODE | |
| LOW | tools/hrw4u/src/generators.py | 25 | CODE | |
| LOW | tools/hrw4u/src/sandbox.py | 19 | CODE | |
| LOW | tools/hrw4u/src/symbols.py | 17 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 18 | CODE | |
| LOW | tools/hrw4u/src/common.py | 19 | CODE | |
| LOW | tools/hrw4u/src/visitor_base.py | 17 | CODE | |
| LOW | tools/hrw4u/src/tables.py | 18 | CODE | |
| LOW | tools/hrw4u/src/errors.py | 18 | CODE | |
| LOW | tools/hrw4u/src/errors.py | 27 | CODE | |
| LOW | tools/hrw4u/src/procedures.py | 21 | CODE | |
| LOW | tools/hrw4u/src/states.py | 18 | CODE | |
| LOW | tools/hrw4u/src/states.py | 21 | CODE | |
| LOW | tools/hrw4u/src/symbols_base.py | 18 | CODE | |
| LOW | tools/hrw4u/src/hrw_visitor.py | 17 | CODE | |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gdb-helpers.py | 47 | CODE | |
| LOW | tools/records/convert2yaml.py | 249 | CODE | |
| LOW | tools/changelog/changelog.py | 78 | CODE | |
| LOW | tools/changelog/changelog.py | 164 | CODE | |
| LOW | tools/changelog/changelog.py | 402 | CODE | |
| LOW | tools/cripts/genconfig.py | 74 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 500 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 792 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 953 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 1088 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 1098 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 1247 | CODE | |
| LOW | tools/traffic_grapher/traffic_grapher.py | 1418 | CODE | |
| LOW | tools/hrw4u/tests/utils.py | 72 | CODE | |
| LOW | tools/hrw4u/tests/utils.py | 461 | CODE | |
| LOW | tools/hrw4u/tests/test_lsp.py | 78 | CODE | |
| LOW | tools/hrw4u/tests/test_lsp.py | 194 | CODE | |
| LOW | tools/hrw4u/tests/test_lsp.py | 336 | CODE | |
| LOW | tools/hrw4u/src/ast_visitor.py | 52 | CODE | |
| LOW | tools/hrw4u/src/ast_visitor.py | 107 | CODE | |
| LOW | tools/hrw4u/src/kg_visitor.py | 216 | CODE | |
| LOW | tools/hrw4u/src/kg_visitor.py | 384 | CODE | |
| LOW | tools/hrw4u/src/kg_visitor.py | 485 | CODE | |
| LOW | tools/hrw4u/src/kg_visitor.py | 511 | CODE | |
| LOW | tools/hrw4u/src/types.py | 229 | CODE | |
| LOW | tools/hrw4u/src/types.py | 247 | CODE | |
| LOW | tools/hrw4u/src/symbols.py | 72 | CODE | |
| LOW | tools/hrw4u/src/symbols.py | 118 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 147 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 190 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 281 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 348 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 410 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 604 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 686 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 766 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 1105 | CODE | |
| LOW | tools/hrw4u/src/visitor.py | 196 | CODE | |
| LOW | tools/hrw4u/src/common.py | 234 | CODE | |
| LOW | tools/hrw4u/src/common.py | 289 | CODE | |
| LOW | tools/hrw4u/src/visitor_base.py | 248 | CODE | |
| LOW | tools/hrw4u/src/states.py | 134 | CODE | |
| LOW | tools/hrw4u/src/hrw_visitor.py | 208 | CODE | |
| LOW | tools/hrw4u/src/hrw_symbols.py | 130 | CODE | |
| LOW | tools/hrw4u/src/hrw_symbols.py | 317 | CODE | |
| LOW | tools/hrw4u/src/hrw_symbols.py | 484 | CODE | |
| LOW | tools/hrw4u/src/lsp/documentation.py | 727 | CODE | |
| LOW | tools/hrw4u/src/lsp/documentation.py | 1221 | CODE | |
| LOW | tools/hrw4u/src/lsp/hover.py | 143 | CODE | |
| LOW | tools/hrw4u/src/lsp/hover.py | 212 | CODE | |
| LOW | tools/hrw4u/src/lsp/hover.py | 363 | CODE | |
| LOW | tools/hrw4u/src/lsp/strings.py | 40 | CODE | |
| LOW | tools/hrw4u/src/lsp/strings.py | 199 | CODE | |
| LOW | plugins/traffic_dump/post_process.py | 226 | CODE | |
| LOW | tests/tools/mock_origin.py | 87 | CODE | |
| LOW | tests/gold_tests/autest-site/ports.py | 129 | CODE | |
| LOW | tests/gold_tests/autest-site/jsonrpc.py | 262 | CODE | |
| LOW | tests/gold_tests/pipeline/request_framing_server.py | 86 | CODE | |
| LOW | tests/gold_tests/pipeline/request_framing_server.py | 157 | CODE | |
| LOW | tests/gold_tests/pipeline/request_framing_client.py | 83 | CODE | |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/records/convert2yaml.py | 334 | except Exception as e: | CODE |
| MEDIUM | tools/records/convert2yaml.py | 335 | print("Something went wrong:\n{}".format(e)) | CODE |
| LOW | tools/traffic_grapher/traffic_grapher.py | 615 | except Exception: | CODE |
| LOW | tools/traffic_grapher/traffic_grapher.py | 982 | except Exception: | STRING |
| LOW | tools/hrw4u/tests/test_lsp.py | 127 | except Exception as e: | CODE |
| LOW | tools/hrw4u/tests/test_lsp.py | 141 | except Exception: | CODE |
| LOW | tools/hrw4u/tests/test_lsp.py | 321 | except Exception: | CODE |
| LOW | tools/hrw4u/scripts/testcase.py | 103 | except Exception as e: | CODE |
| LOW | tools/hrw4u/scripts/testcase.py | 126 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/kg_visitor.py | 338 | except Exception: | CODE |
| LOW | tools/hrw4u/src/visitor.py | 231 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/visitor.py | 270 | except Exception: | CODE |
| LOW | tools/hrw4u/src/visitor.py | 945 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/visitor.py | 1034 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/visitor.py | 1068 | except Exception as exc: | CODE |
| LOW | tools/hrw4u/src/common.py | 224 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/common.py | 271 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/common.py | 390 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/common.py | 410 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/common.py | 424 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/errors.py | 82 | except Exception: | CODE |
| LOW | tools/hrw4u/src/errors.py | 104 | except Exception: | CODE |
| LOW | tools/hrw4u/src/errors.py | 227 | except Exception: | CODE |
| LOW | tools/hrw4u/src/hrw_visitor.py | 310 | except Exception as e: | CODE |
| LOW | tools/hrw4u/src/hrw_symbols.py | 321 | except Exception: | CODE |
| LOW | tools/hrw4u/src/hrw_symbols.py | 349 | except Exception: | CODE |
| LOW | tools/hrw4u/src/hrw_symbols.py | 366 | except Exception: | CODE |
| LOW | tools/hrw4u/src/lsp/strings.py | 245 | except Exception: | CODE |
| LOW | plugins/traffic_dump/post_process.py | 212 | except Exception as e: | STRING |
| LOW | plugins/traffic_dump/post_process.py | 218 | except Exception as e: | STRING |
| LOW | tests/gold_tests/autest-site/ports.py | 199 | except Exception: | CODE |
| LOW | tests/gold_tests/h2/h2_interim_origin.py | 170 | except Exception as e: | CODE |
| LOW | tests/gold_tests/h2/h2active_timeout.py | 128 | except Exception: | CODE |
| LOW | tests/gold_tests/h2/trickle_client.py | 299 | except Exception as e: | CODE |
| LOW | …ts/pluginTest/compress/compress_100_continue_origin.py | 125 | except Exception as e: | CODE |
| MEDIUM | …ts/pluginTest/compress/compress_100_continue_origin.py | 126 | print(f'Error handling connection from {addr}: {e}', file=sys.stderr) | CODE |
| LOW | …luginTest/stats_over_http/prometheus_stats_ingester.py | 64 | except Exception as e: | CODE |
| LOW | …luginTest/stats_over_http/prometheus_stats_ingester.py | 77 | except Exception as e: | CODE |
| LOW | …luginTest/stats_over_http/prometheus_stats_ingester.py | 406 | except Exception as e: | CODE |
| MEDIUM⚡ | …luginTest/stats_over_http/prometheus_stats_ingester.py | 421 | print(f"Error fetching URL {args.url}: {e}", file=sys.stderr) | CODE |
| MEDIUM⚡ | …luginTest/stats_over_http/prometheus_stats_ingester.py | 428 | print(f"Error validating Prometheus v2 metrics: {e}", file=sys.stderr) | CODE |
| MEDIUM⚡ | …luginTest/stats_over_http/prometheus_stats_ingester.py | 434 | print(f"Error parsing ATS metrics: {e}", file=sys.stderr) | CODE |
| MEDIUM⚡ | …luginTest/stats_over_http/prometheus_stats_ingester.py | 441 | print(f"Error validating metric families: {e}", file=sys.stderr) | CODE |
| MEDIUM⚡ | …luginTest/stats_over_http/prometheus_stats_ingester.py | 448 | print(f"Error parsing the metrics when printing them: {e}", file=sys.stderr) | CODE |
| LOW | …s/gold_tests/pluginTest/abuse_shield/h2_rate_client.py | 99 | except Exception: | CODE |
| LOW⚡ | tests/gold_tests/timeout/tunnel_timeout_client.py | 74 | except Exception as e: | CODE |
| LOW⚡ | tests/gold_tests/timeout/tunnel_timeout_client.py | 79 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/gold_tests/timeout/tunnel_timeout_client.py | 80 | print(f"Error: {e}") | CODE |
| LOW | tests/gold_tests/tls/tls_reload_under_load_client.py | 90 | except Exception as exc: # noqa: BLE001 - any failure is a test signal | CODE |
| LOW | tests/gold_tests/tls/tls_reload_under_load_client.py | 149 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tests/gold_tests/tls/tls_flow_control_client.py | 86 | except Exception as exc: # noqa: BLE001 - any failure is a test signal | CODE |
| LOW | tests/gold_tests/tls/split_client_hello.py | 110 | except Exception as e: | CODE |
| LOW | tests/gold_tests/tls/split_client_hello.py | 135 | except Exception as e: | CODE |
| MEDIUM | tests/gold_tests/tls/h2_early_decode.py | 241 | print('Error: No input file to decode.') | CODE |
| MEDIUM⚡ | tests/gold_tests/tls/receive_split_client_hello.py | 117 | print(f"Error handling client connection") | CODE |
| LOW⚡ | tests/gold_tests/tls/receive_split_client_hello.py | 122 | except Exception as e: | CODE |
| MEDIUM⚡ | tests/gold_tests/tls/receive_split_client_hello.py | 123 | print(f"An error occurred: {e}") | CODE |
| LOW | …ts/gold_tests/chunked_encoding/h2_end_stream_origin.py | 92 | except Exception as error: | CODE |
| LOW | …old_tests/headers/clients/oversized_field_h2_client.py | 134 | except Exception as e: | CODE |
| LOW | tests/gold_tests/logging/pipe_buffer_is_larger_than.py | 65 | except Exception as e: | CODE |
| 11 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/hrw4u/tests/test_lsp.py | 512 | """Test that namespace prefixes provide comprehensive hover documentation.""" | STRING |
| MEDIUM | tools/hrw4u/tests/test_lsp.py | 602 | """Test that sub-namespace patterns provide comprehensive hover documentation.""" | STRING |
| MEDIUM | tools/hrw4u/tests/test_lsp.py | 628 | """Test that connection sub-namespaces provide comprehensive documentation details.""" | STRING |
| MEDIUM | tools/hrw4u/src/errors.py | 171 | """Collects multiple syntax errors and warnings for comprehensive reporting.""" | STRING |
| MEDIUM | tools/hrw4u/src/hrw_visitor.py | 360 | """Process operation lines with comprehensive error handling.""" | STRING |
| MEDIUM | tools/hrw4u/src/lsp/completions.py | 160 | # Use comprehensive documentation if available | COMMENT |
| MEDIUM | tools/hrw4u/src/lsp/hover.py | 178 | # Use comprehensive HTTP control documentation | COMMENT |
| MEDIUM | tools/hrw4u/src/lsp/hover.py | 220 | # Special handling for cookie patterns - use comprehensive documentation | COMMENT |
| MEDIUM | tools/hrw4u/src/lsp/hover.py | 365 | # Handle method field with comprehensive documentation | COMMENT |
| MEDIUM | tools/hrw4u/src/lsp/hover.py | 398 | # Handle namespace prefixes with comprehensive documentation as fallback | COMMENT |
| MEDIUM | tools/hrw4u/src/lsp/hover.py | 500 | """Get hover info for functions with comprehensive documentation.""" | STRING |
| MEDIUM | tools/hrw4u/src/lsp/hover.py | 501 | # Check comprehensive documentation first | COMMENT |
| MEDIUM | plugins/header_rewrite/matcher.h | 62 | MOD_MID = 1 << 8, // Essentially a substring | CODE |
| LOW | ci/jenkins/jobs.yaml | 85 | # remove the BSD builder and just use the linux one. | COMMENT |
| MEDIUM | tests/gold_tests/pipeline/request_framing_server.py | 174 | # SIGTERM from the test harness or a Ctrl-C is a clean shutdown. | COMMENT |
| MEDIUM | …slice/replay/slice_stale_generation_client.replay.yaml | 109 | # and not a broken plugin or harness. | COMMENT |
| MEDIUM | tests/gold_tests/cripts/cripts_bundle.replay.yaml | 20 | # Configuration for autest integration. This replay file is the harness for | COMMENT |
| MEDIUM | tests/gold_tests/tls/tls_post_abort_origin.py | 51 | # request headers: the test harness probes the port (a bare TCP connect | COMMENT |
| MEDIUM | tests/gold_tests/tls/tls_engine_abort.test.py | 118 | # writes to stderr, which the harness binds to traffic.out -- not diags.log -- | STRING |
| MEDIUM | tests/gold_tests/tls/tls_renegotiation_allowed.test.py | 71 | # The server is a long-running process the harness terminates at the end of | COMMENT |
| LOW | tests/gold_tests/traffic_ctl/traffic_ctl_test_utils.py | 657 | # if the poutput is a bit complex, then you can just set your own gold file. | STRING |
| MEDIUM | tests/gold_tests/traffic_ctl/traffic_ctl_test_utils.py | 676 | # records, and config diff would otherwise list the harness's rolling setting. | COMMENT |
| MEDIUM | lib/highway/hwy/nanobenchmark.h | 20 | // prediction hit rates. Uses a robust estimator to summarize the measurements. | COMMENT |
| MEDIUM | lib/highway/hwy/nanobenchmark.h | 46 | // which is more robust to outliers and skewed data than the mean or median. | COMMENT |
| MEDIUM | lib/highway/hwy/auto_tune.h | 78 | // - The minimum is not a robust estimator because there are also "lucky | COMMENT |
| MEDIUM | lib/highway/hwy/auto_tune.h | 96 | // - Trim the initial sample via MAD or skewness for a robust estimate of the | COMMENT |
| MEDIUM | lib/highway/hwy/auto_tune.h | 153 | // deviation, which is robust to almost half of the sample being outliers. | COMMENT |
| MEDIUM | lib/highway/hwy/robust_statistics.h | 82 | // Half Sample Mode estimator proposed by Bickel in "On a fast, robust | COMMENT |
| MEDIUM | lib/highway/hwy/robust_statistics.h | 132 | // Returns a robust measure of variability. | COMMENT |
| MEDIUM | lib/highway/hwy/ops/rvv-inl.h | 4701 | // Definitely at least 128 bit: match x86 semantics (independent blocks). Using | COMMENT |
| MEDIUM | lib/highway/hwy/ops/rvv-inl.h | 4761 | // Definitely less than 128-bit only if there is a small cap; fractional LMUL | COMMENT |
| MEDIUM | …est-1.13.0/googletest/include/gtest/gtest-death-test.h | 152 | // This implementation is *not* meant to be as highly tuned or robust | COMMENT |
| MEDIUM | …est-1.13.0/googletest/include/gtest/gtest-death-test.h | 224 | // In practice, this can be used to test functions that utilize the | COMMENT |
| MEDIUM | lib/yamlcpp/src/contrib/dragonbox.h | 1223 | // Without the bound on n_max (which compilers these days never leverage), the | COMMENT |
| MEDIUM | lib/yamlcpp/src/contrib/dragonbox.h | 1233 | // Without the bound on n_max (which compilers these days never leverage), the | COMMENT |
| MEDIUM | lib/yamlcpp/src/contrib/dragonbox.h | 1246 | // Without the bound on n_max (which compilers these days never leverage), the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/compare_servers.pl | 157 | # Create a user agent object | COMMENT |
| MEDIUM | tools/compare_servers.pl | 161 | # Create a user agent object | COMMENT |
| MEDIUM | …ts/gold_tests/h2/http2_origin_interim_response.test.py | 60 | # Create an origin process per mode and build the remap table from their ports. | STRING |
| MEDIUM | tests/gold_tests/h2/trickle_server.py | 44 | # Create a chunk of 0 padded bytes, followed by a space. | COMMENT |
| MEDIUM | tests/gold_tests/h2/trickle_client.py | 43 | # Create a chunk of 0 padded bytes, followed by a space. | COMMENT |
| MEDIUM | …replay/negative-caching-300-second-timeout.replay.yaml | 18 | # Create a cached response with a max-age of 300 seconds. | COMMENT |
| MEDIUM | …inTest/regex_revalidate/regex_revalidate_state.test.py | 95 | # Create a state file, second line will be discarded and not merged | STRING |
| MEDIUM | …ebug/x_probe_full_json_slow_origin/slow-body-server.sh | 27 | # Create a named pipe for the response | COMMENT |
| MEDIUM | tests/gold_tests/pluginTest/esi/esi.test.py | 151 | # Create a run to start the server. | STRING |
| MEDIUM | tests/gold_tests/pluginTest/esi/esi.test.py | 176 | # Create a run to start the ATS process. | STRING |
| MEDIUM | tests/gold_tests/pluginTest/esi/esi_304.test.py | 117 | # Create a run to start the server. | STRING |
| MEDIUM | tests/gold_tests/pluginTest/esi/esi_304.test.py | 142 | # Create a run to start the ATS process. | STRING |
| MEDIUM | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 56 | # Create the plugin config file. | STRING |
| MEDIUM | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 303 | # Create the plugin config file with a low max_req_rate for testing. | STRING |
| MEDIUM | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 442 | # Create the plugin config file with a low max_conn_rate for testing. | STRING |
| MEDIUM | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 675 | # Create the plugin config file with a low max_req_rate for testing. | STRING |
| MEDIUM | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1187 | # Create the plugin config file with a log_file setting. | STRING |
| MEDIUM | …ts/gold_tests/pluginTest/crash_test/crash_test.test.py | 31 | # Create an origin server for the test. | STRING |
| MEDIUM | tests/gold_tests/continuations/double.test.py | 68 | # Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands. | STRING |
| MEDIUM | tests/gold_tests/continuations/openclose_h2.test.py | 74 | # Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands. | STRING |
| MEDIUM | tests/gold_tests/continuations/session_id.test.py | 70 | # Create a bunch of curl commands to be executed in parallel. Default.Process | STRING |
| MEDIUM | tests/gold_tests/continuations/double_h2.test.py | 87 | # Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands. | STRING |
| MEDIUM | tests/gold_tests/continuations/openclose.test.py | 59 | # Create a bunch of curl commands to be executed in parallel. Default.Process is set in SpawnCurlCommands. | STRING |
| MEDIUM | tests/gold_tests/body_factory/http204_response.test.py | 38 | # Create a template body for a 204. | STRING |
| MEDIUM | tests/gold_tests/logging/log_pipe.test.py | 92 | # Create an arbitrary process that just sleeps so that we can provide a wait | STRING |
| MEDIUM | tests/gold_tests/logging/log_pipe.test.py | 169 | # Create an arbitrary process that just sleeps so that we can provide a wait | STRING |
| MEDIUM | …ld_tests/traffic_ctl/traffic_ctl_config_output.test.py | 116 | # # Create a new instance with default values only | STRING |
| MEDIUM | …ld_tests/traffic_ctl/traffic_ctl_config_reload.test.py | 138 | # Create a multi-key config file | STRING |
| MEDIUM | …tl/convert_ssl_multicert/convert_ssl_multicert.test.py | 22 | # Create an ATS process to get the environment with PATH set correctly. | COMMENT |
| MEDIUM | …ts/traffic_ctl/convert_storage/convert_storage.test.py | 22 | # Create an ATS process to get the environment with PATH set correctly. | COMMENT |
| MEDIUM | doc/conf.cmake.in.py | 22 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | doc/ext/traffic-server.cmake.in.py | 234 | # Create an index node so that Sphinx adds this config variable to the | COMMENT |
| MEDIUM | doc/ext/traffic-server.cmake.in.py | 367 | # Create an index node so that Sphinx adds this statistic to the | COMMENT |
| MEDIUM | doc/ext/traffic-server.py | 234 | # Create an index node so that Sphinx adds this config variable to the | COMMENT |
| MEDIUM | doc/ext/traffic-server.py | 363 | # Create an index node so that Sphinx adds this statistic to the | COMMENT |
| MEDIUM | doc/ext/extras/txnbox.cmake.in.py | 137 | # Create an index node so that Sphinx adds this directive to the index. | COMMENT |
| MEDIUM | doc/ext/extras/txnbox.cmake.in.py | 218 | # Create an index node so that Sphinx adds this directive to the index. | COMMENT |
| MEDIUM | doc/ext/extras/txnbox.cmake.in.py | 305 | # Create an index node so that Sphinx adds this directive to the index. | COMMENT |
| MEDIUM | doc/ext/extras/txnbox.cmake.in.py | 387 | # Create an index node so that Sphinx adds this directive to the index. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/hrw4u/src/errors.py | 186 | def set_sandbox_message(self, message: str) -> None: | CODE |
| LOW | tools/hrw4u/src/ast_nodes.py | 23 | __all__ = [ | CODE |
| LOW | tests/gold_tests/remap/remap_reload.test.py | 19 | def update_remap_config(path: str, lines: list) -> None: | CODE |
| LOW | tests/gold_tests/remap/remap_acl.test.py | 44 | def update_config_file(path1: str, content1: str, path2: str, content2: str) -> None: | STRING |
| LOW⚡ | tests/gold_tests/post/expect_tests.test.py | 35 | def _setup_dns(self, tr: 'TestRun') -> None: | CODE |
| LOW⚡ | tests/gold_tests/post/expect_tests.test.py | 43 | def _setup_origin(self, tr: 'TestRun') -> None: | CODE |
| LOW⚡ | tests/gold_tests/post/expect_tests.test.py | 51 | def _setup_trafficserver(self, tr: 'TestRun') -> None: | CODE |
| LOW | tests/gold_tests/post/expect_tests.test.py | 68 | def _setup_client(self, tr: 'TestRun') -> None: | CODE |
| LOW | …/gold_tests/cache/client_abort_before_response.test.py | 70 | def _setup_ts(self) -> None: | CODE |
| LOW | …s/gold_tests/pluginTest/xdebug/x_probe/x_probe.test.py | 46 | def _setupOriginServer(self, tr: 'TestRun') -> None: | CODE |
| LOW | …s/gold_tests/pluginTest/xdebug/x_probe/x_probe.test.py | 52 | def _setupTS(self, tr: 'TestRun') -> None: | CODE |
| LOW | …s/gold_tests/pluginTest/xdebug/x_probe/x_probe.test.py | 66 | def _setupClient(self, tr: 'TestRun') -> None: | CODE |
| LOW | …est/xdebug/x_probe_full_json/x_probe_full_json.test.py | 47 | def _setupOriginServer(self) -> None: | CODE |
| LOW | …est/xdebug/x_probe_full_json/x_probe_full_json.test.py | 52 | def _setupTS(self) -> None: | CODE |
| LOW | …est/xdebug/x_probe_full_json/x_probe_full_json.test.py | 74 | def _setupClient(self) -> None: | CODE |
| LOW | …est/xdebug/x_probe_full_json/x_probe_full_json.test.py | 91 | def _setupJqValidation(self) -> None: | CODE |
| LOW | tests/gold_tests/pluginTest/certifier/certifier.test.py | 34 | def set_permissions() -> None: | STRING |
| LOW | …/gold_tests/pluginTest/regex_remap/regex_remap.test.py | 172 | def _update_rules(self) -> None: | CODE |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 46 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 253 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 273 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 398 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 417 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 509 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 528 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 641 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 660 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 748 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 767 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 861 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 880 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1021 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1040 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1143 | def _setup_origin_server(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1162 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1262 | def _setup_ts(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1327 | def _update_fingerprint_rule(self) -> None: | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 1426 | def _setup_ts(self) -> None: | STRING |
| LOW | …pluginTest/abuse_shield/abuse_shield_h2_errors.test.py | 38 | def _setup_ts(self) -> None: | CODE |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 55 | def _setup_dns(self, tr: 'TestRun') -> None: | STRING |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 63 | def _setup_servers(self, tr: 'TestRun', disable_redirect_header: bool) -> None: | STRING |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 117 | def _setup_ts(self, tr: 'Process', disable_redirect_header: bool) -> None: | STRING |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 150 | def _setup_client(self, tr: 'Process') -> None: | STRING |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 197 | def _setup_dns(self, tr: 'TestRun') -> None: | CODE |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 201 | def _setup_servers(self, tr: 'TestRun') -> None: | CODE |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 238 | def _setup_ts(self, tr: 'TestRun') -> None: | CODE |
| LOW | tests/gold_tests/pluginTest/escalate/escalate.test.py | 264 | def _setup_client(self, tr: 'TestRun') -> None: | CODE |
| LOW | tests/gold_tests/remap_yaml/remap_reload_yaml.test.py | 19 | def update_remap_yaml(path: str, lines: list) -> None: | CODE |
| LOW | tests/gold_tests/remap_yaml/remap_acl_yaml.test.py | 37 | def update_config_file(path1: str, content1: str, path2: str, content2: str) -> None: | STRING |
| LOW | tests/gold_tests/ip_allow/ip_category.test.py | 155 | def _update_remap_with_acl(self) -> None: | STRING |
| LOW | tests/gold_tests/ip_allow/ip_category.test.py | 173 | def _update_categories_file(self, category_content: 'CategoryFile') -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 978 | # Step 3: Wait for block to expire (5 seconds + buffer). | STRING |
| LOW⚡ | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 985 | # Step 4: Verify requests work again after expiration. The quiet wait | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 933 | # Step 1: Trigger a block by exceeding rate limit. | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 952 | # Step 2: Verify the block action and a subsequent rejection are both | STRING |
| LOW⚡ | …ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py | 88 | # Step 0: confirm the record is registered as RECA_READ_ONLY and starts at | STRING |
| LOW⚡ | …ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py | 98 | # Step 1: attempt to write the record via the management RPC. The handler | STRING |
| LOW⚡ | …ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py | 108 | # Step 2: re-look-up the record. Even if step 1's response had been | STRING |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3386 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3422 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3480 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3583 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3622 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3679 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3727 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3753 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3787 | // Step 3: Find the significand with the small divisor. | COMMENT |
| LOW | lib/Catch2/src/catch2/internal/catch_run_context.cpp | 111 | // No children have started. We need to check if they | COMMENT |
| LOW | lib/Catch2/extras/catch_amalgamated.cpp | 5689 | // No children have started. We need to check if they | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/traffic_grapher/traffic_grapher.py | 1350 | # Check if this is a percentage or latency panel | STRING |
| LOW | tools/hrw4u/scripts/testcase.py | 80 | # Check if this test has a direction exception | COMMENT |
| LOW | tools/hrw4u/scripts/testcase.py | 155 | # Check if this test should be skipped | COMMENT |
| LOW | tools/hrw4u/src/types.py | 112 | # Check if this is a quoted boolean value | COMMENT |
| LOW | ci/jenkins/bin/environment.sh | 36 | # Check if we're doing Debian style hardening | COMMENT |
| LOW | ci/jenkins/bin/environment.sh | 39 | # Check if we need to use a different "make" | COMMENT |
| LOW | ci/jenkins/bin/build.sh | 21 | # Check if it's a debug or release build | COMMENT |
| LOW | ci/jenkins/bin/gh-mirror.sh | 53 | # Check if commits have doc/ changes | COMMENT |
| LOW | ci/jenkins/bin/gh-mirror.sh | 60 | # Check if commits have non doc/ changes | COMMENT |
| LOW | tests/gold_tests/pluginTest/url_sig/url_sig.test.py | 34 | # Set up to check the output after the tests have run. | STRING |
| LOW⚡ | tests/gold_tests/jsonrpc/config_reload_rpc.test.py | 364 | # Check if any task has inline- prefix | COMMENT |
| LOW | tests/gold_tests/jsonrpc/config_reload_rpc.test.py | 300 | # Check if there's an error (which is fine) | COMMENT |
| LOW⚡ | tests/gold_tests/jsonrpc/config_reload_tracking.test.py | 113 | # Check if it's a "reload in progress" error | COMMENT |
| LOW | tests/gold_tests/headers/forwarded.test.py | 83 | # Set up to check the output after the tests have run. | STRING |
| LOW | tests/gold_tests/headers/via.test.py | 68 | # Set up to check the output after the tests have run. | STRING |
| LOW | tests/gold_tests/redirect/redirect_stale.test.py | 71 | # Set up to check the output after the tests have run. | STRING |
| LOW | …t-1.13.0/googletest/test/googletest-filter-unittest.py | 67 | # Check if this platform can unset environment variables in child processes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 23 | ### Step 1: Configuration | COMMENT |
| LOW⚡ | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 978 | # Step 3: Wait for block to expire (5 seconds + buffer). | STRING |
| LOW⚡ | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 985 | # Step 4: Verify requests work again after expiration. The quiet wait | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 933 | # Step 1: Trigger a block by exceeding rate limit. | STRING |
| LOW | …old_tests/pluginTest/abuse_shield/abuse_shield.test.py | 952 | # Step 2: Verify the block action and a subsequent rejection are both | STRING |
| LOW⚡ | …ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py | 88 | # Step 0: confirm the record is registered as RECA_READ_ONLY and starts at | STRING |
| LOW⚡ | …ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py | 98 | # Step 1: attempt to write the record via the management RPC. The handler | STRING |
| LOW⚡ | …ld_tests/traffic_ctl/traffic_ctl_set_read_only.test.py | 108 | # Step 2: re-look-up the record. Even if step 1's response had been | STRING |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3386 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3422 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3480 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3583 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3622 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3679 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3727 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3753 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | lib/yamlcpp/src/contrib/dragonbox.h | 3787 | // Step 3: Find the significand with the small divisor. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | include/tscpp/api/GlobalPlugin.h | 43 | * Here is a simple example of a GlobalPlugin: | COMMENT |
| MEDIUM | include/tscpp/api/Stat.h | 41 | * Stats are very easy to use, here is a simple example of how you can create a counter and increment its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …inTest/txn_box/example/txn_box_accept-encoding.test.py | 32 | tr.Variables.TS.Disk.records_config.update( | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/googletest-1.13.0/googletest/test/gtest_test_utils.py | 198 | Changes into a specified directory, if provided, and executes a command. Restores the old directory afterwards. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/gold_tests/h2/grpc/grpc_server.py | 52 | CODE | |
| LOW | tests/gold_tests/h2/grpc/grpc_server.py | 59 | CODE | |
| LOW | …etest-1.13.0/googletest/test/googletest-output-test.py | 200 | CODE | |
| LOW | …googletest-1.13.0/googlemock/test/gmock_output_test.py | 72 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mlcpp/test/googletest-1.13.0/docs/reference/mocking.md | 279 | .WillRepeatedly(Return("John Doe")); // Return "John Doe" on all calls | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/hrw4u/tests/test_coverage.py | 120 | def test_function(self): | CODE |