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 Files tab.
4. Click the checkbox for the source file whose coverage data you want to filter.
5. Specify whether to distinguish between uppercase and lowercase letters when filtering the selected source file.
6. Click OK.
Notes:
§ By default, Purify filters source files containing certain pattern strings. To add a pattern, type a pattern string and click Add. You must type the fully qualified path for the source file, or use a leading asterisk (*) to denote any source file in any directory. You can use an asterisk (*) to denote a character string of any length; use a backslash with the asterisk (\*) if the file name itself contains an asterisk and use two backslashes (\\) if the file name contains a backslash. For example:
This pattern |
Matches any source file whose name |
*\\Shared\\* |
Contains Shared in the path, in any directory |
*Drivers\\* |
Contains Drivers\ in the path, in any directory |
*Util*.cpp |
Contains Util and a .cpp extension, in any directory |
§ To edit a filter in place, click the selected source file or right-click the selected source file and select Rename from the shortcut menu.
§ To disable a filter, click the selected source file's checkbox. When you click OK, Purify redisplays the data for the source file. You can also delete a selected file 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 filters. 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 source file to display a shortcut menu for working with the filter.
(C) Copyright IBM Corporation 1992, 2010.