IntelliJ IDEA 2022.1 Help

Code coverage

Code coverage in IntelliJ IDEA allows you to see the extent to which your code has been executed. It also lets you verify the extent to which your code is covered by unit tests, so that you can estimate how effective these tests are.

Code coverage results

The following code coverage runners are available in IntelliJ IDEA:

  • IntelliJ IDEA code coverage runner (recommended)

  • EMMA

    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 is turned off (pass -noverify to the process).

  • JaCoCo

Read in this section:

Last modified: 10 August 2022