User Guide

EclEmma records which parts of your Java code are executed during a particular program launch. Therefore coverage analysis always involves two steps:

  1. Run the program
  2. Analyze coverage data

For reproducible results the launched programs are typically automated tests like JUnit tests.

Running a coverage analysis is as simple as pressing a single button like the existing Run and Debug buttons. The coverage results are automatically summarized in the Coverage view and highlighted in the Java editors.