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:

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

Reference