AI Slop Code Risk Monitor

sqlite/sqlite

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

Official Git mirror of the SQLite source tree

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for sqlite/sqlite, a C project with 10,871 GitHub stars. SynthScan examined 525,289 lines of code across 562 source files, recording 411 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.9K
Stars
C
Language
525.3K
Lines of Code
562
Files
411
Pattern Hits
2026-10-31
Scan Date
0.02
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 3.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.5/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 5.3/100 · LOW

Which changes need focused human review? 411 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 13HIGH 0MEDIUM 24LOW 374

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 411 distinct pattern matches across 6 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 Block370 hits · 342 pts
SeverityFileLineSnippetContext
LOWmagic.txt1# This file contains suggested magic(5) text for the unix file(1)COMMENT
LOWautosetup/jimsh0.c1/* This is single source file, bootstrap version of Jim Tcl. See http://jim.tcl.tk/ */COMMENT
LOWautosetup/jimsh0.c21#define TCL_PLATFORM_OS "windows"COMMENT
LOWautosetup/jimsh0.c41#define S_IRWXO 0COMMENT
LOWautosetup/jimsh0.c61#define HAVE_LINKCOMMENT
LOWautosetup/jimsh0.c101#define jim_wide _int64COMMENT
LOWautosetup/jimsh0.c161#include <ctype.h>COMMENT
LOWautosetup/jimsh0.c181COMMENT
LOWautosetup/jimsh0.c201COMMENT
LOWautosetup/jimsh0.c221# define JIM_WIDE_MODIFIER "lld"COMMENT
LOWautosetup/jimsh0.c241#define JIM_SIGNAL 5COMMENT
LOWautosetup/jimsh0.c261#define JIM_SUBST_NOVAR 1COMMENT
LOWautosetup/jimsh0.c1221#define Jim_TaintObj(o,t) (o)->taint |= (t)COMMENT
LOWautosetup/jimsh0.c1441 #define Jim_Lseek _lseeki64COMMENT
LOWautosetup/jimsh0.c1461 #define Jim_Stat statCOMMENT
LOWautosetup/jimsh0.c1481 #define Jim_Errno() errnoCOMMENT
LOWautosetup/jimsh0.c2281" }\n"COMMENT
LOWautosetup/jimsh0.c2301#include <pty.h>COMMENT
LOWautosetup/jimsh0.c2321#include <openssl/err.h>COMMENT
LOWautosetup/jimsh0.c2341enum wbuftype {COMMENT
LOWautosetup/jimsh0.c4601 Jim_PackageProvideCheck(interp, "regexp");COMMENT
LOWautosetup/jimsh0.c4621#define F_OK 0COMMENT
LOWautosetup/jimsh0.c7441Jim_arrayInit(interp);COMMENT
LOWautosetup/jimsh0.c7461COMMENT
LOWautosetup/jimsh0.c7481#define TCL_LIBRARY "."COMMENT
LOWautosetup/jimsh0.c7501#define JIM_DEBUG_PANICCOMMENT
LOWautosetup/jimsh0.c8481COMMENT
LOWautosetup/jimsh0.c23101COMMENT
LOWautosetup/jimsh0.c23121#define BRANCH 6COMMENT
LOWautosetup/jimsh0.c23141#define CLOSE 2001COMMENT
LOWautosetup/jimsh0.c25001#include <stdio.h>COMMENT
LOWtest/fuzzcheck.c81#include <stdio.h>COMMENT
LOWtest/if.sql1#!sqlite3COMMENT
LOWtest/fkey08.sql1#!sqlite3COMMENT
LOWtest/modeA.sql1#!sqlite3COMMENT
LOWtest/kvtest.c121#include "sqlite3.h"COMMENT
LOWtest/fkey09.sql1#!sqlite3COMMENT
LOWtest/fkey09.sql21#COMMENT
LOWtest/sha1.sql1#!sqlite3COMMENT
LOWtest/output-redirect-test.txt1# This script is used to test certain output redirection commandsCOMMENT
LOWtest/safemode.sql1#!sqlite3COMMENT
LOWtest/imposter1.sql1#!sqlite3COMMENT
LOWtest/import01.sql1#!sqlite3COMMENT
LOWtest/clierrors.sql1#!sqlite3COMMENT
LOWtest/speedtest1.c81#include "sqlite3.h"COMMENT
LOWtest/dotcmd01.sql1#!sqlite3COMMENT
LOWtest/complete_sql.sql1#!sqlite3COMMENT
LOWtest/dump.sql1#!sqlite3COMMENT
LOWtest/threadtest3.c41#define opendb(w,x,y,z) (SEL(w), opendb_x(w,x,y,z))COMMENT
LOWtest/threadtest3.c81COMMENT
LOWtest/wordcount.c61** gcc -I. -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION \COMMENT
LOWtest/shell-prompt.sql1#!sqlite3COMMENT
LOWtest/fptest01.sql1#!sqlite3COMMENT
LOWtest/fptest01.sql21# boxes and so forth. But it possible to find a machine for whichCOMMENT
LOWtest/regexp1.sql1#!sqlite3COMMENT
LOWtest/intck01.sql1#!sqlite3COMMENT
LOWtest/dbfuzz.c21** the fuzzed database.COMMENT
LOWtest/json/json-speed-check.sh1#!/bin/bashCOMMENT
LOWext/misc/fileio.c81#include <assert.h>COMMENT
LOWext/misc/windirent.h21*/COMMENT
310 more matches not shown…
Hallucination Indicators13 hits · 155 pts
SeverityFileLineSnippetContext
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java462 new org.sqlite.jni.capi.OutputPointer.Int64();CODE
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java464 new org.sqlite.jni.capi.OutputPointer.Int64();CODE
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java480 new org.sqlite.jni.capi.OutputPointer.Int32();CODE
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java482 new org.sqlite.jni.capi.OutputPointer.Int32();CODE
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java695 new org.sqlite.jni.capi.OutputPointer.sqlite3_stmt();CODE
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java697 new org.sqlite.jni.capi.OutputPointer.Int32();CODE
CRITICALext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java809 new org.sqlite.jni.capi.OutputPointer.Int32();CODE
CRITICAL⚡ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java910 = new org.sqlite.jni.capi.OutputPointer.String();CODE
CRITICAL⚡ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java912 = new org.sqlite.jni.capi.OutputPointer.String();CODE
CRITICAL⚡ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java914 = new org.sqlite.jni.capi.OutputPointer.Bool();CODE
CRITICAL⚡ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java916 = new org.sqlite.jni.capi.OutputPointer.Bool();CODE
CRITICAL⚡ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java918 = new org.sqlite.jni.capi.OutputPointer.Bool();CODE
CRITICALext/jni/src/org/sqlite/jni/capi/SQLTester.java459 sb.append(org.sqlite.jni.capi.ResultCode.getEntryForInt(rc)).append(' ');CODE
Decorative Section Separators22 hits · 66 pts
SeverityFileLineSnippetContext
MEDIUMtest/fkey08.sql26#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey08.sql91#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey08.sql192#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey08.sql297#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey08.sql338#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey08.sql378#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql45#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql103#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql160#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql216#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql272#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql329#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql385#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql442#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql508#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql571#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql628#-------------------------------------------------------------------------COMMENT
MEDIUMtest/fkey09.sql685#-------------------------------------------------------------------------COMMENT
MEDIUMext/fts3/unicode/CaseFolding.txt30# ================================================================================COMMENT
MEDIUMext/fts3/unicode/CaseFolding.txt32# ================================================================================COMMENT
MEDIUMext/fts3/unicode/CaseFolding.txt54# =================================================================COMMENT
MEDIUMext/fts3/unicode/CaseFolding.txt63# =================================================================COMMENT
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMext/jni/README.md71 System.out.print("Error opening db: "+sqlite3_errmsg(db));CODE
MEDIUMext/jni/README.md73 System.out.print("Error opening db: rc="+rc);CODE
Verbosity Indicators3 hits · 3 pts
SeverityFileLineSnippetContext
LOWext/misc/tryeval.c36** The purpose of this function is to help evaluate recursiveCODE
LOWext/wasm/libcmpp.c4101 The purpose of this function is a memory reuse optimization. MostCODE
LOWext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js199 the same filename and we need to check if any of them haveCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWext/vec1/tool/vec1bench_vibe2db.py4CODE