AI Slop Code Risk Monitor

hashicorp/terraform-provider-google

SlopCodeMonitor badge for hashicorp/terraform-provider-google Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Terraform Provider for Google Cloud Platform

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for hashicorp/terraform-provider-google, a Go project with 2,671 GitHub stars. SynthScan examined 2,575,974 lines of code across 14978 source files, recording 5102 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low 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.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.7K
Stars
Go
Language
2.6M
Lines of Code
15.0K
Files
5.1K
Pattern Hits
2026-10-31
Scan Date
0.00
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 9.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 9.8/100 · LOW

Which changes need focused human review? 5102 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 10HIGH 4MEDIUM 46LOW 5042

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 5102 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block4867 hits · 4866 pts
SeverityFileLineSnippetContext
LOWmain.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/common_diff_suppress_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/utils_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/list_resource.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/labels.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/import.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/labels_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/layer7_ddos_defense_missing.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/common_operation_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/service_scope.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/self_link_helpers_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/convert.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/common_operation.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/common_operation.go181// The cloud resource manager API operation is an example of one of manyCOMMENT
LOWgoogle/tpgresource/import_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/common_diff_suppress.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/customdiff.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/datasource_helpers.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/resource_test_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/field_helpers.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/hashcode.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/field_helpers_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/convert_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/regional_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/annotations.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/tpgresource/self_link_helpers.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/sweeper/gcp_sweeper_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/sweeper/hashi_sweeper_fork.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/sweeper/sweeper_inventory_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/sweeper/hashi_sweeper_fork_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/sweeper/gcp_sweeper.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/transport.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/header_transport.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/list_array_pages_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/base_url.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/config.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/retry_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/retry_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/error_retry_predicates_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/mutexkv.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/batcher_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/retry_transport.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/retry_transport.go21// especially if the expected state (operation done, resource ready, etc)COMMENT
LOWgoogle/transport/error_retry_predicates.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/transport_test_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/common_polling.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/base_url_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/config_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/batcher.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/config_test_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/transport/retry_transport_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/vcr_utils_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/test_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/test_utils.go321// This is a Printf sibling (Nprintf; Named Printf), which handles strings likeCOMMENT
LOWgoogle/acctest/tgc_utils_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/tgc_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/diff_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/vcr_utils.go1// Copyright IBM Corp. 2014, 2026COMMENT
LOWgoogle/acctest/diff_utils_test.go1// Copyright IBM Corp. 2014, 2026COMMENT
4807 more matches not shown…
Verbosity Indicators70 hits · 133 pts
SeverityFileLineSnippetContext
LOWgoogle/services/redis/resource_redis_cluster_test.go638 // Step 1: Find the backup collection ID for this clusterCOMMENT
LOW…ices/memorystore/resource_memorystore_instance_test.go1914 // Step 1: Create instance with Customer Managed CASCOMMENT
LOW…/services/container/resource_container_cluster_test.go18871 // Step 1: Create with Manual Config (ANP Off)COMMENT
LOW…/services/container/resource_container_cluster_test.go18887 // Step 2: Remove Manual Config (Expect Replacement)COMMENT
LOW…/services/container/resource_container_cluster_test.go18907 // Step 3: Enable ANP (Auto) (Expect Replacement Again)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go2074 // Step 3: Update to re-enable maintenance exclusionCOMMENT
LOW…ervices/container/resource_container_node_pool_test.go7447 // Step 1: Create with Manual Config (ANP Off)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7463 // Step 2: Remove Manual Config (Expect Replacement)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7482 // Step 3: Enable ANP (Auto) (Expect Replacement Again)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7530 // Step 3: Flip ignore_node_count_changes to false and set node_count = 3 (matching GKE cloud state).COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7543 // Step 4: Now that drift detection is active (flag is false in state), set node_count = 2.COMMENT
LOW⚡google/services/compute/resource_compute_disk_test.go458 // Step 1: Create disk with high performanceCOMMENT
LOW⚡google/services/compute/resource_compute_disk_test.go466 // Step 2: Decrease both simultaneously (The Atomic Fix)COMMENT
LOW⚡…ces/compute/resource_compute_network_endpoints_test.go343 // Step 1: Add E1 with IPv6_1 + PORT (VM1)COMMENT
LOW⚡…ces/compute/resource_compute_network_endpoints_test.go353 // Step 2: Add E2 with IPv6_2 + PORT (VM2) alongside E1COMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go368 // Step 3: Detach E2, verify E1 remains and Terraform distinguishes both entitiesCOMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go383 // Step 4: Dual-stack: E1 via IPv4 for VM1 and E2 via IPv6 for VM2COMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go398 // Step 5: Update E2's IP to IPv6 of VM1 while E1 remains IPv4 of VM1COMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go413 // Step 6: Remove all endpoints and verify no leftover NEs remainCOMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go725 // Step 1: Create SA without endpoint_url (Required by API)COMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go729 // Step 2: Update with numerical ID-based endpoint_urlCOMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go847 // Step 1: Create the Service Attachment with limit = 1COMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go851 // Step 2: Update the limit to 2COMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go943 // Step 1: Create the resource with TWO projects in the accept listCOMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go947 // Step 2: Update the resource by adding a THIRD projectCOMMENT
LOW⚡…ices/compute/resource_compute_network_endpoint_test.go271 // Step 1: Add E1 with IPv6_1 + PORTCOMMENT
LOW⚡…ices/compute/resource_compute_network_endpoint_test.go280 // Step 2: Add E2 with IPv6_2 + PORT alongside E1COMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go300 // Step 3: Detach E2, ensuring E1 remainsCOMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go315 // Step 4: Dual-stack - E1 via IPv4 for VM1 and E2 via IPv6 for VM2COMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go335 // Step 5: Dual-stack update - update E2 to IPv6 of VM1 while E1 is IPv4 of VM1COMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go355 // Step 6: Remove all endpoints and verify no leftover NEs remainCOMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go754 // Step 1: Create IPv4 Network and SubnetworkCOMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go763 // Step 2: Update Subnetwork to Dual Stack with IP CollectionCOMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go823 // Step 1: Create IPv4 Network, Subnetwork and VM1COMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go833 // Step 2: Update Subnetwork to Dual Stack with IP Collection and Add VM2 (dual-stack)COMMENT
LOW⚡…vices/compute/resource_compute_backend_service_test.go2939 // Step 1: Explicitly set to a single space (simulating API state)COMMENT
LOW⚡…vices/compute/resource_compute_backend_service_test.go2943 // Step 2: Remove it from config (set to empty)COMMENT
LOW…/resource_chronicle_data_table_deletion_policy_test.go77 // Step 1: Create table and a row, with Deletion policy FORCE.COMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go46 // Step 1: Create initial rowCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go54 // Step 2: Import CheckCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go62 // Step 3: Update only rowTimeToLive (updatable) -> Expect UPDATECOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go75 // Step 4: Import CheckCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go83 // Step 5: Update only values (immutable) -> Expect REPLACECOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go96 // Step 6: Import CheckCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go104 // Step 7: Update both rowTimeToLive (updatable) and values (immutable) -> Expect REPLACECOMMENT
LOW…es/chronicle/resource_chronicle_data_table_row_test.go117 // Step 8: Final Import CheckCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go50 // Step 1: Basic creationCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go59 // Step 2: Import checkCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go66 // Step 3: Update mutable fields (description, row_time_to_live)COMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go80 // Step 4: Import check after mutable updateCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go87 // Step 5: Attempt to update an immutable field (column_info.0.original_column)COMMENT
LOW…rvices/chronicle/resource_chronicle_data_table_test.go101 // Step 6: Final import check after immutable change (Force New)COMMENT
LOW⚡google/services/sql/resource_sql_database_test.go223 // Step 2: Update activation_policy to NEVERCOMMENT
LOW⚡google/services/sql/resource_sql_database_test.go227 // Step 3: Refresh to verify no errorsCOMMENT
LOW⚡google/services/sql/resource_sql_database_test.go231 // Step 4: Update activation_policy to ALWAYS so that post-test destroy code is able to delete the google_sql_databasCOMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5423 // Step 1: Create MYSQL_8_0 instance WITH BGD block in Step 1.COMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5432 // Step 2: Switchover to TARGET with delete_old_source_on_destroy = false.COMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5547 // Step 1: Create a MYSQL_8_0 instance with a BGD targeting MYSQL_8_4.COMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5557 // Step 2: In one apply, remove the BGD block and upgrade the instance in place to MYSQL_8_4.COMMENT
LOW…le/services/sql/resource_sql_database_instance_test.go5244 // Step 1: Create MYSQL_8_0 Blue instance via Terraform with no BGD block.COMMENT
10 more matches not shown…
Structural Annotation Overuse70 hits · 133 pts
SeverityFileLineSnippetContext
LOWgoogle/services/redis/resource_redis_cluster_test.go638 // Step 1: Find the backup collection ID for this clusterCOMMENT
LOW…ices/memorystore/resource_memorystore_instance_test.go1914 // Step 1: Create instance with Customer Managed CASCOMMENT
LOW…/services/container/resource_container_cluster_test.go18871 // Step 1: Create with Manual Config (ANP Off)COMMENT
LOW…/services/container/resource_container_cluster_test.go18887 // Step 2: Remove Manual Config (Expect Replacement)COMMENT
LOW…/services/container/resource_container_cluster_test.go18907 // Step 3: Enable ANP (Auto) (Expect Replacement Again)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go2074 // Step 3: Update to re-enable maintenance exclusionCOMMENT
LOW…ervices/container/resource_container_node_pool_test.go7447 // Step 1: Create with Manual Config (ANP Off)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7463 // Step 2: Remove Manual Config (Expect Replacement)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7482 // Step 3: Enable ANP (Auto) (Expect Replacement Again)COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7530 // Step 3: Flip ignore_node_count_changes to false and set node_count = 3 (matching GKE cloud state).COMMENT
LOW…ervices/container/resource_container_node_pool_test.go7543 // Step 4: Now that drift detection is active (flag is false in state), set node_count = 2.COMMENT
LOW⚡google/services/compute/resource_compute_disk_test.go458 // Step 1: Create disk with high performanceCOMMENT
LOW⚡google/services/compute/resource_compute_disk_test.go466 // Step 2: Decrease both simultaneously (The Atomic Fix)COMMENT
LOW⚡…ces/compute/resource_compute_network_endpoints_test.go343 // Step 1: Add E1 with IPv6_1 + PORT (VM1)COMMENT
LOW⚡…ces/compute/resource_compute_network_endpoints_test.go353 // Step 2: Add E2 with IPv6_2 + PORT (VM2) alongside E1COMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go368 // Step 3: Detach E2, verify E1 remains and Terraform distinguishes both entitiesCOMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go383 // Step 4: Dual-stack: E1 via IPv4 for VM1 and E2 via IPv6 for VM2COMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go398 // Step 5: Update E2's IP to IPv6 of VM1 while E1 remains IPv4 of VM1COMMENT
LOW…ces/compute/resource_compute_network_endpoints_test.go413 // Step 6: Remove all endpoints and verify no leftover NEs remainCOMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go725 // Step 1: Create SA without endpoint_url (Required by API)COMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go729 // Step 2: Update with numerical ID-based endpoint_urlCOMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go847 // Step 1: Create the Service Attachment with limit = 1COMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go851 // Step 2: Update the limit to 2COMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go943 // Step 1: Create the resource with TWO projects in the accept listCOMMENT
LOW⚡…es/compute/resource_compute_service_attachment_test.go947 // Step 2: Update the resource by adding a THIRD projectCOMMENT
LOW⚡…ices/compute/resource_compute_network_endpoint_test.go271 // Step 1: Add E1 with IPv6_1 + PORTCOMMENT
LOW⚡…ices/compute/resource_compute_network_endpoint_test.go280 // Step 2: Add E2 with IPv6_2 + PORT alongside E1COMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go300 // Step 3: Detach E2, ensuring E1 remainsCOMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go315 // Step 4: Dual-stack - E1 via IPv4 for VM1 and E2 via IPv6 for VM2COMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go335 // Step 5: Dual-stack update - update E2 to IPv6 of VM1 while E1 is IPv4 of VM1COMMENT
LOW…ices/compute/resource_compute_network_endpoint_test.go355 // Step 6: Remove all endpoints and verify no leftover NEs remainCOMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go754 // Step 1: Create IPv4 Network and SubnetworkCOMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go763 // Step 2: Update Subnetwork to Dual Stack with IP CollectionCOMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go823 // Step 1: Create IPv4 Network, Subnetwork and VM1COMMENT
LOW⚡…e/services/compute/resource_compute_subnetwork_test.go833 // Step 2: Update Subnetwork to Dual Stack with IP Collection and Add VM2 (dual-stack)COMMENT
LOW⚡…vices/compute/resource_compute_backend_service_test.go2939 // Step 1: Explicitly set to a single space (simulating API state)COMMENT
LOW⚡…vices/compute/resource_compute_backend_service_test.go2943 // Step 2: Remove it from config (set to empty)COMMENT
LOW…/resource_chronicle_data_table_deletion_policy_test.go77 // Step 1: Create table and a row, with Deletion policy FORCE.COMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go46 // Step 1: Create initial rowCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go54 // Step 2: Import CheckCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go62 // Step 3: Update only rowTimeToLive (updatable) -> Expect UPDATECOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go75 // Step 4: Import CheckCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go83 // Step 5: Update only values (immutable) -> Expect REPLACECOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go96 // Step 6: Import CheckCOMMENT
LOW⚡…es/chronicle/resource_chronicle_data_table_row_test.go104 // Step 7: Update both rowTimeToLive (updatable) and values (immutable) -> Expect REPLACECOMMENT
LOW…es/chronicle/resource_chronicle_data_table_row_test.go117 // Step 8: Final Import CheckCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go50 // Step 1: Basic creationCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go59 // Step 2: Import checkCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go66 // Step 3: Update mutable fields (description, row_time_to_live)COMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go80 // Step 4: Import check after mutable updateCOMMENT
LOW⚡…rvices/chronicle/resource_chronicle_data_table_test.go87 // Step 5: Attempt to update an immutable field (column_info.0.original_column)COMMENT
LOW…rvices/chronicle/resource_chronicle_data_table_test.go101 // Step 6: Final import check after immutable change (Force New)COMMENT
LOW⚡google/services/sql/resource_sql_database_test.go223 // Step 2: Update activation_policy to NEVERCOMMENT
LOW⚡google/services/sql/resource_sql_database_test.go227 // Step 3: Refresh to verify no errorsCOMMENT
LOW⚡google/services/sql/resource_sql_database_test.go231 // Step 4: Update activation_policy to ALWAYS so that post-test destroy code is able to delete the google_sql_databasCOMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5423 // Step 1: Create MYSQL_8_0 instance WITH BGD block in Step 1.COMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5432 // Step 2: Switchover to TARGET with delete_old_source_on_destroy = false.COMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5547 // Step 1: Create a MYSQL_8_0 instance with a BGD targeting MYSQL_8_4.COMMENT
LOW⚡…le/services/sql/resource_sql_database_instance_test.go5557 // Step 2: In one apply, remove the BGD block and upgrade the instance in place to MYSQL_8_4.COMMENT
LOW…le/services/sql/resource_sql_database_instance_test.go5244 // Step 1: Create MYSQL_8_0 Blue instance via Terraform with no BGD block.COMMENT
10 more matches not shown…
Self-Referential Comments40 hits · 129 pts
SeverityFileLineSnippetContext
MEDIUMgoogle/provider/provider_billing_project_test.go273# Create a new project and enable service APIs in those projectsCOMMENT
MEDIUM⚡…vice_networking_vpc_service_controls_generated_test.go94# Create a VPCCOMMENT
MEDIUM⚡…vice_networking_vpc_service_controls_generated_test.go99# Create an IP addressCOMMENT
MEDIUM⚡…vice_networking_vpc_service_controls_generated_test.go108# Create a private connectionCOMMENT
MEDIUM⚡…source_service_networking_vpc_service_controls_test.go61# Create a VPCCOMMENT
MEDIUM⚡…source_service_networking_vpc_service_controls_test.go66# Create an IP addressCOMMENT
MEDIUM⚡…source_service_networking_vpc_service_controls_test.go75# Create a private connectionCOMMENT
MEDIUM…/netapp/resource_netapp_storage_pool_generated_test.go100# Create a storage poolCOMMENT
MEDIUMgoogle/services/redis/resource_redis_cluster_test.go543# Create a GCS bucket for exporting Redis backupsCOMMENT
MEDIUMgoogle/services/redis/resource_redis_cluster_test.go595# Create a Redis cluster that imports from the GCS bucketCOMMENT
MEDIUM…ogle/services/dataplex/resource_dataplex_entry_test.go986 # Define the table schemaCOMMENT
MEDIUM…ogle/services/dataplex/resource_dataplex_entry_test.go1125 # Define the table schemaCOMMENT
MEDIUM…ces/dataplex/resource_dataplex_entry_generated_test.go414 # Define the table schemaCOMMENT
MEDIUM…connect/resource_firebase_data_connect_service_test.go81# Create an FDC serviceCOMMENT
MEDIUM…source_firebase_data_connect_service_generated_test.go101# Create a Firebase Data Connect serviceCOMMENT
MEDIUM…source_firebase_data_connect_service_generated_test.go165# Create a Firebase Data Connect serviceCOMMENT
MEDIUM…ices/memorystore/resource_memorystore_instance_test.go909# Create a GCS bucket for exporting Memorystore backupsCOMMENT
MEDIUM…es/storage/resource_storage_hmac_key_generated_test.go94# Create a new service accountCOMMENT
MEDIUM…es/storage/resource_storage_hmac_key_generated_test.go99#Create the HMAC key for the associated service accountCOMMENT
MEDIUM…set/resource_cloud_asset_folder_feed_generated_test.go98# Create a feed that sends notifications about network resource updates under aCOMMENT
MEDIUM…source_cloud_asset_organization_feed_generated_test.go97# Create a feed that sends notifications about network resource updates under aCOMMENT
MEDIUM…et/resource_cloud_asset_project_feed_generated_test.go96# Create a feed that sends notifications about network resource updates.COMMENT
MEDIUM…s/vmwareengine/resource_vmwareengine_datastore_test.go152# Create a filestore instance with delete protection enabledCOMMENT
MEDIUM…s/vmwareengine/resource_vmwareengine_datastore_test.go171# Create a VmwareEngine Datastore, referencing the filestore instanceCOMMENT
MEDIUM…s/vmwareengine/resource_vmwareengine_datastore_test.go231# Create a network or use datasource to reference existing networkCOMMENT
MEDIUM…s/vmwareengine/resource_vmwareengine_datastore_test.go236# Create a Netapp storage poolCOMMENT
MEDIUM…s/vmwareengine/resource_vmwareengine_datastore_test.go252# Create a netapp volumeCOMMENT
MEDIUM…s/vmwareengine/resource_vmwareengine_datastore_test.go264# Create a VmwareEngine Datastore, referencing the netapp volumeCOMMENT
MEDIUM…ces/vmwareengine/resource_vmwareengine_cluster_test.go141# Create a filestore instance with delete protection enabledCOMMENT
MEDIUM…ces/vmwareengine/resource_vmwareengine_cluster_test.go212# Create a VmwareEngine Datastore, referencing the filestore instanceCOMMENT
MEDIUM…ces/vmwareengine/resource_vmwareengine_cluster_test.go283# Create a filestore instance with delete protection enabledCOMMENT
MEDIUM…ces/vmwareengine/resource_vmwareengine_cluster_test.go355# Create a VmwareEngine Datastore, referencing the filestore instanceCOMMENT
MEDIUM…le/services/dataproc/resource_dataproc_cluster_test.go2150# Create a subnet with Private IP Access enabled to testCOMMENT
MEDIUMexamples/vpn/vpn.tf8# Create the two networks we want to join. They must have separate, internalCOMMENT
MEDIUMexamples/vpn/vpn.tf33# Create an outward facing static IP for each VPN that will be used by theCOMMENT
MEDIUMexamples/shared-vpc/main.tf109# Create the hosted network.COMMENT
MEDIUMexamples/shared-vpc/main.tf137# Create a standalone network with the same firewall rules.COMMENT
MEDIUMexamples/shared-vpc/main.tf161# Create a VM which hosts a web page stating its identity ("VM1")COMMENT
MEDIUMexamples/shared-vpc/main.tf191# Create a VM which hosts a web page demonstrating the example networking.COMMENT
MEDIUMexamples/shared-vpc/main.tf228# Create a VM which hosts a web page stating its identity ("standalone").COMMENT
Hallucination Indicators10 hits · 100 pts
SeverityFileLineSnippetContext
CRITICAL…rvices/kms/data_source_google_kms_secret_asymmetric.go127 result, err := client.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.AsymmetricDecrypt(cryptoKeyVersion, &reqCODE
CRITICALgoogle/services/kms/resource_kms_crypto_key_test.go399 response, err := kms.NewClient(config, config.UserAgent).Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.ListCODE
CRITICALgoogle/services/kms/bootstrap_test_utils.go108 cryptoKey, err := kmsClient.Projects.Locations.KeyRings.CryptoKeys.Get(keyName).Do()CODE
CRITICALgoogle/services/kms/bootstrap_test_utils.go125 cryptoKey, err = kmsClient.Projects.Locations.KeyRings.CryptoKeys.Create(keyParent, &newKey).CODE
CRITICALgoogle/services/kms/bootstrap_test_utils.go141 ckvResp, err := kmsClient.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.List(keyName).Do()CODE
CRITICAL…ervices/container/resource_container_node_pool_test.go7633 op, err := gkeClient.Projects.Locations.Clusters.NodePools.SetSize(fqName, req).Do()CODE
CRITICALgoogle/services/container/container_operation.go99 opGetCall := w.Service.Projects.Locations.Operations.Get(name)CODE
CRITICALgoogle/services/dataproc/dataproc_job_operation.go67 job, err := w.Service.Projects.Regions.Jobs.Get(w.ProjectId, w.Region, w.JobId).Do()CODE
CRITICALgoogle/services/dataproc/dataproc_job_operation.go122 job, err := w.Service.Projects.Regions.Jobs.Get(w.ProjectId, w.Region, w.JobId).Do()CODE
CRITICALgoogle/services/dataproc/dataproc_cluster_operation.go38 return w.Service.Projects.Regions.Operations.Get(w.Op.Name).Do()CODE
Fake / Example Data26 hits · 29 pts
SeverityFileLineSnippetContext
LOWgoogle/test-fixtures/fake_account.json4 "client_email": "foo@bar.com",CODE
LOW…/resource_essential_contacts_contact_generated_test.go98 email = "foo@bar.com"CODE
LOW⚡…rivileged_access_manager_entitlement_generated_test.go119 "user@example.com",CODE
LOW⚡…rivileged_access_manager_entitlement_generated_test.go122 "user@example.com"CODE
LOW⚡…rivileged_access_manager_entitlement_generated_test.go131 "user@example.com"CODE
LOW⚡…resource_privileged_access_manager_entitlement_test.go114 admin_email_recipients = ["user@example.com"]CODE
LOW⚡…resource_privileged_access_manager_entitlement_test.go115 requester_email_recipients = ["user@example.com"]CODE
LOW⚡…resource_privileged_access_manager_entitlement_test.go122 approver_email_recipients = ["user@example.com"]CODE
LOW…rtexai/resource_vertex_ai_custom_job_generated_test.go301 content = "placeholder"CODE
LOW…ompute/resource_compute_interconnect_generated_test.go106 noc_contact_email = "user@example.com"CODE
LOW…gle/services/compute/resource_compute_instance_test.go10749 subnetwork_project = "placeholder"CODE
LOW…rce_compute_interconnect_attachment_l2_enabled_test.go75 noc_contact_email = "user@example.com"CODE
LOW…s/compute/resource_compute_interconnect_macsec_test.go84 noc_contact_email = "user@example.com"CODE
LOW…s/compute/resource_compute_interconnect_macsec_test.go107 noc_contact_email = "user@example.com"CODE
LOW…s/compute/resource_compute_interconnect_macsec_test.go169 noc_contact_email = "user@example.com"CODE
LOW…s/compute/resource_compute_interconnect_macsec_test.go197 noc_contact_email = "user@example.com"CODE
LOW…vices/biglake/resource_biglake_table_generated_test.go154 "owner" = "John Doe"CODE
LOW…es/biglake/resource_biglake_database_generated_test.go121 "owner": "John Doe"CODE
LOW…gle/services/biglake/resource_biglake_database_test.go93 "owner": "Jane Doe"CODE
LOW…/resource_secure_source_manager_hook_generated_test.go188 sensitive_query_string = "auth=fake_token"CODE
LOW…ger/resource_secure_source_manager_hook_update_test.go89 sensitive_query_string = "auth=fake_token"CODE
LOW…ger/resource_secure_source_manager_hook_update_test.go122 sensitive_query_string = "auth=fake_token"CODE
LOW…/dialogflowcx/resource_dialogflow_cx_generator_test.go103 name = "placeholder"CODE
LOW…urce_monitoring_notification_channel_generated_test.go97 email_address = "fake_email@blahblah.com"CODE
LOW…oring/resource_monitoring_notification_channel_test.go37 Config: testAccMonitoringNotificationChannel_update("email", `email_address = "fake_email@blahblah.com"`, "true"),CODE
LOW…ors/resource_integration_connectors_connection_test.go993 subject = "johndoe@example.org"CODE
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMgoogle/services/agenticapplications/product.go18// Package agenticapplications contains resources, datasources, etc. for the agentic applications service.COMMENT
MEDIUMgoogle/services/ces/ces_agent_test.go440 // guardrails = [COMMENT
MEDIUM…vertexai/resource_vertex_ai_rag_file_generated_test.go138# The RAG Engine service agent is created on first use of RAG Engine, so grant itCOMMENT
MEDIUM…vertexai/resource_vertex_ai_rag_file_generated_test.go250# The RAG Engine service agent is created on first use of RAG Engine, so grant itCOMMENT
MEDIUM…vertexai/resource_vertex_ai_rag_file_generated_test.go361# The RAG Engine service agent is created on first use of RAG Engine, so grant itCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…gle/services/iam3/resource_iam_folder_access_policy.go0"conditions": { "iam.googleapis.com": { "expression": } }STRING
HIGH…rvices/iam3/resource_iam_organization_access_policy.go0"conditions": { "iam.googleapis.com": { "expression": } }STRING
HIGH…le/services/iam3/resource_iam_project_access_policy.go0"conditions": { "iam.googleapis.com": { "expression": } }STRING
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHgoogle/services/netapp/resource_netapp_volume.go67 // If "/locations" is not found in either string, they can't be compared as requested.COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWexamples/example-versioned-module/main.tf38# Display outputs from each blockCOMMENT
LOWscripts/get_unit_test_pkgs.sh9 # Check if any file in this directory has a test.COMMENT
LOW.github/reviewer-lottery.yml19# Set 0 to add all the reviewers (default: 0)COMMENT
Hyper-Verbose Identifiers3 hits · 4 pts
SeverityFileLineSnippetContext
LOWgoogle/services/ces/ces_agent_test.go456 python_code = "def should_trigger_transfer_callback(callback_context): return True"CODE
LOWgoogle/services/ces/ces_tool_test.go1074 python_code = "def transform_function_updated(x: int) -> int: return x"CODE
LOW…ces/vmwareengine/resource_vmwareengine_cluster_test.go528// Unit test for function RemoveDatastoreMountConfigFieldFromUpdateMask()COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…le/services/resourcemanager/resource_google_project.go952// waits for service enablement status to propagate. Essentially, it waits untilCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…vertexai/test-fixtures/mds_agent_src/metadata_agent.py10 except Exception:CODE
LOW…ervices/vertexai/test-fixtures/agent_src/entrypoint.py22 except Exception:CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/services/bigtable/resource_bigtable_gc_policy_test.go246 // TODO: Add test to verify no data lossCOMMENT