Open Source Tools available.
First search.
- Jumble - http://jumble.sourceforge.net/
- Quilt - http://quilt.sourceforge.net/
- Coverlipse - http://coverlipse.sourceforge.net/index.php
- Xradar - http://xradar.sourceforge.net
- Sonar - http://sonar.hortis.ch/features/
Interesting.
- Findbugs and Junit - http://cs.ubc.ca/~ericazhj/papers/pl.pdf
Example.
Add at the end of the top level pom.xml there is a section for reoprting, expand as shown next
<reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <aggregate>true</aggregate> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <configuration> <formats> <format>xml</format> <format>html</format> </formats> </configuration> </plugin> </plugins> </reporting>
Next run mvn cobertura:cobertura.
Under the directories target/site is the beginning of the report.