On 2011-10-26, Gary Gregory wrote:

> in trunk now, the following have 0% code coverage according to
> Cobertura:

> - Lister

really only a demo-class.

> - DumpArchiveConstants: How can it have 0% when it is used? Does Cobertura
> know how to deal with enums?

It outer class doesn't have any methods, the inner classes are reported
separately - and it is quite possible the untested code actually doesn't
get used at all (the find methods seem to be unused).

> - ZipConstants: Same oddity as above?

No methods at all, only a private constructor to prevent instantiation
of the utility class.

> The trunk POM uses cobertura-maven-plugin 2.2 (= Cobertura 1.9) and not the
> latest 2.5.1 (= Cobertura 1.9.4.1).

> With the latest plugin, the number are a little worse overall and for some
> classes a little better. The report is more detailed with other classes,
> with some annon inner classes (...$1) added for example.

> I've updated the POM in SVN trunk.

+1, thank you.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to