RepoTrust

zouxiaohang/TinySTL

TinySTL is a subset of STL(cut some containers and algorithms) and also a superset of STL(add some other containers and algorithms)

https://github.com/zouxiaohang/TinySTL · commit b6bde62f4539 · 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 57 weak 90% 100%
Security 80 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2014-11 968 0%
2014-12 1,745 0%
2015-01 6,287 0%
2015-02 1,224 0%
2015-03 1,095 0%
2015-08 42 0%
2015-09 2 0%
2015-11 57 0%
2015-12 6 0%
2016-02 3 0%
2016-03 1 0%
2016-05 4 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 weak: test-to-source ratio 0.00, no CI test run detected; 0% of function code in complex or long functions; 8% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 99
Duplication 62
Code smells (Opengrep) 100
Tests and CI 0
Documentation 40
Type safety n/a
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) 96
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a

Top findings

Severity Finding Location
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] TinySTL/Algorithm.h:24
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] TinySTL/Algorithm.h:28
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] TinySTL/Algorithm.h:42
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] TinySTL/Algorithm.h:48
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] TinySTL/UFSet.h:49

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 7,072
C++ 3,495

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