EclEmma Java Code Coverage Tool

EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. It brings code coverage analysis directly into the Eclipse workbench:

Since version 2.0 EclEmma is based on the JaCoCo code coverage library. The Eclipse integration has its focus on supporting the individual developer in an highly interactive way. For automated builds please refer to JaCoCo documentation for integrations with other tools.

Originally EclEmma was inspired by and technically based on the great EMMA library developed by Vlad Roubtsov.

Feature Overview

Launching

EclEmma adds a so-called launch mode to the Eclipse workbench. It is called Coverage mode and works exactly like the existing Run and Debug modes. The Coverage launch mode can be activated from the Run menu or the workbench's toolbar:

Launch Toolbar

Simply launch your applications or unit tests in the Coverage mode to collect coverage information. Currently the following launch types are supported:

Analysis

On request or after your target application has terminated code coverage information is automatically available in the Eclipse workbench:

Additional features support analysis for your test coverage:

Import/Export

While EclEmma is primarily designed for test runs and analysis within the Eclipse workbench, it provides some import/export features.