cost per defect