Decision Workspace
ocloc vs tokount vs code-line-count
Side-by-side comparison of Rust crates
51
ocloc
experimentalv0.5.1
Fast, reliable lines-of-code counter with JSON/CSV output
52
tokount
experimentalv2.1.6
The fastest line counter for codebases
44
code-line-count
experimentalv0.2.1
Fast line counter specializing in code.
Core Metrics
| ocloc | tokount | code-line-count | |
|---|---|---|---|
| Health Score | 51 | 52 | 44 |
| Total Downloads | 1.0K | 84 | 51 |
| 30d Downloads | 21 | 84 | 5 |
| Dependents | 0 | 0 | 0 |
| Releases | 4 | 8 | 3 |
| Last Updated | 70d ago | 1d ago | 59d ago |
| Age | 6m | 4d | 2m |
Health Breakdown
ocloc
Maintenance
14
Quality
12
Community
6
Popularity
4
Documentation
15
tokount
Maintenance
19
Quality
13
Community
6
Popularity
2
Documentation
12
code-line-count
Maintenance
11
Quality
13
Community
6
Popularity
2
Documentation
12
Technical Details
| ocloc | tokount | code-line-count | |
|---|---|---|---|
| Version | 0.5.1 | 2.1.6 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MPL-2.0 |
| Dependencies | 14 | 14 | 5 |
| Crate Size | 58KB | 324KB | 15KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.92 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokount leads with a health score of 52/100, but none of the options score above 80.
- •ocloc has the most downloads (1.0K), suggesting wider adoption.
- •ocloc, code-line-count are pre-1.0 — API may change.