Decision Workspace
srcgraph-metrics vs sloc-config vs sloc-languages
Side-by-side comparison of Rust crates
52
srcgraph-metrics
experimentalv0.8.43
Graph-theoretic code-analysis metrics (SCC, LCOM4, betweenness, instability, …)
66
sloc-config
experimentalv1.6.22
Configuration schema, TOML parsing, and CLI flag types for oxide-sloc
66
sloc-languages
experimentalv1.6.22
Language detection and lexical SLOC analysis for 60 languages — IEEE 1045-1992 compliant
Core Metrics
| srcgraph-metrics | sloc-config | sloc-languages | |
|---|---|---|---|
| Health Score | 52 | 66 | 66 |
| Total Downloads | 293 | 1.7K | 1.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 184 | 96 |
| Releases | 15 | 44 | 44 |
| Last Updated | 1d ago | 10d ago | 10d ago |
| Age | 4m | 5m | 5m |
Health Breakdown
srcgraph-metrics
Maintenance
19
Quality
13
Community
7
Popularity
3
Documentation
10
sloc-config
Maintenance
19
Quality
16
Community
12
Popularity
4
Documentation
15
sloc-languages
Maintenance
19
Quality
17
Community
11
Popularity
4
Documentation
15
Technical Details
| srcgraph-metrics | sloc-config | sloc-languages | |
|---|---|---|---|
| Version | 0.8.43 | 1.6.22 | 1.6.22 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | AGPL-3.0-or-later | AGPL-3.0-or-later |
| Dependencies | 5 | 6 | 4 |
| Crate Size | 20KB | 13KB | 78KB |
| Features | 7 | 0 | 1 |
| Yanked % | 6.7% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.95 | 1.95 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sloc-config leads with a health score of 66/100, but none of the options score above 80.
- •sloc-languages has the most downloads (1.7K), suggesting wider adoption.
- •sloc-config is depended on by 184 crates — strongest ecosystem trust.
- •srcgraph-metrics is pre-1.0 — API may change.