Repository Analysis

vitessio/vitess

Vitess is a database clustering system for horizontal scaling of MySQL.

0.8 Likely human-written View on GitHub
0.8
Adjusted Score
0.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
20,982
Stars
Go
Language
1,412,127
Lines of Code
4535
Files
943
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 10HIGH 0MEDIUM 44LOW 889

Pattern Findings

943 matches across 13 categories. Click a row to expand file-level details.

Over-Commented Block723 hits · 723 pts
SeverityFileLineSnippet
LOWbootstrap.sh1#!/bin/bash
LOWmisc/parse_cover.py1#!/usr/bin/python
LOWtools/e2e_test_cluster.sh1#!/bin/bash
LOWtools/all_test_for_coverage.sh1#!/bin/bash
LOWtools/get_previous_release.sh1#!/bin/bash
LOWtools/build_version_flags.sh1#!/bin/bash
LOWtools/e2e_test_race.sh1#!/bin/bash
LOWtools/e2e_test_race.sh21
LOWtools/unit_test_runner.sh1#!/bin/bash
LOWtools/release_utils.sh1#!/bin/bash
LOWtools/code_freeze.sh1#!/bin/bash
LOWtools/code_freeze.sh21# The first argument of the script is a string, which should be either: "freeze" or "unfreeze".
LOWtools/get_next_release.sh1#!/bin/bash
LOWtools/pylint.sh1#!/bin/bash
LOWtools/remove_dependencies.sh1#!/bin/bash
LOWtools/create_release.sh1#!/bin/bash
LOWtools/dependency_check.sh1#!/bin/bash
LOWtools/back_to_dev_mode.sh1#!/bin/bash
LOWtools/e2e_test_runner.sh1#!/bin/bash
LOWtools/e2e_test_runner.sh21
LOWdocker/bootstrap/docker-bake.hcl1// docker-bake.hcl defines the build targets for the Vitess bootstrap images.
LOWdocker/bootstrap/build.sh1#!/bin/bash
LOWdocker/test/run.sh1#!/bin/bash
LOWdocker/test/run.sh21# internally use this script to launch the test for you.
LOWdocker/vttestserver/run.sh1#!/bin/bash
LOWdocker/vttestserver/setup_vschema_folder.sh1#!/bin/bash
LOWdocker/mini/vtctld-mini-up.sh1#!/bin/bash
LOWdocker/mini/vttablet-mini-up.sh1#!/bin/bash
LOWdocker/binaries/logrotate/rotate.sh1#!/bin/bash
LOWdocker/binaries/logtail/tail.sh1#!/bin/bash
LOWgo/vt/vtgate/vschema_manager_test.go1081// tracker has reported columns for a routed table, the routing rule's
LOWgo/vt/vtgate/executor.go1081 replLastError = row["Last_Error"].ToString()
LOWgo/vt/vtgate/plan_execute.go201 // happens concurrently with the KeyspaceEventWatcher also receiving the new vschema in its
LOWgo/vt/vtgate/plan_execute.go361 // The defer acts as a failsafe. If commit was successful,
LOWgo/vt/vtgate/executorcontext/safe_session.go81 parser *sqlparser.Parser
LOWgo/vt/vtgate/executorcontext/safe_session.go441 }
LOWgo/vt/vtgate/grpcvtgateservice/no_test.go21)
LOWgo/vt/vtgate/semantics/semantic_table.go101 SemTable struct {
LOWgo/vt/vtgate/semantics/semantic_table.go121 // targeting an unsharded keyspace. This typically arises when information is missing, but
LOWgo/vt/vtgate/semantics/early_rewriter.go921}
LOWgo/vt/vtgate/semantics/binder.go321 if err != nil {
LOWgo/vt/vtgate/vindexes/lookup_internal.go361//
LOWgo/vt/vtgate/vindexes/cfc.go41 cfcParamOffsets,
LOWgo/vt/vtgate/vindexes/cfc.go61// consider the prefix as the 'parent' key and the full key as the 'child' key,
LOWgo/vt/vtgate/vindexes/cfc.go81// key range. Although the misaligned part doesn't participate the key range
LOWgo/vt/vtgate/vindexes/vindex.go61 // The cost can be 1 if the id can be hashed to a keyspace id.
LOWgo/vt/vtgate/vindexes/vindex.go141 // instead of a single keyspace id. It's being used to reduced the fan out for
LOWgo/vt/vtgate/vindexes/lookup_unicodeloosemd5_hash.go61 name string
LOWgo/vt/vtgate/vindexes/lookup_hash.go61// Warning: This Vindex is being deprecated in favor of Lookup
LOWgo/vt/vtgate/endtoend/vstream_test.go261 Match: "/t1_copy_all.*/",
LOWgo/vt/vtgate/balancer/balancer.go141
LOWgo/vt/vtgate/engine/join.go41 // Cols defines which columns from the left
LOWgo/vt/vtgate/engine/hash_join.go41 // When they match by hash code, we double-check that we are not working with a false positive by comparing the values.
LOWgo/vt/vtgate/engine/routing.go41
LOWgo/vt/vtgate/engine/projection_test.go141 Input: fp,
LOWgo/vt/vtgate/evalengine/fn_string.go881}
LOWgo/vt/vtgate/evalengine/eval_numeric.go521
LOWgo/vt/vtgate/evalengine/expr_compare.go261 // Quoting MySQL Docs:
LOWgo/vt/vtgate/evalengine/testcases/inputs.go221 // "\"Å å\"",
LOWgo/vt/vtgate/evalengine/testcases/helpers.go101// SELECT -1 IN (0.0, 18446744073709551615) => 1
663 more matches not shown…
Hallucination Indicators10 hits · 100 pts
SeverityFileLineSnippet
CRITICALgo/vt/vtgate/plan_execute.go103 if e.resolver.scatterConn.gateway.buffer != nil && e.resolver.scatterConn.gateway.buffer.GetConfig() != nil {
CRITICALgo/vt/vtgate/plan_execute.go104 timeout = e.resolver.scatterConn.gateway.buffer.GetConfig().MaxFailoverDuration / (MaxBufferingRetries - 1)
CRITICALgo/vt/vttablet/tabletmanager/vdiff/table_plan.go77 statement, err := td.wd.ct.vde.parser.Parse(td.sourceQuery)
CRITICALgo/vt/vttablet/tabletmanager/vdiff/report.go71 statement, err := td.wd.ct.vde.parser.Parse(queryStmt)
CRITICALgo/vt/vttablet/tabletserver/tabletserver.go2246 if err := tsv.te.txPool.scp.conns.SetCapacity(ctx, int64(val)); err != nil {
CRITICALgo/vt/vttablet/tabletserver/tabletserver.go2249 return tsv.te.txPool.scp.foundRowsPool.SetCapacity(ctx, int64(val))
CRITICALgo/vt/vttablet/tabletserver/tabletserver_test.go176 require.EqualValues(t, 1, tsv.te.txPool.scp.active.Size(), "tsv.te.txPool.scp.active.Size()")
CRITICALgo/vt/vttablet/tabletserver/tabletserver_test.go244 tsv.te.txPool.scp.lastID.Store(1)
CRITICALgo/vt/vttablet/tabletserver/tabletserver_test.go291 require.EqualValues(c, 20, tsv.te.txPool.scp.lastID.Load(), "tsv.te.txPool.lastID.Get()")
CRITICALgo/vt/vttablet/tabletserver/query_executor.go934 tabletTypeStr := qre.tsv.sm.target.TabletType.String()
Excessive Try-Catch Wrapping88 hits · 98 pts
SeverityFileLineSnippet
MEDIUMgo/flags/endtoend/find_flag_definitions.py18 print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.")
MEDIUMgo/flags/endtoend/find_flag_definitions.py91 print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.")
MEDIUMgo/flags/endtoend/analyze_flags.py48 print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.")
MEDIUMgo/flags/endtoend/analyze_flags.py95 print("Error: VTROOT environment variable is not set. Please set it to the Vitess root directory.")
LOWtest/antithesis/compose/antithesis-client/helper.py52 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py73 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py106 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py149 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py152 except Exception as close_err:
LOWtest/antithesis/compose/antithesis-client/helper.py156 except Exception as rollback_err:
LOWtest/antithesis/compose/antithesis-client/helper.py182 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py185 except Exception as close_err:
LOWtest/antithesis/compose/antithesis-client/helper.py189 except Exception as rollback_err:
LOWtest/antithesis/compose/antithesis-client/helper.py253 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py256 except Exception as close_err:
LOWtest/antithesis/compose/antithesis-client/helper.py260 except Exception as rollback_err:
LOWtest/antithesis/compose/antithesis-client/helper.py286 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py289 except Exception as close_err:
LOWtest/antithesis/compose/antithesis-client/helper.py293 except Exception as rollback_err:
LOWtest/antithesis/compose/antithesis-client/helper.py224 except Exception as e:
LOWtest/antithesis/compose/antithesis-client/helper.py227 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py35 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py39 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py44 except Exception as e:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py48 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py52 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py64 except Exception as e:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py68 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py72 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py78 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/anytime_validate.py82 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py37 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py41 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py46 except Exception as e:
LOW…ompose/antithesis-client/bank-test/finally_validate.py50 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py54 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py67 except Exception as e:
LOW…ompose/antithesis-client/bank-test/finally_validate.py71 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py75 except Exception as conn_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py87 except Exception as e:
LOW…ompose/antithesis-client/bank-test/finally_validate.py102 except Exception as close_err:
LOW…ompose/antithesis-client/bank-test/finally_validate.py106 except Exception as conn_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py36 except Exception as close_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py40 except Exception as conn_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py45 except Exception as e:
LOW…ose/antithesis-client/bank-test/eventually_validate.py49 except Exception as close_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py53 except Exception as conn_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py66 except Exception as e:
LOW…ose/antithesis-client/bank-test/eventually_validate.py70 except Exception as close_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py74 except Exception as conn_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py85 except Exception as e:
LOW…ose/antithesis-client/bank-test/eventually_validate.py90 except Exception as close_err:
LOW…ose/antithesis-client/bank-test/eventually_validate.py94 except Exception as conn_err:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py42 except Exception as e:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py46 except Exception as rollback_err:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py50 except Exception as close_err:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py54 except Exception as conn_err:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py70 except Exception as e:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py74 except Exception as rollback_err:
LOW…sis/compose/antithesis-client/bank-test/first_setup.py78 except Exception as close_err:
28 more matches not shown…
Self-Referential Comments20 hits · 56 pts
SeverityFileLineSnippet
MEDIUMbootstrap.sh18### This file is executed by 'make tools'. You do not need to execute it directly.
MEDIUMtools/create_release.sh66 ## Create the commit for this release and tag it
MEDIUMdocker/vttestserver/setup_vschema_folder.sh54 # Create a vschema.json file only if the number of shards are more than 1
MEDIUMgo/vt/mysqlctl/mysqld_test.go412 assert.Contains(t, template, "# This file is auto-included when MySQL 9.0 or later is detected.")
MEDIUMgo/vt/mysqlctl/mysqld_test.go420 assert.Contains(t, template, "# This file is auto-included when MySQL 9.0 or later is detected.")
MEDIUM…nd/vreplication/testdata/config/init_testserver_db.sql1# This file is for testing purpose only.
MEDIUM…nd/vreplication/testdata/config/init_testserver_db.sql2# This file is executed immediately after initializing a fresh data directory.
MEDIUMtest/antithesis/compose/config/init_db.sql1# This file is executed immediately after mysql_install_db,
MEDIUMconfig/init_db.sql1# This file is executed immediately after initializing a fresh data directory.
MEDIUMexamples/compose/101_initial_cluster.sh26# Create the keyspace before starting tablets to avoid racing with
MEDIUMexamples/local/402_list_backup.sh19KEYSPACE="customer" # Define the keyspace to work with
MEDIUMexamples/local/402_list_backup.sh20SHARDS=("-80" "80-") # Define the shards within the keyspace to list backups for
MEDIUMexamples/local/403_restore_from_backup.sh21KEYSPACE="customer" # Define the keyspace to work with
MEDIUMexamples/local/403_restore_from_backup.sh22SHARDS=("-80" "80-") # Define the shards within the keyspace to restore
MEDIUMexamples/local/101_initial_cluster.sh47 # Create the keyspace with the sidecar database name and set the
MEDIUMexamples/common/lib/utils.sh17# This file contains utility functions that can be used throughout the
MEDIUMexamples/operator/101_initial_cluster.yaml147 # This file is executed immediately after mysql_install_db,
MEDIUM.github/workflows/backport.yml261 # Create the pull request with labels (returns URL like https://github.com/owner/repo/pull/123)
MEDIUM.github/workflows/backport.yml457 # Create the pull request with labels (returns URL like https://github.com/owner/repo/pull/123)
MEDIUMdoc/vtctl_go_reference.py480 # Create a data structure to contain information about the command
AI Slop Vocabulary20 hits · 54 pts
SeverityFileLineSnippet
MEDIUMgo/vt/vtgate/planbuilder/operators/queryprojection.go604// We are also free to add more ORDER BY columns than the user asked for which we leverage,
MEDIUM…/vt/vttablet/tabletmanager/vreplication/vreplicator.go193// All phases share the same plan building framework. We leverage the fact the
MEDIUMgo/vt/vttablet/tabletserver/tabletserver.go94// Essentially, InitDBConfig is a continuation of New. However,
MEDIUMgo/vt/vttablet/tabletserver/vstreamer/rowstreamer.go206 // We wish to utilize a UNIQUE KEY which is not the PRIMARY KEY/
MEDIUMgo/vt/vttablet/tabletserver/vstreamer/rowstreamer.go277 // leverage the ordering from the index itself and avoid having to
MEDIUM…vt/vttablet/tabletserver/txserializer/tx_serializer.go363// transactions. Instead, we leverage that Go routines waiting for a channel
MEDIUMgo/vt/grpcoptionaltls/tls_detector.go35 // Definitely not TLS
MEDIUMgo/vt/vtorc/logic/topology_recovery.go935 // is not dead, then we will proceed with the fix for the replica. Essentially, we are trading off speed in replica rec
MEDIUMgo/cmd/vtctl/vtctl.go59 // Essentially, the situation we have here is that commands look like:
MEDIUMgo/flags/endtoend/analyze_flags.py45 """Analyze all binary help files and generate comprehensive report."""
MEDIUMgo/flags/endtoend/analyze_flags.py92 """Generate comprehensive migration report."""
MEDIUMgo/test/endtoend/cluster/vttablet_process.go570// This allows the tests to be more robust in the face of transient failures.
MEDIUMgo/test/endtoend/cluster/vttablet_process.go594// This allows the tests to be more robust in the face of transient failures.
MEDIUMgo/test/endtoend/vreplication/vdiff_helper_test.go39 vdiffTimeout = 180 * time.Second // We can leverage auto retry on error with this longer-than-usual timeout
MEDIUMgo/test/endtoend/reparent/utils/utils.go521 // it's possible that we get other ephemeral errors too, so we make the tests more robust by
MEDIUM…/endtoend/vtorc/primaryfailure/primary_failure_test.go383 // log format. We should change this to something more robust.
MEDIUMweb/vtadmin/package-lock.json12242 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",
MEDIUMweb/vtadmin/tests/server.ts35// means our fake is more robust than it would be otherwise. Since we are using
MEDIUMweb/vtadmin/src/hooks/useSyncedURLParam.ts62 // TODO(doeg): One possible, more nuanced re-implementation is to push entries onto the stack
MEDIUMweb/vtadmin/src/hooks/useTheme.ts13// of the Debug page. The :) correct implementation :) will be more robust,
Verbosity Indicators18 hits · 30 pts
SeverityFileLineSnippet
LOWgo/vt/vtgate/planbuilder/operators/delete.go108 // 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
LOWgo/vt/vtgate/planbuilder/operators/join.go138 // if we are inside a CTE, we need to check if we depend on the recursion table
LOWgo/vt/vtgate/planbuilder/operators/subquery_planning.go59 // but if we don't have groupings, we need to check if there are aggregations that will mess with us
LOWgo/vt/vtgate/planbuilder/operators/horizon_expanding.go326 // first we need to check if we have all columns or there are still unexpanded stars
LOWgo/vt/vtgate/planbuilder/operators/union.go229 // Step 1: Identify column references in the first source's expression and record their offsets.
LOWgo/vt/vtgate/planbuilder/operators/union.go251 // Step 2: Add the fully substituted expression as a column in the first source's column list.
LOWgo/vt/vtgate/planbuilder/operators/union.go254 // Step 3: For each subsequent source, use the same offsets to replace column references,
LOWgo/vt/vttablet/tabletmanager/tm_init.go708 // tablet process was just restarted. However, we need to check if a new
LOWgo/vt/vttablet/tabletmanager/vreplication/vcopier.go280// Step 1: catchup: During this step, it replicates from the source from the last position.
LOWgo/vt/vttablet/tabletmanager/vreplication/vcopier.go283// Step 2: Start streaming. This returns the initial field info along with the GTID
LOWgo/vt/vttablet/tabletmanager/vreplication/vcopier.go285// Step 3: fastForward: The target is fast-forwarded to the GTID obtained. This should
LOWgo/vt/vttablet/tabletmanager/vreplication/vcopier.go288// Step 4: copy rows: Copy the next set of rows from the stream that was started in Step 2.
LOWgo/vt/topo/wildcards.go278 // This is an expanded path, we need to check if it exists.
LOWgo/vt/topo/zk2topo/utils.go243 // this is an expanded path, we need to check if it exists
LOWgo/vt/discovery/healthcheck.go554 // If the previous tablet type was primary, we need to check if the next new primary has already been assigned.
LOWgo/vt/dbconfigs/credentials.go239 // so we need to check if they have been set by NewConfig
LOWgo/vt/schemadiff/schema.go1039 // Possibly dropping a foreign key; we need to check if this constraint references another table.
LOWgo/mysql/vault/auth_server_vault.go92 // so we need to check if they have been set by NewConfig
Redundant / Tautological Comments14 hits · 22 pts
SeverityFileLineSnippet
LOWgo/flags/endtoend/analyze_flags.py22 # Check if we're entering the flags section
LOWchangelog/tooling/scripts/count-progress.sh8# Check if we're in an analysis directory
LOWexamples/local/403_restore_from_backup.sh32 # Check if any replica tablets were found
LOWexamples/common/backup-env.sh78# Set aliases to simplify instructions.
LOWexamples/common/env.sh78# Set aliases to simplify instructions.
LOW.github/workflows/error_code_docs_update.yml119 # Check if there are actual changes.
LOW.github/workflows/error_code_docs_update.yml158 # Check if branch already exists.
LOW.github/workflows/error_code_docs_update.yml176 # Check if PR already exists.
LOW.github/workflows/backport.yml196 # Check if there are conflicts
LOW.github/workflows/backport.yml392 # Check if there are conflicts
LOW.github/workflows/pr_opened_tasks.yml42 # Check if PR has Backport or Forwardport label (case-insensitive)
LOW.github/workflows/arewefastyet_comment.yml41 # Check if arewefastyet comment already exists
LOW.github/workflows/update_golang_version.yml62 # Check if the PR already exists, if it does then do not create new PR.
LOWdoc/vtctl_go_reference.py153 # Check if the argument name ends in a digit to catch things like
Deep Nesting15 hits · 15 pts
SeverityFileLineSnippet
LOWgo/flags/endtoend/find_flag_definitions.py12
LOWgo/flags/endtoend/find_flag_definitions.py87
LOWtest/antithesis/compose/antithesis-client/helper.py84
LOW…se/antithesis-client/crud/serial_driver_test_insert.py27
LOW…se/antithesis-client/crud/serial_driver_test_select.py27
LOWdoc/vitess_api_reference.py29
LOWdoc/vitess_api_reference.py82
LOWdoc/vitess_api_reference.py136
LOWdoc/vitess_api_reference.py244
LOWdoc/vitess_api_reference.py362
LOWdoc/vitess_api_reference.py380
LOWdoc/vitess_api_reference.py403
LOWdoc/vitess_api_reference.py524
LOWdoc/vitess_api_reference.py572
LOWdoc/vitess_api_reference.py604
Unused Imports12 hits · 12 pts
SeverityFileLineSnippet
LOWgo/flags/endtoend/find_flag_definitions.py7
LOWgo/flags/endtoend/find_flag_definitions.py9
LOWtest/antithesis/compose/antithesis-client/helper.py7
LOWtest/antithesis/compose/antithesis-client/helper.py7
LOW…antithesis-client/crud/singleton_driver_test_delete.py15
LOW…antithesis-client/crud/singleton_driver_test_update.py15
LOW…se/antithesis-client/crud/serial_driver_test_insert.py14
LOW…se/antithesis-client/crud/serial_driver_test_insert.py15
LOW…se/antithesis-client/crud/serial_driver_test_insert.py16
LOW…se/antithesis-client/crud/serial_driver_test_select.py15
LOWdoc/vitess_api_reference.py20
LOWdoc/vitess_api_reference.py23
Hyper-Verbose Identifiers11 hits · 11 pts
SeverityFileLineSnippet
LOWgo/vt/servenv/status.go110function refreshTablesHaveClassRefreshRequired() {
LOWtest/vtop_example.sh50function checkPodStatusWithTimeout() {
LOWtest/vtop_example.sh83function waitForKeyspaceToBeServing() {
LOWtest/antithesis/compose/antithesis-client/helper.py56def get_connection_with_retry(database=None, max_retries=20, sleep_seconds=5, exit_on_failure=True):
LOWdoc/vtctl_go_reference.py340def get_group_name_from_variable(file_path, variable_name):
LOWdoc/vitess_api_reference.py69def print_method_summary_group_row(doc, group_name):
LOWdoc/vitess_api_reference.py208def print_message_detail_header(doc, proto, message_details, message_name,
LOWdoc/vitess_api_reference.py227def print_method_detail_header(doc, method):
LOWdoc/vitess_api_reference.py380def print_method_detail_request(doc, proto_contents, proto, method):
LOWdoc/vitess_api_reference.py403def print_method_detail_response(doc, proto_contents, proto, method):
LOWdoc/vitess_api_reference.py426def print_proto_file_definition(doc, proto_contents, proto):
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippet
LOWgo/vt/vtgate/testdata/executor_vexplain.json41 "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
LOWgo/vt/vtgate/testdata/executor_vexplain.json102 "query": "update user set name = 'Jane Doe' where id = 1",
LOW…nd/onlineddl/vrepl_suite/testdata/json57dml/create.sql23 insert into onlineddl_test (id, i, j) values (null, 19, '{"text":"Lorem ipsum dolor sit amet, consectetuer adipiscing
LOW…nd/onlineddl/vrepl_suite/testdata/json57dml/create.sql23 insert into onlineddl_test (id, i, j) values (null, 19, '{"text":"Lorem ipsum dolor sit amet, consectetuer adipiscing
LOWweb/vtadmin/src/components/routes/Settings.tsx109 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in facilisis libero,
LOWweb/vtadmin/src/components/routes/Settings.tsx109 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in facilisis libero,
LOWweb/vtadmin/src/components/routes/Settings.tsx139 sodales, mauris est iaculis dui, ut tristique nibh sapien ac sapien. Lorem ipsum
LOWweb/vtadmin/src/components/routes/Settings.tsx140 dolor sit amet, consectetur adipiscing elit.
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOWdocker/bootstrap/build.sh17# Usage:
LOWgo/cmd/internal/docgen/docgen.go20// Example usage:
LOWgo/mysql/icuregex/internal/ucase/fold.go66# Usage:
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippet
LOWtools/code_freeze.sh65echo "(make sure to replace upstream with vitessio/vitess' remote)"