Popularity
5.9
Declining
Activity
3.6
Declining
775
86
240

Description

Cobertura is a free Java code coverage reporting tool. It is based on jcoverage 1.0.5. See the Cobertura web page and wiki for more details.

Since 2.0.0, Cobertura versions follow the Semantic versioning guidelines.

Code Quality Rank: L3
Programming language: Java
Tags: Code Coverage    
Latest version: v2.1.1

Cobertura alternatives and similar libraries

Based on the "Code Coverage" category

  • JaCoCo

    Framework that enables collection of code coverage metrics, using both offline and runtime bytecode instrumentation; prominently used by EclEmma, the Eclipse code-coverage plugin.
  • Clover

    Proprietary code coverage tool by Atlassian that relies on source-code instrumentation, instead of bytecode instrumentation.
  • JCov

    Code coverage tool used in the OpenJDK project's development toolchain.

Do you think we are missing an alternative of Cobertura or a related project?

Add another 'Code Coverage' Library

README

COBERTURA

Build Status

ABOUT

Cobertura is a free Java code coverage reporting tool. It is based on jcoverage 1.0.5. See the Cobertura web page and wiki for more details.

Since 2.0.0, Cobertura versions follow the Semantic versioning guidelines.

DOWNLOAD

You can download Cobertura from The Central Repository. That includes the distributions for stand-alone command line usage.

To use it as Maven dependency, you can use the following snippet:

<dependency>
    <groupId>net.sourceforge.cobertura</groupId>
    <artifactId>cobertura</artifactId>
    <version>2.1.1</version>
    <scope>test</scope>
</dependency>

Code in the net.sourceforge.cobertura.javancss package is Copyright (C) 2000 Chr. Clemens Lee

See the included file "LICENSE.txt"

LICENSE

Cobertura is free software. Most of it is licensed under the GNU GPL, and you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Please review the file LICENSE.txt included in this distribution for further details. Parts of Cobertura are licensed under the Apache Software License, Version 1.1.

WARRANTY

Cobertura is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

CONVENTIONS

Before committing

  • check all tests pass
  • build the project, so that all code gets uniformly indented. A Maven plugin ensures this.

MAVEN MIGRATION NOTES

  • How do we get a good blame while all files were moved?

Use "git blame --follow" nameOfFile.java

Cobertura is built on Travis-CI.


*Note that all licence references and agreements mentioned in the Cobertura README section above are relevant to that project's source code only.