Using SoftBench Static Analyzer

Using Query Results

Using Query Results

SoftBench Static Analyzer query results are displayed in a textual list using the main Static window. There are many ways to use these query results. One common use scenario includes:

1.Browse the SoftBench Static Analyzer query results.

2.Edit the source file at the query result location.

3.Update the Static database by rebuilding your application.

4.Perform a SoftBench Static Analyzer query with new Static data.

Browsing the Query Result

The SoftBench Static Analyzer query result can be browsed by double clicking on a line in the Query Results Area. This action invokes the configured SoftBench editor and positions the cursor at the line where the query result appears in the source file.

Editing the Source File

After you browse the query result and display the source, you are ready to modify your source file. Make the changes to the source file and save the changes. Notice that the "File Set Status" changes to "Open/Out-of-Date" in SoftBench Static Analyzer.

Updating the Database

Once you have made the changes to your source files, you are ready to generate updated Static information. The recommended way to update Static information is by building the project:

From the editor, choose "File: Build Project".

Alternatively, from the main SoftBench window, select the project, then select Build.

If you do not want to rebuild, choose "File: Analyze File Set" in SoftBench Static Analyzer. (See “Updating Static Data without Building” on page 255.)

264

Chapter 9

Page 264
Image 264
HP UX SoftBench Software Using Query Results, Browsing the Query Result, Editing the Source File, Updating the Database