background image
<< Additional Statements | Test by Test Analysis Mode >>
<< Additional Statements | Test by Test Analysis Mode >>

To open a Code Coverage report

Runtime Analysis
·
A Rates Report, providing detailed coverage rates for each activated coverage
type.
You can use the Report Explorer to navigate through the report. Click a source code
component in the Report Explorer to go to the corresponding line in the Report
Viewer.
You can jump directly to the next or previous Failed test in the report by using the
Next Failed Test or Previous Failed Test buttons from the Code Coverage toolbar.
You can jump directly to the next or previous Uncovered line in the Source report by
using the Next Uncovered Line or Previous Uncovered Line buttons in the Code
Coverage feature bar.
When viewing a Source coverage report, the Code Coverage Viewer provides several
additional viewing features for refined code coverage analysis.
To open a Code Coverage report:
1.
Right-click a previously executed test or application node
2.
If a Code Coverage report was generated during execution of the node, select
View Report and then Code Coverage.
Coverage Types
Depending on the language selected, the Code Coverage feature offers (see Coverage
Types for more information):
·
Function or Method code coverage: select between function Entries, Entries and
exits, or None.
·
Call code coverage: select Yes or No to toggle call coverage for Ada and C.
·
Block code coverage: select the desired block coverage method.
·
Condition code coverage: select condition coverage for Ada and C.
Please refer to the related topics for details on using each coverage type with each
language.
Any of the Code Coverage types selected for instrumentation can be filtered out in
the Code Coverage report stage if necessary.
To filter coverage types from the report:
1. From
the
Code Coverage menu, select Coverage Type.
2.
Toggle each coverage type in the menu.
Alternatively, you can filter out coverage types from the Code Coverage toolbar by
toggling the Code Coverage type filter buttons.
55