The Function List window shows coverage data for all functions, including:
§ Function names
§ Number of times a function is called
§ Total number of lines in a function
§ The number of lines missed and hit
§ The percentage of lines hit
§ Module and source file names
You can do the following operations in the function list:
To |
Do this |
Sort data |
Click a column heading to sort by the column or to change the sort order to ascending or descending. |
Show or hide columns |
Right-click in any column heading and select Show/Hide Columns from the shortcut menu. You can add columns such as the total number of lines and the percentage of lines missed. You can also drag the right border of a column heading completely to the left to hide the column; use the Show/Hide Columns dialog box to redisplay the column or, for the first column, drag the border to the right again. |
Resize columns |
Drag the right border of a column heading to any width or double-click the right border to automatically resize the column to fit the data. You can also right-click in any column heading and select Size All to Fit from the shortcut menu to resize all columns, or Size to Fit to resize the current column. |
Rearrange columns |
Drag a column by its heading to a new position. |
Notes:
§ If a numeric value is too long to be completely displayed in a column, PureCoverage displays ###. For long text strings, PureCoverage displays as much of the string as possible and then an ellipsis (…). You can resize the columns to fully display the data.
§ The Function List window uses a stable sort. For example, if you click the % Lines Hit column heading, and then click the Module column heading, PureCoverage sorts the data by the percentage of lines hit within each module.
§ The Function List window displays line data only if debug line information is available and the module that contains the function was monitored at line level.
§ When you compare runs, the Diff Function List window shows the original data for the two runs (identified as New and Base).
§ You can copy data from the Function List window to the Clipboard to use with test scripts or to perform further analysis in a spreadsheet program, such as Microsoft Excel.
§ The status bar displays the total number of functions displayed, the total number of functions in the program, and the current function.
§ Right-click in the Function List window to display a shortcut menu for working with the list.
(C) Copyright IBM Corporation 1993, 2010.