Optimized Deeplearning Algorithm for Software Defects Prediction

Main Article Content

Anju A. J.
J. E. Judith


Accurate software defect prediction (SDP) helps to enhance the quality of the software by identifying potential flaws early in the development process. However, existing approaches face challenges in achieving reliable predictions. To address this, a novel approach is proposed that combines a two-tier-deep learning framework. The proposed work includes four major phases:(a) pre-processing, (b) Dimensionality reduction, (c) Feature Extraction and (d) Two-fold deep learning-based SDP. The collected raw data is initially pre-processed using a data cleaning approach (handling null values and missing data) and a Decimal scaling normalisation approach. The dimensions of the pre-processed data are reduced using the newly developed Incremental Covariance Principal Component Analysis (ICPCA), and this approach aids in solving the “curse of dimensionality” issue. Then, onto the dimensionally reduced data, the feature extraction is performed using statistical features (standard deviation, skewness, variance, and kurtosis), Mutual information (MI), and Conditional entropy (CE). From the extracted features, the relevant ones are selected using the new Euclidean Distance with Mean Absolute Deviation (ED-MAD). Finally, the SDP (decision making) is carried out using the optimized Two-Fold Deep Learning Framework (O-TFDLF), which encapsulates the RBFN and optimized MLP, respectively. The weight of MLP is fine-tuned using the new Levy Flight Cat Mouse Optimisation (LCMO) method to improve the model's prediction accuracy. The final detected outcome (forecasting the presence/ absence of defect) is acquired from optimized MLP. The implementation has been performed using the MATLAB software. By using certain performance metrics such as Sensitivity, Accuracy, Precision, Specificity and MSE the proposed model’s performance is compared to that of existing models. The accuracy achieved for the proposed model is 93.37%.

Article Details

How to Cite
A. J., A. ., & Judith, J. E. . (2023). Optimized Deeplearning Algorithm for Software Defects Prediction. International Journal on Recent and Innovation Trends in Computing and Communication, 11(9s), 173–188. https://doi.org/10.17762/ijritcc.v11i9s.7409


. X. Cai, Y. Niu, S. Geng, J. Zhang, Z. Cui, J. Li, and J. Chen, “An under?sampled software defect prediction method based on hybrid multi?objective cuckoo search,” Concurrency and Computation: Practice and Experience, 32(5), 2020, p.e5478.

. Y. Qu, and H. Yin, “Evaluating network embedding techniques’ performances in software bug prediction,” Empirical Software Engineering, 26, 2021, pp.1-44.

. A. Hammouri, M. Hammad, M. Alnabhan, and F. Alsarayrah, “Software bug prediction using machine learning approach,” International journal of advanced computer science and applications, 9(2), 2018.

. Z.W. Zhang, X.Y. Jing, and T.J. Wang, “Label propagation based semi-supervised learning for software defect prediction”. Automated Software Engineering, 24, 2017, pp.47-69.

. D.L. Gupta, and K. Saxena, “Software bug prediction using object-oriented metrics,” S?dhan?, 42, 2017, pp.655-669.

. Sunanda, P. ., Janardhanan, K. A. ., Gupta, R. ., Tannady, H. ., Shrivastava, N. K. ., & Sharma, T. K. . (2023). Distributed Hashing Based Group Management Scheme for the Peer-to-Peer Trust Model. International Journal of Intelligent Systems and Applications in Engineering, 11(3s), 08–13. Retrieved from https://ijisae.org/index.php/IJISAE/article/view/2525

. Z. Yuan, X. Chen, Z. Cui, and Y. Mu, “ALTRA: Cross-project software defect prediction via active learning and tradaboost,” IEEE Access, 8, 2020, pp.30037-30049.

. X. Chen, Y. Mu, K. Liu, Z. Cui, and C. Ni, “Revisiting heterogeneous defect prediction methods: How far are we?,” Information and Software Technology, 130, 2021, p.106441.

. X. Chen, Y. Zhao, Q. Wang, and Z. Yuan, “MULTI: Multi-objective effort-aware just-in-time software defect prediction,” Information and Software Technology, 93, 2018, pp.1-13.

. D. Chen, X. Chen, H. Li, J. Xie, and Y. Mu, “Deepcpdp: Deep learning based cross-project defect prediction,” IEEE Access, 7, 2019, pp.184832-184848.

. Z. Wan, X. Xia, A.E. Hassan, D. Lo, J. Yin, and X. Yang, “Perceptions, expectations, and challenges in defect prediction,” IEEE Transactions on Software Engineering, 46(11), 2018, pp.1241-1266.

. H.K. Dam, T. Pham, S.W. Ng, T. Tran, J. Grundy, A. Ghose, T. Kim, and C.J. Kim, “A deep tree-based model for software defect prediction,” arXiv preprint arXiv:1802.00921, 2018.

. X, Li, H. Jiang, Z. Ren, G. Li, and J. Zhang, “Deep learning in software engineering,” arXiv preprint arXiv:1805.04825, 2018.

. C. Pan, M. Lu, B. Xu, and H. Gao, “An improved CNN model for within-project software defect prediction,” Applied Sciences, 9(10), 2019, p.2138.

. Mr. Vaishali Sarangpure. (2014). CUP and DISC OPTIC Segmentation Using Optimized Superpixel Classification for Glaucoma Screening. International Journal of New Practices in Management and Engineering, 3(03), 07 - 11. Retrieved from http://ijnpme.org/index.php/IJNPME/article/view/30

. C. Manjula, and L. Florence, “Deep neural network based hybrid approach for software defect prediction using software metrics,” Cluster Computing, 22(Suppl 4), 2019, pp.9847-9863.

. Dhablia, A. (2021). Integrated Sentimental Analysis with Machine Learning Model to Evaluate the Review of Viewers. Machine Learning Applications in Engineering Education and Management, 1(2), 07–12. Retrieved from http://yashikajournals.com/index.php/mlaeem/article/view/12

. D. Sobania, M. Briesch, C. Hanna, and J. Petke, “An analysis of the automatic bug fixing performance of chatgpt,” arXiv preprint arXiv:2301.08653, 2023.

. L. Qiao, X. Li, Q. Umer, and P. Guo, “Deep learning based software defect prediction,” Neurocomputing, 385, 2020, pp.100-110.

. Pérez, C., Pérez, L., González, A., Gonzalez, L., & Ólafur, S. Personalized Learning Paths in Engineering Education: A Machine Learning Perspective. Kuwait Journal of Machine Learning, 1(1). Retrieved from http://kuwaitjournals.com/index.php/kjml/article/view/107

. H. Liang, Y. Yu, L. Jiang, and Z. Xie, “Seml: A semantic LSTM model for software defect prediction,” IEEE Access, 7, 2019, pp.83812-83824.

. H. Tong, B. Liu, and S. Wang, “Software defect prediction using stacked denoising autoencoders and two-stage ensemble learning,” Information and Software Technology, 96, 2018, pp.94-111.

. Z. Xu, S. Li, J. Xu, J. Liu, X. Luo, Y. Zhang, T. Zhang, J. Keung, and Y. Tang, “LDFR: Learning deep feature representation for software defect prediction,” Journal of Systems and Software, 158, 2019, p.110402.

. G. Giray, K.E. Bennin, Ö. Köksal, Ö. Babur, and B. Tekinerdogan, On the use of deep learning in software defect prediction. Journal of Systems and Software, 195, 2023, p.111537.

. M. Nevendra, and P. Singh, “Software defect prediction using deep learning,” Acta Polytechnica Hungarica, 18(10), 2021, pp.173-189.

. G. Fan, X. Diao, H. Yu, K. Yang, and L. Chen, “Software defect prediction via attention-based recurrent neural network,” Scientific Programming, 2019.

. W.Y. Ramay, Q. Umer, X.C. Yin, C. Zhu, and I. Illahi, Deep neural network-based severity prediction of bug reports. IEEE Access, 7, 2019, pp.46846-46857.