Using SoftBench Static Analyzer
Preparing to Make Queries
Filtering Queries by File SetYour programs often include files, such as system header files, that you may not want to include in your queries. By default, SoftBench Static Analyzer includes these files in any queries. You can restrict your queries to check only those files in your analysis file set by setting the
"■ Filter Results Using Fileset" toggle button, located on the dialog box posted by "Options: Behavior Settings…".
Determining the File Set StatusSoftBench Static Analyzer shows the state of the analysis file set in the "File Set Status" field. Possible values are:
None | No analysis file set has been |
| specified, or the default file set is |
| empty. This status usually indicates |
| that static data has not been |
| generated. |
Closed | The analysis file set is available but |
| the associated database files could |
| not be found or opened. |
Open | The analysis file set is available and |
| the associated database files are |
| current with respect to the source |
| files used to create them. |
The analysis file set is available but | |
| one or more source files are newer |
| than the information in their |
| associated database files. Choose |
| Build in the main SoftBench window |
| to rebuild the current project. |
| Alternatively, choose "File: |
| Analyze File Set" to update the |
| database files without rebuilding. |
Updating | An update is in progress because you |
| chose "File:Analyze File Set" and |
| the process has not yet completed. |
Chapter 9 | 257 |