Code Coverage Tool Reference Manual
Running the Code Cover Utility
HP Code Coverage Tool Reference Manual for HP Integrity NonStop NS-Series Servers—542684-004
6-5
Run codecov
-host string
provides a host address to use for access to a NonStop server. The codecov utility
uses the name when fetching source files from the NonStop server. The string
could be a DNS name--for example, orgdiv.arn.acorp.com--or an IP address in
dotted decimal format. You must specify this option if the application includes
source files on NonStop servers.
-login string
provides a login name for access to a NonStop server. The codecov utility uses
this name when fetching source files from the NonStop server. You must specify
this option if the application includes source files on NonStop servers. The name
must be a valid login name on the machine specified by the -host option.
-maddr email
specifies a destination for email sent from the code coverage report. The codecov
utility places a link at the bottom of each screen of the report. When you click the
link, a window for sending email appears, with the address specified by the
-maddr option. If you omit this option, the mail is sent to nobody.
-mname message
specifies the text of the link used to invoke the mail window. If you omit the
-mname option but include the -maddr option, the text of the link is the same as
the address specified in the -maddr option. If neither option is present, so that
-maddr defaults to nobody, then -mname defaults to Nobody.
-nopartial
specifies that, if multiple basic blocks are generated for a single source position,
codecov should consider them all to be covered if any one of them was covered. In
the report, such code appears in the color for covered code rather than partially
covered code.
-nopmeter
suppresses the progress meter, which codecov would normally write to the
standard output file during its operation. The progress meter reports the
percentage of functions analyzed so far. For example, if a program had only four
functions, codecov would print 25%, 50%, 75%, and finally 100%. If a program
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.










