Each application has a weighted compliance score that measures overall compliance with the Pega 7 Platform's best practices. This score is available on the Guardrails landing page.
Scores may 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.