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.

Highlights

  • Software defect prediction based on software reliability model is an essential issue in determining software quality

  • Goel-Okumoto model (G-O) model has a reasonable description of the software failure process and is in line with the actual situation, so it has become a model often used by testers [3]

  • When there was ‘‘clustering’’ or ‘‘divergence’’ in the population, it adjusted individuals to help them jump out of the local optimum [13]. They later combined the idea of Bird Swarm Algorithm (BSA) to proposed an Improved Sparrow Search Algorithm (ISSA), which changed the position update formula of the SSA to the update formula of the BSA

Read more

Summary

INTRODUCTION

Software defect prediction based on software reliability model is an essential issue in determining software quality. When there was ‘‘clustering’’ or ‘‘divergence’’ in the population, it adjusted individuals to help them jump out of the local optimum [13] That, they later combined the idea of Bird Swarm Algorithm (BSA) to proposed an Improved Sparrow Search Algorithm (ISSA), which changed the position update formula of the SSA to the update formula of the BSA. In order to further accelerate the algorithm convergence and ensure the stability of the problem solution, this paper proposes a new fitness function for the initialization of parameter b.

SOFTWARE RELIABILITY AND MODEL
PARTICLE SWARM OPTIMIZATION
SPARROW SEAR ALGORITHM
CONSTRUCTION OF FITNESS FUNCTION
IMPLEMENTATION OF SSA-PSO
DISCUSSION
Findings
CONCLUSION
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.