Code coverage results are organized in the results view.
This view opens automatically after a run or you can open it manually
from the Open View menu or the Code
Coverage icon on the toolbar. Results are grouped by the
type of code coverage result or the location where results are stored.
Information is displayed for Name, Status, Coverage, Level, Analyzed
Date, and Additional information.
Right-click a result to open a report, generate a report, compare
results, merge results, and more. When you open a report for further
analysis, for most report types the information is displayed in the
editor area above the results view.
The following result groups are available:
- Compiled Code Coverage
- Results for compiled languages such as COBOL or
RPG.
- JUnit Code Coverage
- Results for JUnit tests that use the test runner JUnit
4 with Enhanced Code Coverage.
- Java Code Coverage
- Java, JUnit 3, and JUnit 4 tests.
- Local result locations
- By default, results are stored in the workspace. But if you have
configured a local result location outside of your workspace, the
results stored there will be displayed in the section with the icon
.
- Remote result locations
- By default, results are stored in the workspace. But if you have
configured a remote result location on another system, the results
stored there will be displayed in the section with the icon
.
Information columns display general information for a result:
- Name
- By default, the name is based on the name of the program tested.
Depending on the result type, it may include a time stamp.
- Status
- For compiled code coverage results, a pass or fail icon is displayed
for the result. In the preferences, you can configure the coverage
threshold required to pass.
- Coverage
- By default the percentage of lines covered is displayed. You can
also set a configuration so that results are based on the procedure
or program rather than line.
- Level
- Level in the program that results are based on. For example Line
or Procedure.
- Analyzed Date
- Date of the analysis.
- Additional Information
- Any additional information.