Coverage Statistics view

The Coverage Statistics view displays the method level coverage information for a selected type of object.

 

Displays

This view is made of a table where the first column presents the list of items.
First node is always a summary of all the collected coverage information. It gives an overall rate for method coverage of the loaded classes.

Three display modes are available depending on what is shown in the first column:

These modes have an effect on sorting and filtering actions but not on the rates displayed for each level. In Class mode, the second column shows its package. In Method mode, the second column shows its class and the third its package.

Depending on the kind of item of the first column that is selected, the following information is displayed in the following columns:

  Summary Package Class Method
Calls

The number of method calls.

A global sum for all the loaded classes Accumulated by package for the loaded classes Accumulated by class Count
Methods missed

The number of methods that have not been exercised.

A global sum for all the loaded classes Accumulated by package for the loaded classes Accumulated by class
 
missed or empty
Methods hit

The number of methods that have been exercised.

A global sum for all the loaded classes Accumulated by package for the loaded classes

 
Accumulated by class empty or hit
% Methods hit

 The rate between the two numbers above.

A global rate for all the loaded classes A rate for the loaded classes of each package A rate by class  empty

 

Controls

The following controls are available in the Coverage Statistics view.

 

Toolbar controls

 

Filtering

The view provides filtering based on name. Use the Filter field to specify a string pattern that will be applied on the list of packages, classes or methods, displayed at the first level of the tree in the first column (depending on the mode you selected). For example, filter all the packages starting with java* in the package mode.

 

Column controls

Click the title of a column to sort it. Click the title of the column again to sort it in reverse order. The title of the column is prefixed with < if the column is sorted in ascending order or with > if it is sorted in descending order.
Columns can be hidden or shown.
Also a Choose Columns pop-up menu item is available to select which columns should be hidden and visible and their relative order

Related concepts
Overview of the Profiling tool
Profiling resources  

Related tasks
Profiling an application

>