Repository Analysis

nginx/kubernetes-ingress

NGINX and NGINX Plus Ingress Controllers for Kubernetes

6.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of nginx/kubernetes-ingress, a Go project with 5,068 GitHub stars. SynthScan v2.0 examined 316,764 lines of code across 1999 source files, recording 1306 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 6.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.8
Adjusted Score
6.8
Raw Score
100%
Time Factor
2026-08-09
Last Push
5.1K
Stars
Go
Language
316.8K
Lines of Code
2.0K
Files
1.3K
Pattern Hits
2026-08-09
Scan Date
0.04
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 75MEDIUM 75LOW 1155

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Structural Annotation Overuse373 hits · 685 pts
SeverityFileLineSnippetContext
LOWtests/requirements.txt875# WARNING: The following packages were not pinned, but pip requires them to beCOMMENT
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
LOWtests/suite/test_config_rollback_ts.py179 # Step 2: conf file was removed — no traffic served for this TSCOMMENT
LOWtests/suite/test_config_rollback_ts.py184 # Step 3: traffic is rejected/no response for this TSCOMMENT
LOWtests/suite/test_config_rollback_ts.py267 # Step 1: TS has valid config and serves trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py276 # Step 2: patch TS with invalid server snippetCOMMENT
LOWtests/suite/test_config_rollback_ts.py287 # Step 3: TS traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_ts.py295 # Step 4: TS config rolled back, invalid directive absent from confCOMMENT
LOWtests/suite/test_config_rollback_ts.py305 # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ts.py388 # Step 2: VS serves trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py391 # Step 3: apply ConfigMap with invalid settingCOMMENT
LOWtests/suite/test_config_rollback_ts.py421 # Step 5: VS still serves traffic — Valid statusCOMMENT
LOWtests/suite/test_config_rollback_ts.py425 # Step 6: TS traffic still worksCOMMENT
LOWtests/suite/test_config_rollback_ts.py433 # Step 7: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ts.py166 # Step 1: TS is Invalid — no previous config to fall back toCOMMENT
LOWtests/suite/test_config_rollback_ts.py319 # Step 6: VS still serves traffic — unaffected by TS rollbackCOMMENT
LOWtests/suite/test_config_rollback_ts.py373 # Step 1: capture TS config before change, verify trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py402 # Step 4: IC logs confirm main config rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py68 # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid)COMMENT
LOWtests/suite/test_config_rollback_vs.py75 # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_vs.py176 # Step 1: valid VS serves trafficCOMMENT
LOWtests/suite/test_config_rollback_vs.py178 # Step 2: load VS YAML, apply invalid patch, send to clusterCOMMENT
LOWtests/suite/test_config_rollback_vs.py268 # Step 1: VS serves traffic, capture TS configCOMMENT
LOWtests/suite/test_config_rollback_vs.py277 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOWtests/suite/test_config_rollback_vs.py287 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_vs.py305 # Step 4: VS still responds — nginx.conf was rolled back, VS not affectedCOMMENT
LOWtests/suite/test_config_rollback_vs.py308 # Step 5: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_vs.py357 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOWtests/suite/test_config_rollback_vs.py366 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOWtests/suite/test_config_rollback_vs.py421 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOWtests/suite/test_config_rollback_vs.py431 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_vs.py87 # Step 3: conf file was removed — no traffic served for this hostCOMMENT
LOWtests/suite/test_config_rollback_vs.py189 # Step 3: traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_vs.py200 # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_vs.py213 # Step 5: add new VS to prove nginx -t still passes after rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py333 # Step 1: create three valid VirtualServersCOMMENT
LOWtests/suite/test_config_rollback_vs.py377 # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit pathCOMMENT
LOWtests/suite/test_config_rollback_vs.py410 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOWtests/suite/test_config_rollback_ingress.py88 # Step 1: create Ingress with invalid server-snippet baked inCOMMENT
LOWtests/suite/test_config_rollback_ingress.py96 # Step 2: conf file removed — no traffic servedCOMMENT
LOWtests/suite/test_config_rollback_ingress.py218 # Step 1: Ingress serves trafficCOMMENT
LOWtests/suite/test_config_rollback_ingress.py221 # Step 2: patch Ingress with invalid annotation(s)COMMENT
LOWtests/suite/test_config_rollback_ingress.py230 # Step 3: traffic still works — invalid config rolled backCOMMENT
LOWtests/suite/test_config_rollback_ingress.py293 # Step 1: Ingress serves traffic, capture TS configCOMMENT
LOWtests/suite/test_config_rollback_ingress.py303 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOWtests/suite/test_config_rollback_ingress.py333 # Step 4: Ingress still respondsCOMMENT
LOWtests/suite/test_config_rollback_ingress.py336 # Step 5: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ingress.py379 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOWtests/suite/test_config_rollback_ingress.py388 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOWtests/suite/test_config_rollback_ingress.py399 # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps workingCOMMENT
LOWtests/suite/test_config_rollback_ingress.py409 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOWtests/suite/test_config_rollback_ingress.py420 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOWtests/suite/test_config_rollback_ingress.py430 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_ingress.py110 # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to)COMMENT
LOWtests/suite/test_config_rollback_ingress.py241 # Step 4: event contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ingress.py314 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_ingress.py363 # Step 1: create three valid IngressesCOMMENT
313 more matches not shown…
Hyper-Verbose Identifiers499 hits · 500 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py163def pytest_collection_modifyitems(config, items) -> None:CODE
LOWtests/conftest.py221def pytest_runtest_makereport(item) -> None:CODE
LOWtests/suite/test_filter_secrets.py15def setup_single_secret_and_ns(request, kube_apis):CODE
LOWtests/suite/test_filter_secrets.py39 def test_filter_secret_single_namespace(self, request, kube_apis, ingress_controller, setup_single_secret_and_ns):CODE
LOWtests/suite/test_filter_secrets.py52 def test_filter_secret_created_after_ic(self, request, kube_apis, ingress_controller):CODE
LOWtests/suite/test_filter_secrets.py69def setup_multiple_ns_and_multiple_secrets(request, kube_apis):CODE
LOWtests/suite/test_filter_secrets.py106 def test_filter_secret_multi_namespace(CODE
LOWtests/suite/test_filter_secrets.py121 def test_filter_secret_multiplue_created_after_ic(self, request, kube_apis, ingress_controller):CODE
LOWtests/suite/test_watch_namespace_label.py98def create_and_setup_namespace(kube_apis, ingress_controller_endpoint, ns_name, is_vs=False):CODE
LOWtests/suite/test_ingress_mtls_ingress.py72 def setup_invalid_ingress_mtls(self, kube_apis, test_namespace):CODE
LOWtests/suite/test_ingress_mtls_ingress.py90 def test_ingress_mtls_policy_ingress(CODE
LOWtests/suite/test_ingress_mtls_ingress.py188 def test_invalid_ingress_mtls_policy_ingress(CODE
LOWtests/suite/test_ingress_mtls_ingress.py267 def test_ingress_mtls_chain_validation(CODE
LOWtests/suite/test_ingress_mtls_ingress.py370 def test_ingress_mtls_missing_secret_ingress(CODE
LOWtests/suite/test_config_rollback_ts.py348 def test_configmap_main_snippet_rollback(CODE
LOWtests/suite/test_app_protect_integration.py165 def test_ap_nginx_config_entries(self, kube_apis, crd_ingress_controller_with_ap, appprotect_setup, test_namespace):CODE
LOWtests/suite/test_app_protect_integration.py194 def test_ap_enable_true_policy_correct(CODE
LOWtests/suite/test_app_protect_integration.py217 def test_ap_enable_false_policy_correct(CODE
LOWtests/suite/test_app_protect_integration.py241 def test_ap_enable_true_policy_incorrect(CODE
LOWtests/suite/test_app_protect_integration.py268 def test_ap_enable_false_policy_incorrect(CODE
LOWtests/suite/test_app_protect_integration.py408 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.py126 def test_headers_without_secret(self, kube_apis, hsts_setup, ingress_controller_prerequisites):CODE
LOWtests/suite/test_jwt_policies_jwksuri.py265 def test_jwt_invalid_policy_jwksuri(CODE
LOWtests/suite/test_jwt_policies_jwksuri.py327 def test_jwt_policy_subroute_jwksuri(CODE
LOWtests/suite/test_jwt_policies_jwksuri.py395 def test_jwt_policy_subroute_jwksuri_multiple_vs(CODE
LOWtests/suite/test_config_rollback_vs.py249 def test_configmap_main_snippet_rollback(CODE
LOWtests/suite/test_config_rollback_vs.py319 def test_configmap_partial_rollback(CODE
LOWtests/suite/test_v_s_route_regexp_location.py74 def test_response_for_regex_location(CODE
LOWtests/suite/test_v_s_route_regexp_location.py135 def test_flow_for_invalid_vsr(CODE
LOWtests/suite/test_v_s_route_regexp_location.py236 def test_exact_match_overrides_all(CODE
LOWtests/suite/test_v_s_route_regexp_location.py249 def test_regexp_overrides_prefix(CODE
LOWtests/suite/test_v_s_route_regexp_location.py270 def test_longest_prefix_overrides_regexp(CODE
LOWtests/suite/test_v_s_route_regexp_location.py346 def test_response_for_regex_location(CODE
LOWtests/suite/test_v_s_route_regexp_location.py417 def test_flow_for_invalid_vsr(CODE
LOWtests/suite/test_v_s_route_regexp_location.py480def vsr_selector_regexp_setup(CODE
LOWtests/suite/test_v_s_route_regexp_location.py530 def test_exact_match_overrides_all(CODE
LOWtests/suite/test_v_s_route_regexp_location.py543 def test_regexp_overrides_prefix(CODE
LOWtests/suite/test_v_s_route_regexp_location.py567 def test_longest_prefix_overrides_regexp(CODE
LOWtests/suite/test_rewrite_target.py83 def test_static_rewrite_target(self, rewrite_target_setup):CODE
LOWtests/suite/test_rewrite_target.py102 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_app_protect_waf_bundle_source_ing.py85 def test_bundle_source_block_ingress(CODE
LOWtests/suite/test_app_protect_waf_bundle_source_ing.py130 def test_bundle_source_mtls_block_ingress(CODE
LOWtests/suite/test_external_auth_policies_vsr.py484 def test_tls_ssl_enabled_only(CODE
LOWtests/suite/test_external_auth_policies_vsr.py629 def test_tls_nonexistent_ca_secret(CODE
LOWtests/suite/test_external_auth_policies_vsr.py930 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_valid(CODE
LOWtests/suite/test_external_auth_policies_vsr.py193 def test_external_auth_policy_invalid_rejected_by_crd(CODE
LOWtests/suite/test_external_auth_policies_vsr.py213 def test_external_auth_policy_nonexistent_svc(CODE
LOWtests/suite/test_external_auth_policies_vsr.py252 def test_external_auth_policy_delete_policy(CODE
LOWtests/suite/test_external_auth_policies_vsr.py317 def test_external_auth_policy_override(CODE
LOWtests/suite/test_external_auth_policies_vsr.py373 def test_external_auth_policy_override_vs_vsr(CODE
LOWtests/suite/test_external_auth_policies_vsr.py668 def test_tls_wrong_ca_secret_type(CODE
LOWtests/suite/test_external_auth_policies_vsr.py756 def test_tls_verify_no_trusted_cert(CODE
LOW…e/test_virtual_server_weight_changes_without_reload.py50 def test_weight_changes_reload_behavior(CODE
LOWtests/suite/test_wildcard_tls_secret.py54def wildcard_tls_secret_setup(CODE
439 more matches not shown…
Cross-File Repetition74 hits · 370 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 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
HIGHtests/suite/test_rl_ingress.py0encapsulate annotations example details. attributes: public_endpoint: publicendpoint ingress_src_file: ingress_name: ingSTRING
HIGHtests/suite/test_transport_server_backup_service.py0encapsulate transport server details. attributes: public_endpoint (object): ts_resource (dict): name (str): namespace (sSTRING
HIGHtests/suite/test_ts_tls_passthrough.py0encapsulate transport server details. attributes: public_endpoint (object): ts_resource (dict): name (str): namespace (sSTRING
14 more matches not shown…
Decorative Section Separators48 hits · 156 pts
SeverityFileLineSnippetContext
MEDIUMtests/suite/test_external_auth_policies_vsr.py480 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py482 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py625 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py627 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py925 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py927 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py713 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py715 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py795 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/test_external_auth_policies_vsr.py797 # ------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py240# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/suite/utils/external_auth_utils.py242# ---------------------------------------------------------------------------COMMENT
MEDIUMinternal/k8s/validation_test.go5669 // ── Valid inputs ──────────────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5726 // ── Invalid: $ character ─────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5757 // ── Invalid: malformed header names ──────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5796 // ── Edge: empty entries are skipped ───────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5829 // ── Multiple errors in one annotation ────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5847 // ── Edge: special chars in value (non-$) ─────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5859 // ── Edge: whitespace handling ────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5871 // ── Edge: empty name combined with dollar in value ───────────COMMENT
MEDIUMinternal/k8s/validation_test.go5882 // ── Valid: properly escaped quotes and backslashes ──────────COMMENT
MEDIUMinternal/k8s/validation_test.go5899 // ── Invalid: unescaped quotes and backslashes ─────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5942 // ── Valid inputs ──────────────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go5990 // ── Invalid: $ in value ───────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6006 // ── Invalid: bad header name ──────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6022 // ── Invalid: bad always flag ──────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6038 // ── Invalid: empty entries ────────────────────────────────────COMMENT
MEDIUMinternal/k8s/validation_test.go6054 // ── 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
Verbosity Indicators83 hits · 145 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_config_rollback_ts.py179 # Step 2: conf file was removed — no traffic served for this TSCOMMENT
LOWtests/suite/test_config_rollback_ts.py184 # Step 3: traffic is rejected/no response for this TSCOMMENT
LOWtests/suite/test_config_rollback_ts.py267 # Step 1: TS has valid config and serves trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py276 # Step 2: patch TS with invalid server snippetCOMMENT
LOWtests/suite/test_config_rollback_ts.py287 # Step 3: TS traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_ts.py295 # Step 4: TS config rolled back, invalid directive absent from confCOMMENT
LOWtests/suite/test_config_rollback_ts.py305 # Step 5: TS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ts.py388 # Step 2: VS serves trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py391 # Step 3: apply ConfigMap with invalid settingCOMMENT
LOWtests/suite/test_config_rollback_ts.py421 # Step 5: VS still serves traffic — Valid statusCOMMENT
LOWtests/suite/test_config_rollback_ts.py425 # Step 6: TS traffic still worksCOMMENT
LOWtests/suite/test_config_rollback_ts.py433 # Step 7: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ts.py166 # Step 1: TS is Invalid — no previous config to fall back toCOMMENT
LOWtests/suite/test_config_rollback_ts.py319 # Step 6: VS still serves traffic — unaffected by TS rollbackCOMMENT
LOWtests/suite/test_config_rollback_ts.py373 # Step 1: capture TS config before change, verify trafficCOMMENT
LOWtests/suite/test_config_rollback_ts.py402 # Step 4: IC logs confirm main config rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py68 # Step 1: create VS with invalid server-snippet baked in (sub_filter_once invalid)COMMENT
LOWtests/suite/test_config_rollback_vs.py75 # Step 2: VS is Invalid — no previous config to fall back to, status contains actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_vs.py176 # Step 1: valid VS serves trafficCOMMENT
LOWtests/suite/test_config_rollback_vs.py178 # Step 2: load VS YAML, apply invalid patch, send to clusterCOMMENT
LOWtests/suite/test_config_rollback_vs.py268 # Step 1: VS serves traffic, capture TS configCOMMENT
LOWtests/suite/test_config_rollback_vs.py277 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOWtests/suite/test_config_rollback_vs.py287 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_vs.py305 # Step 4: VS still responds — nginx.conf was rolled back, VS not affectedCOMMENT
LOWtests/suite/test_config_rollback_vs.py308 # Step 5: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_vs.py357 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOWtests/suite/test_config_rollback_vs.py366 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOWtests/suite/test_config_rollback_vs.py421 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOWtests/suite/test_config_rollback_vs.py431 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_vs.py87 # Step 3: conf file was removed — no traffic served for this hostCOMMENT
LOWtests/suite/test_config_rollback_vs.py189 # Step 3: traffic still works — invalid config was rolled backCOMMENT
LOWtests/suite/test_config_rollback_vs.py200 # Step 4: VS is Invalid, status contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_vs.py213 # Step 5: add new VS to prove nginx -t still passes after rollbackCOMMENT
LOWtests/suite/test_config_rollback_vs.py333 # Step 1: create three valid VirtualServersCOMMENT
LOWtests/suite/test_config_rollback_vs.py377 # Step 4: the later VS resources fail; the controller then takes the shared-input early-exit pathCOMMENT
LOWtests/suite/test_config_rollback_vs.py410 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOWtests/suite/test_config_rollback_ingress.py88 # Step 1: create Ingress with invalid server-snippet baked inCOMMENT
LOWtests/suite/test_config_rollback_ingress.py96 # Step 2: conf file removed — no traffic servedCOMMENT
LOWtests/suite/test_config_rollback_ingress.py218 # Step 1: Ingress serves trafficCOMMENT
LOWtests/suite/test_config_rollback_ingress.py221 # Step 2: patch Ingress with invalid annotation(s)COMMENT
LOWtests/suite/test_config_rollback_ingress.py230 # Step 3: traffic still works — invalid config rolled backCOMMENT
LOWtests/suite/test_config_rollback_ingress.py293 # Step 1: Ingress serves traffic, capture TS configCOMMENT
LOWtests/suite/test_config_rollback_ingress.py303 # Step 2: apply ConfigMap with invalid settingCOMMENT
LOWtests/suite/test_config_rollback_ingress.py333 # Step 4: Ingress still respondsCOMMENT
LOWtests/suite/test_config_rollback_ingress.py336 # Step 5: TS config unchangedCOMMENT
LOWtests/suite/test_config_rollback_ingress.py379 # Step 2: capture TS config before ConfigMap changeCOMMENT
LOWtests/suite/test_config_rollback_ingress.py388 # Step 3: apply ConfigMap with invalid location-snippetsCOMMENT
LOWtests/suite/test_config_rollback_ingress.py399 # Step 4: logs show threshold-triggered early exit; previous-good traffic keeps workingCOMMENT
LOWtests/suite/test_config_rollback_ingress.py409 # Step 5: TS config unchanged (stream blocks not affected by location-snippets)COMMENT
LOWtests/suite/test_config_rollback_ingress.py420 # Step 6: ConfigMap event reflects partial failureCOMMENT
LOWtests/suite/test_config_rollback_ingress.py430 # Step 7: restoring the ConfigMap returns the controller to the normal stateCOMMENT
LOWtests/suite/test_config_rollback_ingress.py110 # Step 3: event contains actual nginx error, but no "rolled back" (nothing to roll back to)COMMENT
LOWtests/suite/test_config_rollback_ingress.py241 # Step 4: event contains actual nginx error and rollback confirmationCOMMENT
LOWtests/suite/test_config_rollback_ingress.py314 # Step 3: IC logs confirm rollback with actual nginx errorCOMMENT
LOWtests/suite/test_config_rollback_ingress.py363 # Step 1: create three valid IngressesCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py452 # Step 1: Update ConfigMap with valid parametersCOMMENT
LOWtests/suite/test_virtual_server_configmap_keys.py479 # Step 2: Update ConfigMap with invalid parametersCOMMENT
LOWtests/suite/test_config_rollback_vsr.py81 # Step 1: verify traffic on both VSR routesCOMMENT
LOWtests/suite/test_config_rollback_vsr.py87 # Step 2: patch either VS or VSR with invalid snippetCOMMENT
LOWtests/suite/test_config_rollback_vsr.py118 # Step 3: traffic still works on both routes — invalid config was rolled backCOMMENT
23 more matches not shown…
Over-Commented Block135 hits · 131 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.txt1#COMMENT
LOWtests/requirements.txt821 --hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \COMMENT
LOWtests/requirements.txt861 --hash=sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c \COMMENT
LOWinternal/k8s/controller.go1301 // This decouples readiness from status API calls, which can takeCOMMENT
LOWinternal/k8s/controller.go2041func (lbc *LoadBalancerController) reportCustomResourceStatusEnabled() bool {COMMENT
LOWinternal/k8s/controller.go2061// Leader safety: when leader election is enabled, runStatusFlush pollsCOMMENT
LOWinternal/nginx/rollback_manager.go201COMMENT
LOWinternal/nginx/rollback_manager.go241COMMENT
LOWinternal/nginx/rollback_manager.go381 if _, tracked := cm.batchFiles[path]; tracked {COMMENT
LOWinternal/configs/configurator.go1781COMMENT
LOWinternal/certmanager/helper.go41 issuerKindCmField = "tls.cert-manager.issuer-kind"COMMENT
LOWinternal/certmanager/helper.go61// usages: "digital signature,key encipherment"COMMENT
LOWinternal/certmanager/cm_controller.go161 return c.sync(ctx, vs)COMMENT
LOWinternal/telemetry/collector_test.go2781// version.Info struct can hold more information about K8s platform, for example:COMMENT
LOWinternal/validation/data_types.go261//COMMENT
LOWcharts/nginx-ingress/values.yaml21COMMENT
LOWcharts/nginx-ingress/values.yaml41 ## Secret containing TLS client certificateCOMMENT
LOWcharts/nginx-ingress/values.yaml81 port: 50000COMMENT
LOWcharts/nginx-ingress/values.yaml221 # tag: "5.5.4"COMMENT
LOWcharts/nginx-ingress/values.yaml241 annotations: {}COMMENT
LOWcharts/nginx-ingress/values.yaml261 ## Format: <namespace>/<secret_name>COMMENT
LOWcharts/nginx-ingress/values.yaml321 # allowPrivilegeEscalation: trueCOMMENT
LOWcharts/nginx-ingress/values.yaml341 # memory: 1GiCOMMENT
LOWcharts/nginx-ingress/values.yaml361 # name: extra-confCOMMENT
LOWcharts/nginx-ingress/values.yaml381 enabled: falseCOMMENT
LOWcharts/nginx-ingress/values.yaml481 # - name: dns-udpCOMMENT
LOWcharts/nginx-ingress/values.yaml601 ## Secret must exist in the same namespace as the helm release.COMMENT
LOWcharts/nginx-ingress/values.yaml661 # ## Set the port where the startup endpoint is exposed. This is a required value if startupStatus.enable is true.COMMENT
LOWhack/update-codegen.sh1#!/usr/bin/env bashCOMMENT
LOWhack/verify-codegen.sh1#!/usr/bin/env bashCOMMENT
LOWhack/secrets-gen/certs.go61// we need here are the bytes for the cert and the key. These two will beCOMMENT
LOW…shared-examples/usage-reporting/cluster-connector.yaml141 - -nms-basic-auth-secret=nginx-cluster-connector/nms-basic-authCOMMENT
LOW.github/workflows/release.yml221 source_tag: ${{ needs.variables.outputs.source_tag }}COMMENT
LOW.github/workflows/release.yml241 # - "${{ needs.variables.outputs.short_tag }}"COMMENT
LOW.github/workflows/release.yml261 # name: Release Docker PlusCOMMENT
LOW.github/workflows/release.yml281 # contents: readCOMMENT
LOW.github/workflows/release.yml441 # if: ${{ ! cancelled() && ! failure() && ! inputs.dry_run && ! contains(inputs.skip_step, 'gcp-marketplace') }}COMMENT
LOW.github/workflows/release.yml461 # env-names: "APP_CLIENT_ID, APP_PRIVATE_KEY_B64"COMMENT
LOW.github/workflows/release.yml481 # } >> "$GITHUB_OUTPUT"COMMENT
LOW.github/workflows/release.yml501 # ref: 'main',COMMENT
LOW.github/workflows/release.yml521 # tenant-id: ${{ secrets.AZURE_COMMON_VAULT_TENANT_ID }}COMMENT
LOW.github/workflows/release.yml541 # echo "::add-mask::$line"COMMENT
LOW.github/workflows/release.yml561 # uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0COMMENT
LOW.github/workflows/release.yml581 # runs-on: ubuntu-24.04COMMENT
LOW.github/workflows/release.yml601 # with:COMMENT
LOW.github/workflows/release.yml621 # with:COMMENT
LOW.github/workflows/build-artifacts.yml121 if: ${{ always() }}COMMENT
LOW.github/workflows/build-artifacts.yml141 # - name: Setup Golang EnvironmentCOMMENT
LOW.github/workflows/build-artifacts.yml161COMMENT
LOW.github/workflows/build-artifacts.yml181 # builder-version: v0.1.0COMMENT
LOW.github/scripts/validate-workflow-gating.sh1#!/usr/bin/env bashCOMMENT
LOW.github/scripts/validate-workflow-gating_test.sh1#!/usr/bin/env bashCOMMENT
LOWdeployments/daemon-set/nginx-ingress.yaml21 automountServiceAccountToken: trueCOMMENT
LOWdeployments/daemon-set/nginx-ingress.yaml61 # cpu: "1"COMMENT
LOWdeployments/daemon-set/nginx-ingress.yaml101 #- -global-configuration=$(POD_NAMESPACE)/nginx-configurationCOMMENT
LOWdeployments/daemon-set/nginx-plus-ingress.yaml21 automountServiceAccountToken: trueCOMMENT
75 more matches not shown…
Excessive Try-Catch Wrapping33 hits · 43 pts
SeverityFileLineSnippetContext
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.py81 except Exception:CODE
LOWtests/suite/test_virtual_server_foreign_upstream.py94 except Exception as ex:CODE
LOWtests/suite/test_virtual_server_grpc.py56 except Exception:CODE
LOWtests/suite/test_v_s_route_grpc.py46 except Exception:CODE
LOWtests/suite/test_virtual_server_mixed_grpc.py50 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.py120 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
LOWtests/suite/utils/policy_resources_utils.py159 except Exception:CODE
LOWtests/suite/utils/policy_resources_utils.py165 except Exception:CODE
LOWtests/suite/utils/policy_resources_utils.py172 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py288 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py325 except Exception:CODE
LOWtests/suite/utils/external_auth_utils.py348 except Exception:CODE
MEDIUMtests/suite/utils/external_auth_utils.py285def fin():CODE
MEDIUMtests/suite/utils/resources_utils.py2265 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py2273 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py966 print(f"Error: {e}")CODE
MEDIUMtests/suite/utils/resources_utils.py2349 print(f"Error in pod restart: {e}")CODE
LOWtests/suite/utils/resources_utils.py965 except Exception as e:CODE
LOWtests/suite/utils/resources_utils.py1747 except Exception as ex:CODE
LOWtests/suite/utils/resources_utils.py2348 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
Self-Referential Comments10 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtests/scripts/check_container_packages.py18# Create a loggerCOMMENT
MEDIUMtests/scripts/check_container_packages.py22# Create a stream handler (for stdout)COMMENT
MEDIUMtests/scripts/check_container_packages.py29 # Create a file handlerCOMMENT
MEDIUMtests/suite/test_jwt_policies_jwksuri.py91 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_jwt_policies_jwksuri.py106 # Create a clientCOMMENT
MEDIUMtests/suite/test_oidc.py89 # Create a user and set credentialsCOMMENT
MEDIUMtests/suite/test_oidc_fclo.py87 # 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.yaml289 ## Create the HorizontalPodAutoscaler resource. This can be set to false to manage the HPA externally.COMMENT
MEDIUM.github/workflows/cherry-pick.yml177 # Create a PR only if one doesn't already exist for this branchCOMMENT
AI Slop Vocabulary11 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_v_s_route.py236 # 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.py264 # 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
MEDIUM.github/workflows/release.yml638 # Review the installation instructions https://docs.nginx.com/nginx-ingress-controller/install and utilize tCOMMENT
MEDIUM.github/workflows/release.yml638 # Review the installation instructions https://docs.nginx.com/nginx-ingress-controller/install and utilize tCOMMENT
LOW.github/scripts/release-docs.sh211# If same year: just add to existing indexCOMMENT
Redundant / Tautological Comments11 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_custom_annotations.py83 "# Print the value assigned to the annotation: 512",CODE
LOWtests/suite/test_custom_annotations.py96 "# 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
Deep Nesting19 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/suite/test_transport_server_backup_service.py239CODE
LOWtests/suite/test_dos.py310CODE
LOWtests/suite/test_virtual_server_dos.py290CODE
LOWtests/suite/test_virtual_server_dos.py358CODE
LOWtests/suite/utils/dos_utils.py9CODE
LOWtests/suite/utils/custom_assertions.py341CODE
LOWtests/suite/utils/yaml_utils.py110CODE
LOWtests/suite/utils/vs_vsr_resources_utils.py43CODE
LOWtests/suite/utils/resources_utils.py46CODE
LOWtests/suite/utils/resources_utils.py71CODE
LOWtests/suite/utils/resources_utils.py95CODE
LOWtests/suite/utils/resources_utils.py119CODE
LOWtests/suite/utils/resources_utils.py1566CODE
LOWtests/suite/utils/resources_utils.py1587CODE
LOWtests/suite/utils/resources_utils.py1704CODE
LOWtests/suite/utils/resources_utils.py1894CODE
LOWtests/suite/utils/resources_utils.py2252CODE
LOW.github/scripts/tech-specs-update.py379CODE
LOW.github/scripts/pull-release-notes.py68CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/external-pr.yml40 core.setOutput('is_fork', pr.data.head.repo.fork.toString());CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWhack/secrets.json1597 "name": "Jane Doe",CODE
LOWhack/secrets.json1615 "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.py235 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.py1878CODE
Modern Structural Boilerplate1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/suite/utils/external_auth_utils.py24logger = logging.getLogger(__name__)CODE