Using the Coverage View

The Coverage view automatically appears when a new coverage session is added or can manually opened from the Window → Show View menu in the Java category. It shows coverage summaries for the active session.

Coverage View

The Coverage view shows all analyzed Java elements within the common Java hierarchy. Individual columns contain the following numbers for the active session, always summarizing the child elements of the respective Java element:

The elements may be sorted in ascending or descending order by clicking the respective column header. Double-clicking an element opens its declaration in an editor with highlighted source code. You can select between different metrics, see last section for details.

Toolbar and Drop-Down Menu

Coverage View Tools

The coverage view's toolbar offers the following actions:

Some of the actions are deactivated if there is no session or only a single session. More settings are available form the coverage view's drop-down menu:

Coverage View Drop-Down Menu

Filtering

If you're working on a particular unit you can filter out all classes which have not been loaded during the test run. This filtering can be enabled with the Hide Unused Types menu entry in the Coverage view's drop-down menu.

Tip: Combine the Hide Unused Types option with types as root entries. This will give you a plain list of all classes loaded for your test case.