Archive for April 2010

Java Code Coverage

I haven’t done an exhaustive analysis by any stretch of the imagination, but after trying out EMMA – http://emma.sourceforge.net/ and Cobertura – http://cobertura.sourceforge.net/index.html

The clear winner is Cobertura for the following reasons:

  • Ant targets are easier to use and don’t generate errors in Intellij (a minor thing but highly annoying)
  • It is much easier to exclude test classes
  • The output generated is vastly superior if not more voluminous
  • Better but still sparse documentation