Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

JaCoCo

jacoco.org

  • Free plan
  • API
6.7 Club score Visit jacoco.org

What JaCoCo is

JaCoCo is a free API library for measuring code coverage in Java and Java VM-based environments. It analyzes instruction, branch, line, method, type, class, and cyclomatic-complexity coverage. A Java agent instruments class files as they load without depending on the application framework. Reports can be produced in HTML, XML, and CSV formats. Ant tasks and a Maven plug-in collect execution data and create reports, while listed integrations include Gradle, Eclipse, IntelliJ IDEA, Jenkins, SonarQube, and TeamCity. JaCoCo officially supports Java class files from versions 1.0 through 27 and experimentally supports 28; its runtime and tools require Java 1.5 or newer. Line coverage and source highlighting need debug information with line numbers. The Eclipse Public License 2.0 applies unless otherwise indicated. The volunteer project does not promise release dates.

Who it suits

It suits Java and JVM developers who need coverage metrics, report generation, or build-tool integration. Teams should review agent exposure and compile classes with line-number debug information for line reports.

Good to know, and what to watch

  • Free library under EPL 2.0
  • Measures multiple coverage types
  • Generates HTML, XML, and CSV reports
  • Provides Ant and Maven tooling
  • Integrates with major development tools
  • Line reports require debug line information
  • Agent interfaces have no authentication
  • Untrusted exposure may reveal application information
  • Release dates are not guaranteed

Free

Free

Free plan

The verdict

JaCoCo supplies broad Java coverage measurement with common build and CI integrations. Its reporting prerequisites and unauthenticated agent interfaces require attention during setup and deployment.

What the maker publishes

Build tools
JaCoCo provides Ant tasks and a Maven plug-in for collecting execution data and creating reports. source
Coverage metrics
It analyzes instruction, branch, line, method, type, and cyclomatic complexity coverage. source
Instrumentation
Its Java agent instruments class files on the fly as they are loaded, independently of the application framework. source
Integrations
The integration matrix lists tools including Gradle, Eclipse, IntelliJ IDEA, Jenkins, SonarQube, and TeamCity. source
Java support
JaCoCo officially supports Java class files from version 1.0 to 27 and experimentally supports version 28; its runtime and tools require Java 1.5 or higher. source
License
The library and its included documentation are made available under the Eclipse Public License 2.0, except where otherwise indicated. source
Purpose
JaCoCo is a code coverage library for Java and Java VM based environments. source
Release schedule
The project says it is maintained by volunteers in their free time and does not commit to particular release dates. source
Report requirement
Line coverage and source highlighting require class files compiled with debug information containing line numbers. source
Reports
It can create coverage reports in HTML, XML, and CSV formats. source
Security
The agent’s TCP connections and JMX interface have no authentication, and the documentation warns that exposing them to untrusted sources may reveal application information or permit denial-of-service attacks. source
Support
The project directs users to its public JaCoCo and EclEmma user group for feedback and questions. source

Checked against the maker's pages on 4 Oct 2026.