Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 2020.2

...

  1. Open the Test Configurations dialog by choosing Parasoft> Test Configurations.
  2. Select any Test Configurations category.
  3. Open the Static> Rules Tree tab.
  4. Click Edit Rulemap.
  5. Enter your rule mapping in the Edit Rulemap File dialog that opens.
    • To change the rule ID, name, and/or severity level: Add an entry to the Rules tab. A map entry defines a rule map which can change the specified built-in rule’s category ID, name, and/or severity level. Enter the current rule ID using CATEGORY-ID format (for instance, SECURITY-01)  in the Original ID column, then enter the desired changes in the appropriate column.

      • If you want to change the rule ID, enter the desired rule ID in the Mapped ID column.
      • If you want to change the rule severity, select it from the Severity column drop down menu.
      • If you want to change the rule name, enter the desired name in the Header column.

        Warning

        When you change the rule ID, a new category will be created automatically. You must specify a rule category description for each new category in the Categories tab, as described below. Otherwise, the rule will be added to the UNKNOWN category.

    • To create a "clone" of  a rule (e.g. to create different versions of a parameterized rule): Add an entry to the Clones tab. Cloning rules is useful for mapping a single rule instance to multiple rule IDs.  Enter the current rule ID (for example, BD.MISC-TRANS) in the Original ID column, then enter the desired clone rule ID (for example, ACME-TRANS) in the Clone ID column and/or select the desired clone severity level from the Severity column drop down menu. Note that cloning applies only to rules that cannot be edited in RuleWizard—such as BugDetective Flow Analysis rules. If you want to copy a rule that can be edited in RuleWizard, use the method described in  Customizing Rules with RuleWizard.

    • To add a new rule category: Add an entry to the Categories tab. Enter a new category ID in the Category ID column, then enter a brief category description in the Category Description column.

...