defect management life cycle