Research on Software Defect Prediction Method Based on Machine Learning

Article Preview

Abstract:

This paper analyzed 44 metrics of application level, file level, class level and function level, and do correlation analysis with the number of software defects and defect density, the results show that software metrics have little correlation with the number of software defect, but are correlative with defect density. Through correlation analysis, we selected five metrics that have larger correlation with defect density. On the basis of feature selection, we predicted defect density with 16 machine learning models for 33 actual software projects. The results show that the Spearman rank correlation coefficient (SRCC) between the predicting defect density and the actual defect density based on SVR model is 0.6727, higher than other 15 machine learning models, the model that has the second absolute value of SRCC is IBk model, the SRCC only is-0.3557, the results show that the method based on SVR has the highest prediction accuracy.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

2182-2185

Citation:

Online since:

November 2014

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] Suffian, M. D., Ibrahim, M. S. A Prediction Model for System Testing Defects using Regression Analysis. International Journal of Soft Computing And Software Engineering (JSCSE), Vol. 2, No. 7: 55-68, (2012).

DOI: 10.7321/jscse.v2.n7.6

Google Scholar

[2] Umar, S. N. Software Testing Defect Prediction model-a Practical Approach. International Journal of Research in Engineering and Technology, Vol. 2, Issue 5: 741-745, (2013).

Google Scholar

[3] Wang, T., Li, W. H., Liu, Z., Shi, H. B. Software defect prediction model based on Support Vector Machine. Journal of Northwestern Polytechnical University, Vol. 20, No. 6: 864-870, (2011).

Google Scholar

[4] Jiang, H. Y., Zong, M., Liu X. Y. Research on software defect prediction model based on ACO-SVM, Chinese Journal of Computers, Vol. 34, No. 6: 1148-1154, (2011).

DOI: 10.3724/sp.j.1016.2011.01148

Google Scholar

[5] Rawat, M. S. , Dubey, S. K. Software Defect Prediction Models for Quality Improvement: A Literature Study. IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No. 2: 288-296, (2012).

Google Scholar

[6] Lee, T. , Nam, J. , Han, D. , etc. Micro Interaction Metrics for Defect Prediction. Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering. Pages 311-321, (2011).

DOI: 10.1145/2025113.2025156

Google Scholar

[7] Knab, P., Pinzger, M., A. Bernstein. Predicting defect densities in source code files with decision tree learners. MSR '06 Proceedings of the 2006 international workshop on Mining software repositories. Pages 119-125, (2006).

DOI: 10.1145/1137983.1138012

Google Scholar