defect analytics