Code Profiling Utilities Manual

HP Code Profiling Utilities Manual542684-003
7-1
7 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 Cover Utility 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 8, Interpreting the Code Coverage Report.
Figure 7-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