Quality rules

Required role  Rule Management
Access  CodeChecker Server Rules Configuration →  Quality Rules

Quality rules are conditional expressions used to determine an application's code quality.

A quality rule is built around a metric and a validation expression. A metric is a numeric value deduced from the analysis of a source code, and a validation expression defines a logical condition. The quality rule compares the metric with the validation expression:

  • If the metric complies with the condition of the validation expression, the quality rule succeeds.
  • If the metric does not comply with the condition, the quality rule fails.

ARCAD CodeChecker supplies a number of quality rules via its standard rule sets. All the quality rules included are fully documented. You can create and document your own quality rules from the CodeChecker Studio.

Reference

For more information about metrics, refer to Metrics.

For more information about validation expressions, refer to Validation expressions.

Quality rules

The  Quality Rules view is accessed from the  Rules Configuration node in the Navigator.

Enter any combination of the above search criteria, then click the Search button to display the results. To display the complete list, click the Search button without entering any search criteria.