It sounds like the Cobertura team has added some nice features to the 1.9 release. If you've not used a code coverage tool before, you should take a look. It's open source (so the price is right) and it'll show you exactly what your test code is (isn't) doing, which is the first step to improving your tests.
Thanks to John Lewis for letting me know about the latest release.
From the Cobertura Sourceforge page page:
We've released Cobertura 1.9! There is much improved
branch/conditional coverage and a new maxmemory attribute that can
be used if instrumentation needs more memory. See below
for the full list of changes.
-
Much improved branch/conditional coverage. Information on whether
the true as well as the false of an if statement is
collected. Also, information on the branches of a
switch statement (including the default) is collected.
(Jiří Mareš)
-
Assume Java source files are saved as UTF-8 instead of
the computer's default encoding.
-
Write all HTML and XML reports in UTF-8 instead of the
computer's default encoding (Naoki Iwami).
-
Fix a bug where the Cobertura ant tasks would not work
correctly in Microsoft Windows when Cobertura was
installed on a different drive than the drive from which
you're running ant (Srivathsan Varadarajan).
-
Added a "maxmemory" attribute to the instrument, merge
and report ant tasks (Matt Cordes).
-
Improve support for Maven and similar environments where
control over system properties is difficult such as
app servers, IoC containers, IDEs, etc. Setting the
datafile location is difficult in these environments.
To correct this, a cobertura.properties file
located in the classpath is used to properly set the
net.sourceforge.cobertura.datafile property.
(Joakim Erdfelt)