HP Caliper User Guide Release 5.5 (5900-2351, August 2012)

Command-line options allow you to control how the report data are sorted.
Example Command Line for Text Report
$ caliper fcount -o reports/fcount.txt /wordplay thequickbrownfox
Example Command Line for CSV Report
$ caliper fcount --csv reports/csvout ./wordplay thequickbrownfox
fcount Measurement Report Metrics
Table 23 (page 207) shows the information found in Function Call Count reports.
Table 23 Information in fcount Measurement Reports
DescriptionColumn
Total number of times the function was called.Total
The called function. The load module, either main executable or shared library, containing the
function appears before the function name and is separated from the function name by “::”.
Function
Source file and starting line number of the called function. Line numbers are preceded by “~”
when they are approximated due to optimization.
File [Line]
fcover Measurement Report Description
Available only on HP-UX.
With the fcover measurement, produced by the fcover measurement configuration file, HP Caliper
lists each function in your application and indicates whether or not the function was executed. It
also lists the percent of functions in each load module, source directory, and source file that were
executed.
Command-line options allow you to control how the report data are sorted.
Example Command Line for Text Report
$ caliper fcover -o reports/fcover.txt /wordplay thequickbrownfox
Example Command Line for CSV Report
$ caliper fcover --csv reports/csvout ./wordplay thequickbrownfox
fcover Measurement Report Metrics
See Table 24 (page 207).
Table 24 Information in fcover Measurement Reports
DescriptionColumn
Number of functions in the given source file that executed at least once.Reached
Number of functions in the given source file that did not execute.Unreached
Percentage of functions in the given source file that were never executed.%Unreached
Load module name in Load Module Summary.Load Module
Source directory path in Source Directory Summary.Source Directory
Source-file path in Source File Summary.Source File
See Table 25 (page 208).
fcover Measurement Report Description 207