Software Defect Prediction Using Support Vector Machine

Software defect prediction is important task during software development Lifecycle as it can help managers to identify the most defect-proneness modules. Thus, it can reduce the test cost and assign testing resources efficiently. To make sure if the software is defective or not, there are many classification methods that can be used such as Decision Tree, Recognition, Support Vector Machine, Neural Network (ANN), Naive Bayes. However, Support Vector Machine (SVM) has not been used extensively for such problem, because of its instability when applied on different datasets and parameter settings. The main parameter that influences the accuracy is the choice of kernel function. Therefore, this research attempts to study the performance of SVM with different kernels. The use of kernel functions has not been studied thoroughly in previous papers. Various public datasets from PROMISE project are used to empirically validated our hypothesis. The results demonstrate that there is no kernel function that can give stable performance across different experimental settings. In addition, the use of PCA as feature reduction algorithm shows slight accuracy improvement over some datasets.
- Bowes, D., Hall, T & Petrić, J. (2018). Software defect prediction: do different classifiers find the same defects, Software Quality Journal.
- Ni, C., Liu, W.-S., Chen, X. Gu, Q. & Xu, Dao- (2017). A Cluster Based Feature Selection Method for Cross -Project Softw are Defect Prediction .
- Wong, C. & Vateekul , P. (2015). Software defect pre- diction in imbalanced data sets using unbiased support vector machine., InInformation Science and Applications.
- Ryu, D.. Jang, J.-I. & Baik, J. (2015). A Hybrid In- stance Selection Using Nearest -Neighbor for Cross -Project Defect Prediction.
- D. Ryu, O. Choi, & J. Baik, (2016) . Value -cognitive boosting with a support vector machine for cross -project defect prediction, Empir. Softw. Eng., vol. 21, no. 1, pp. 43 –71, Feb. 2016 . doi: 10.1007/s10664 -014-9346 -4.
- H. A. Al -Jamimi & L. Ghouti, (2011) . Efficient predic- tion of software fault proneness modules using support vector machines and probabilistic neural networks, 2011 5th Malaysian Conf. Softw. Eng. MySEC 2011, no. December 2011 . pp. 2 51–256, 2011, doi: 10.1109/MySEC.2011.6140679.
- H. Wei, C. Hu, S. Chen, Y . Xue, & Q. Zhang, (2019 ). Establishing a software defect prediction model via effective dimension reduction, Inf. Sci. (Ny)., vol. 477, pp. 399 –409, Mar. 2019.
- Hassan AE, (2009). Predicting faults using the com- plexity of code changes, 2009 IEEE 31st interna- tional conference on software engineering, 16 May 2009.
- He P, Li B, Liu X, Chen J & Ma Y , (2015). An empiri- cal study on software defect prediction with a sim- plified metric set, Info rmation and Software Tech- nology, 1 March 2015.
- Huda , S., Alyahya , S., Ali, MM, Ahmad , S & Abawajy J, (2017). A framework for software defect predic- tion and metric selection , IEEE access, 27 Dec . 2017 .
- H. A. Alhija, M. Azzeh, etc / Int. J. Systematic Innovation, 7(2), 37-47 (2022 )
- Kumudha , P & Venkatesan , R, (2016). Cost-sensitive radial basis function neural network classifier for software defect prediction, The Scientific World Journal, 1 Jan 2016.
- Li, H. (2011 ). A short introduction to learning to ran k, IEICE TRANSACTIONS on Information and Sys- tems., 1 Oct 2011.
- Li, M., Zhang , H., Wu, R. & Zhou , ZH. (2012) . Sam- ple-based software defect prediction with active and semi -supervised learning., Automated Software Engineering, 1 Jun 2012.
- Okutan , A. & Yıldız , OT. (2014). Software defect pre- diction using Bayesian networks., Empirical Soft- ware Engineering, 1 Feb 2014.
- Shepperd , M., Bowes , D & Hall, T. (2014). Researcher bias: The use of machine learning in software de- fect prediction, IEEE Transactions on Software En- gineering, 3 Jun 2014.
- Son, LH, Pritam , N, Khari , M., Kumar , R., Phuong , PT & Tho, (2019). Empirical study of software defect prediction: A systematic mapping, Symmetry, Feb 2019.
- Sun, Z, Song , Q & Zhu, X. (2012). Using coding -based ensemble learning to improve software defect pre- diction, IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 21 Dec 2012.
- Tosun , A., Bener , A. & Kale , R. (2010). Ai-based soft- ware defect predictors: Applications and benefits in a case study., Twenty -Second IAAI Conference, 5 Jul 2010.
- Wang, S . & Yao, X. (2013). Using class imbalance learning for software defect prediction, IEEE Transactions on Reliability, pp. 434 -443, 26 April 2013.
- Chen, X., Zhang, D., Cui, Z.-Q., Gu, Q., Ju, X.-L. & Share, D. (2019). Privacy -Preserving Software De- fect Prediction Model Sharing Through Differential Privacy, Journal of Computer Science and Tech- nology, 2019.
- Yang , X., Tang , K. & Yao, X. (2014). A learn- ing-to-rank approach to software defect predi ction , IEEE Transactions on Reliability, 23 Dec 2014.
- Xu, Z., Pang, S., Zhang, T., Luo, X.-P. & Li, J. (2019). Cross Project Defect Prediction via Balanced Dis- tribution Adaptation Based Transfer Learning, Journal of Computer Science and Technolog y, 2019.