cobertura

Description

Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.

Features:

  • Can be executed from ant or from the command line.
  • Instruments Java bytecode after it has been compiled.
  • Can generate reports in HTML or XML.
  • Shows percent of lines coveraged and branches coveraged for each
class, package, and for the overall project.
  • Shows the McCabe cyclomatic code complexity of each class, and
the average cyclomatic code complexity for each package, and for the overall product.
  • Can sort HTML results by class name, percent of lines covered,
percent of branches covered, etc. And can sort in ascending or decending order.

NOTE: Due to asm version conflicts, if you use Cobertura as an ant task you MUST add manually a classpath element

to all Cobertura tasks requiring bytecode manipulation.

NOTE: This version does NOT contain the cyclomatic code complexity code because the javancss dependency cannot currently be rebuilt from source.

Application availability

This application is available from the following Mandriva media:

cooker x86_64 contrib-release - View package information
2008.0 i586 contrib-release - View package information
2008.0 x86_64 contrib-release - View package information
cooker i586 contrib-release - View package information

rpms - Mandriva RPMS
Version 1.7 last modified by Arkub on 02/04/2007 at 08:28

 


en

RSS

Creator: Arkub on 2007/03/31 23:53
(c) Mandriva 2007
18888888