Abstract
Software fault prediction deals with the identification of software faults in the early phases of the software development cycle. It is essential to detect the defects in software as early as possible for the smooth functioning of the software and to reduce the resources and time taken for its maintenance in the future. It can be done either manually, or by using automatic predictors. As the complexity of the software increases, it becomes hard to identify the faults manually. So, to deal with the faults in a timely and more accurate manner, there are many automatic predictors already in use, and various new ones are also being proposed by several researchers. In this study, a method to improve the fault prediction rate in software fault prediction is proposed by combining particle swarm optimization (PSO) with the random forest (RF) classifier. NASA MDP Datasets, which are considered large-scale datasets, are utilized to test the proposed model. The findings show that PSO with RF classifier increases performance when applied on the NASA MDP Datasets and overcomes prior research constraints.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Turhan B, Kocak G, Bener A (2009) Data mining source code for locating software bugs: a case study in telecommunication industry. Expert Syst Appl 36(6):9986–9990
Alsghaier H, Akour M (2020) Software fault prediction using particle swarm algorithm with genetic algorithm and support vector machine classifier. Softw Pract Exp 50(4):407–427
Yucalar F, Ozcift A, Borandag E, Kilinc D (2020) Multiple-classifiers in software quality engineering: Combining predictors to improve software fault prediction ability. Eng Sci Technol Int J 23(4):938–950
Kennedy J, Eberhart R (1995) Particle swarm optimization. In: Proceedings of ICNN’95-international conference on neural networks, vol 4. IEEE, pp 1942–1948
Ali A, Gravino C (2020) Bio-inspired algorithms in software fault prediction: a systematic literature review. In: 2020 14th International Conference on Open Source Systems and Technologies (ICOSST). IEEE, pp 1–8
Kumar S, Ranjan P (2017) A comprehensive analysis for software fault detection and prediction using computational intelligence techniques. Int J Comput Intell Res 13(1):65–78
Banga M, Bansal A (2020) Proposed software faults detection using hybrid approach. Secur Privacy, e103
Singh PD, Chug A (2017) Software defect prediction analysis using machine learning algorithms. In: 2017 7th international conference on cloud computing, data science & engineering-confluence. IEEE, pp 775–781
NASA MDP Datasets. https://www.kaggle.com/aczy156/software-defect-prediction-nasa
Jaberipour M, Khorram E, Karimi B (2011) Particle swarm algorithm for solving systems of nonlinear equations. Comput Math Appl 62(2):566–576
Rodriguez D, Herraiz I, Harrison R, Dolado J, Riquelme JC (2014) Preliminary comparison of techniques for dealing with imbalance in software defect prediction. In: Proceedings of the 18th international conference on evaluation and assessment in software engineering, pp 1–10
Chinnathambi A, Lakshmi C (2021) Genetic algorithm based oversampling approach to prune the class imbalance issue in software defect prediction
Malhotra R (2015) A systematic review of machine learning techniques for software fault prediction. Appl Soft Comput 27:504–518
Nassif AB, Azzeh M, Idri A, Abran A (2019) Software development effort estimation using regression fuzzy models. Comput Intell Neurosci 2019
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Santhosh, S., Khatter, K., Relan, D. (2023). Software Fault Prediction Using Particle Swarm Optimization and Random Forest. In: Saraswat, M., Chowdhury, C., Kumar Mandal, C., Gandomi, A.H. (eds) Proceedings of International Conference on Data Science and Applications. Lecture Notes in Networks and Systems, vol 551. Springer, Singapore. https://doi.org/10.1007/978-981-19-6631-6_58
Download citation
DOI: https://doi.org/10.1007/978-981-19-6631-6_58
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-6630-9
Online ISBN: 978-981-19-6631-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)