Skip to content
SPECIFICTION
Get listed

c8 vs cargo-llvm-cov

c8

github.com

cargo-llvm-cov

github.com

Side by side

Figurec8cargo-llvm-cov
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Plans published11
Spec score · Test Coverage Tools7.7 (#11)8.1 (#8)
InstallationThe README shows installing c8 globally with npm and running it with a Node.js script.It can be installed from source with Cargo, as a prebuilt release binary, through GitHub Actions, Homebrew, Scoop, cargo-binstall, pacman, or FreeBSD ports.
LicenseThe repository identifies its license as ISC.The project is available under either the Apache License 2.0 or the MIT License, at the user's option.
Purposec8 produces code coverage reports using Node.js’ built-in V8 coverage.cargo-llvm-cov is a Cargo subcommand that wraps rustc’s LLVM source-based code coverage instrumentation.
Report formatsThe README documents Istanbul-compatible reporters and an experimental Monocart option with v8 and console-details reporters.Coverage reports can be generated as text, HTML, JSON, LCOV, Cobertura XML, or Codecov Custom Coverage format.

Plans

c8

  • c8Free

c8 pricing →

cargo-llvm-cov

  • Free / open sourceFree

cargo-llvm-cov pricing →

In their own words

c8

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

Visit github.com

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