Decision Workspace
ocloc vs tloc vs loc-rs
Side-by-side comparison of Rust crates
47
ocloc
growingv0.5.1
Fast, reliable lines-of-code counter with JSON/CSV output
50
tloc
experimentalv0.1.3
Lines of code counter with tree-style output
49
loc-rs
experimentalv0.3.1
Advanced Lines of Code counter with function extraction, complexity analysis, and parallel processing
Core Metrics
| ocloc | tloc | loc-rs | |
|---|---|---|---|
| Health Score | 47 | 50 | 49 |
| Total Downloads | 1.2K | 76 | 436 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 4 | 4 | 26 |
| Last Updated | 266d ago | 163d ago | 4d ago |
| Age | 1y | 5m | 7m |
Health Breakdown
ocloc
Maintenance
9
Quality
13
Community
6
Popularity
4
Documentation
15
tloc
Maintenance
14
Quality
13
Community
6
Popularity
2
Documentation
15
loc-rs
Maintenance
19
Quality
9
Community
6
Popularity
3
Documentation
12
Technical Details
| ocloc | tloc | loc-rs | |
|---|---|---|---|
| Version | 0.5.1 | 0.1.3 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 14 | 4 | 30 |
| Crate Size | 58KB | 25KB | 147KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.92.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tloc leads with a health score of 50/100, but none of the options score above 80.
- •ocloc has the most downloads (1.2K), suggesting wider adoption.