Help Center/ CodeArts Check/ User Guide/ (Optional) Configuring Rule Sets/ Adding a Custom Code Check Rule Set
Updated on 2023-11-28 GMT+08:00
Adding a Custom Code Check Rule Set
- In addition to system rule sets, you can customize rule sets.
- At least one rule must be set for each rule set template.
Prerequisite
A rule set can be configured with only one language.
Procedure
- Go to the Task page and click the Rule Sets tab.
- Click Create Rule Set. In the displayed Create Rule Set dialog box, enter a rule set name and select a language.
(Optional) You can also copy an existing rule set by selecting it from the drop-down list.
- Click OK.
- Select rule names, set issue levels as required, and click Save in the upper right corner.
The following uses a code security check enhancement package of a Java rule set as an example:

- Go to the View Task Details page, click Settings tab, and choose Rule Sets. On the displayed page, click
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.
Parent topic: (Optional) Configuring Rule Sets
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.