Skip to content
SPECIFICTION
Get listed

cargo-llvm-cov vs Go cover

cargo-llvm-cov

github.com

Go cover

go.dev

Side by side

Figurecargo-llvm-covGo cover
Price fromFree—
Free planYes—
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published10
Spec score · Test Coverage Tools8.1 (#8)5.8 (#26)

Plans

cargo-llvm-cov

  • Free / open sourceFree

cargo-llvm-cov pricing →

Go cover

No plans published.

Go cover pricing →

In their own words

cargo-llvm-cov

cargo-llvm-cov is a Cargo subcommand that uses rustc’s LLVM source-based instrumentation to generate code coverage reports. It works with cargo test, cargo run, and cargo nextest through a Cargo-compatible command-line interface, and supports proc-macro UI tests. Line and region coverage are available; branch coverage is optional and requires nightly Rust. Doc-test coverage is also optional and requires nightly features. Reports can be generated as text, HTML, JSON, LCOV, Cobertura XML, or Codecov Custom Coverage format. The project provides GitHub Actions examples for uploading reports to Codecov and a GitLab CI example using Cobertura output. LCOV results can be viewed in VS Code with the Coverage Gutters extension. With compatible Clang and LLVM tools configured, the tool can include C and C++ code linked to a Rust library or binary. It supports Linux, macOS, and Windows, and is licensed under either Apache-2.0 or MIT at the user's choice. Installation requires rustc 1.87 or newer, while running it requires Cargo 1.60 or newer. Branch and doc-test coverage are unstable and have known issues, respectively.

Visit github.com

Go cover

Go cover has no write-up on Specifiction yet; its figures are above.

Visit go.dev