Java code coverage tools

JCov is distributed under the terms of the GNU General Public License (version 2, with the Classpath Exception).

[15] OpenClover uses source code instrumentation technique and handles Java, Groovy and AspectJ languages.

Some of its features include: fine control over scope of coverage measurement, test optimisation and sophisticated reports.

OpenClover integrates with Ant, Maven, Gradle, Grails, Eclipse, IntelliJ IDEA, Bamboo, Jenkins, Hudson, Griffon, SonarQube and AspectJ.

[17] Clover is a Java code coverage analysis utility bought and further developed by Atlassian.

[18] Some of its features include historical reporting, huge control over the coverage gathering process, command line toolset and API for legacy integration and more.

Clover comes with a number of integrations both developed by Atlassian (Ant, Maven, Grails, Eclipse, IDEA, Bamboo) and by open source community (Gradle, Griffon, Jenkins, Hudson, Sonar).

It also generates easy-to-understand reports that describe what the application does and how it works, including which tests were run and what requirements were met.

Major code metrics such as cyclometric complexity, stability, abstractness, and distance from main are measured.

Serenity dynamically enhances the byte code, making a post-compile step unnecessary.