IntelliJ IDEA 2020.2 Help

Code coverage

Code coverage allows you to see how much of your code is being executed during unit tests, so you can understand how effective these tests are.

The following code coverage runners are available in IntelliJ IDEA:

  • IntelliJ IDEA code coverage runner (recommended).

  • EMMA is an open-source toolkit. Note that EMMA is not supported by the author any more, and works with Java 7 only when frame validation turned off (pass -noverify to the process).

  • JaCoCo.

Read in this section:

Last modified: 11 November 2020