Code Coverage Tool Reference Manual
Contents
HP Code Coverage Tool Reference Manual for HP Integrity NonStop NS-Series Servers—542684-004
iii
7. Interpreting the Code Coverage Report
7. Interpreting the Code Coverage Report
Opening the Code Coverage Report 7-1
Code Coverage Display for a Source File 7-1
Execution Counts in the Source Display 7-2
Representation of #include Files 7-3
Understanding Color Coding in the Code Coverage Report 7-4
8. Usage Scenario
Build the Application 8-3
Run the Application 8-4
Produce the DPI File 8-4
Measure Code Coverage 8-5
Evaluate the Code Coverage Report 8-5
9. Usage Considerations
Compilation Issues 9-1
Application Performance 9-1
Glossary
Index
Figures
Figure 1-1. Code Coverage Task Overview 1-4
Figure 3-1. Compiling the Application to Generate Instrumented Object Files 3-1
Figure 4-1. Producing the Raw Data for Code Coverage Analysis 4-1
Figure 5-1.
Using profmrg to Combine Raw Data Files 5-1
Figure 6-1.
Running the Code Cover Utility to Create the Code Coverage
Report 6-1
Figure 7-1. Coverage Summary 7-1
Figure 7-2. Coverage Display for a Source File 7-2
Figure 7-3.
Source Code Display Including Execution Counts 7-3
Figure 8-1.
Strategic Use of Code Coverage Technology 8-2
Tables
Table 3-1. Compiler Options Related to Code Coverage 3-3
Table 7-1.
Color Coding 7-4










