An intra-cell defect grading tool