PMD SCA Results
Score is the aggregate of all Rule Violations score. The scoring of a rule violation is calculated by subtracting the violated rule’s priority number from 6. Violated rules with a high priority number will throw a high static code analysis result which means that the higher the result the more probable it is to reach the Maximum Static Code Analysis Score.
SCA Result also provides information on the number of violations and which was the priority of the highest priority Rule violated.
Review Promotion Static Code Analysis Results
In the Promotion record, under the Static Code Analysis Summary tab you will find a summary of all the static code analysis results of the user stories included in that promotion.
When you add a user story to a promotion, Copado will add the latest score of the violated rules linked to this particular user story to the Static Code Analysis Score graph in the Promotion page.
This summary also displays the Average Score, the Worst Score and the Worst Scored User Story.
To learn more about PMD, check out the article PMD SCA Violations.