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.
A small bar graph to the left of each entry in the Coverage Navigator shows the percentage
of line-level coverage for the entry. The segment on the left, colored green
by default, represents the lines that were exercised. The segment on the right,
left uncolored by default, represents the lines that were not exercised. Pausing
the cursor over a bar graph displays a ToolTip specifying the exact percentage
of lines covered for that entry.
Symbol | Description |
---|---|
![]() |
Summary |
![]() |
Package |
|
Class |
|
Method |
|
Entry can be expanded with a click |
|
Entry can be collapsed with a click |
Toolbar button | Command | Description |
---|---|---|
|
Sort by Alphabetical Order |
Sorts entries within groups in ascending alphabetic order. A second click restores the initial sort order. The order is case-sensitive, with uppercase letters lower in the sorting order than lowercase letters. |
|
Sort by Coverage Rate |
Sorts entries within groups according to line-level coverage rates, with the least thoroughly covered items first. A second click restores the initial sort order. |
Pop-up menu |
Open Source |
Displays the source code, if available, for the selected item. Source code is available only if you are profiling a Java™ project that is currently open in the Java perspective. |