The effect of granularity level on software defect prediction

Calikli, Gul; Tosun, Ayse; Bener, Ayse and Celik, Melih (2010). The effect of granularity level on software defect prediction. In: 24th International Symposium on Computer and Information Sciences (ISCIS 2009), 14-16 Sep 2009, METU Northern Cyprus Campus, Guzelyurt, Cyprus, pp. 531–536.



Application of defect predictors in software development helps the managers to allocate their resources such as time and effort more efficiently and cost effectively to test certain sections of the code. In this research, we have used naive Bayes classifier (NBC) to construct our defect prediction framework. Our proposed framework uses the hierarchical structure information about the source code of the software product, to perform defect prediction at a functional method level and source file level. We have applied our model on SoftLAB and Eclipse datasets. We have measured the performance of our proposed model and applied cost benefit analysis. Our results reveal that source file level defect prediction improves the verification effort, while decreasing the defect prediction performance in all datasets.

Viewing alternatives


Public Attention

Altmetrics from Altmetric

Number of Citations

Citations from Dimensions

Item Actions