Software Defects Prediction Based on Hybrid Particle Swarm Optimization and Sparrow Search Algorithm

47Citations
Citations of this article
30Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Software defects reflect software quality, and software failures can be predicted through software reliability models. Aiming at the problem that the parameters of software reliability model are difficult to estimate, this paper used the hybrid algorithm for model parameter estimation to software defect prediction. As a typical swarm intelligence algorithm, PSO (Particle Swarm Optimization) has fast convergence but low solution accuracy. SSA (Sparrow Search Algorithm) not only has high search accuracy and fast convergence speed, but also has the advantages of good stability and strong robustness. Based on the characteristic that the fitness function proposed in this paper, this paper hybrid PSO and SSA to accelerate the convergence before the individual update of the SSA. At the same time, this paper also constructed a new fitness function based on the maximum likelihood estimation of the parameters, and used it for parameter initialization. Through the analysis of the experimental results of five sets of actual data sets, the optimization performance of the hybrid algorithm (SSA-PSO) was better than that of a single algorithm with higher convergence speed and more stable, accurate results. Moreover, with the support of the new fitness function, it effectively solved the problems of slow convergence speed and low accuracy of solution. The experimental results showed that the hybrid SSA-PSO could obtain the better solution, convergence speed and stability than single SSA and PSO in software defections estimation and prediction.

Cite

CITATION STYLE

APA

Yang, L., Li, Z., Wang, D., Miao, H., & Wang, Z. (2021). Software Defects Prediction Based on Hybrid Particle Swarm Optimization and Sparrow Search Algorithm. IEEE Access, 9, 60865–60879. https://doi.org/10.1109/ACCESS.2021.3072993

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free