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 must run the Structural
Analysis code review on the workspace. You cannot run it on a
project or a single file.
To select a code review:
- Click , expand Java,
select Code Review, and click OK.
The Code Review view opens.
- Click Window > Preferences. The Preferences
window opens, showing the Code Review page.
- In the left pane, expand Java, then select Code
Review.
- In the Select Code Review list, click the
code review.
- Click OK.
The code review does not run until you define the scope of your analysis
(file, project, or workspace).