Unit test coverage by crate
This inventory counts unit-test functions per crate from the tree; it is a function count, not a line-coverage percentage.
Summary
This inventory counts #[test] and #[tokio::test] functions from the tree with python3 scripts/unit_coverage_report.py; it is generated, not edited by hand.
Measured totals
| Measure | Value |
|---|---|
| Crates in the workspace | 122 |
.rs files scanned |
3953 |
| Test functions | 6436 |
| Crates with no tests | 12 |
| Crates with 1β4 tests | 6 |
Coverage by crate
The full generated table remains authoritative: it lists one row per crate, the function count and the modules those tests live in. Run python3 scripts/unit_coverage_report.py to regenerate it after source changes.
Crates without unit tests
A crate with no unit test is not silently absent from the unit gate; it is listed in the generated inventory and reviewed when the gate changes.
Crates with fewer than five tests
A low count is not a failure by itself. The modules named in the generated row show what is covered.
Limits
- This is a function count, not a line or branch coverage percentage.
- Per-module line and branch numbers come from the CI coverage job, not from this page.
- Run crates one at a time; the workspace graph does not fit the 4.5 GiB development container.
- Generated output is never hand-edited to make the numbers look better.