junegunn/redis-stat
(UNMAINTAINED) A real-time Redis monitoring tool
- Repository: https://github.com/junegunn/redis-stat
- Commit:
9af492f2f2e65d9d3e09a256297e81f26f8e9e58 - Generated: 2026-11-13T23:30:04+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 | 59 | weak | 90% | 100% |
| Security | 75 | 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 |
|---|---|---|
| 2013-03 | 5 | 0% |
| 2013-07 | 7 | 0% |
| 2013-08 | 206 | 0% |
| 2014-06 | 115 | 0% |
| 2014-07 | 443 | 0% |
| 2014-08 | 17 | 0% |
| 2014-11 | 28 | 0% |
| 2015-01 | 83 | 0% |
| 2015-02 | 7 | 0% |
| 2015-06 | 13 | 0% |
| 2016-05 | 17 | 0% |
| 2016-12 | 1 | 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.19, no CI test run detected; 30% of function code in complex or long functions; 5% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 40 |
| Duplication | 76 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 37 |
| Documentation | 65 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 52; mean complexity 3.5, 90th percentile 8; 2 complex and 1 long functions
- Duplicated lines: 4.6% of 919 compared
- Tests: 242 test lines for 1,246 source lines (ratio 0.19); CI test commands: none detected; 18% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- start in lib/redis-stat.rb: complexity 25, 72 lines
- process_how in lib/redis-stat.rb: complexity 18, 51 lines
- initialize in lib/redis-stat/server/public/js/site.js: complexity 4, 124 lines
Security
Security posture is adequate: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 81 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
- Posture checks passed: none; missing: security policy, dependency updates, signed commits, lockfiles
Top findings
| Severity | Finding | Location |
|---|---|---|
| medium | opengrep/ruby.lang.security.dangerous-subshell: Detected non-static command inside .... If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] |
lib/redis-stat.rb:263 |
| medium | opengrep/javascript.jquery.security.audit.jquery-insecure-method: User controlled data in a jQuery's .prepend(...) is an anti-pattern that can lead to XSS vulnerabilities [confidence low] |
lib/redis-stat/server/public/js/site.js:174 |
| medium | opengrep/ruby.rails.security.audit.xss.templates.unquoted-attribute: Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "<%= expr %>". [confidence low] |
lib/redis-stat/server/views/index.erb:28 |
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.
Distribution signals
- binary-release-asset: release 0.4.14 ships redis-stat-0.4.14.jar (12975 downloads)
- binary-release-asset: release 0.4.13 ships redis-stat-0.4.13.jar (2492 downloads)
- binary-release-asset: release 0.4.12 ships redis-stat-0.4.12.jar (2939 downloads)
- binary-release-asset: release 0.4.11 ships redis-stat-0.4.11.jar (827 downloads)
- binary-release-asset: release 0.4.10 ships redis-stat-0.4.10.jar (244 downloads)
- readme-download-lure: gives an archive password
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 1,246; test lines: 242
| Language | Lines |
|---|---|
| Ruby | 1,257 |
| JavaScript | 231 |