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 Functions tab.
4. Click the checkbox for the function whose coverage data you want to filter.
5. Specify whether to distinguish between uppercase and lowercase letters when filtering the selected function.
6. Click OK.
Notes:
§ By default, Purify filters functions containing certain pattern strings. To add a pattern, type a pattern string and click Add. You can use an asterisk (*) to denote a character string of any length; use a backslash with the asterisk (\*) if the function name itself contains an asterisk and use two backslashes (\\) if the function name contains a backslash. For example:
This pattern |
Matches any function whose name |
CWnd::* |
Begins with CWnd:: and is followed by any string |
*chr |
Starts with any string and ends in chr |
*str* |
Contains str |
§ The pattern is always matched against the full function name, regardless of the settings in the Function Name dialog box.
§ To edit a filter in place name, click the selected function, or right-click the selected function and select Rename from the shortcut menu.
§ To disable a filter, click the selected function's checkbox. When you click OK, Purify redisplays the functions. You can also delete a selected function by clicking Remove.
§ 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 .
§ 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 function to display a shortcut menu for working with the filter.
(C) Copyright IBM Corporation 1992, 2010.