AI Slop Code Risk Monitor

nginx/kubernetes-ingress

SlopCodeMonitor badge for nginx/kubernetes-ingress Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

NGINX and NGINX Plus Ingress Controllers for Kubernetes

6.5 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nginx/kubernetes-ingress, a Go project with 5,093 GitHub stars. SynthScan examined 372,402 lines of code across 2240 source files, recording 1520 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 6.5 (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.

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
5.1K
Stars
Go
Language
372.4K
Lines of Code
2.2K
Files
1.5K
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 21.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 14.5/100 · LOW

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

PR Review Velocity Impact 24.5/100 · LOW

Which changes need focused human review? 1520 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 83MEDIUM 74LOW 1362

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 1520 distinct pattern matches across 19 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.

Structural Annotation Overuse425 hits · 774 pts
SeverityFileLineSnippetContext
LOWtests/README.md24#### Step 1 - Create a Minikube ClusterCOMMENT
LOWtests/README.md30#### Step 2 - Run the TestsCOMMENT
LOWtests/README.md88#### Step 1 - Create a Kind ClusterCOMMENT
LOWtests/README.md94#### Step 2 - Run the TestsCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py183 # Step 2: conf file was removed — no traffic served for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py188 # Step 3: traffic is rejected/no response for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py271 # Step 1: TS has valid config and serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py280 # Step 2: patch TS with invalid server snippetCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py291 # Step 3: TS traffic still works — invalid config was rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py299 # Step 4: TS config rolled back, invalid directive absent from confCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py309 # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py395 # Step 2: VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py398 # Step 3: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py428 # Step 5: VS still serves traffic — Valid statusCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py432 # Step 6: TS traffic still worksCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py440 # Step 7: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ts.py170 # Step 1: TS is Invalid — no previous config to fall back toCOMMENT
LOWtests/suite/test_config_rollback_ts.py323 # Step 6: VS still serves traffic — unaffected by TS rollbackCOMMENT
LOWtests/suite/test_config_rollback_ts.py380 # Step 1: capture TS config before change, verify trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py409 # Step 4: IC logs confirm main config rollbackCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py69 # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid)COMMENT
LOW⚡tests/suite/test_config_rollback_vs.py76 # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py177 # Step 1: valid VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py179 # Step 2: load VS YAML, apply invalid patch, send to clusterCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py272 # Step 1: VS serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py281 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py291 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py309 # Step 4: VS still responds — nginx.conf was rolled back, VS not affectedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py312 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py361 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py370 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py425 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py435 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_vs.py88 # Step 3: conf file was removed — no traffic served for this hostCOMMENT
LOWtests/suite/test_config_rollback_vs.py190 # Step 3: traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_vs.py201 # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_vs.py214 # Step 5: add new VS to prove nginx -t still passes after rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py337 # Step 1: create three valid VirtualServersCOMMENT
LOWtests/suite/test_config_rollback_vs.py381 # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit pathCOMMENT
LOWtests/suite/test_config_rollback_vs.py414 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py91 # Step 1: create Ingress with invalid server-snippet baked inCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py99 # Step 2: conf file removed — no traffic servedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py222 # Step 1: Ingress serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py225 # Step 2: patch Ingress with invalid annotation(s)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py234 # Step 3: traffic still works — invalid config rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py300 # Step 1: Ingress serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py310 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py340 # Step 4: Ingress still respondsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py343 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py386 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py395 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py406 # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps workingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py416 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py427 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py437 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_ingress.py113 # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to)COMMENT
LOWtests/suite/test_config_rollback_ingress.py245 # Step 4: event contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ingress.py321 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_ingress.py370 # Step 1: create three valid IngressesCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py468 # Step 1: Update ConfigMap with valid parametersCOMMENT
365 more matches not shown…
Hyper-Verbose Identifiers554 hits · 555 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py169def pytest_collection_modifyitems(config, items) -> None:CODE
LOWtests/conftest.py227def pytest_runtest_makereport(item) -> None:CODE
LOWtests/suite/test_filter_secrets.py16def setup_single_secret_and_ns(request, kube_apis):CODE
LOWtests/suite/test_filter_secrets.py40 def test_filter_secret_single_namespace(self, request, kube_apis, ingress_controller, setup_single_secret_and_ns):CODE
LOWtests/suite/test_filter_secrets.py53 def test_filter_secret_created_after_ic(self, request, kube_apis, ingress_controller):CODE
LOWtests/suite/test_filter_secrets.py70def setup_multiple_ns_and_multiple_secrets(request, kube_apis):CODE
LOWtests/suite/test_filter_secrets.py107 def test_filter_secret_multi_namespace(CODE
LOWtests/suite/test_filter_secrets.py122 def test_filter_secret_multiplue_created_after_ic(self, request, kube_apis, ingress_controller):CODE
LOWtests/suite/test_watch_namespace_label.py104def create_and_setup_namespace(kube_apis, ingress_controller_endpoint, ns_name, e2e_run_id, is_vs=False):CODE
LOWtests/suite/test_ingress_mtls_ingress.py74 def setup_invalid_ingress_mtls(self, kube_apis, test_namespace):CODE
LOWtests/suite/test_ingress_mtls_ingress.py92 def test_ingress_mtls_policy_ingress(CODE
LOWtests/suite/test_ingress_mtls_ingress.py191 def test_ingress_mtls_policy_ingress_with_opaque_secret(CODE
LOWtests/suite/test_ingress_mtls_ingress.py270 def test_invalid_ingress_mtls_policy_ingress(CODE
LOWtests/suite/test_ingress_mtls_ingress.py350 def test_ingress_mtls_chain_validation(CODE
LOWtests/suite/test_ingress_mtls_ingress.py454 def test_ingress_mtls_missing_secret_ingress(CODE
LOWtests/suite/test_config_rollback_ts.py355 def test_configmap_main_snippet_rollback(CODE
LOWtests/suite/test_app_protect_integration.py169 def test_ap_nginx_config_entries(CODE
LOWtests/suite/test_app_protect_integration.py206 def test_ap_enable_true_policy_correct(CODE
LOWtests/suite/test_app_protect_integration.py229 def test_ap_enable_false_policy_correct(CODE
LOWtests/suite/test_app_protect_integration.py253 def test_ap_enable_true_policy_incorrect(CODE
LOWtests/suite/test_app_protect_integration.py280 def test_ap_enable_false_policy_incorrect(CODE
LOWtests/suite/test_app_protect_integration.py420 def test_ap_enable_true_policy_correct_uds(CODE
LOWtests/suite/test_virtual_server_validation.py12def assert_reject_events_emitted(virtual_server_setup, new_list, previous_list, expected_amount):CODE
LOWtests/suite/test_virtual_server_validation.py20def assert_event_count_increased_in_list(virtual_server_setup, new_list, previous_list):CODE
LOWtests/suite/test_virtual_server_validation.py50 def test_virtual_server_behavior(CODE
LOWtests/suite/test_hsts.py129 def test_headers_without_secret(self, kube_apis, hsts_setup, ingress_controller_prerequisites):CODE
LOWtests/suite/test_jwt_policies_jwksuri.py268 def test_jwt_invalid_policy_jwksuri(CODE
LOWtests/suite/test_jwt_policies_jwksuri.py330 def test_jwt_policy_subroute_jwksuri(CODE
LOWtests/suite/test_jwt_policies_jwksuri.py398 def test_jwt_policy_subroute_jwksuri_multiple_vs(CODE
LOWtests/suite/test_config_rollback_vs.py253 def test_configmap_main_snippet_rollback(CODE
LOWtests/suite/test_config_rollback_vs.py323 def test_configmap_partial_rollback(CODE
LOWtests/suite/test_v_s_route_regexp_location.py77 def test_response_for_regex_location(CODE
LOWtests/suite/test_v_s_route_regexp_location.py138 def test_flow_for_invalid_vsr(CODE
LOWtests/suite/test_v_s_route_regexp_location.py240 def test_exact_match_overrides_all(CODE
LOWtests/suite/test_v_s_route_regexp_location.py253 def test_regexp_overrides_prefix(CODE
LOWtests/suite/test_v_s_route_regexp_location.py274 def test_longest_prefix_overrides_regexp(CODE
LOWtests/suite/test_v_s_route_regexp_location.py350 def test_response_for_regex_location(CODE
LOWtests/suite/test_v_s_route_regexp_location.py421 def test_flow_for_invalid_vsr(CODE
LOWtests/suite/test_v_s_route_regexp_location.py484def vsr_selector_regexp_setup(CODE
LOWtests/suite/test_v_s_route_regexp_location.py535 def test_exact_match_overrides_all(CODE
LOWtests/suite/test_v_s_route_regexp_location.py548 def test_regexp_overrides_prefix(CODE
LOWtests/suite/test_v_s_route_regexp_location.py572 def test_longest_prefix_overrides_regexp(CODE
LOWtests/suite/test_rewrite_target.py85 def test_static_rewrite_target(self, rewrite_target_setup):CODE
LOWtests/suite/test_rewrite_target.py104 def test_regex_rewrite_target(self, rewrite_target_setup):CODE
LOWtests/suite/test_v_s_route_split_traffic.py26def get_upstreams_of_splitting(file) -> []:CODE
LOWtests/suite/test_oidc_native_ingress.py45def get_oidc_native_policy_file(oidc_type):CODE
LOWtests/suite/test_app_protect_waf_bundle_source_ing.py86 def test_bundle_source_block_ingress(CODE
LOWtests/suite/test_app_protect_waf_bundle_source_ing.py131 def test_bundle_source_mtls_block_ingress(CODE
LOW⚡tests/suite/test_external_auth_policies_vsr.py543 def test_tls_ssl_enabled_only(CODE
LOW⚡tests/suite/test_external_auth_policies_vsr.py688 def test_tls_nonexistent_ca_secret(CODE
LOW⚡tests/suite/test_external_auth_policies_vsr.py991 def test_tls_policy_override_vs_vsr(CODE
LOWtests/suite/test_external_auth_policies_vsr.py94 def test_external_auth_policy_credentials(CODE
LOWtests/suite/test_external_auth_policies_vsr.py142 def test_external_auth_policy_spoofed_headers_and_non_get(CODE
LOWtests/suite/test_external_auth_policies_vsr.py201 def test_external_auth_policy_valid(CODE
LOWtests/suite/test_external_auth_policies_vsr.py252 def test_external_auth_policy_invalid_rejected_by_crd(CODE
LOWtests/suite/test_external_auth_policies_vsr.py272 def test_external_auth_policy_nonexistent_svc(CODE
LOWtests/suite/test_external_auth_policies_vsr.py311 def test_external_auth_policy_delete_policy(CODE
LOWtests/suite/test_external_auth_policies_vsr.py376 def test_external_auth_policy_override(CODE
LOWtests/suite/test_external_auth_policies_vsr.py432 def test_external_auth_policy_override_vs_vsr(CODE
LOWtests/suite/test_external_auth_policies_vsr.py727 def test_tls_ca_secret_missing_ca_crt(CODE
494 more matches not shown…
Cross-File Repetition77 hits · 385 pts
SeverityFileLineSnippetContext
HIGHtests/suite/test_app_protect_integration.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHtests/suite/test_app_protect_watch_namespace.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHtests/suite/test_app_protect_watch_namespace_label.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHperf-tests/suite/test_ap_reload_perf.py0encapsulate the example details. attributes: req_url (str):STRING
HIGHtests/suite/test_app_protect_integration.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHperf-tests/suite/test_ap_reload_perf.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_batch_reloads.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_ingress_class.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_batch_startup_times.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_app_protect_waf_policies.py0deploy simple application and all the appprotect(dataguard-alarm) resources under test in one namespace. :param request:STRING
HIGHtests/suite/test_app_protect_integration.py0assert responses when policy config is blocking requests :param response: responseSTRING
HIGHtests/suite/test_app_protect_waf_policies.py0assert responses when policy config is blocking requests :param response: responseSTRING
HIGHperf-tests/suite/test_ap_reload_perf.py0assert responses when policy config is blocking requests :param response: responseSTRING
HIGHtests/suite/test_v_s_route_regexp_location.py0prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal pSTRING
HIGHtests/suite/test_v_s_route_advanced_routing.py0prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal pSTRING
HIGHtests/suite/test_v_s_route_focused_canary.py0prepare an example app for advanced routing vsr. single namespace with vs+vsr and simple app. :param request: internal pSTRING
HIGHtests/suite/test_v_s_route_split_traffic.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_v_s_route_focused_canary.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_virtual_server_split_traffic.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_virtual_server_focused_canary.py0parse yaml file into an array of upstreams. :param file: an absolute path to file :return: []STRING
HIGHtests/suite/test_external_auth_policies_vsr.py0test external-auth policy boundary on virtualserver with client-supplied spoofed headers and non-get (post) request. verSTRING
HIGHtests/suite/test_external_auth_policies_ingress.py0test external-auth policy boundary on virtualserver with client-supplied spoofed headers and non-get (post) request. verSTRING
HIGHtests/suite/test_external_auth_policies_vs.py0test external-auth policy boundary on virtualserver with client-supplied spoofed headers and non-get (post) request. verSTRING
HIGHtests/suite/test_external_auth_policies_vsr.py0test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes STRING
HIGHtests/suite/test_external_auth_policies_ingress.py0test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes STRING
HIGHtests/suite/test_external_auth_policies_vs.py0test that a policy with an invalid authuri (no leading slash) is rejected at the crd validation level by the kubernetes STRING
HIGHtests/suite/test_jwt_policies_vsr.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_auth_basic_policies_vsr.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_jwt_policies.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_auth_basic_policies.py0test if requests result in 500 when secret is deletedSTRING
HIGHtests/suite/test_jwt_policies_vsr.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_auth_basic_policies_vsr.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_jwt_policies.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_auth_basic_policies.py0test if requests result in 500 when policy is deletedSTRING
HIGHtests/suite/test_transport_server_status.py0function to revert a transportserver resource to a valid state.STRING
HIGHtests/suite/test_transport_server_tcp_load_balance.py0function to revert a transportserver resource to a valid state.STRING
HIGHtests/suite/test_transport_server_udp_load_balance.py0function to revert a transportserver resource to a valid state.STRING
HIGHtests/suite/test_app_protect_wafv5_integration.py0function to revert vsr selector deployments to standard stateSTRING
HIGHtests/suite/test_app_protect_wafv5_integration_rorfs.py0function to revert vsr selector deployments to standard stateSTRING
HIGHtests/suite/test_app_protect_waf_policies.py0function to revert vsr selector deployments to standard stateSTRING
HIGHtests/suite/test_virtual_server_external_name.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_virtual_server_backup_service.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_transport_server_external_name.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_transport_server_backup_service.py0encapsulate externalname example details. attributes: ic_pod_name: external_host: external service hostSTRING
HIGHtests/suite/test_batch_reloads.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_smoke.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_prometheus_metrics.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_batch_startup_times.py0encapsulate the smoke example details. attributes: public_endpoint (publicendpoint): ingress_host (str):STRING
HIGHtests/suite/test_batch_reloads.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_app_protect_watch_namespace.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_app_protect_watch_namespace_label.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_batch_startup_times.py0deploy a simple application and appprotect manifests. :param request: pytest fixture :param kube_apis: client apis :paraSTRING
HIGHtests/suite/test_virtual_server_configmap_keys.py0assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param STRING
HIGHtests/suite/test_zone_sync.py0assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param STRING
HIGHtests/suite/test_mgmt_configmap_keys.py0assert that an event with specific type, reason, and message substring exists. :param event_list: list of events :param STRING
HIGHtests/suite/test_ac_policies_vsr.py0replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_STRING
HIGHtests/suite/test_ac_policies_ingress.py0replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_STRING
HIGHtests/suite/test_ac_polices_vs.py0replace configmap to add "set-real-ip-from" :param request: pytest fixture :param kube_apis: client apis :param ingress_STRING
HIGHtests/suite/test_ac_policies_ingress.py0encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ingSTRING
HIGHtests/suite/test_annotations.py0encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ingSTRING
17 more matches not shown…
Over-Commented Block213 hits · 206 pts
SeverityFileLineSnippetContext
LOW.goreleaser.yml21 main: ./cmd/nginx-ingress/COMMENT
LOW.goreleaser.yml41 # - awsCOMMENT
LOW.goreleaser.yml61 # - linuxCOMMENT
LOW.goreleaser.yml81 # flags:COMMENT
LOWtests/requirements.txt1781 --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5COMMENT
LOW…a/oidc-native/scenarios/vs/test-8a-njs-and-native.yaml1# Test 8a: NJS OIDC on spec, Native on route (same VS).COMMENT
LOW…/oidc-native/scenarios/vs/test-16-cross-namespace.yaml1# Test 16: Cross-namespace policy reference.COMMENT
LOW…c-native/scenarios/vs/test-7-same-policy-multi-vs.yaml1# Test 7: Two VirtualServers sharing the same OIDCNative policy.COMMENT
LOWinternal/nginxconf/tokenizer_test.go41 t.Errorf("%-28s value=%-14q tokenizer fail=%v, nginx fail=%v err=%v", c.note, c.value, got, c.wantFail, err)COMMENT
LOWinternal/nginxconf/tokenizer.go1// Package nginxconf tokenizes NGINX configuration the way NGINX itself does.COMMENT
LOWinternal/nginxconf/tokenizer.go21// syntax — instead of grepping the rendered output for suspicious substrings.COMMENT
LOWinternal/nginxconf/tokenizer.go261// The first word of an entry in one of these is a key chosen by the user, not aCOMMENT
LOWinternal/k8s/transportserver_injection_test.go21 name stringCOMMENT
LOWinternal/k8s/controller.go1321 case configMap:COMMENT
LOWinternal/k8s/controller.go1421 // This decouples readiness from status API calls, which can takeCOMMENT
LOWinternal/k8s/controller.go1461 // Step 4: Flush deferred status updates in a background goroutineCOMMENT
LOWinternal/k8s/controller.go1521// funnel through. See DeletePoliciesForNamespace for why iterating theCOMMENT
LOWinternal/k8s/controller.go1681 }COMMENT
LOWinternal/k8s/controller.go1801// and emits the usual status and events, skipping template regeneration andCOMMENT
LOWinternal/k8s/controller.go2441 // problems is the global rebuildHosts() output and can holdCOMMENT
LOWinternal/k8s/controller.go2501 return falseCOMMENT
LOWinternal/k8s/controller.go2641 }COMMENT
LOWinternal/k8s/controller.go2661// writes and relying on OnStartedLeading to compensate.COMMENT
LOWinternal/k8s/controller.go4821 return epxCOMMENT
LOWinternal/k8s/batch_sync_test.go141}COMMENT
LOWinternal/k8s/batch_sync_test.go201 t.Fatal("batch 2: updateAllConfigsOnBatch became true without a ConfigMap task in the batch")COMMENT
LOWinternal/k8s/batch_sync_test.go221// controller does not track".COMMENT
LOWinternal/k8s/batch_sync_test.go321 t.Fatalf("issue #10397 fix: after %d syncs with continuous churn and a %s batch window, "+COMMENT
LOWinternal/k8s/batch_sync_test.go341// own"); each cycle enqueues one "real" config-relevant task (T1) plus threeCOMMENT
LOWinternal/k8s/batch_sync_test.go421// mode is active and the queue is dominated by endpointslice events thatCOMMENT
LOWinternal/k8s/batch_sync_test.go481// Configurator.AddOrUpdateIngress for every Ingress using rate-limit scalingCOMMENT
LOWinternal/k8s/batch_sync_test.go581// sync(): a window-triggered flush (syncQueue.Len() != 0 but batchReloadWindow hasCOMMENT
LOWinternal/k8s/batch_sync_test.go601// and returns two closures used to drive sustained EndpointSlice churn for thatCOMMENT
LOWinternal/k8s/namespaced_informer_registry_test.go221 for _, nsi := range []*namespacedInformer{stuck, other} {COMMENT
LOWinternal/k8s/configuration.go421 // IngressClass or that fail validation — because getPolicies performsCOMMENT
LOWinternal/k8s/configuration.go1221// informer's Policy lister currently contains.COMMENT
LOWinternal/k8s/configuration.go2181 // Sort before building the output slices. The vsrs slice ends up asCOMMENT
LOWinternal/k8s/weight_update_test.go221 wantIndexes: [][3]int{{2, 70, 30}},COMMENT
LOWinternal/k8s/annotation_injection_test.go41 name stringCOMMENT
LOWinternal/k8s/virtualserver_injection_test.go261// TestVirtualServerCannotInjectConfiguration asserts, for the VirtualServerCOMMENT
LOWinternal/k8s/controller_test.go2881// policy informer cache (policyLister) directly.COMMENT
LOWinternal/k8s/configuration_test.go6821// production symptom of the unsorted VSR slice.COMMENT
LOWinternal/k8s/reload_invariant_test.go21// Configurator.reloadDeferred to know a written-but-unapplied config isCOMMENT
LOWinternal/k8s/reload_invariant_test.go41// files, matches `*.configurator.<Method>(...)` call expressions). It doesCOMMENT
LOWinternal/k8s/reload_invariant_test.go61 "AddOrUpdateMergeableIngress": true,COMMENT
LOWinternal/k8s/crdschema_test.go21// which is what the API server does before the controller ever sees it.COMMENT
LOWinternal/k8s/split_clients_index_test.go61// subroutes start at within its referencing VirtualServer's split_clientsCOMMENT
LOWinternal/k8s/weight_fast_lane_test.go301 }COMMENT
LOWinternal/k8s/weight_fast_lane_test.go461 }COMMENT
LOWinternal/k8s/weight_fast_lane_test.go541// reported to the user twice for a single sync.COMMENT
LOWinternal/k8s/weight_fast_lane_test.go781 stored := lbc.configuration.GetVirtualServerRoute("default/coffee")COMMENT
LOWinternal/k8s/weight_fast_lane_test.go901COMMENT
LOWinternal/k8s/weight_fast_lane_test.go1221// haltIfVS(R)ConfigInvalid deadlock guard.COMMENT
LOWinternal/nginx/rollback_manager.go201COMMENT
LOWinternal/nginx/rollback_manager.go241COMMENT
LOWinternal/nginx/rollback_manager.go381 if _, tracked := cm.batchFiles[path]; tracked {COMMENT
LOWinternal/configs/configmap_injection_test.go141 {key: "zone-sync-resolver-valid", benign: "10s", companions: zoneSyncOn},COMMENT
LOWinternal/configs/policy.go101 replicas intCOMMENT
LOWinternal/configs/policy.go141 oidcNativeRoleLogout = "logout"COMMENT
LOWinternal/configs/batch_reload_test.go81// failingStreamPlusAPIManager is the TransportServer/stream-upstreamCOMMENT
153 more matches not shown…
Verbosity Indicators93 hits · 167 pts
SeverityFileLineSnippetContext
LOW⚡tests/suite/test_config_rollback_ts.py183 # Step 2: conf file was removed — no traffic served for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py188 # Step 3: traffic is rejected/no response for this TSCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py271 # Step 1: TS has valid config and serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py280 # Step 2: patch TS with invalid server snippetCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py291 # Step 3: TS traffic still works — invalid config was rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py299 # Step 4: TS config rolled back, invalid directive absent from confCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py309 # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py395 # Step 2: VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py398 # Step 3: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py428 # Step 5: VS still serves traffic — Valid statusCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py432 # Step 6: TS traffic still worksCOMMENT
LOW⚡tests/suite/test_config_rollback_ts.py440 # Step 7: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ts.py170 # Step 1: TS is Invalid — no previous config to fall back toCOMMENT
LOWtests/suite/test_config_rollback_ts.py323 # Step 6: VS still serves traffic — unaffected by TS rollbackCOMMENT
LOWtests/suite/test_config_rollback_ts.py380 # Step 1: capture TS config before change, verify trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py409 # Step 4: IC logs confirm main config rollbackCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py69 # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid)COMMENT
LOW⚡tests/suite/test_config_rollback_vs.py76 # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py177 # Step 1: valid VS serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py179 # Step 2: load VS YAML, apply invalid patch, send to clusterCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py272 # Step 1: VS serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py281 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py291 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py309 # Step 4: VS still responds — nginx.conf was rolled back, VS not affectedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py312 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py361 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py370 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py425 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_vs.py435 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_vs.py88 # Step 3: conf file was removed — no traffic served for this hostCOMMENT
LOWtests/suite/test_config_rollback_vs.py190 # Step 3: traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_vs.py201 # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_vs.py214 # Step 5: add new VS to prove nginx -t still passes after rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py337 # Step 1: create three valid VirtualServersCOMMENT
LOWtests/suite/test_config_rollback_vs.py381 # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit pathCOMMENT
LOWtests/suite/test_config_rollback_vs.py414 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py91 # Step 1: create Ingress with invalid server-snippet baked inCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py99 # Step 2: conf file removed — no traffic servedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py222 # Step 1: Ingress serves trafficCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py225 # Step 2: patch Ingress with invalid annotation(s)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py234 # Step 3: traffic still works — invalid config rolled backCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py300 # Step 1: Ingress serves traffic, capture TS configCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py310 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py340 # Step 4: Ingress still respondsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py343 # Step 5: TS config unchangedCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py386 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py395 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py406 # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps workingCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py416 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py427 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOW⚡tests/suite/test_config_rollback_ingress.py437 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_ingress.py113 # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to)COMMENT
LOWtests/suite/test_config_rollback_ingress.py245 # Step 4: event contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ingress.py321 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_ingress.py370 # Step 1: create three valid IngressesCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py468 # Step 1: Update ConfigMap with valid parametersCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py495 # Step 2: Update ConfigMap with invalid parametersCOMMENT
LOW⚡tests/suite/test_config_rollback_vsr.py82 # Step 1: verify traffic on both VSR routesCOMMENT
LOW⚡tests/suite/test_config_rollback_vsr.py88 # Step 2: patch either VS or VSR with invalid snippetCOMMENT
LOWtests/suite/test_config_rollback_vsr.py119 # Step 3: traffic still works on both routes — invalid config was rolled backCOMMENT
33 more matches not shown…
Decorative Section Separators49 hits · 159 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py539 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py541 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py684 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py686 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py986 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/test_external_auth_policies_vsr.py988 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py774 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py776 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py856 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py858 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/utils/external_auth_utils.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/suite/utils/external_auth_utils.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py172# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py174# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py248# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py250# ---------------------------------------------------------------------------COMMENT
MEDIUMinternal/k8s/validation_test.go6030 // ── Valid inputs ──────────────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6129 // ── Invalid: $ character without curly braces ─────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6160 // ── Invalid: malformed header names ──────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6199 // ── Edge: empty entries are skipped ───────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6232 // ── Multiple errors in one annotation ────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6250 // ── Edge: special chars in value (non-$) ─────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6262 // ── Edge: whitespace handling ────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6274 // ── Edge: empty name combined with dollar in value ───────────COMMENT
MEDIUMinternal/k8s/validation_test.go6285 // ── Valid: properly escaped quotes and backslashes ──────────COMMENT
MEDIUMinternal/k8s/validation_test.go6302 // ── Invalid: unescaped quotes and backslashes ─────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6318 // ── Invalid: variable syntax and Plus-only restrictions ───────COMMENT
MEDIUMinternal/k8s/validation_test.go6389 // ── Valid inputs ──────────────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6437 // ── Invalid: $ in value ───────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6453 // ── Invalid: bad header name ──────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6469 // ── Invalid: bad always flag ──────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6485 // ── Invalid: empty entries ────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6501 // ── Invalid: unescaped characters in value ────────────────────COMMENT
MEDIUM.github/scripts/tech-specs-update.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py30# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py71# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py73# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py92# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py94# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py264# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py266# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py296# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py298# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py374# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/tech-specs-update.py376# ---------------------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping38 hits · 48 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py264 except Exception as e:CODE
LOWtests/conftest.py293 except Exception as e:CODE
LOWtests/scripts/check_container_packages.py150 except Exception as e: # noqa: BLE001 - one broken image must not hide the restCODE
LOWtests/scripts/check_container_packages.py185 except Exception as e: # noqa: BLE001 - record and carry on with the next packageCODE
LOWtests/suite/test_agent.py40 except Exception as e:CODE
MEDIUMtests/suite/test_agent.py41 print(f"Error: {e}")CODE
LOWtests/suite/test_build_info.py53 except Exception as ex:CODE
LOWtests/suite/test_build_info.py67 except Exception:CODE
LOWtests/suite/test_app_protect_agent.py43 except Exception as e:CODE
MEDIUMtests/suite/test_app_protect_agent.py44 print(f"Error: {e}")CODE
LOWtests/suite/test_app_protect_waf_policies_grpc.py87 except Exception:CODE
LOWtests/suite/test_virtual_server_foreign_upstream.py102 except Exception as ex:CODE
LOWtests/suite/test_virtual_server_grpc.py78 except Exception:CODE
LOWtests/suite/test_v_s_route_grpc.py48 except Exception:CODE
LOWtests/suite/test_virtual_server_mixed_grpc.py52 except Exception:CODE
LOWtests/suite/utils/custom_resources_utils.py25 except Exception as ex:CODE
LOWtests/suite/utils/custom_resources_utils.py104 except Exception:CODE
LOWtests/suite/utils/bundle_source_utils.py124 except Exception as ex:CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py62 except Exception:CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py130 except Exception as ex:CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py193 except Exception as ex:CODE
LOW⚡tests/suite/utils/policy_resources_utils.py169 except Exception:CODE
LOW⚡tests/suite/utils/policy_resources_utils.py175 except Exception:CODE
LOW⚡tests/suite/utils/policy_resources_utils.py182 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py298 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py337 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py360 except Exception:CODE
MEDIUMtests/suite/utils/external_auth_utils.py295def fin():CODE
MEDIUM⚡tests/suite/utils/resources_utils.py2287 print(f"Error: {e}")CODE
MEDIUM⚡tests/suite/utils/resources_utils.py2295 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py988 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py2371 print(f"Error in pod restart: {e}")CODE
LOWtests/suite/utils/resources_utils.py987 except Exception as e:CODE
LOWtests/suite/utils/resources_utils.py1769 except Exception as ex:CODE
LOWtests/suite/utils/resources_utils.py2370 except Exception as e:CODE
LOW.github/scripts/pull-release-notes.py132 except Exception as e:CODE
MEDIUM.github/scripts/pull-release-notes.py128def get_pr_labels(repo, pr_number):CODE
LOWperf-tests/conftest.py165 except Exception as e:CODE
Self-Referential Comments10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMtests/suite/test_jwt_policies_jwksuri.py94 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_jwt_policies_jwksuri.py109 # Create a clientCOMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py751 # Create the Secret so the reference resolves but lacks the required keyCOMMENT
MEDIUMtests/suite/test_oidc.py92 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_oidc_native.py96 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_oidc_fclo.py91 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/grpc/helloworld_pb2_grpc.py49 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMcharts/nginx-ingress/values.yaml323 ## Create the HorizontalPodAutoscaler resource. This can be set to false to manage the HPA externally.COMMENT
MEDIUMcharts/nginx-ingress/values.yaml792 ## Create a NetworkPolicy that targets the controller pods.COMMENT
MEDIUM.github/workflows/cherry-pick.yml171 # Create a PR only if one doesn't already exist for this branchCOMMENT
Deep Nesting26 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/scripts/check_container_packages.py141CODE
LOWtests/scripts/check_container_packages.py293CODE
LOWtests/suite/test_oidc_native_scenarios.py79CODE
LOWtests/suite/test_oidc_native_scenarios.py126CODE
LOWtests/suite/test_oidc_native_scenarios.py402CODE
LOWtests/suite/test_transport_server_backup_service.py258CODE
LOWtests/suite/test_dos.py308CODE
LOWtests/suite/test_virtual_server_dos.py289CODE
LOWtests/suite/test_virtual_server_dos.py357CODE
LOWtests/suite/test_oidc_native_scenarios_ingress.py124CODE
LOWtests/suite/test_oidc_native_scenarios_ingress.py351CODE
LOWtests/suite/utils/dos_utils.py9CODE
LOWtests/suite/utils/custom_assertions.py353CODE
LOWtests/suite/utils/yaml_utils.py110CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py43CODE
LOWtests/suite/utils/resources_utils.py74CODE
LOWtests/suite/utils/resources_utils.py99CODE
LOWtests/suite/utils/resources_utils.py123CODE
LOWtests/suite/utils/resources_utils.py147CODE
LOWtests/suite/utils/resources_utils.py1588CODE
LOWtests/suite/utils/resources_utils.py1609CODE
LOWtests/suite/utils/resources_utils.py1726CODE
LOWtests/suite/utils/resources_utils.py1916CODE
LOWtests/suite/utils/resources_utils.py2274CODE
LOW.github/scripts/tech-specs-update.py379CODE
LOW.github/scripts/pull-release-notes.py68CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtests/suite/test_config_rollback_ts.py195except (requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout):CODE
HIGHtests/suite/test_config_rollback_ts.py206except (ConnectionRefusedError, ConnectionResetError, socket.timeout, OSError):CODE
HIGHtests/suite/test_transport_server_udp_load_balance.py39except ValueError:CODE
HIGHtests/suite/utils/vs_vsr_resources_utils.py62except Exception:CODE
Redundant / Tautological Comments11 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_custom_annotations.py84 "# Print the value assigned to the annotation: 512",CODE
LOWtests/suite/test_custom_annotations.py97 "# Print the value assigned to the annotation: 512",CODE
LOW…sts/data/custom-annotations/standard/nginx-config.yaml16 # Print the value assigned to the annotation: {{$value}}COMMENT
LOW…ts/data/custom-annotations/mergeable/nginx-config.yaml16 # Print the value assigned to the annotation: {{$value}}COMMENT
LOW.github/scripts/pull-release-notes.py72 # Check if the line starts with a section headerCOMMENT
LOW.github/scripts/pull-release-notes.py86 # Check if the line starts with "* " or "- "COMMENT
LOW⚡.github/scripts/pull-release-notes.py192 # Check if the PR has a "dependencies" label"COMMENT
LOW⚡.github/scripts/pull-release-notes.py194 # Check if the PR has a "docker" label, if so add to docker dependencies groupCOMMENT
LOW⚡.github/scripts/pull-release-notes.py197 # Check if the PR has "go", "python" or "github_actions" label, if so add to go dependencies groupCOMMENT
LOW.github/scripts/pull-release-notes.py231# Check if version is a patch release or a minor/major releaseCOMMENT
LOW.github/scripts/docker-updater.sh25# Check if the file existsCOMMENT
AI Slop Vocabulary9 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_v_s_route.py237 # reset count to 0 because we want to check that the event is added, not just updated, and the event is about deCOMMENT
LOWtests/suite/test_v_s_route.py265 # restore of the VSRoute gets an event about update but not about add, so count is not increased but just set toCOMMENT
MEDIUMtests/suite/utils/ap_resources_utils.py1"""Describe methods to utilize the AppProtect resources."""STRING
MEDIUMtests/suite/utils/custom_resources_utils.py1"""Describe methods to utilize the kubernetes-client."""STRING
MEDIUMtests/suite/utils/vs_vsr_resources_utils.py1"""Describe methods to utilize the VS/VSR resources."""STRING
MEDIUMtests/suite/utils/policy_resources_utils.py1"""Describe methods to utilize the Policy resource."""STRING
MEDIUMtests/suite/utils/resources_utils.py1"""Describe methods to utilize the kubernetes-client."""STRING
MEDIUMinternal/validation/validation.go101// ValidateURI is a more robust extensible function to validate URIs. ItCOMMENT
LOW.github/scripts/release-docs.sh219# If same year: just add to existing indexCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/external-pr.yml40 core.setOutput('is_fork', pr.data.head.repo.fork.toString());CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCODE_OF_CONDUCT.md415. **Undisclosed or unreviewed AI-generated contributions.** Submitting code, bug reports, documentation, issues, or othCODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWhack/secrets.json1877 "name": "Jane Doe",CODE
LOWhack/secrets.json1895 "name": "John Doe",CODE
LOW⚡…custom-resources/rate-limit-tiered-jwt-claim/README.md74 "name": "John Doe"CODE
LOW…custom-resources/rate-limit-tiered-jwt-claim/README.md118 "name": "Jane Doe"CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/skills/nic-code-review/SKILL.md17## Review guardrailsCOMMENT
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHtests/suite/test_external_auth_policies_tls_vs.py281 verify path is gated by SSLEnabled && SSLVerify (policy.go:309),STRING
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/suite/grpc/helloworld_pb2_grpc.py57CODE
LOWtests/suite/utils/resources_utils.py1900CODE
Modern Structural Boilerplate1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡tests/suite/utils/external_auth_utils.py26logger = logging.getLogger(__name__)CODE