Abstract
In order to solve the problems that the existing defect prediction methods lack the assessment of the potential defect level of samples and do not fully consider the cost impact of misclassification, a defect level assessment method based on weighted probability ensemble (DLA-WPE) is proposed. Firstly, the greedy selection method is used to select features. Then, according to the number of samples in different categories, the unequal punishment of different misclassification is calculated to obtain the misclassification punishment (MP). The weighted probability ensemble (WPE) model is built. Finally, the voting weight of each base classifier is calculated according to the MP. According to the dichotomous probability of base classifiers, the defective quantification value is calculated to obtain the defect assessment results, and the potential defects of modules are assessed. The experimental results show that the defective quantitative values and defect levels are consistent with the actual situation of the samples.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Lin, G.F., Wen, S.S., Han, Q.L.T.: Software vulnerability detection using deep neural networks: a survey. Proc. IEEE 108(10), 1825–1848 (2020)
Thota, M.K.F., Shajin, F.H.S., Rajesh, P.T.: Survey on software defect prediction techniques. Int. J. Appl. Sci. Eng. 17(4), 331–344 (2020)
Yu, X.F., Jacky, K.S., Xiao, Y.T.: Predicting the precise number of software defects are we there yet. Inf. Softw. Technol. 146(1), 106847–106863 (2022)
Wang, S.F., Liu, T.Y.S., Tan, L.T.: Automatically learning semantic features for defect prediction. In: Dillon, L.F., Visser, W.S. (eds.) IEEE/ACM 38th International Conference on Software Engineering 2016, ICSE, vol. 38, pp. 297–308. Association for Computing Machinery, New York (2016)
Li, J.F., He, P.J.S., Zhu, J.M.T.: Software defect prediction via convolutional neural network. In: Bilof, R.F. (ed.) IEEE International Conference on Software Quality Reliability and Security 2017, QRS, vol. 3, pp. 318–328. IEEE, Piscataway (2017)
Zhou, T.C.F., Sun, X.B.S., Xia, X.T.: Improving defect prediction with deep forest. Inf. Softw. Technol. 114(1), 204–216 (2019)
Issam, H.L.F., Mohammad, A.S., Lahouari, G.T.: Software defect prediction using ensemble learning on selected features. Inf. Softw. Technol. 58(1), 388–402 (2015)
Chen, H.W.F., Jing, X.Y.S., Li, Z.Q.T.: An empirical study on heterogeneous defect prediction approaches. IEEE Trans. Softw. Eng. 47(12), 2803–2822 (2020)
The Standardization Administration of China: Information security risk assessment specification: GB/T 20984. Standards Press of China, Beijing (2007)
Shepperd, M.F., Song, Q.S., Sun, Z.T.: Data quality: some comments on the NASA software defect datasets. IEEE Trans. Softw. Eng. 39(9), 1208–1215 (2013)
Jurecako, M.F., Madeyski, L.S.: Towards identifying software project clusters with regard to defect prediction. In: Menzies, T.F., Koru, G.S. (eds.) Proceedings of the 6th International Conference on Predictive Models in Software Engineering 2010, ICSE, vol. 5, pp. 1–10. Association for Computing Machinery, New York (2010)
D’Ambros, M.F., Lanza, M.S., Robbes, R.T.: Evaluating defect prediction approaches: a benchmark and an extensive comparison. Empir. Softw. Eng. 17(4), 531–577 (2012)
Wu, R.F., Zhang, H.S., Kim, S.T.: Relink: recovering links between bugs and changes. In: Gyimóthy, T.F., Zeller, A.S. (eds.) Proceedings of the 19th ACM SIGSOFT Symposium and the 13th European Conference on Foundations of Software Engineering 2011, ESEC/FSE 2011, vol. 13, pp. 15–25. Association for Computing Machinery, New York (2011)
Acknowledgment
This work was supported by the National Natural Science Foundation of China (No. U1833107).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Xie, L., Liu, S., Yang, H., Zhang, L. (2022). A Defect Level Assessment Method Based on Weighted Probability Ensemble. In: Chen, X., Shen, J., Susilo, W. (eds) Cyberspace Safety and Security. CSS 2022. Lecture Notes in Computer Science, vol 13547. Springer, Cham. https://doi.org/10.1007/978-3-031-18067-5_21
Download citation
DOI: https://doi.org/10.1007/978-3-031-18067-5_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-18066-8
Online ISBN: 978-3-031-18067-5
eBook Packages: Computer ScienceComputer Science (R0)