Use the Compliance Score tab on the Application Guardrails landing page to understand guardrail violations from an executive-level point of view. The metrics on this tab help you see how complex or custom code is introduced over time and the impact of those changes on project quality.
Additional options allow you to communicate these details to application stakeholders.
You can also view these metrics that are related to the compliance score:
The rules included in or excluded from compliance score-related metrics:
All property rules are excluded.
All rules in Pega* rulesets are excluded.
Your custom warnings are included.
Warnings on rules imported from other systems are included.
You may see legacy warning messages on imported rules until you explicitly re-save them.
All of your checked-out rules are included.
Tip: Improve your compliance score by reducing the number of warnings in your application.
Note: The Warning Details tab gives you a centralized view of these warnings, with more information on the actions you can take to resolve them.
Scores can range from 0-100, with 100 representing the highest possible score:
A score of 90 or greater indicates your application is in good standing.
A score of 80-89 indicates your application needs review for improvement.
A score below 80 requires immediate action.
The system first calculates a weighted numerator based on the number of severe and moderate warnings in the application. It then makes a comparison against the remaining number of rules in the application; those with caution level or no warnings. The result is converted to a percentage, protecting against any negative values, as outlined in the formula below:
Variables are interpreted as follows:
Sev1u: the number of unjustified, severe (severity level 1) warnings in the application.
Sev2u: the number of unjustified, moderate (severity level 2) warnings in the application.
Sev1j: the number of justified, severe (severity level 1) warnings in the application.
Sev2j: the number of justified, moderate (severity level 2) warnings in the application.
Total Remaining Rules: the sum of rules with caution (severity level 3) warnings and rules with no warnings in the application. This value excludes property rules and rules that reside in a Pega-* ruleset.