Side by side
JaCoCo vs OpenCppCoverage
Both stand on code 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 API
Choose JaCoCo if you need a free library to measure Java code coverage and create reports through Ant or Maven. It supports a range of coverage metrics and integrations. Account for the debug information needed for line reporting and the unauthenticated agent interfaces when deciding how to configure it.
Visit JaCoCo Paid
Visit OpenCppCoverage The facts
| JaCoCo | OpenCppCoverage | |
|---|---|---|
| Free plan | Yes | Not published |
| Open source | Not published | Not published |
| Runs on | API | Not published |
| Lowest paid plan | Free or on request | Not published |
| Plans published | 1 | None |
| Maker | Not published | OpenCppCoverage contributors |
| Website | jacoco.org | github.com |
| On code coverage tools | #6 of 10 | #10 of 10 |
JaCoCo: what it does well
- Free Java code coverage library under EPL 2.0.
- Measures instruction, branch, line, method, class, and complexity coverage.
- Generates reports in HTML, XML, and CSV.
- Includes Ant tasks and a Maven plug-in.
- Integration matrix includes Gradle, Jenkins, SonarQube, and other tools.
What to know first
- Runtime and tools require Java 1.5 or higher.
- Line coverage and source highlighting need debug line information.
- Agent TCP connections and JMX have no authentication.
- Java 28 support is experimental.
OpenCppCoverage: what it does well
Alternatives to JaCoCo Alternatives to OpenCppCoverage The whole list