Data Complexity Analysis for Software Defect Detection