Filtering Purify Coverage Data by Module

Related Topics

 

1.    In the Data Browser window, select a coverage tab displaying the data you want to filter.

2.    Open the Filter Manager dialog box.

3.    Select the Modules tab.

4.    Click the checkbox for the module whose coverage data you want to filter.

5.    Specify whether to distinguish between uppercase and lowercase letters when filtering the selected module.

6.    Click OK.

Notes:

§      This tab lists all modules that contain functions for which Purify collected coverage data.

§      By default, Purify filters modules containing certain pattern strings. To add a pattern, type a pattern string and click Add. You must type the fully qualified path for the module, or use a leading asterisk (*) to denote any module in any directory. You can use an asterisk (*) to denote a character string of any length; use a backslash with the asterisk (\*) if the module name itself contains an asterisk and use two backslashes (\\) if the module name contains a backslash. For example:

 

This pattern

Matches any module whose name

*.ocx

Contains an .ocx extension, in any directory

*SQL*.dll

Contains SQL and a .dll extension, in any directory

*foo.dll

Contains foo.dll, in any directory

§      To edit a filter name in place, click the selected module or right-click the selected module and select Rename from the shortcut menu.

§      To disable a filter, deselect the module's checkbox and click OK. Purify redisplays the data for the module.

§      Click Save Settings to save any filter changes. Purify saves the filters you create to a PureCoverage filter file (.cft). For details about filter file names and their locations, click images\shortcut.gif.

§      Warning: Using these options you could accidentally hide all data from the data coverage displays. To avoid this situation, Purify reapplies your previous filter set. If an Annotated Source window is open for a file and you filter all the functions in that file, Purify closes the window.

§      Right-click a selected module to display a shortcut menu for working with the filter.

(C) Copyright IBM Corporation 1992, 2010.