Custom Rule Set
CodeArts Check supports custom rule sets. Each rule set must contain at least one rule.
A rule set can be configured with only one language.
Customizing a Rule Set
- Go to the task page and click the Rule Sets tab.
- Click Create Rule Set. In the displayed dialog box, enter a rule set name and description, and select a language.
(Optional) You can also copy an existing rule set by selecting it from the Replicated in drop-down list.
- Click OK.
- Select rule names, set rule levels as required, and click Save in the upper right corner.
- Go to the View Task Details page, click Settings tab, and choose Rule Sets. On the displayed page, click the refresh button in the row where Languages Included is located to re-obtain the code repository language, enable the target language, and select the configured custom rule set. For details, see Configuring a Rule Set.
- Click Start Check to run the check task based on the custom rule set.
Deleting a Custom Rule Set
Click the more icon in the row where the rule set is located and choose Delete Set.
- Custom rule sets can be deleted only by the one who created them.
- System rule sets and custom rule sets in use cannot be deleted.
- To delete a rule set being used by a code check task, you can either delete the task or assign another rule set to the task.
Modifying a Custom Rule Set
- Click a rule set name and go to the rule set details page.
- Click Modify Basic Info.
- Modify the rule set name or description, and click OK.
- The Language cannot be modified.
- Preset rule sets cannot be modified.
- Custom rule sets can be deleted only by the one who created them.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot