RepoTrust

baidu/bfs

The Baidu File System.

https://github.com/baidu/bfs · commit de71a4601c27 · 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 58 weak 90% 100%
Security 82 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2016-09 1,223 0%
2016-10 1,717 0%
2016-11 1,263 0%
2016-12 2,392 0%
2017-01 619 0%
2017-02 1,726 0%
2017-03 915 0%
2017-04 1 0%
2017-05 3 0%
2017-06 66 0%
2017-08 31 0%
2018-11 2 0%

Evidence

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.17, CI runs tests; 12% of function code in complex or long functions; 12% duplicated lines. Weakest area: lint.

Area Score
Complexity (lizard) 71
Duplication 50
Code smells (Opengrep) 36
Tests and CI 68
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) n/a

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 n/a

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++ 16,098
C 2,771
Shell 1,147
Python 963

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