Code Review view

Use the Code Review view to choose what code to review and then to examine the findings produced by the code review. In this view, you can filter, sort, and search.

Summary line
Provides information, below the tab, about the code review just completed: code review name, code base reviewed, number of rules and files included, and number and severity of findings.
Toolbar
The toolbar provides shortcuts to the following actions:
Review
Lists the workspace, projects, and active file in the source code editor so you can choose what to run a code review on. Click the down arrow to see the list or the green arrow to run the code review on the last selection.
Stop Review
Appears only when a code review is running so you can stop a review that is in process.
Filters
Lets you show fewer findings by selecting any status or severity level that you do not want displayed.
Sort
Allows you to list findings by category or file.
Search
Shows a field in which you can type a search string, such as file name, to locate in the list of findings.
Manage Rules
Opens the Preferences window.
Findings list
Displays each finding from the code review in the following format:
  • Icon: Indicates the severity level of the rule that was not adhered to and, in some instances, that a quick fix is available to resolve the finding.
  • File name: Specifies the file where the code is located.
  • Number: Specifies the line number in the source code where the finding occurs.
  • Rule: States the rule that was not adhered to and, therefore, produced the finding.
This is a sample finding:
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.