Defect Removal Efficiency (DRE)

This is a widely spread KPI adoped by many agile teams.

The formula to measure looks as follows:

DRE = (A / (A + B) ) * 100

Where A is total defects found in development, B is total defects found in production.

KPI Defect Removal Efficiency

Please find below the configuration steps that use Performance Objectives gadget for JIRA dashboard and the custom metric formula calculation options. The JQL data segmentation below is based on Bugs reported by QA team vs. not reported by QA team, instead of reported in Development vs Production environment. The reason is that environment field might be not explicitly filled by a reporter on your instance, and the given KPI configuration may provide more accurate results.

Step 1: Add 2 data sources, one with the Bugs reported by QA team,

and the second one with Bugs reported outside the QA team:

Step 2: Select ‘Formula’ tab for the Metric calculation.

Step 3: Add 2 parameters. First (P1) with the number of issues from the data source A: ‘Reported by QA’ and second (P2) with the number of issues from the data source B: ‘Reported by others’.

Step 4: Use the parameters above in formula equation: “(P1 / (P1+P2)) * 100” for DRE (Defect Removal Efficiency) KPI.

Step 5: (Optional) Change the date granularity from week to month.

Step 6: (Optional) Set Group by to ‘Component’.

Step 7: Switch on Target section and keep the tab ‘Fixed’ selected and set target results to be evaluated by month (i.e. per x-axis item).

Step 8: Set target level value. In the given sample case it is 95.

Step 9: Expand the ‘More Setting’ section and enable the ‘Warning threshold’ that will color the results above that level in amber.

Recording: Please check the following recording with the detailed configuration settings: