RepoTrust

fengsp/pencil

A web application microframework for Rust

https://github.com/fengsp/pencil · commit 05abcffbccac · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 65% 100%
Code quality 71 adequate 90% 100%
Security 73 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2014-12 1,971 0%
2015-01 345 0%
2015-02 255 0%
2015-12 238 0%
2016-01 297 0%
2016-02 1,074 0%
2016-03 594 0%
2016-04 111 0%
2016-05 25 0%
2016-06 71 0%
2016-09 116 0%
2016-10 36 0%

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 adequate: test-to-source ratio 0.06, CI runs tests; 11% of function code in complex or long functions; 2% duplicated lines. Weakest area: process.

Area Score
Complexity (lizard) 72
Duplication 89
Code smells (Opengrep) 100
Tests and CI 62
Documentation 85
Type safety n/a
Process (Scorecard review/maintenance) 5

Most complex functions:

Security

Security posture is adequate: no high-impact findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 100
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard 25

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

Language Lines
Rust 3,302
Shell 20

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/fengsp/pencil/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/fengsp/pencil/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/fengsp/pencil/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/fengsp/pencil/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/fengsp/pencil/security.svg)](https://repotrust.synapticcyber.com/r/github.com/fengsp/pencil/)