Skip to main content

A Defect Level Assessment Method Based on Weighted Probability Ensemble

  • Conference paper
  • First Online:
Cyberspace Safety and Security (CSS 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13547))

Included in the following conference series:

  • 718 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Article  Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Article  Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Article  Google Scholar 

  9. The Standardization Administration of China: Information security risk assessment specification: GB/T 20984. Standards Press of China, Beijing (2007)

    Google Scholar 

  10. 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)

    Article  Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. 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)

    Google Scholar 

Download references

Acknowledgment

This work was supported by the National Natural Science Foundation of China (No. U1833107).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hongyu Yang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics