The cost of defects can be measured by the impact of the defects and when we find them. Earlier the defect is found lesser is the cost of defect. For example if error is found in the requirement specifications during requirements gathering and analysis, then it is somewhat cheap to fix it. The correction to the requirement specification can be done and then it can be re-issued.
In the same way when defect or error is found in the design during design review then the design can be corrected and it can be re-issued. But if the error is not caught in the specifications and is not found till the user acceptance then the cost to fix those errors or defects will be way too expensive.
If the error is made and the consequent defect is detected in the requirements phase then it is relatively cheap to fix it.
Similarly if a requirement specification error is made and the consequent defect is found in the design phase then the design can be corrected and reissued with relatively little expense.
The same applies for construction phase. If however, a defect is introduced in the requirement specification and it is not detected until acceptance testing or even once the system has been implemented then it will be much more expensive to fix. This is because rework will be needed in the specification and design before changes can be made in construction; because one defect in the requirements may well propagate into several places in the design and code; and because all the testing work done-to that point will need to be repeated in order to reach the confidence level in the software that we require.
It is quite often the case that defects detected at a very late stage, depending on how serious they are, are not corrected because the cost of doing so is too expensive.
Other popular articles:
- When do defects in software testing arise?
- From where do defects and failures in software testing arise?
- What is a Failure in software testing?
- What is Defect or bugs or faults in software testing?
- Why is software testing necessary?
Palash says
The cost of fixing the Defects totally depends upon when the defect is found, if the defect is found in the requirements or design phase, then it is relatively easy to fix and less cost effective and if the defect is found out while acceptance testing or when the software is live, then the cost will be relatively high because the Defects have to be fixed and re tested before it can be deployed live again
Chang Petell says
Hello,I like to find out more on this field. Thank you for publishing What is the cost of defects in software testing?.