cobertura - Free Java tool that calculates the percentage of code accessed by tests

Property Value
Distribution RPM Universal
Repository JPackage 6.0 all
Package name cobertura
Package version
Package release 4.jpp6
Package architecture noarch
Package type rpm
Installed size 3.09 MB
Download size 2.92 MB
Official Mirror
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.
* 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.


Package Version Architecture Repository
cobertura-1.9-11.jpp5.noarch.rpm 1.9 noarch JPackage 5.0
cobertura - - -


Name Value
ant -
config(cobertura) =
jakarta-oro -
java >= 1.5.0
jpackage-utils -
log4j -
objectweb-asm >= 3.1


Name Value
cobertura =
config(cobertura) =


Type URL
Binary Package cobertura-
Source Package cobertura-

Install Howto

Fedora, CentOS, RHEL:
  1. Download latest jpackage-release rpm from
  2. Install jpackage-release rpm:
    # rpm -Uvh jpackage-release*rpm
  3. Install cobertura rpm package:
    # yum install cobertura
  1. Add the JPackage 6.0 repository:
    # zypper addrepo jpackage-6.0
  2. Install cobertura rpm package:
    # zypper install cobertura
Mandriva, Mageia:
  1. Add the JPackage 6.0 repository:
    # urpmi.addmedia jpackage-6.0 with
  2. Update packages list:
    # urpmi.update -a
  3. Install cobertura rpm package:
    # urpmi cobertura




2011-06-17 - David Walluck <> 0:
- install all jars
- fix asm classes for ant task
2011-06-17 - David Walluck <> 0:
- fix classes for ant task
- remove GCJ support
2011-02-15 - David Walluck <> 0:
- change asm groupId in poms
2011-02-15 - David Walluck <> 0:
2009-11-21 - Ralph Apel <> 0:1.9.3-2
- Fix typo in pom
2009-10-12 - David Walluck <> 0:1.9.3-1
- 1.9.3
- update poms
- use custom scripts
- fix script names
2009-04-03 - Ralph Apel <> 0:1.9-11.jpp5
- Fix and extend depmap frag
2008-11-05 - David Walluck <> 0:1.9-10
- build for JPackage 5
- bump release to supersede Mandriva release number
2007-07-20 - Ralph Apel <r.apel at> 0:1.9-2jpp
- Add cobertura-runtime pseudo pom
2007-07-20 - Ralph Apel <r.apel at> 0:1.9-1jpp
- Upgrade to 1.9
- javancss not needed any more, (B)R dropped
- gnu-getopt not needed any more, (B)R dropped
- Add scripts
- Add depmap frag

See Also

Package Description
cobertura-javadoc- Javadoc for cobertura
cobertura-maven-plugin-2.4-3.jpp6.noarch.rpm Cobertura Maven Plugin
cobertura-maven-plugin-javadoc-2.4-3.jpp6.noarch.rpm Javadoc for cobertura-maven-plugin
cocoon-serializers-charsets-javadoc-1.0.2-1.jpp6.noarch.rpm Javadoc for cocoon-serializers-charsets
cocoon-wildcardhelper-2.1.9-1.jpp6.noarch.rpm Cocoon Wildcard Helper
cocoon-wildcardhelper-javadoc-2.1.9-1.jpp6.noarch.rpm Javadoc for cocoon-wildcardhelper
codehaus-parent-3-1.jpp6.noarch.rpm Codehaus Parent
codehaus-parent-repolib-3-1.jpp6.noarch.rpm Artifacts to be uploaded to a repository library
codehaus-stax-1.2.0-1.jpp6.noarch.rpm Streaming API for XML
codehaus-stax-api-1.2.0-1.jpp6.noarch.rpm The StAX API
codehaus-stax-demo-1.2.0-1.jpp6.noarch.rpm Demo for codehaus-stax
codehaus-stax-javadoc-1.2.0-1.jpp6.noarch.rpm Javadoc for codehaus-stax
codehaus-stax-repolib-1.2.0-1.jpp6.noarch.rpm Artifacts to be uploaded to a repository library
codehaus-stax11-1.1.2-3.jpp6.noarch.rpm Streaming API for XML
codehaus-stax11-api-1.1.2-3.jpp6.noarch.rpm The StAX API