RepoTrust

Leaderboard github.com

jonwiggins/cqlite

Lightweight SQLite implementation in Rust

  • View repository ↗
  • Rust
  • ★ 1
  • commit 18d2647c741b
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

62%

explicit

Confidence
76%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

64/100

weak

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

75/100

adequate

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

62% explicit

Explicit AI attribution on 62% of first-party code added; an estimated 62% including velocity signals.

How the score is built

  • Explicitly attributed share62%
  • Unattributed share in AI-pace bursts31%
  • Estimated AI-generated share62%
  • AI tool configuration files1
  • Work sessions at AI pace3
  • Releases at AI pacenot measured
  • Coding-style index (1.0+ means possible)0.10

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code715,1192026-02-212026-02-21

Lines added per month all AI-attributed share

  1. 2026-0224,199 · 62% AI

Findings in AI-attributed lines vs the rest

From git blame: 13,970 lines trace to AI-attributed commits, 6,619 to others. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality0.000.00—
Security0.210.00—

Evidence by analyzer

Explicit AI attributionok8 items
attributed_commit_share
29.2%
attributed_commits
7
attributed_loc
15,119
attributed_loc_share
62.5%
commits
24
effective_loc
24,199
tools_detected
1
AI tool configurationok1 item
artifacts
1
earliest_adoption
2026-02-09
tools_configured
1
workflow_agents
0
Commit velocityok3 items
excluded_import_loc
11,267
flagged_loc
11,303
flagged_loc_share
87.4%
flagged_units
3
max_loc_per_hour
1,691.18
measured_loc
12,932
median_loc_per_hour
1,101.10
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
6
Release velocityskipped
Coding styleok2 items
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
2
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
2
files:placeholder
0
index
0.10
lines_scanned
20,589
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0.10
per_kloc:placeholder
0
Findings in AI-written linesok
ai_lines
13,970
blame_failures
0
files_blamed
18
other_lines
6,619
quality:ai_findings
0
quality:ai_per_kloc
0
quality:other_findings
0
quality:other_per_kloc
0
security:ai_findings
3
security:ai_per_kloc
0.21
security:other_findings
0
security:other_per_kloc
0

Code quality

64 weak

Code quality is weak: test-to-source ratio 0.10, CI runs tests; 41% of function code in complex or long functions; 8% duplicated lines. Weakest area: complexity.

How the score is built

  • Complexity29
  • Duplication62
  • Lint and smells100
  • Tests and CI80
  • Documentation40
  • Type safetynot measured
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok10 items
complex_functions
52
function_nloc
15,678
functions
701
long_functions
24
many_param_functions
1
mean_ccn
5.57
p90_ccn
12
risky_nloc_share
41.4%
Duplication (jscpd)ok10 items
compared_lines
15,069
duplicated_lines
1,207
duplicated_share
8.0%
files
18
Lintok
findings
0
scanned_lines
20,589
weighted_findings
0
Tests and CIok3 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI runs tests (go test, cargo test)
  • CI runs linters (clippy, rustfmt, cargo fmt)
check:ci_present
yes
check:ci_runs_lint
yes
check:ci_runs_tests
yes
check:has_tests
yes
check:test_ratio
no
check:tests_cochange
yes
ci_files
1
cochange_commits
18
cochange_share
33.3%
source_lines
20,589
test_lines
2,121
test_ratio
0.10
Documentationok1 item
  • README.md README.md
check:changelog
no
check:contributing
no
check:license
no
check:readme
yes
readme_lines
104
Type safetyskipped

Security

75 adequate

Security posture is adequate: 2 known vulnerabilities in 2 dependencies; 5 high-severity workflow issues. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)99
  • Vulnerable dependencies90
  • CI workflows30
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
2
declared
2
lookup_errors
0
missing
0
recent
0
Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
3
findings_high
0
findings_low
3
findings_medium
0
parse_errors
0
scanned_lines
20,589
weighted_findings
0.75
Dependencies (osv-scanner)ok
penalty
6
vulnerabilities
2
vulnerable_packages
2
vulns_critical
0
vulns_high
0
vulns_low
0
vulns_medium
0
vulns_unknown
2
CI workflows (zizmor)ok
findings
12
findings_high
5
findings_low
0
findings_medium
7
penalty
73.20
workflows
1
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
0.0%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

5 high9 medium3 low

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:17 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:25 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:27 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:43 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:44 unpinned action reference [confidence high] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:1 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:13 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/ci.yml:17 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:21 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/ci.yml:25 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:36 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/ci.yml:43 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium osv/RUSTSEC-2026-0190 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0190 Dependencies (osv-scanner)
medium osv/RUSTSEC-2026-0486 Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0486 Dependencies (osv-scanner)
low opengrep/rust.lang.security.args src/main.rs:30 args should not be used for security operations. From the docs: "The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied... Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage src/main.rs:549 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage src/main.rs:564 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)

Tools and coverage

Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceskipped—0
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Findings in AI-written linesAI provenanceokgit-blame0
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4140
Tests and CICode qualityok—0
Type safetyCode qualityskipped—0
CI workflows (zizmor)Securityokzizmor 1.32.012
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.12
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4143
OpenSSF ScorecardSecurityskipped—0no published OpenSSF Scorecard result for this repo
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-1418d2647c741bprov-5+qual-2+sec-262%6475
2026-11-1418d2647c741bprov-4+qual-2+sec-262%6475

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/jonwiggins/cqlite/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/jonwiggins/cqlite/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/jonwiggins/cqlite/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/jonwiggins/cqlite/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/jonwiggins/cqlite/security.svg)](https://repotrust.synapticcyber.com/r/github.com/jonwiggins/cqlite/)
Full text report
  • Repository: https://github.com/jonwiggins/cqlite
  • Commit: 18d2647c741ba7823e693f4787eaa1e26224b1dc
  • Generated: 2026-11-14T14:52:05+00:00
  • Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 62 explicit 76% 100%
Code quality 64 weak 90% 100%
Security 75 adequate 85% 100%

AI provenance

Explicit AI attribution on 62% of first-party code added; an estimated 62% including velocity signals.

  • Explicitly attributed share (lower bound): 62.5%
  • Unattributed share in AI-consistent velocity bursts: 30.8%
  • Estimated AI-generated share: 62.5%
AI tool Attributed commits Lines added
Claude Code 7 15,119
  • AI tooling configured in repo: claude-code

Current source lines last changed by AI-attributed commits: 13,970 of 20,589.

Findings per 1,000 lines AI-attributed Other Ratio
Quality 0.0 0.0 n/a
Security 0.215 0.0 n/a
  • Stylometry index: 0.10 per 1,000 lines (narrated steps 2, placeholders 0, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
Month Lines added Attributed to AI
2026-02 24,199 62%

Evidence

  • Claude Code: trailer 'Co-Authored-By: Claude' (c6c6d4b0a294)
  • Claude Code: trailer 'Co-Authored-By: Claude' (748884c61bfe)
  • Claude Code: trailer 'Co-Authored-By: Claude' (c39dbb666397)
  • Claude Code: trailer 'Co-Authored-By: Claude' (9dc8bce9249b)
  • Claude Code: trailer 'Co-Authored-By: Claude' (3d9f857188c8)
  • Claude Code: trailer 'Co-Authored-By: Claude' (88ee95a7a264)
  • Claude Code: trailer 'Co-Authored-By: Claude' (cd01c0bdf5c5)
  • 4,779 lines of first-party code in ~2.8h (1,691 lines/hour, 5 commit session) (8470049eaf1d)
  • CLAUDE.md (claude-code configuration) (CLAUDE.md)
  • 1,317 lines of first-party code in ~1.0h (1,385 lines/hour, 1 commit session) (2d1e7ea61737)
  • 5,207 lines of first-party code in ~4.7h (1,101 lines/hour, 7 commit session) (e6a035864014)
  • step-by-step narration comment: // First, determine serial types and encode values. (src/record.r)
  • step-by-step narration comment: // First, resolve what each result column maps to. (src/vm.rs:16)

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is weak: test-to-source ratio 0.10, CI runs tests; 41% of function code in complex or long functions; 8% duplicated lines. Weakest area: complexity.

Area Score
Complexity (lizard) 29
Duplication 62
Code smells (Opengrep) 100
Tests and CI 80
Documentation 40
Type safety n/a
Process (Scorecard review/maintenance) n/a
  • Functions: 701; mean complexity 5.6, 90th percentile 12; 52 complex and 24 long functions
  • Duplicated lines: 8.0% of 15,069 compared
  • Tests: 2,121 test lines for 20,589 source lines (ratio 0.10); CI test commands: go test, cargo test; 33% of recent source commits also change tests
  • Docs missing or thin: license, contributing, changelog

Most complex functions:

Security

Security posture is adequate: 2 known vulnerabilities in 2 dependencies; 5 high-severity workflow issues. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 99
Vulnerable dependencies (OSV) 90
CI workflows (zizmor) 30
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Known vulnerabilities: 2 in 2 packages (critical 0, high 0, medium 0, low 0)

  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits

Top findings

Severity Finding Location
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:17
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:25
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:27
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:43
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:44
medium osv/RUSTSEC-2026-0190: [email protected] (crates.io) is affected by RUSTSEC-2026-0190 Cargo.lock
medium osv/RUSTSEC-2026-0486: [email protected] (crates.io) is affected by RUSTSEC-2026-0486 Cargo.lock
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/ci.yml:17
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/ci.yml:25
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/ci.yml:43
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:1
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:13
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:21
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:36
low opengrep/rust.lang.security.args: args should not be used for security operations. From the docs: "The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied upon for security purposes." [confidence high] src/main.rs:30
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] src/main.rs:549
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] src/main.rs:564

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Repository profile

  • Source lines: 20,589; test lines: 2,121
Language Lines
Rust 22,691
Shell 19