AI Slop Code Risk Monitor

sqlc-dev/sqlc

SlopCodeMonitor badge for sqlc-dev/sqlc Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Generate type-safe code from SQL

0.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for sqlc-dev/sqlc, a Go project with 18,428 GitHub stars. SynthScan examined 256,894 lines of code across 7426 source files, recording 65 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.3 (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.

0.3
Adjusted Signal
0.3
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
18.4K
Stars
Go
Language
256.9K
Lines of Code
7.4K
Files
65
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 1.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 1.3/100 · LOW

Which changes need focused human review? 65 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 0HIGH 0MEDIUM 0LOW 65

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 65 distinct pattern matches across 3 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 Block62 hits · 62 pts
SeverityFileLineSnippetContext
LOWgomod_test.go1package sqlcCOMMENT
LOWcmd/sqlc-test-setup/v6to4/v6to4.c1// v6to4 is an LD_PRELOAD library that lets a program which insists on IPv6COMMENT
LOWinternal/sqlcdebug/sqlcdebug.go1// Package sqlcdebug parses the SQLCDEBUG environment variable and exposesCOMMENT
LOWinternal/core/db.go1package coreCOMMENT
LOWinternal/core/cache.go21// database/sql connection, which the serialization API needs.COMMENT
LOWinternal/core/dialect.go61COMMENT
LOWinternal/core/seed/seed.go1// Package seed builds a core catalog for a SQL dialect from a declarativeCOMMENT
LOWinternal/core/seed/seed.go81COMMENT
LOWinternal/core/seed/seed.go101 CastCategories string `json:"cast_categories,omitempty"`COMMENT
LOWinternal/core/seed/seed.go121 // type argument, such as the max of nvarchar(max), and IdentArgs theCOMMENT
LOWinternal/goldeneye/cmd/goldeneye/main.go1// Command goldeneye generates the dialect seeds underCOMMENT
LOWinternal/goldeneye/cmd/goldeneye/main.go61// engine is one database goldeneye knows how to read a dialect from.COMMENT
LOWinternal/goldeneye/clickhouse/clickhouse.go1// Package clickhouse generates the ClickHouse dialect seed underCOMMENT
LOWinternal/goldeneye/clickhouse/types.go1package clickhouseCOMMENT
LOWinternal/goldeneye/clickhouse/types.go21// {"name": "map", "args": [COMMENT
LOWinternal/goldeneye/sqlite/sqlite.go1// Package sqlite generates the SQLite dialect seed underCOMMENT
LOWinternal/goldeneye/sqlite/sqlite.go21// over no rows.COMMENT
LOWinternal/goldeneye/sqlite/signatures.go1package sqliteCOMMENT
LOWinternal/goldeneye/sqlite/bytecode.go1package sqliteCOMMENT
LOWinternal/goldeneye/sqlite/bytecode.go21// through the query tree to the column it is compared with.COMMENT
LOWinternal/goldeneye/sqlite/install.go21// DefaultVersion is the SQLite release the dialect is generated from. It isCOMMENT
LOWinternal/goldeneye/sqlite/install.go161 }COMMENT
LOWinternal/goldeneye/mysql/mysql.go1// Package mysql generates the MySQL dialect seed underCOMMENT
LOWinternal/goldeneye/mysql/analyze.go21// with every parameter a user variable set to NULL, and each resultCOMMENT
LOWinternal/goldeneye/duckdb/analyze.go21COMMENT
LOWinternal/goldeneye/duckdb/duckdb.go1// Package duckdb generates the DuckDB dialect seed underCOMMENT
LOWinternal/goldeneye/spanner/plan.go1package spannerCOMMENT
LOWinternal/goldeneye/spanner/spanner.go1// Package spanner generates the GoogleSQL dialect seed underCOMMENT
LOWinternal/goldeneye/spanner/analyze.go21// leaves undeclared, and the query plan. The metadata types a value theCOMMENT
LOWinternal/goldeneye/mssql/mssql.go1// Package mssql generates the SQL Server dialect seed underCOMMENT
LOWinternal/goldeneye/mssql/plan.go1package mssqlCOMMENT
LOWinternal/goldeneye/mssql/analyze.go21// whether it can be NULL, and which table column it is read from. WhatCOMMENT
LOWinternal/cache/cache.go1// Package cache implements sqlc's on-disk cache, designed after Bazel'sCOMMENT
LOWinternal/inflection/singular.go21 // Manual fix for incorrect handling of "campus"COMMENT
LOWinternal/docs/lint.go1// Package docs validates the documentation content contract for docs/.COMMENT
LOWinternal/codegen/golang/duckdb_type.go1package golangCOMMENT
LOWinternal/codegen/golang/clickhouse_type.go1package golangCOMMENT
LOWinternal/codegen/golang/clickhouse_type.go21// Value method, and a {name:Type} placeholder is sent as text formattedCOMMENT
LOWinternal/codegen/golang/opts/override_test.go21 "github.com/segmentio/ksuid",COMMENT
LOWinternal/codegen/sdk/utils.go21COMMENT
LOW…a/batch_parameter_limit/postgresql/pgx/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.COMMENT
LOWinternal/endtoend/testdata/cte_select_one/issue.md1# TODOCOMMENT
LOWinternal/endtoend/testdata/params_go_keywords/issue.md1# TODOCOMMENT
LOW…ta/batch_parameter_type/postgresql/pgx/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.COMMENT
LOWinternal/endtoend/testdata/cte_recursive_union/issue.md1# TODOCOMMENT
LOW…toend/testdata/batch/postgresql/pgx/v5/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.COMMENT
LOW…toend/testdata/batch/postgresql/pgx/v4/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.COMMENT
LOW…opyfrom_singlecolumn/postgresql/pgx/v5/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.COMMENT
LOW…opyfrom_singlecolumn/postgresql/pgx/v4/go/query.sql.go1// Code generated by sqlc. DO NOT EDIT.COMMENT
LOWinternal/opts/experiment.go1package optsCOMMENT
LOWinternal/opts/experiment.go21// SQLCEXPERIMENT=foo,bar # enable foo and bar experimentsCOMMENT
LOWinternal/engine/postgresql/seed.go21// a live PostgreSQL 16 server by goldeneye (internal/goldeneye), which alsoCOMMENT
LOWinternal/engine/dolphin/convert.go1521COMMENT
LOWinternal/compiler/selector.go1package compilerCOMMENT
LOWinternal/x/expander/expander_test.go41COMMENT
LOWinternal/sql/preprocess/preprocess.go1// Package preprocess rewrites sqlc's query syntax into native SQL before anyCOMMENT
LOWinternal/sql/astutils/rewrite.go21COMMENT
LOWinternal/sql/astutils/rewrite.go61// If p is a variable of type and value of the current parent nodeCOMMENT
LOWinternal/sql/format/format.go1package formatCOMMENT
LOWinternal/sql/ast/comment.go41// line) or leads the code after it (its own line).COMMENT
2 more matches not shown…
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWinternal/opts/experiment.go19// Example usage:COMMENT
LOWpkg/cli/cli.go4// Example usage:COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/codegen/golang/opts/override_test.go25 // TODO: Add test for struct pointersCOMMENT