OpenClover

OpenClover

OpenClover is an open-source code coverage tool for Java applications. It can generate code coverage reports to show the degree to which the source code is being tested by unit tests. Useful for improving test quality.
OpenClover screenshot

OpenClover: Open-Source Code Coverage Tool for Java Applications

OpenClover is an open-source code coverage tool for Java applications. It can generate code coverage reports to show the degree to which the source code is being tested by unit tests. Useful for improving test quality.

What is OpenClover?

OpenClover is an open-source code coverage tool for Java applications. It is used to measure how much of the code in a Java program is executed or tested when running automated tests. This helps developers understand which parts of the application code may not be sufficiently tested.

When running tests with OpenClover, it will instrument the application code to add tracking so it can monitor code execution. After the tests complete, it generates coverage reports showing statistics like percentage of code statements, branches, methods, classes that were invoked during testing. The reports help identify gaps in test coverage so developers can prioritize writing additional tests.

Key features include:

  • Integration with build tools like Maven and Gradle
  • Line-by-line code highlighting to pinpoint untested code
  • Method-by-method reporting
  • SVG, HTML and XML reports
  • Customizable rules to exclude irrelevant code
  • Support for Groovy code coverage
  • Open source under the Eclipse license

Overall, OpenClover provides invaluable visibility into code quality and test coverage to drive testing improvement and more robust Java applications.

OpenClover Features

Features

  1. Code coverage measurement for Java code
  2. Integration with build tools like Maven and Gradle
  3. HTML reports to visualize code coverage
  4. XML reports that can be parsed by other tools
  5. Ability to drill down into code to see line coverage
  6. Command line interface
  7. Plug-in available for Eclipse and IntelliJ IDEA

Pricing

  • Open Source

Pros

Free and open source

Widely used and well-supported

Integrates seamlessly into build process

Provides detailed reports on code coverage

Helps improve test quality

Cons

Setup can be complex

Reports can get very large for big projects

Only supports Java code

Lacks some advanced features found in commercial tools

Reviews & Ratings

Login to Review
No reviews yet

Be the first to share your experience with OpenClover!

Login to Review

The Best OpenClover Alternatives

Top Development and Code Coverage and other similar apps like OpenClover


Cobertura icon

Cobertura

Cobertura is an open source code coverage tool for Java programs. It calculates the percentage of code that is executed or accessed by automated tests and generates detailed reports highlighting code that lacks adequate test coverage. This helps developers understand which parts of the codebase may need additional testing.Some key...
Cobertura image
EclEmma icon

EclEmma

EclEmma is a free, open source Java code coverage tool for Eclipse. It is used by developers to measure and report on code coverage in Java projects within the Eclipse IDE.EclEmma shows which lines of code have been executed during runtime. It visually highlights covered and uncovered code using different...
EclEmma image
Atlassian Clover icon

Atlassian Clover

Atlassian Clover is a code coverage tool designed specifically for Java applications. It integrates tightly with build tools like Maven and Gradle to provide statement, branch, and method coverage metrics right within the developer's workflow.A key benefit of Clover is that it enables developers to easily visualize code coverage data...
Atlassian Clover image
Coverlipse icon

Coverlipse

Coverlipse is an open-source code coverage tool designed specifically for use with Eclipse and Java applications. It allows developers to measure and monitor code coverage of their JUnit tests to ensure thorough test suites.Some key features of Coverlipse include:Statement, branch, and MC/DC coverage metricsIntegrated with JUnit test frameworkCoverage highlighting in...
Coverlipse image
CodeCover icon

CodeCover

CodeCover is an open source automated software testing tool used for measuring code coverage of C, C++, Java and C# programs. It generates detailed code coverage reports to quantitatively analyze how much of the source code is executed and tested by a test suite.Some key features of CodeCover include:Detailed reporting...