NetBeans had a (great) plugin for Java 6 unit tests code coverage, for Ant based Java SE projects. This plugin was based on the EMMA library, which is not compatible with Java7.
Now, we have two solutions for Java 7 code coverage:
- for Maven based projects, check: NetBeans documentation on JaCoCo integration
- for Ant based projects, a new plugin has been developped: TikiOne JaCoCoverage. Based on JaCoCo, it simply provides code coverage feature for Ant based projects (Java Application, Java Library, Java Project with Existing Sources and NetBeans Modules are supported). Check:
TikiOne JaCoCoverage is free and open source (under LGPL licensing) and currently provides:
For NetBeans 7.3.