New Code Review Rule wizard

The New Code Review Rule wizard provides templates so you can create rules that are specific to your application, and then incorporate these custom rules into the code review.

Select rule template
On the first page, select a rule template from one of the following categories:
Architectural Control
This set of rule templates helps to preserve the architecture, by identifying dependencies that were introduced between certain classes and packages.
General
This set of rule templates allows users to find if certain class is used, method is called or exception was caught.
J2EE Best Practices
This set of rule templates incorporates custom J2EE development practices.
Configure rule template
In the second window, select and define the properties for your rule.
Basic properties
The following basic properties are required for your rule:
  • Category: Select a category for your rule by choosing a group of rules that you want to add this one to.
  • Severity: Select a severity level for your rule, depending on how strictly you want to enforce the rule.
Specific properties
The specific properties for your rule are dependent upon the template you chose. For example, some templates require you to specify a class while others require a class and method. The names you provide for these components are unique to your application.

Parent topic: Code review reference

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.