Code Coverage Tool Reference Manual

HP Code Coverage Tool Reference Manual for HP Integrity NonStop NS-Series Servers542684-004
6-1
6 Running the Code Cover Utility
Task Overview
In this step, you run the Code Cover Utility (codecov), making available as input:
The source files you compiled, as described in Section 3, Building the Application
The SPI file you created, as described in Section 3, Building the Application
The DPI file you created, as described in Section 5, Converting Raw Data Files to
DPI Files
The Code Coverage Tool generates the code coverage report in a set of HTML files
you can view with any standard browser. The report includes color-coded, annotated,
source code listings that distinguish among various kinds of covered and uncovered
code. Command options let you specify which colors are used for which purposes. For
a full discussion of the report, see Section 7, Interpreting the Code Coverage Report.
Figure 6-1. Running the Code Cover Utility to Create the Code Coverage Report
vst006.vsd
codecov
Source Files
(on Guardian, OSS,
Windows)
SPI File
DPI File
Code Coverage
Report