What is JaCoCo?
It is a free code coverage library for Java, which has been created based on the lessons learned from using and integration existing libraries for many years.
JaCoCo is a tool in the Code Review category of a tech stack.
JaCoCo is an open source tool with 3.6K GitHub stars and 1K GitHub forks. Here’s a link to JaCoCo's open source repository on GitHub
Who uses JaCoCo?
14 companies reportedly use JaCoCo in their tech stacks, including RatePAY GmbH, JustChunks, and Microstrategy.
60 developers on StackShare have stated that they use JaCoCo.
Decisions about JaCoCo
Here are some stack decisions, common use cases and reviews by companies and developers who chose JaCoCo in their tech stack.
Scrayos UG (haftungsbeschränkt)
We use JaCoCo because it enables us to statically find missing test opportunities and improve our Test-Coverage, alongside PITest. While PITest performs mutation testing to dynamically and heuristically find missing test cases, JaCoCo finds lines of code that are not covered by the tests until now.
Both coverage tests are equally important for us and so JaCoCo has become an essential part of our build pipeline.
JaCoCo Alternatives & Comparisons
What are some alternatives to JaCoCo?
See all alternatives
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.