# jacoco/jacoco

:microscope: Java Code Coverage Library

Repository: https://github.com/jacoco/jacoco
Canonical: https://ross.abutalabs.com/products/jacoco
Homepage: https://www.jacoco.org/jacoco
Language: Java
License: NOASSERTION
License Family: other
Topics: jacoco, coverage, java, kotlin, groovy, bytecode, instrumentation, java-agent, java-virtual-machine, java5, java11, java17, java21, java25, java26, java8
Last push: 2026-08-26T21:22:20+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 55, longevity 100
- inputs: {"age_days": 5169, "days_push": 7, "days_rel": 89, "gap_med": 214.5, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4601, forks 1198 (observed 2026-08-28T04:08:54.843474+00:00)

## What it is
JaCoCo is a free Java code coverage library that measures and reports code coverage via bytecode instrumentation through a Java agent, with integrations for Maven, Ant, CLI, and Eclipse (EclEmma). It supports Java, Kotlin, and Groovy on the JVM.

## Use cases
- measure test coverage of a Java project
- generate HTML/XML coverage reports from Maven builds
- enforce coverage thresholds in CI
- see which lines are covered while running tests in Eclipse
- instrument JVM apps for coverage via a Java agent

## When to choose
- you need code coverage metrics for Java/Kotlin/Groovy on the JVM
- you use Maven, Ant, Gradle, or Eclipse and want standard coverage reporting
- you need coverage data for SonarQube or CI quality gates

## When to avoid
- you need coverage for non-JVM languages
- you need runtime performance profiling rather than coverage

## Facets
- artifact type: library
- maturity: stable
- function: testing, developer-tools
- domain: testing, developer-tools
- platform: jvm, cli
- tags: code-coverage, java-agent, bytecode-instrumentation, maven-plugin, eclipse-plugin, kotlin, groovy, jvm

## Member repositories
- jacoco/jacoco (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:54.843474+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:47.095158+00:00, confidence not recorded.
  - readme: https://github.com/jacoco/jacoco (fetched 2026-08-28T04:08:54.843474+00:00, sha b211afe5e4b8)
  - homepage: https://www.jacoco.org/jacoco (fetched 2026-08-29T09:04:51.293810+00:00, sha eff9c8dd92c3)
  - site_page: https://www.jacoco.org/installation.html (fetched 2026-08-29T09:04:51.302992+00:00, sha 4a41c3ac6407)
  - site_page: http://www.jacoco.org/jacoco/trunk/doc (fetched 2026-08-29T09:04:51.304947+00:00, sha a7253f1fda69)
- Data as of 2026-08-30T08:39:29.467469+00:00.
