Side by side
gcovr vs OpenClover
Both stand on test coverage tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan LinuxMacWindows
Choose gcovr when a C or C++ project needs summarized gcov results in formats such as Cobertura, JaCoCo, or SonarQube. Look elsewhere if your coverage workflow depends on achieving 100% branch coverage, since GCC arc data can include compiler-generated branches.
Visit gcovr Free plan LinuxMacWeb+1
OpenClover combines multiple coverage views, configurable metrics and report formats with tools for test selection. Check the Groovy IDE limitation and the supported runtime versions against your setup.
Visit OpenCloverThe facts
| gcovr | OpenClover | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux, Mac, Windows | Linux, Mac, Web, Windows |
| Lowest paid plan | Not published | Free or on request |
| Plans published | None | 1 |
| Maker | Not published | Not published |
| Website | gcovr.com | openclover.org |
| On test coverage tools | #15 of 27 | #11 of 27 |
gcovr: what it does well
- Produces reports in text, HTML, CSV, JSON, Markdown, and several XML formats.
- HTML output includes overview and annotated-source report options.
- Cobertura output works with Jenkins and Hudson coverage plugins.
- SonarQube and JaCoCo formats carry coverage counters.
- BSD 3-Clause License permits redistribution subject to its conditions.
What to know first
- Requires Python 3.10 or newer.
- Branch coverage may include compiler-generated branches.
- 100% branch coverage is impossible for most programs.
OpenClover: what it does well
- Tracks method, statement and branch coverage.
- Offers more than 20 built-in code metrics.
- Exports reports in five formats.
- Can identify tests to rerun after class changes.
- Supports JUnit, TestNG and Spock.
What to know first
- Groovy is unsupported in Eclipse and IntelliJ integrations.
- Community support replies typically take a few days.
Alternatives to gcovr Alternatives to OpenClover The whole list