C and C++ SoftBench User's Guide
Using SoftBench Static Analyzer
Simplifying Query Results
Chapter 9266
Simplifying Query Results
SoftBench Static Analyzer provides filtering mechanisms that allow you
to focus only on the query results in which you are interested. These
filters reduce the chance of information overload. SoftBench Static
Analyzer also provides specific filters for graphical queries, which are
described in “Simplifying Graph Displays” on page 292.
Filtering Results Using the File Set
SoftBench Static Analyzer provides a filter to focus queries only on the
code in your project. For example, there are many instances when you
are not interested in code libraries developed by other teams, or the
identifiers declared in the /usr/include directory. Choose "Show:
Source Files" to display the sourcefiles SoftBench Static Analyzer uses
for query results. Without a filter, this query produces a list similar to
the one displayed in Figure 9-3. By default, SoftBench Static Analyzer
reports results from all files that were compiled, including header files.
Table 9-1 SoftBench Static Analyzer Display Options
Command Description
"View: Display Results"
submenu
Controls what data attributes are
displayed in the Query Results
Area.
"View: Sort Results"
submenu
Allows you to sort results by file,
result, or attribute.
"View: Filter Results…" Provides numerous toggle button
settings for filtering C++ data. (See
“Filtering C++ Query Results” on
page 268.)
"Options: Behavior
Settings…"
Provides access to the filter that
limits queries to the analysis file set.