nyc vs JaCoCo: open-source CI and reporting tools compared
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
Summary
nyc: Command-line client for Istanbul that collects JavaScript and TypeScript code coverage while test suites run.
JaCoCo: Code coverage library for Java with Maven, Ant and command line integrations.
Both are listed under CI and reporting. The table gives repository metrics from the GitHub API with their fetch date, then the documented facts used for every comparison in this category, each linked to the README or docs page it comes from. A cell reads "not documented" when the fact was not found in the project's documentation; that does not mean the feature is absent.
Side by side
| Fact | nyc | JaCoCo |
|---|---|---|
| Stars | 5,7591 | 4,6031 |
| Forks | 3621 | 1,1991 |
| Contributors | 1071 | 621 |
| Last release | 2026-02-221 | 2026-06-051 |
| Last commit | 2026-05-171 | 2026-09-151 |
| Commits in 90 days | 01 | 731 |
| License | ISC1 | EPL-2.01 |
| Primary language | JavaScript1 | Java1 |
| Status | slow1 | active1 |
| Languages or inputs covered | JavaScript (ES5, ES2015+); Babel and TypeScript through source maps source: README | Java code source: README |
| Framework integrations | tap, mocha, AVA source: README | Apache Ant, Apache Maven, Gradle, sbt, Arquillian, Eclipse, IntelliJ IDEA, NetBeans source: Docs: Integration Matrix |
| CI integration | Codecov upload guide with a Travis CI example source: Docs: Integrating with codecov.io | Jenkins, TeamCity, Azure DevOps and Shippable (third-party integrations) source: Docs: Integration Matrix |
| Report formats | clover, cobertura, html, json, json-summary, lcov, lcovonly, teamcity, text, text-lcov, text-summary source: Docs: Using Alternative Reporters | HTML, XML, CSV source: Docs: Command Line Interface |
| Install method | npm or yarn dev dependency (npm i -D nyc) source: README | Maven plug-in org.jacoco:jacoco-maven-plugin source: Docs: Maven Plug-in |
1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.
When each fits
Written from each project's documented scope, not from preference. Neither tool is ranked.
nyc
Fits projects that measure test coverage of JavaScript code, including applications that spawn subprocesses; its README describes source-mapped coverage of Babel and TypeScript projects. source: README
JaCoCo
Fits projects that measure code coverage of Java programs; its docs describe Ant tasks that launch Java programs with execution recording and create coverage reports. source: Docs: Ant Tasks
More on these tools
Sources
- GitHub REST API: repository, read
- GitHub REST API: repository, read
- GitHub REST API: contributors, read
- GitHub REST API: contributors, read
- GitHub REST API: latest release, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- README, read
- README, read
- Docs: Integration Matrix, read
- Docs: Integrating with codecov.io, read
- Docs: Using Alternative Reporters, read
- Docs: Command Line Interface, read
- Docs: Maven Plug-in, read
- Docs: Ant Tasks, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.