Versions Compared

Key

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

...

You can remap rule properties in Parasoft code analysis and test execution tools (C/C++test, dotTEST, Jtest) so that the local analysis executes the custom rules (see Parasoft tool manuals on https://docs.parasoft.com for details). You can also centralize rule property modifications in DTP so that tools connected to DTP will use them.

...

  1. Choose Test Configurations from the Report Center settings drop-down menu from the settings (gear icon) menu.

  2. Click on the rule map editor (gear gears) icon ) button in the sidebar and click Create New Rule Map.

  3. Choose a Rule Map from the drop-down menu or create a new rule map. The rule map stores the basic properties of existing static analysis rules, such as name, severity, category, and ID. See Custom Code Analysis Overview for additional information.
  4. Click the Rule Customization tab and locate the rule you want to customize. You can filter rules by typing in the search field or by enabling the Cloned, Modified, or Custom filters. 
  5. Click on the rule in the table to view the rule properties and documentation. 

...

  • Click in the Rule ID field to edit rule ID.
  • Click in the Rule field to edit the rule header (rule name).
  • Choose a severity from the Severity drop-down menu to change the severity of the rule.
  • Click Manage Category to open the interface for managing rule categories.
  • Click Clone to create a duplicate of the rule. Cloned rules use the same internal logic as the original rule. Use this option to customize rule properties while preserving the properties of the original rule. Cloned rules automatically appear in all test configurations and can be activated for execution (see Configuring Test Configurations).
  • When you change rule properties, the original values are also displayed. You can click Default to reset the rule properties to their original values (see Reverting Rules to Default Categories).

...

Creating New Categories

  1. Click New Category.
  2. Specify a Category ID and Category Name when prompted.
     
  3.  Click Save to add the new category. 
    Image Modified
  4. Click Assign

...

  1. to assign the selected rule to the new category.
    Image Modified

    You can click in the Category field to change the category name. The category name is saved after leaving the text field. Changing the category name affects all the rules in this category.

    Image Modified

    You can click the trash icon to delete the category. You cannot delete categories if rules are currently assigned to it. Assign rules to their default categories before (see #Reverting Rules to Default Categories) to un-assign rules from the category before deleting it.



Assigning Rules to Categories

...

You can revert rules to their default categories.

  1. Choose the rule rule from the table in the Rule Customization tab.   You You can filter rules by typing in the search field or by enabling the ClonedModified, or Custom filters.
  2. Click Default in the Rule Properties panel.