Using SoftBench

 

Understanding SoftBench Window Areas

 

Understanding the SoftBench CodeAdvisor Page

 

The CodeAdvisor page, shown in Figure 2-3, consists of two main parts:

 

the rule group selection area and the output browser. This page is

 

available only when you have C++ SoftBench.

Figure 2-3

Expanded SoftBench Window Displaying SoftBench

 

CodeAdvisor Page

Rule Group Selection Area Provides toggle buttons to select the type of violations you want to find. You can see the number of active rules that CodeAdvisor checks, based on the rule groups you select. The Rule Group Help… button provides help on the rules in each rule group. See “Selecting Rule Groups” on page 150 for more information.

Output Browser Displays SoftBench CodeAdvisor output. Controls include:

Error browsing buttons (First, Previous, Next, Last, Selected) which provide easy access to the source code that triggered the rule violation.

Filtering buttons (This, Rule, File, Dir, and Undo Last) which allow you to suppress rule violations you do not plan to fix. The Undo Last button allows you to undo the last filter operation.

Violation Help… button which provides help on the

48

Chapter 2