Skip to content
SPECIFICTION
Get listed

gcov vs Tarpaulin

gcov

gcc.gnu.org

Tarpaulin

github.com

Side by side

FiguregcovTarpaulin
Price fromFree—
Free planYes—
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hosted—Yes
Plans published10
Spec score · Test Coverage Tools8.5 (#5)6.9 (#24)
Branch coverageThe --branch-probabilities option reports branch frequencies in the output file and branch summary information on standard output.The CLI help labels branch coverage as not implemented.
Purposegcov is a test coverage program used with GCC to find untested parts of programs and guide code optimization.Tarpaulin is a code coverage reporting tool for Rust projects using the Cargo build system.
SupportThe GCC project directs users to its manuals and the gcc-help mailing list for usage questions.The README welcomes issues, feature requests, and pull requests, and points users to troubleshooting guidance.

Plans

gcov

  • gcovFree

gcov pricing →

Tarpaulin

No plans published.

Tarpaulin pricing →

In their own words

gcov

gcov is a free test coverage tool used with GCC to show how program code runs during testing. It reports which source lines execute and how often, producing per-line counts in `.gcov` files. Reports can include line, function, branch, condition, prime-path, and basic-block coverage. Options can report branch frequencies, show whether conditions independently affect a Boolean expression’s result, or filter reports to functions matching regular expressions. Output is available as `.gcov` text or gzip-compressed JSON; JSON generation does not require source code. The GCC documentation also describes using gcov with gprof to assess computing time, while warning that optimization can combine source lines and reduce hotspot detail. Before coverage reporting, programs must be compiled with GCC’s `--coverage` option. gcov works only with GCC-compiled code and is not compatible with other profiling or test coverage mechanisms. It runs on Linux, macOS, and Windows, supports the listed languages from C and C++ to Ada, D, and Go, and is self-hosted.

Visit gcc.gnu.org

Tarpaulin

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

Visit github.com