Vitess is a database clustering system for horizontal scaling of MySQL.
This report summarizes scanner evidence for vitessio/vitess, a Go project with 21,397 GitHub stars. SynthScan examined 1,511,689 lines of code across 4658 source files, recording 1108 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 1073 finding(s).
Are imports declared and package/API names verified? 30 finding(s).
Are wrappers, guards, and repeated structures necessary? 15 finding(s).
Which changes need focused human review? 1108 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1108 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bootstrap.sh | 1 | #!/bin/bash | COMMENT |
| LOW | misc/parse_cover.py | 1 | #!/usr/bin/python | COMMENT |
| LOW | tools/e2e_test_cluster.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/all_test_for_coverage.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/get_previous_release.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/build_version_flags.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/e2e_test_race.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/e2e_test_race.sh | 21 | COMMENT | |
| LOW | tools/unit_test_runner.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/release_utils.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/code_freeze.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/code_freeze.sh | 21 | # The first argument of the script is a string, which should be either: "freeze" or "unfreeze". | COMMENT |
| LOW | tools/warm_go_build_cache.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/warm_go_build_cache.sh | 21 | # | COMMENT |
| LOW | tools/get_next_release.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/pylint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/assert_tests_ran.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/remove_dependencies.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/create_release.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/dependency_check.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/e2e_go_test.sh | 21 | COMMENT | |
| LOW | tools/check_license_headers.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/back_to_dev_mode.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/e2e_test_runner.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/e2e_test_runner.sh | 21 | COMMENT | |
| LOW | tools/delete_superseded_cache_entries.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/bootstrap/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/test/run.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/test/run.sh | 21 | # internally use this script to launch the test for you. | COMMENT |
| LOW | docker/vttestserver/run.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/vttestserver/setup_vschema_folder.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/mini/vtctld-mini-up.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/mini/vttablet-mini-up.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/binaries/logrotate/rotate.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/binaries/logtail/tail.sh | 1 | #!/bin/bash | COMMENT |
| LOW | go/vt/vtgate/vstream_manager.go | 181 | COMMENT | |
| LOW | go/vt/vtgate/scatter_conn.go | 721 | } | COMMENT |
| LOW | go/vt/vtgate/temp_table_refresh.go | 41 | // idle timer and mysqld's wait_timeout clock. That is intentional: the | COMMENT |
| LOW | go/vt/vtgate/temp_table_refresh.go | 61 | // session, so their count is client-controlled; without a cap a hostile | COMMENT |
| LOW | go/vt/vtgate/temp_table_refresh.go | 81 | // parity for both the MySQL protocol and the gRPC API, complementing the | COMMENT |
| LOW | go/vt/vtgate/temp_table_refresh.go | 121 | COMMENT | |
| LOW | go/vt/vtgate/temp_table_refresh.go | 161 | // (a rare race sending one extra refresh is harmless). Shard sessions with an | COMMENT |
| LOW | go/vt/vtgate/executor_dml_test.go | 3061 | } | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 121 | } | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 161 | return tempTableTargetKey{alias: topoproto.TabletAliasString(t.alias), reservedID: t.reservedID} | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 201 | vtg *VTGate | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 301 | // A session-level transaction timeout that does not exceed the worst-case | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 401 | }() | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 501 | // correct — the tablet is unreachable. | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 521 | // beat rather than accumulating one every tick. And a tablet whose last beat | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 561 | // taken right away, so a tablet that has recovered — its beat | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 661 | } | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 741 | // connections (false on a tablet predating the keepalive). | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 841 | // ACL and query-log path, so the identity is not used there; it matters on a | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 861 | // user traffic and reclaims idle sessions exactly as MySQL would. On a tablet | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 941 | // temp tables dropped, session and user variables reset, LAST_INSERT_ID | COMMENT |
| LOW | go/vt/vtgate/plugin_mysql_server.go | 1481 | return vterrors.VT12001("ComRegisterReplica for the VTGate handler") | COMMENT |
| LOW | go/vt/vtgate/plan_execute.go | 201 | if err != nil { // The error we're checking here is the return value from the newExecute function | COMMENT |
| LOW | go/vt/vtgate/executorcontext/safe_session.go | 101 | // being set. Otherwise, it starts as notAutocommitable. | COMMENT |
| LOW | go/vt/vtgate/executorcontext/safe_session.go | 481 | // FindAndChangeSessionIfInSingleTxMode retrieves the ShardSession matching the given keyspace, shard, and tablet type. | COMMENT |
| 893 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | go/vt/vtgate/plan_execute.go | 103 | if e.resolver.scatterConn.gateway.buffer != nil && e.resolver.scatterConn.gateway.buffer.GetConfig() != nil { | CODE |
| CRITICAL | go/vt/vtgate/plan_execute.go | 104 | timeout = e.resolver.scatterConn.gateway.buffer.GetConfig().MaxFailoverDuration / (MaxBufferingRetries - 1) | CODE |
| CRITICAL | go/vt/vttablet/tabletmanager/vdiff/table_differ.go | 1073 | statement, err := td.wd.ct.vde.parser.Parse(td.tablePlan.sourceQuery) | CODE |
| CRITICAL | go/vt/vttablet/tabletmanager/vdiff/table_plan.go | 90 | statement, err := td.wd.ct.vde.parser.Parse(td.sourceQuery) | CODE |
| CRITICAL | go/vt/vttablet/tabletmanager/vdiff/report.go | 90 | statement, err := td.wd.ct.vde.parser.Parse(queryStmt) | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver.go | 2385 | if err := tsv.te.txPool.scp.conns.SetCapacity(ctx, int64(val)); err != nil { | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver.go | 2388 | return tsv.te.txPool.scp.foundRowsPool.SetCapacity(ctx, int64(val)) | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver_test.go | 181 | require.EqualValues(t, 1, tsv.te.txPool.scp.active.Size(), "tsv.te.txPool.scp.active.Size()") | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver_test.go | 249 | tsv.te.txPool.scp.lastID.Store(1) | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver_test.go | 296 | assert.EqualValues(c, 20, tsv.te.txPool.scp.lastID.Load(), "tsv.te.txPool.lastID.Get()") | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver_test.go | 2547 | assert.EqualValues(t, 1, tsv.te.txPool.scp.tempTableUnmanaged.Load(), "the marked, unmanaged connection must be on the | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver_test.go | 2564 | assert.Zero(t, tsv.te.txPool.scp.tempTableUnmanaged.Load(), "a keepalive-managed connection must leave the gauge") | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/tabletserver_test.go | 2648 | assert.Zero(t, tsv.te.txPool.scp.tempTableUnmanaged.Load(), "a drop-only connection must stay off the gauge") | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/query_executor_test.go | 3643 | return tsv.te.txPool.scp.conns.Metrics.DiscardedByCallerCount() | CODE |
| CRITICAL | go/vt/vttablet/tabletserver/query_executor.go | 1559 | tabletTypeStr := qre.tsv.sm.target.TabletType.String() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | go/vt/vtgate/planbuilder/operators/queryprojection.go | 604 | // We are also free to add more ORDER BY columns than the user asked for which we leverage, | COMMENT |
| MEDIUM | …/vt/vttablet/tabletmanager/vreplication/vreplicator.go | 201 | // All phases share the same plan building framework. We leverage the fact the | COMMENT |
| MEDIUM | go/vt/vttablet/tabletserver/tabletserver.go | 94 | // Essentially, InitDBConfig is a continuation of New. However, | COMMENT |
| MEDIUM | go/vt/vttablet/tabletserver/vstreamer/rowstreamer.go | 211 | // We wish to utilize a UNIQUE KEY which is not the PRIMARY KEY/ | COMMENT |
| MEDIUM | go/vt/vttablet/tabletserver/vstreamer/rowstreamer.go | 282 | // leverage the ordering from the index itself and avoid having to | COMMENT |
| MEDIUM | …vt/vttablet/tabletserver/txserializer/tx_serializer.go | 363 | // transactions. Instead, we leverage that Go routines waiting for a channel | COMMENT |
| MEDIUM | go/vt/grpcoptionaltls/tls_detector.go | 35 | // Definitely not TLS | COMMENT |
| MEDIUM | go/vt/vtorc/logic/topology_recovery.go | 1050 | // is not dead, then we will proceed with the fix for the replica. Essentially, we are trading off speed in replica rec | COMMENT |
| MEDIUM | go/cmd/vtctl/vtctl.go | 59 | // Essentially, the situation we have here is that commands look like: | COMMENT |
| MEDIUM | go/flags/endtoend/analyze_flags.py | 45 | """Analyze all binary help files and generate comprehensive report.""" | STRING |
| MEDIUM | go/flags/endtoend/analyze_flags.py | 92 | """Generate comprehensive migration report.""" | STRING |
| MEDIUM | go/test/endtoend/cluster/vttablet_process.go | 588 | // This allows the tests to be more robust in the face of transient failures. | COMMENT |
| MEDIUM | go/test/endtoend/cluster/vttablet_process.go | 625 | // This allows the tests to be more robust in the face of transient failures. | COMMENT |
| MEDIUM | go/test/endtoend/vreplication/vdiff_helper_test.go | 39 | vdiffTimeout = 180 * time.Second // We can leverage auto retry on error with this longer-than-usual timeout | CODE |
| MEDIUM | go/test/endtoend/reparent/utils/utils.go | 564 | // it's possible that we get other ephemeral errors too, so we make the tests more robust by | COMMENT |
| MEDIUM | …/tabletmanager/disk_health_monitor/fuse_helper/main.go | 141 | // shouldn't happen with a stock LoopbackRoot, but keeps the helper robust if | COMMENT |
| MEDIUM | …/endtoend/vtorc/primaryfailure/primary_failure_test.go | 486 | // log format. We should change this to something more robust. | COMMENT |
| MEDIUM | web/vtadmin/package-lock.json | 11361 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | web/vtadmin/tests/server.ts | 35 | // means our fake is more robust than it would be otherwise. Since we are using | COMMENT |
| MEDIUM | web/vtadmin/src/hooks/useSyncedURLParam.ts | 62 | // TODO(doeg): One possible, more nuanced re-implementation is to push entries onto the stack | COMMENT |
| MEDIUM | web/vtadmin/src/hooks/useTheme.ts | 13 | // of the Debug page. The :) correct implementation :) will be more robust, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bootstrap.sh | 18 | ### This file is executed by 'make tools'. You do not need to execute it directly. | COMMENT |
| MEDIUM | tools/create_release.sh | 66 | ## Create the commit for this release and tag it | COMMENT |
| MEDIUM | docker/vttestserver/setup_vschema_folder.sh | 54 | # Create a vschema.json file only if the number of shards are more than 1 | COMMENT |
| MEDIUM | go/vt/mysqlctl/mysqld_test.go | 465 | assert.Contains(t, template, "# This file is auto-included when MySQL 9.0 or later is detected.") | CODE |
| MEDIUM | go/vt/mysqlctl/mysqld_test.go | 473 | assert.Contains(t, template, "# This file is auto-included when MySQL 9.0 or later is detected.") | CODE |
| MEDIUM⚡ | …nd/vreplication/testdata/config/init_testserver_db.sql | 1 | # This file is for testing purpose only. | COMMENT |
| MEDIUM⚡ | …nd/vreplication/testdata/config/init_testserver_db.sql | 2 | # This file is executed immediately after initializing a fresh data directory. | COMMENT |
| MEDIUM | config/init_db.sql | 1 | # This file is executed immediately after initializing a fresh data directory. | COMMENT |
| MEDIUM | examples/compose/101_initial_cluster.sh | 26 | # Create the keyspace before starting tablets to avoid racing with | COMMENT |
| MEDIUM | examples/local/402_list_backup.sh | 19 | KEYSPACE="customer" # Define the keyspace to work with | CODE |
| MEDIUM | examples/local/402_list_backup.sh | 20 | SHARDS=("-80" "80-") # Define the shards within the keyspace to list backups for | CODE |
| MEDIUM⚡ | examples/local/403_restore_from_backup.sh | 21 | KEYSPACE="customer" # Define the keyspace to work with | CODE |
| MEDIUM⚡ | examples/local/403_restore_from_backup.sh | 22 | SHARDS=("-80" "80-") # Define the shards within the keyspace to restore | CODE |
| MEDIUM | examples/local/101_initial_cluster.sh | 47 | # Create the keyspace with the sidecar database name and set the | COMMENT |
| MEDIUM | examples/common/lib/utils.sh | 17 | # This file contains utility functions that can be used throughout the | COMMENT |
| MEDIUM | examples/operator/101_initial_cluster.yaml | 147 | # This file is executed immediately after mysql_install_db, | COMMENT |
| MEDIUM | .github/workflows/backport.yml | 271 | # Create the pull request with labels (returns URL like https://github.com/owner/repo/pull/123) | COMMENT |
| MEDIUM | .github/workflows/backport.yml | 467 | # Create the pull request with labels (returns URL like https://github.com/owner/repo/pull/123) | COMMENT |
| MEDIUM | doc/vtctl_go_reference.py | 480 | # Create a data structure to contain information about the command | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/vt/vtgate/planbuilder/operators/union.go | 229 | // Step 1: Identify column references in the first source's expression and record their offsets. | COMMENT |
| LOW⚡ | go/vt/vtgate/planbuilder/operators/union.go | 251 | // Step 2: Add the fully substituted expression as a column in the first source's column list. | COMMENT |
| LOW⚡ | go/vt/vtgate/planbuilder/operators/union.go | 254 | // Step 3: For each subsequent source, use the same offsets to replace column references, | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 281 | // Step 1: catchup: During this step, it replicates from the source from the last position. | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 284 | // Step 2: Start streaming. This returns the initial field info along with the GTID | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 286 | // Step 3: fastForward: The target is fast-forwarded to the GTID obtained. This should | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 289 | // Step 4: copy rows: Copy the next set of rows from the stream that was started in Step 2. | COMMENT |
| LOW⚡ | …nd/vreplication/testdata/config/init_testserver_db.sql | 11 | # WARNING: This sql is *NOT* safe for production use, | COMMENT |
| LOW | .agents/skills/resolve-backport/SKILL.md | 10 | ## Step 1: Parse input and validate | COMMENT |
| LOW | .agents/skills/resolve-backport/SKILL.md | 42 | ## Step 2: Gather context | COMMENT |
| LOW | .agents/skills/resolve-backport/SKILL.md | 63 | ## Step 3: Rebase onto latest base branch | COMMENT |
| LOW | .agents/skills/resolve-backport/SKILL.md | 81 | ## Step 4: Ensure correct Go version | COMMENT |
| LOW⚡ | .agents/skills/resolve-backport/SKILL.md | 106 | ## Step 5: Resolve conflicts | COMMENT |
| LOW⚡ | .agents/skills/resolve-backport/SKILL.md | 116 | ## Step 6: Verify file scope | COMMENT |
| LOW⚡ | .agents/skills/resolve-backport/SKILL.md | 122 | ## Step 7: Run unit tests | COMMENT |
| LOW⚡ | .agents/skills/resolve-backport/SKILL.md | 131 | ## Step 8: Build | COMMENT |
| LOW | .agents/skills/resolve-backport/SKILL.md | 143 | ## Step 9: Format and lint | COMMENT |
| LOW | .agents/skills/resolve-backport/SKILL.md | 168 | ## Step 10: Ship | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/vt/vtgate/planbuilder/operators/delete.go | 108 | // If they aren't then we don't need the multi-table delete. But this check isn't so straight-forward. We need to check | COMMENT |
| LOW | go/vt/vtgate/planbuilder/operators/join.go | 138 | // if we are inside a CTE, we need to check if we depend on the recursion table | COMMENT |
| LOW | go/vt/vtgate/planbuilder/operators/subquery_planning.go | 59 | // but if we don't have groupings, we need to check if there are aggregations that will mess with us | COMMENT |
| LOW | go/vt/vtgate/planbuilder/operators/horizon_expanding.go | 326 | // first we need to check if we have all columns or there are still unexpanded stars | COMMENT |
| LOW | go/vt/vtgate/planbuilder/operators/union.go | 229 | // Step 1: Identify column references in the first source's expression and record their offsets. | COMMENT |
| LOW⚡ | go/vt/vtgate/planbuilder/operators/union.go | 251 | // Step 2: Add the fully substituted expression as a column in the first source's column list. | COMMENT |
| LOW⚡ | go/vt/vtgate/planbuilder/operators/union.go | 254 | // Step 3: For each subsequent source, use the same offsets to replace column references, | COMMENT |
| LOW | go/vt/vttablet/tabletmanager/tm_init.go | 811 | // tablet process was just restarted. However, we need to check if a new | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 281 | // Step 1: catchup: During this step, it replicates from the source from the last position. | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 284 | // Step 2: Start streaming. This returns the initial field info along with the GTID | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 286 | // Step 3: fastForward: The target is fast-forwarded to the GTID obtained. This should | COMMENT |
| LOW⚡ | go/vt/vttablet/tabletmanager/vreplication/vcopier.go | 289 | // Step 4: copy rows: Copy the next set of rows from the stream that was started in Step 2. | COMMENT |
| LOW | go/vt/topo/wildcards.go | 278 | // This is an expanded path, we need to check if it exists. | COMMENT |
| LOW | go/vt/topo/zk2topo/utils.go | 243 | // this is an expanded path, we need to check if it exists | COMMENT |
| LOW | go/vt/discovery/healthcheck.go | 552 | // If the previous tablet type was primary, we need to check if the next new primary has already been assigned. | COMMENT |
| LOW | go/vt/dbconfigs/credentials.go | 241 | // so we need to check if they have been set by NewConfig | COMMENT |
| LOW | go/vt/schemadiff/schema.go | 1133 | // Possibly dropping a foreign key; we need to check if this constraint references another table. | COMMENT |
| LOW | go/mysql/vault/auth_server_vault.go | 92 | // so we need to check if they have been set by NewConfig | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/flags/endtoend/analyze_flags.py | 22 | # Check if we're entering the flags section | COMMENT |
| LOW | changelog/tooling/scripts/count-progress.sh | 8 | # Check if we're in an analysis directory | COMMENT |
| LOW⚡ | examples/local/403_restore_from_backup.sh | 32 | # Check if any replica tablets were found | COMMENT |
| LOW | examples/common/backup-env.sh | 75 | # Set aliases to simplify instructions. | COMMENT |
| LOW | examples/common/env.sh | 75 | # Set aliases to simplify instructions. | COMMENT |
| LOW | .github/workflows/error_code_docs.yml | 121 | # Check if there are actual changes. | COMMENT |
| LOW | .github/workflows/error_code_docs.yml | 172 | # Check if PR already exists. | COMMENT |
| LOW | .github/workflows/backport.yml | 206 | # Check if there are conflicts | COMMENT |
| LOW | .github/workflows/backport.yml | 402 | # Check if there are conflicts | COMMENT |
| LOW | .github/workflows/pr_opened_tasks.yml | 46 | # Check if PR has Backport or Forwardport label (case-insensitive) | COMMENT |
| LOW | .github/workflows/arewefastyet_comment.yml | 42 | # Check if arewefastyet comment already exists | COMMENT |
| LOW | .github/workflows/update_golang_version.yml | 85 | # Check if the PR already exists, if it does then do not create new PR. | COMMENT |
| LOW | doc/vtctl_go_reference.py | 153 | # Check if the argument name ends in a digit to catch things like | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/flags/endtoend/find_flag_definitions.py | 12 | CODE | |
| LOW | go/flags/endtoend/find_flag_definitions.py | 87 | CODE | |
| LOW | doc/vitess_api_reference.py | 29 | CODE | |
| LOW | doc/vitess_api_reference.py | 82 | CODE | |
| LOW | doc/vitess_api_reference.py | 136 | CODE | |
| LOW | doc/vitess_api_reference.py | 244 | CODE | |
| LOW | doc/vitess_api_reference.py | 362 | CODE | |
| LOW | doc/vitess_api_reference.py | 380 | CODE | |
| LOW | doc/vitess_api_reference.py | 403 | CODE | |
| LOW | doc/vitess_api_reference.py | 524 | CODE | |
| LOW | doc/vitess_api_reference.py | 572 | CODE | |
| LOW | doc/vitess_api_reference.py | 604 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/vt/vtgate/testdata/executor_vexplain.json | 41 | "query": "select u.foo, ue.bar, count(*) from user u join user_extra ue on u.id = ue.user_id where u.name = 'John Do | CODE |
| LOW | go/vt/vtgate/testdata/executor_vexplain.json | 102 | "query": "update user set name = 'Jane Doe' where id = 1", | CODE |
| LOW | go/vt/vtgate/testdata/executor_vexplain.json | 120 | "query": "replace into user (id, name) values (1, 'Jane Doe')", | CODE |
| LOW | go/vt/schemadiff/schema_test.go | 1113 | query := strings.ReplaceAll(tableBase, "placeholder", tableName) | CODE |
| LOW | go/vt/schemadiff/schema_test.go | 1117 | query = strings.ReplaceAll(modifiedTable, "placeholder", tableName) | CODE |
| LOW | …nd/onlineddl/vrepl_suite/testdata/json57dml/create.sql | 23 | insert into onlineddl_test (id, i, j) values (null, 19, '{"text":"Lorem ipsum dolor sit amet, consectetuer adipiscing | CODE |
| LOW | …nd/onlineddl/vrepl_suite/testdata/json57dml/create.sql | 23 | insert into onlineddl_test (id, i, j) values (null, 19, '{"text":"Lorem ipsum dolor sit amet, consectetuer adipiscing | CODE |
| LOW | web/vtadmin/src/components/routes/Settings.tsx | 109 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in facilisis libero, | CODE |
| LOW | web/vtadmin/src/components/routes/Settings.tsx | 109 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in facilisis libero, | CODE |
| LOW | web/vtadmin/src/components/routes/Settings.tsx | 139 | sodales, mauris est iaculis dui, ut tristique nibh sapien ac sapien. Lorem ipsum | CODE |
| LOW | web/vtadmin/src/components/routes/Settings.tsx | 140 | dolor sit amet, consectetur adipiscing elit. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/vt/servenv/status.go | 110 | function refreshTablesHaveClassRefreshRequired() { | CODE |
| LOW | test/vtop_example.sh | 50 | function checkPodStatusWithTimeout() { | CODE |
| LOW | test/vtop_example.sh | 83 | function waitForKeyspaceToBeServing() { | CODE |
| LOW | doc/vtctl_go_reference.py | 340 | def get_group_name_from_variable(file_path, variable_name): | CODE |
| LOW | doc/vitess_api_reference.py | 69 | def print_method_summary_group_row(doc, group_name): | CODE |
| LOW | doc/vitess_api_reference.py | 208 | def print_message_detail_header(doc, proto, message_details, message_name, | CODE |
| LOW | doc/vitess_api_reference.py | 227 | def print_method_detail_header(doc, method): | CODE |
| LOW | doc/vitess_api_reference.py | 380 | def print_method_detail_request(doc, proto_contents, proto, method): | CODE |
| LOW | doc/vitess_api_reference.py | 403 | def print_method_detail_response(doc, proto_contents, proto, method): | CODE |
| LOW | doc/vitess_api_reference.py | 426 | def print_proto_file_definition(doc, proto_contents, proto): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | go/flags/endtoend/find_flag_definitions.py | 18 | print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.") | CODE |
| MEDIUM | go/flags/endtoend/find_flag_definitions.py | 91 | print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.") | CODE |
| MEDIUM | go/flags/endtoend/analyze_flags.py | 48 | print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.") | CODE |
| MEDIUM | go/flags/endtoend/analyze_flags.py | 95 | print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/delete_superseded_cache_entries.sh | 20 | # Usage: | COMMENT |
| LOW | docker/bootstrap/build.sh | 17 | # Usage: | COMMENT |
| LOW | go/cmd/internal/docgen/docgen.go | 20 | // Example usage: | COMMENT |
| LOW | go/mysql/icuregex/internal/ucase/fold.go | 66 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | go/flags/endtoend/find_flag_definitions.py | 60 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/mysql/icuregex/matcher.go | 915 | // TODO: implement transparent bounds. Ticket #6067 | COMMENT |
| LOW | go/mysql/icuregex/matcher.go | 1267 | // TODO: implement | COMMENT |
| LOW | go/mysql/icuregex/matcher.go | 1351 | // TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/flags/endtoend/find_flag_definitions.py | 7 | CODE | |
| LOW | go/flags/endtoend/find_flag_definitions.py | 9 | CODE | |
| LOW | doc/vitess_api_reference.py | 20 | CODE | |
| LOW | doc/vitess_api_reference.py | 23 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …vttablet/tabletmanager/vreplication/controller_plan.go | 77 | // provide guardrails for data changing statements and if the user wants get | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/code_freeze.sh | 65 | echo "(make sure to replace upstream with vitessio/vitess' remote)" | CODE |