Computer Engineering and Applications ›› 2013, Vol. 49 ›› Issue (7): 64-67.

Previous Articles     Next Articles

Software defect prediction model based on PSO-BP

YU Anlei, PI Dechang   

  1. College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
  • Online:2013-04-01 Published:2013-04-15

基于PSO-BP的软件缺陷预测模型

于安雷,皮德常   

  1. 南京航空航天大学 计算机科学与技术学院,南京 210016

Abstract: Software defect detection aims to automatically identify defective software modules that accelerates efficiently software test and improves the quality of a software system. Due to the application of traditional software prediction model being limited for its low accuracy and applicability, this paper puts forward a software prediction model based on PSO-BP, which employs Particle Swarm Optimization(PSO) to optimize weight and threshold value of BP. It uses cross-validation method as experiment method, and compares the results with other machine learning methods-BP and J48. The results show that PSO-BP has higher prediction accuracy.

Key words: software defect prediction, Artificial Neural Network(ANN), Particle Swarm Optimization(PSO)

摘要: 软件缺陷检测旨在自动检测程序模块中是否包含缺陷,从而加速软件测试过程,提高软件系统的质量。针对传统软件缺陷预测模型被限制在一定的应用范围而影响其预测的准确性和适用性,提出了一种基于PSO-BP软件缺陷预测模型。该模型运用粒子群优化算法优化BP神经网络的权值和阈值,采用交叉验证的方式进行实验,并与传统的机器学习方法J48和BP神经网络等方法进行了比较。实验结果表明提出的方法具有较高的预测准确性。

关键词: 软件缺陷预测, 神经网络, 粒子群优化