Code Profiling Utilities Manual
Running the Code Cover Utility
HP Code Profiling Utilities Manual—542684-003
7-6
Verify Output
contains ten or more functions, codecov prints the percentage each time it
completes analysis of one-tenth of the functions, so the progress meter is updated
at most ten times. Progress messages appear on the same line unless interrupted
by other messages, such as warning messages about source files that codecov
cannot find.
-passwd
string
specifies the password for the user name given in the -login option. If codecov
must fetch source files from the NonStop server and the -passwd option is not
present on the command line, codecov prompts for the password.
-pcolor
color
specifies the name or hexadecimal code of the HTML color used in reports to show
partially covered code. If the -nopartial option is present on the command line,
the -pcolor option is meaningless. The default value is #fafad2, which is light
brown.
-prj
title
specifies a title to be included at the top of the top-level HTML file in the code
coverage report. For example, if you specified the value CallDistribution, the
full title printed at the top of the report would read “Coverage Summary of
CallDistribution.” If you omit this option, the top-level HTML file bears the title
Coverage Summary.
-spi
filename
specifies the name of the SPI file, overriding the default name. The default name is
pgopti.spi.
-ucolor
color
specifies the name or hexadecimal code of the HTML color used in reports to show
source for which no code was generated. Examples are comments, statements
that include header files, and variable declarations. The default value is #ffffff,
which is white (no color)
Verify Output
The primary output from codecov is a set of HTML files constituting the code coverage
report. Verify the existence of those files, and check the standard output file for status
messages
The Code Coverage Report
The code coverage report consists of a hierarchy of HTML files. The top-level file is
named CODE_COVERAGE.HTML and is created in the same folder where codecov
runs. All the other HTML files are in a subfolder named CodeCoverage. These files










