Measuring the principal of defect debt