Selecting code reviews

A code review is a selection of categories and rules that focus on an aspect of software quality (such as globalization) or a software property (such as severity). When you review a code base, you can select a supplied code review to run on your code base.

If you want to perform structural analysis on your code, you must use the Structural Analysis code review. This code review can take a little longer to run than other code reviews. You can run the Structural Analysis code review on the workspace, a working set, or a project. However, if you run it on a single file, no results are displayed.
To select a code review:
  1. Click Window > Show View > Other, expand Java, select Code Review, and click OK. The Code Review view opens.
  2. Click Window > Preferences. The Preferences window opens.
  3. In the left pane, expand Java, then select Code Review.
  4. In the Select Code Review list, click the code review.
  5. Click OK.
The code review does not run until you define the scope of your analysis (file, project, or workspace).
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.