AI Slop Code Risk Monitor

sqldelight/sqldelight

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

SQLDelight - Generates typesafe Kotlin APIs from SQL

3.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for sqldelight/sqldelight, a Kotlin project with 6,898 GitHub stars. SynthScan examined 73,927 lines of code across 965 source files, recording 42 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 3.5 (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.

3.5
Adjusted Signal
3.5
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
6.9K
Stars
Kotlin
Language
73.9K
Lines of Code
965
Files
42
Pattern Hits
2026-10-31
Scan Date
0.04
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 0.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 7.8/100 · LOW

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

Agent Over-Engineering Ratio 8.7/100 · LOW

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

PR Review Velocity Impact 15.5/100 · LOW

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

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 42 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.

Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippetContext
HIGH…est/kotlin/app/cash/sqldelight/core/NamedQueryTests.kt0|create table data ( | id integer not null, | value text not null |); | |selectforid: |select * |from data |where id = ?STRING
HIGH…ash/sqldelight/core/queries/SelectQueryFunctionTest.kt0|create table data ( | id integer not null, | value text not null |); | |selectforid: |select * |from data |where id = ?STRING
HIGH…qldelight/core/queries/async/AsyncQueryFunctionTest.kt0|create table data ( | id integer not null, | value text not null |); | |selectforid: |select * |from data |where id = ?STRING
HIGH…p/cash/sqldelight/core/queries/MutatorQueryTypeTest.kt0|/** | * @return the number of rows updated. | */ |public suspend fun insertdata(id: kotlin.int?, value_: kotlin.collectSTRING
HIGH…sh/sqldelight/core/queries/MutatorQueryFunctionTest.kt0|/** | * @return the number of rows updated. | */ |public suspend fun insertdata(id: kotlin.int?, value_: kotlin.collectSTRING
HIGH…elight/core/queries/async/AsyncMutatorQueryTypeTest.kt0|/** | * @return the number of rows updated. | */ |public suspend fun insertdata(id: kotlin.int?, value_: kotlin.collectSTRING
HIGH…p/cash/sqldelight/core/queries/MutatorQueryTypeTest.kt0|create table data ( | id integer not null primary key |); | |selectforid: |select * |from data |where id in ?; |STRING
HIGH…pp/cash/sqldelight/core/queries/SelectQueryTypeTest.kt0|create table data ( | id integer not null primary key |); | |selectforid: |select * |from data |where id in ?; |STRING
HIGH…delight/core/queries/async/AsyncSelectQueryTypeTest.kt0|create table data ( | id integer not null primary key |); | |selectforid: |select * |from data |where id in ?; |STRING
HIGH…/cash/sqldelight/drivers/worker/WebWorkerDriverTest.kt0|create table test ( | id integer primary key, | value text |);STRING
HIGH…tlin/com/squareup/sqldelight/driver/test/DriverTest.kt0|create table test ( | id integer primary key, | value text |);STRING
HIGH…uareup/sqldelight/drivers/native/LazyDriverBaseTest.kt0|create table test ( | id integer primary key, | value text |);STRING
HIGH…/cash/sqldelight/drivers/worker/WebWorkerDriverTest.kt0|create table nullability_test ( | id integer primary key, | integer_value integer, | text_value text, | blob_value blobSTRING
HIGH…tlin/com/squareup/sqldelight/driver/test/DriverTest.kt0|create table nullability_test ( | id integer primary key, | integer_value integer, | text_value text, | blob_value blobSTRING
HIGH…uareup/sqldelight/drivers/native/LazyDriverBaseTest.kt0|create table nullability_test ( | id integer primary key, | integer_value integer, | text_value text, | blob_value blobSTRING
HIGH…ldelight/driver/worker/CreateDefaultWebWorkerDriver.kt0new url("@cashapp/sqldelight-sqljs-worker/sqljs.worker.js", import.meta.url)STRING
HIGH…/kotlin/com/example/sqldelight/hockey/data/DbHelper.kt0new url("@cashapp/sqldelight-sqljs-worker/sqljs.worker.js", import.meta.url)STRING
HIGHdocs/js_sqlite/multiplatform.md0new url("@cashapp/sqldelight-sqljs-worker/sqljs.worker.js", import.meta.url)STRING
HIGHdocs/js_sqlite/sqljs_worker.md0new url("@cashapp/sqldelight-sqljs-worker/sqljs.worker.js", import.meta.url)STRING
HIGHdocs/js_sqlite/index.md0new url("@cashapp/sqldelight-sqljs-worker/sqljs.worker.js", import.meta.url)STRING
HIGH…otlin/com/squareup/sqldelight/driver/test/QueryTest.kt0create table test ( id integer not null primary key, value text not null );STRING
HIGH…n/com/squareup/sqldelight/driver/test/EphemeralTest.kt0create table test ( id integer not null primary key, value text not null );STRING
HIGH…ldelight/drivers/native/NativeDriverConcurrencyTest.kt0create table test ( id integer not null primary key, value text not null );STRING
HIGH…t/drivers/native/connectionpool/BaseConcurrencyTest.kt0create table test ( id integer not null primary key, value text not null );STRING
HIGH…ions/src/test/kotlin/app/cash/sqldelight/rx2/TestDb.kt0|insert or fail into $table_manager (${manager.employee_id}, ${manager.manager_id}) |values (?, ?) |STRING
HIGH…leTest/kotlin/app/cash/sqldelight/coroutines/TestDb.kt0|insert or fail into $table_manager (${manager.employee_id}, ${manager.manager_id}) |values (?, ?) |STRING
HIGH…ions/src/test/kotlin/app/cash/sqldelight/rx3/TestDb.kt0|insert or fail into $table_manager (${manager.employee_id}, ${manager.manager_id}) |values (?, ?) |STRING
Hallucination Indicators8 hits · 120 pts
SeverityFileLineSnippetContext
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt11 SQLITE_3_24(app.cash.sqldelight.dialects.sqlite_3_24.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt12 SQLITE_3_25(app.cash.sqldelight.dialects.sqlite_3_25.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt13 SQLITE_3_30(app.cash.sqldelight.dialects.sqlite_3_30.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt14 SQLITE_3_35(app.cash.sqldelight.dialects.sqlite_3_35.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt15 SQLITE_3_37(app.cash.sqldelight.dialects.sqlite_3_37.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt16 SQLITE_3_38(app.cash.sqldelight.dialects.sqlite_3_38.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt17 SQLITE_3_39(app.cash.sqldelight.dialects.sqlite_3_39.SqliteDialect()),CODE
CRITICAL⚡…rc/test/kotlin/app/cash/sqldelight/core/TestDialect.kt18 SQLITE_3_44(app.cash.sqldelight.dialects.sqlite_3_44.SqliteDialect()),CODE
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOW…onTest/kotlin/androidx/paging/AsyncPagingDataDiffer.kt301 // Trim or insert placeholders to match expected newSize.COMMENT
LOW.github/workflows/requirements.txt1#COMMENT
LOW.github/workflows/requirements.txt21ghp-import==2.1.0COMMENT
LOW.github/workflows/requirements.txt41 # mkdocsCOMMENT
LOW.github/workflows/requirements.txt61 # via mkdocsCOMMENT
LOW.github/workflows/requirements.txt81 # via mkdocs-materialCOMMENT
LOW.github/workflows/requirements.txt101 # mkdocsCOMMENT