RepoTrust

antimatter15/ocrad.js

OCR in Javascript via Emscripten

https://github.com/antimatter15/ocrad.js · commit 41daf0d2c2d0 · 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 47% 100%
Code quality 37 poor 90% 100%
Security 73 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2013-12 19,553 0%
2014-01 46 0%
2014-04 76 0%
2014-05 178 0%
2015-01 1,013 0%
2016-08 97,488 0%
2018-07 4 0%
2019-06 2 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 poor: test-to-source ratio 0.00, no CI test run detected; 58% of function code in complex or long functions; 9% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 18
Duplication 58
Code smells (Opengrep) 83
Tests and CI 0
Documentation 85
Type safety 40
Process (Scorecard review/maintenance) 15

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
C++ 10,510
C 1,567
JavaScript 315
Shell 202
Python 13

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