...
Commits Lead to Broken Builds shows the ratio of commits that led to broken builds compared to the total amount of commits at a specific date. The default time depth is 1 month up to the current date.
In order to change the default “time depth” value, you should look at “How many last values to display” in Widget(Metric) Settings
How metric helps
It indicates the effectiveness of code quality guards. The greater this percentage the worse. Metric may help identify build problems as they occur, pointing to the source of the error.
...
Example for a particular date on a timeline:
Given: total # of all builds on that day | 5 |
---|---|
Given: # of failed builds | 2 |
Given: # of commits in all builds | 15 |
Given: # of commits in failed builds | 3 |
Calculated: Commits led to broken builds % | 3 / 15 = 0.2 = 20% = Amber |
RAG thresholds: Red - metric value > 50%, Amber - metric value > 10%, otherwise Green.
...