Monday, November 20, 2023

Key Quality Metrics

 In this blog we will discuss some of the key Quality Metrics.




Metric Definition
Defect Leakage

It is the number of defects that is found by customers and NOT by the project team.

Ideally it should be < 10%, however teams can strive for 5% or less as part of their optimizations.

Defect Injection Rate


The number of defects raised per day.

If the trend is such that the number of defects identified are more at the beginning and it gradually reduces towards the end, it means that the project is in good health wrt quality.


Defect Density


The number of defects found in say a million lines of code
Formula: Number of defects/LOC (in Million)


Code Coverage


The number of lines of code that the test case/suite covers as part of testing

Review Efficiency







The number of defects found during the review process. Either design review or code review etc
Eg: Say, we need to find the review efficiency for detailed design document review:
Formula = Number of defects found during DD review / (Number of defects found during DD review + Number of defects found in later stages of the project that has source as Detailed Design Phase)

The above formula can also be extrapolated to Testing to obtain Test Efficiency.
Eg: Test Efficiency for System Testing Phase = Number of Defects found in ST Phase / (Number of defects found in ST + SIT + UAT)

Defect Removal Efficiency

The number of defects resolved by the Dev team/Total number of defects raised.    

No comments:

Post a Comment