HP UX IPFilter Software Fcover Measurement Report Description, Fcount Measurement Report Metrics

Models: UX IPFilter Software

1 277
Download 277 pages 61.39 Kb
Page 209
Image 209

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 209) shows the information found in Function Call Count reports.

Table 23 Information in fcount Measurement Reports

Column

Description

Total

Total number of times the function was called.

Function

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 “::”.

File [Line]

Source file and starting line number of the called function. Line numbers are preceded by “~”

 

when they are approximated due to optimization.

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 209).

Table 24 Information in fcover Measurement Reports

Column

Description

Reached

Number of functions in the given source file that executed at least once.

Unreached

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.

Load Module

Load module name in Load Module Summary.

Source Directory

Source directory path in Source Directory Summary.

Source File

Source-file path in Source File Summary.

See Table 25 (page 210).

fcover Measurement Report Description 209

Page 209
Image 209
HP UX IPFilter Software manual Fcover Measurement Report Description, Fcount Measurement Report Metrics