...
Choose File> Save or File> Save As to save the rule with a .rule file extension into the static analysis rule directory. For example:
<workpace<workspace_location>/.metadata/.plugins/com.parasoft.xtest.standards.eclipse.core.web/urules
- If you want to store rules in a different location, specify your preferred User Rules directory in the Parasoft Preferences panel of the code analysis execution tool:
- Choose Parasoft> Preferences and select Configurations.
- Enable the User Rules option and specify the preferred directory.
- Choose Parasoft> Test Configurations and choose the configuration that you want to implement the rule.
- Choose the Static> Rules Tree tab. If the new rule requires a new category, you must create it by editing the rule map file:
- Click Edit Rulemap and open the Categories tab.
- Click New and enter the category ID and description.
- Click OK to save the new category.
- Click Import and specify the rule(s) you want to import.
- Click OK and enable the rule in the test configuration.
- Click Apply to save changes.