RepoTrust

Leaderboard github.com

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)

  • View repository ↗
  • C++
  • ★ 2,489
  • commit b6bde62f4539
  • scored 2026-11-13
  • scoring prov-4+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
65%
Coverage
100%

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

Code quality

57/100

weak

Confidence
90%
Coverage
100%

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

Security

80/100

adequate

Confidence
85%
Coverage
100%

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

  • Repository: https://github.com/zouxiaohang/TinySTL
  • Commit: b6bde62f4539241a2ddc7577d39ba61925a132fa
  • Generated: 2026-11-13T23:41:35+00:00
  • Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2

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.

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
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
  • Functions: 1,034; mean complexity 1.7, 90th percentile 3; 1 complex and 0 long functions
  • Duplicated lines: 7.9% of 7,883 compared
  • Tests: 0 test lines for 10,567 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
  • Docs missing or thin: license, contributing, changelog

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
  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits

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

  • Source lines: 10,567; test lines: 0
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/)