An Economic Analysis of Software Defect Removal Methods