126 Software teSting interview QueStionS
Once the scale is decided now we can find the defect spoilage. Defect
spoilage is defects from the previous phase multiplied by the scale. For
instance, in the following figure we have found 8 defects in the design phase
from which 4 defects are propagated from the requirement phase. So we
multiply the 4 defects with the scale defined in the previous table, so we get
the value of 4. In the same fashion we calculate for all the phases. The following
is the spoilage formula. It’s the ratio of the sum of defects passed from the
previous phase multiplied by the discovered phase then finally divided by the
total number of defects. For instance, the first row shows that total defects are
27 and the sum of passed on defects multiplied by their factor is 8 (4 3 1 5
4 1 2 3 2 5 4). In this way we calculate for all phases and finally the total.
The optimal value is 1. A lower value of spoilage indicates a more effective
defect discovery process.
Figure124 Defect spoilage
Figure 125 Spoilage formula