# Measuring production code coverage with JaCoCo

DevFeed: [Measuring production code coverage with JaCoCo](<https://devfeed.tech/articles/measuring-production-code-coverage-with-jacoco-37828.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/production-code-coverage-jacoco/>)

Author: Carlos Alexandro Becker

Published: 2017-03-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [Code](<https://devfeed.tech/topics/code.md>), [Java](<https://devfeed.tech/topics/java.md>), [Puppet](<https://devfeed.tech/topics/puppet.md>), [Maven](<https://devfeed.tech/topics/maven.md>)

Tags: [code-coverage](<https://devfeed.tech/tags/code-coverage.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [jacoco](<https://devfeed.tech/tags/jacoco.md>), [java](<https://devfeed.tech/tags/java.md>), [maven](<https://devfeed.tech/tags/maven.md>), [monolith](<https://devfeed.tech/tags/monolith.md>), [production](<https://devfeed.tech/tags/production.md>), [puppet](<https://devfeed.tech/tags/puppet.md>)

## AI overview

This tutorial explains how to use JaCoCo in a Java production environment to generate production code coverage reports. It describes instrumenting a production application server, collecting binary report files, and compiling them into HTML reports to identify code that is not executed.

## Source excerpt

Microservices is the new fancy way of doing applications. Yet, most companies still have big and old monoliths in production. In fast evolving software of this size, it's usual to have lines of code which are never executed in production. Production code coverage reports can help us find those lines.