Help Center/ CodeArts Check/ Service Overview/ Service Features/ Flexible Matching of User Scenarios
Updated on 2025-07-30 GMT+08:00

Flexible Matching of User Scenarios

Custom Rules for Various Scenarios

In software development, maintaining code quality presents several challenges: varying team standards (such as naming conventions and comment styles), intricate service-specific logics, and integrating best practices into new frameworks. The built-in rules of code check tools target common issues such as syntax compliance and null pointers but struggle with industry-specific demands, service logics, or customized team needs.

Therefore, Huawei Cloud CodeArts Check allows users to create custom rules for flexible scenario adaptation.

During the rule management phase of CodeArts Check, you can use a domain-specific language to create custom rules tailored to specific issues, add these rules to your custom rule set, and enable them. Figure 1 shows how a domain specific language works.

Figure 1 Working Principles of a domain-specific language

Video Tutorial