Code coverage monitoring user interface reference

Use these views to detect untested lines and methods in your application.

The views are part of the Profiling and Logging perspective, which can be used to analyze run-time problems.

The Coverage Statistics view for line and method coverage data
The Coverage Statistics view displays, in tabular format, coverage data for each package, class, and method in a profiling resource. Coverage data for each line of code can also be displayed, but only if the data was collected using a profiling set that included the Method and Line Code Coverage profiling type.

The Coverage Navigator view
The Coverage Navigator view displays, in tree format, an overview of line-level code coverage for each package, class, and method in a profiling resource, as well as a summary for the entire resource.

The Annotated Source view, source code with annotations display
The coverage source code display of the Annotated Source view includes a copy of the source code marked with line-level coverage annotations.

The Annotated Source view, source data display
The coverage source data display of the Annotated Source window consists of pie charts that show line coverage statistics for classes and methods, and tables that provide coverage data for each line.

The coverage data Preferences pages
Use the Annotated Source Preferences page and its dependent Graphical Styles and Source Styles Preferences pages to change the default appearance of the Annotated Source view.

Method Event and Pattern Editor dialog box
Use the Method Event and Pattern Editor dialog box to define events for flushing coverage data to the profiling resource.

Method and Line Code Coverage page, Edit Profiling Set dialog box
The Method and Line Code Coverage page lets you select options for the Method and Line Code Coverage profiling type.

 

Parent topic

Run-time problem determination user interface reference