cargo-llvm-cov
cargo-llvm-cov: A free, open-source Cargo tool with broad reports and CI-ready coverage controls. Ranked #10 of 27 in Test Coverage Tools by our editors (6.3/10); pricing: Open source; best for rust teams needing CI-ready coverage gates.
At a glance
- Editor score6.3 / 10
- PricingOpen source
- Best forRust teams needing CI-ready coverage gates
- Paid fromNone
- Coverage typesline, region, function, branch, MC/DC
- Facts checked20 Sep 2026

Where it wins
- Supports line, region, function, optional branch, and MC/DC coverage types
- Exports HTML, text, JSON, LCOV, Cobertura, and Codecov formats
- Works with GitHub Actions, GitLab CI, Codecov, and cargo-nextest
Where it doesn't
- Branch coverage and MC/DC are documented as unstable features
- C and C++ coverage is limited to code linked through Rust FFI
- Its workflow is centered on Cargo-based Rust projects
Our verdict on cargo-llvm-cov
cargo-llvm-cov is an open-source Cargo subcommand for measuring code coverage in Rust projects. It uses LLVM source-based instrumentation and can run cargo test, cargo run, or cargo-nextest workflows. The tool suits Rust teams that want coverage reporting during local development and continuous integration, especially when coverage thresholds and uncovered-item limits need to be part of a repeatable CI workflow. It also supports C and C++ coverage when that code is linked through Rust libraries or binaries via FFI.
Coverage depth and reporting breadth are major strengths. The published capabilities include line, region, function, optional branch, and MC/DC coverage types, along with merging coverage collected under different test conditions. Reports can be exported as HTML, text, JSON, LCOV, Cobertura, or Codecov Custom Coverage. That range supports both readable local reports and downstream CI or coverage-service workflows. GitHub Actions, GitLab CI, Codecov, cargo-nextest, and VS Code are part of its surrounding integration fit, while Windows, macOS, and Linux support makes it suitable for varied development environments.
For teams adopting coverage gates, thresholds and uncovered-item limits provide direct control over pass or fail criteria. The open-source model keeps the tool available without commercial plan distinctions, and self-hosted use fits teams that want coverage processing within their own development or CI setup. The main boundary is scope: its workflow is built around Cargo and Rust, with C and C++ coverage tied to Rust FFI. Branch coverage and MC/DC are also documented as unstable features. Choose cargo-llvm-cov when Rust coverage depth, report flexibility, and CI controls matter; consider another tool when the primary need is broader language coverage outside Rust-linked C or C++.
cargo-llvm-cov pricing
cargo-llvm-cov fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | None |
| Coverage types | line, region, function, branch, MC/DC |
| Supported languages | Rust, C, C++ |
| Report formats | HTML, text, JSON, LCOV, Cobertura, Codecov Custom Coverage |
| Pull-request annotations | Not verified |
| Self-hosted option | Yes |
| Historical trends | Not verified |
| Coverage gates | Yes |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 5 integrations: GitHub Actions, GitLab CI, Codecov, cargo-nextest, VS Code |
| Pricing | Open source |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
cargo-llvm-cov integrations
cargo-llvm-cov lists 5 integrations on its own site.
- GitHub Actions
- GitLab CI
- Codecov
- cargo-nextest
- VS Code
Alternatives to cargo-llvm-cov
- CodecovA broad CI coverage platform with strong pull-request checks, analytics, and integrations.10.0
- CoverallsA mature coverage service for multi-language teams needing CI and pull-request visibility.9.2
- ReportGeneratorA flexible command-line coverage reporter with strong aggregation and history features.7.7
See all cargo-llvm-cov alternatives →
Used cargo-llvm-cov? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used cargo-llvm-cov for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
cargo-llvm-cov is listed in our Test Coverage Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/cargo-llvm-cov/"><img src="https://www.itechguides.com/best/badge/cargo-llvm-cov.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026
Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. It never changes a score or a verdict. How we rank.
Last updated · How we research and update


