Decision Workspace
sloc-guard vs rustqual vs hotspots-core
Side-by-side comparison of Rust crates
45
sloc-guard
experimentalv0.6.0
A CLI tool that enforces SLOC limits and directory structure rules to guard against codebase complexity
53
rustqual
growingv1.8.3
Comprehensive Rust code quality analyzer — seven dimensions: IOSP, Complexity, DRY, SRP, Coupling, Test Quality, Architecture
58
hotspots-core
growingv1.42.0
Core library for finding the riskiest code by combining complexity with git change history (Local Risk Score) across TypeScript, JavaScript, Go, Python, Rust, Java, C#, and C
Core Metrics
| sloc-guard | rustqual | hotspots-core | |
|---|---|---|---|
| Health Score | 45 | 53 | 58 |
| Total Downloads | 1.3K | 4.2K | 1.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 56 |
| Releases | 10 | 36 | 56 |
| Last Updated | 75d ago | 15d ago | 12d ago |
| Age | 9m | 6m | 6m |
Health Breakdown
sloc-guard
Maintenance
15
Quality
10
Community
6
Popularity
4
Documentation
10
rustqual
Maintenance
18
Quality
12
Community
6
Popularity
4
Documentation
13
hotspots-core
Maintenance
19
Quality
13
Community
10
Popularity
4
Documentation
12
Technical Details
| sloc-guard | rustqual | hotspots-core | |
|---|---|---|---|
| Version | 0.6.0 | 1.8.3 | 1.42.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 20 | 18 | 32 |
| Crate Size | 455KB | 1.0MB | 336KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | 1.75 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hotspots-core leads with a health score of 58/100, but none of the options score above 80.
- •rustqual has the most downloads (4.2K), suggesting wider adoption.
- •sloc-guard is pre-1.0 — API may change.