Repository Analysis

sqlc-dev/sqlc

Generate type-safe code from SQL

0.1 Likely human-written View on GitHub
0.1
Adjusted Score
0.1
Raw Score
100%
Time Factor
2026-05-29
Last Push
17,809
Stars
Go
Language
296,170
Lines of Code
6675
Files
26
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 26

Pattern Findings

26 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block23 hits · 23 pts
SeverityFileLineSnippet
LOWgomod_test.go1package sqlc
LOWinternal/sqlcdebug/sqlcdebug.go1// Package sqlcdebug parses the SQLCDEBUG environment variable and exposes
LOWinternal/inflection/singular.go21 // Manual fix for incorrect handling of "campus"
LOWinternal/codegen/golang/opts/override_test.go21 "github.com/segmentio/ksuid",
LOWinternal/codegen/sdk/utils.go21
LOW…a/batch_parameter_limit/postgresql/pgx/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.
LOWinternal/endtoend/testdata/cte_select_one/issue.md1# TODO
LOWinternal/endtoend/testdata/params_go_keywords/issue.md1# TODO
LOW…ta/batch_parameter_type/postgresql/pgx/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.
LOWinternal/endtoend/testdata/cte_recursive_union/issue.md1# TODO
LOW…toend/testdata/batch/postgresql/pgx/v5/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.
LOW…toend/testdata/batch/postgresql/pgx/v4/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.
LOW…opyfrom_singlecolumn/postgresql/pgx/v5/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.
LOW…opyfrom_singlecolumn/postgresql/pgx/v4/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.
LOWinternal/opts/experiment.go1package opts
LOWinternal/opts/experiment.go21// SQLCEXPERIMENT=foo,bar # enable foo and bar experiments
LOWinternal/engine/dolphin/convert.go1341// Given an union with the following nodes:
LOWinternal/compiler/selector.go1package compiler
LOWinternal/x/expander/expander_test.go41
LOWinternal/sql/astutils/rewrite.go21
LOWinternal/sql/astutils/rewrite.go61// If p is a variable of type and value of the current parent node
LOWdocs/conf.py1# Configuration file for the Sphinx documentation builder.
LOWpkg/cli/cli.go1// package cli exposes the command-line interface for sqlc. It can be used to
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWinternal/opts/experiment.go19// Example usage:
LOWpkg/cli/cli.go4// Example usage:
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWdocs/conf.py16