Google
 
Web unafbapune.blogspot.com

Wednesday, November 02, 2005

 

Tools for Java Code Coverage

Clover works great but it's not free. Jcoverage is free but it doesn't work with JDK1.5 class files. Both the open source projects Emma and Cobertura look promising. For Ant and Maven integration, Cobertura seems easier. There is also a Cobertura Eclipse plugin, but I couldn't find one for Emma.

Comments:
There is no Cobertura Eclipse plugin as far as I can tell. The description in the link talks about Cobertura itself which doesn't appear to integrate with Eclipse.

It would be very useful if there was such a thing. If I had the time and the experience with Eclipse plugins I would write one.
 
There is a EMMA plugin for Elcipse, check http://www.eclemma.org.
 
I personally like EMMA.
There are EMMA plugins for all main IDEs, for example http://codecoverage.netbeans.org for NetBeans
 
ECL Emma does not analyze branching correctly. Cobertura is more powerful.

However why is there not a Cobertura plug-in for Eclipse!
 
Looks like the Emma plugin is still actively maintained. Version 1.3.2 was released 2008/07/15.
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?