Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!



Package test results have failed.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 12/28/2015.

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.

To install Cobertura, run the following command from the command line or from PowerShell:

C:\> choco install cobertura

To upgrade Cobertura, run the following command from the command line or from PowerShell:

C:\> choco upgrade cobertura


  • tools\chocolateyInstall.ps1 Show
    $id  = "cobertura"
    $url = ""
    $tools   = Split-Path $MyInvocation.MyCommand.Definition
    $content = Split-Path $tools
    $pkg_home = Join-Path $content "cobertura-2.1.1"
    $check   = Join-Path $pkg_home "cobertura-check.bat"
    $instr   = Join-Path $pkg_home "cobertura-instrument.bat"
    $merge   = Join-Path $pkg_home "cobertura-merge.bat"
    $report  = Join-Path $pkg_home "cobertura-report.bat"
    Install-ChocolateyZipPackage -PackageName $id -Url $url -UnzipLocation $content
    Install-ChocolateyEnvironmentVariable -VariableName "COBERTURA_HOME" -VariableValue $pkg_home -VariableType "Machine"
    Install-BinFile -Name "cobertura-check" -Path $check
    Install-BinFile -Name "cobertura-instrument" -Path $instr
    Install-BinFile -Name "cobertura-merge" -Path $merge
    Install-BinFile -Name "cobertura-report" -Path $report
  • tools\chocolateyUninstall.ps1 Show
    $id  = "cobertura"
    $tools   = Split-Path $MyInvocation.MyCommand.Definition
    $content = Split-Path $tools
    $pkg_home = Join-Path $content "cobertura-2.1.1"
    $check   = Join-Path $pkg_home "cobertura-check.bat"
    $instr   = Join-Path $pkg_home "cobertura-instrument.bat"
    $merge   = Join-Path $pkg_home "cobertura-merge.bat"
    $report  = Join-Path $pkg_home "cobertura-report.bat"
    Uninstall-BinFile -Name "cobertura-check" -Path $check
    Uninstall-BinFile -Name "cobertura-instrument" -Path $instr
    Uninstall-BinFile -Name "cobertura-merge" -Path $merge
    Uninstall-BinFile -Name "cobertura-report" -Path $report

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)

  • Cobertura


Version History

Version Downloads Last updated Status

Discussion for the Cobertura Package

Ground rules:

  • This discussion is only about Cobertura and the Cobertura package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Cobertura, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.