Decision Workspace
bonsai-core vs srcmetrics-cli vs srcmetrics
Side-by-side comparison of Rust crates
55
bonsai-core
experimentalv0.5.0
Language-agnostic cognitive complexity scoring over tree-sitter trees
46
srcmetrics-cli
experimentalv0.2.0
Command-line tool and local HTTP API for srcmetrics: analyze source code, export metrics as JSON/CSV, statistics and HTML reports
45
srcmetrics
experimentalv0.2.0
Language-independent source code metrics (size, complexity, nesting, Halstead, duplication, dependencies, documentation) for C, C++, Go, Java, JavaScript, Python, Rust and TypeScript
Core Metrics
| bonsai-core | srcmetrics-cli | srcmetrics | |
|---|---|---|---|
| Health Score | 55 | 46 | 45 |
| Total Downloads | 416 | 22 | 32 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 73 | 0 | 2 |
| Releases | 10 | 2 | 2 |
| Last Updated | 9d ago | 11d ago | 11d ago |
| Age | 20d | 11d | 11d |
Health Breakdown
bonsai-core
Maintenance
16
Quality
14
Community
10
Popularity
3
Documentation
12
srcmetrics-cli
Maintenance
13
Quality
13
Community
6
Popularity
2
Documentation
12
srcmetrics
Maintenance
13
Quality
12
Community
6
Popularity
2
Documentation
12
Technical Details
| bonsai-core | srcmetrics-cli | srcmetrics | |
|---|---|---|---|
| Version | 0.5.0 | 0.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 6 | 14 |
| Crate Size | 32KB | 18KB | 58KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.90 | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bonsai-core leads with a health score of 55/100, but none of the options score above 80.