Skip to main content

Multimodal Software Defect Severity Prediction Based on Sentiment Probability

  • Conference paper
  • First Online:
Information Security Practice and Experience (ISPEC 2023)

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

  • 312 Accesses

Abstract

Software systems generate a large number of software bugs during their life cycle, and timely detection and repair of these bugs is a key issue in improving software quality and maintaining software security. Therefore, this paper proposes a severity prediction on affective probabilistic multimodel software bugs. First, this paper uses RoBERTa as a sentiment analysis model and proposes a model training method for defective knowledge enhancement. We use Stack Overflow to construct a manually annotated sentiment probability dataset. Evaluating consistency between sentiment annotators by calculating Fleiss’ kappa values. Next, the difference in the impact of defects of different severity on users is reflected by the probability of sentiment. Using sentiment traits for the next stage of prediction. Finally, these include robust data processing of heterogeneous bug data, a complementary integrated learning framework that incorporates large linguistic and traditional tabular models, and a powerful model integration strategy based on a novel combination of multi-layer stacking and cyclic k-fold integrated bagging. Our comprehensive empirical assessment shows that SPM is more accurate and reliable than the popular defect severity prediction methods.

This work was supported by the National Key Research and Development Program (2023QY1202), the National Natural Science Foundation of China (U1836210), the Key Research and Development Science and Technology of Hainan Province (GHYF2022010), and the Research Startup Foundation of Hainan University (RZ2100003335).

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 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.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. Sharmin, S., Aktar, F., Ali, A.A., et al.: BFSP: a feature selection method for bug severity classification. In: 2017 IEEE Region 10 Humanitarian Technology Conference (R10-HTC). IEEE (2017)

    Google Scholar 

  2. Yang, G., Zhang, T., Lee, B.: An emotion similarity based severity prediction of software bugs: a case study of open source projects. IEICE Trans. Inf. Syst. 101(8), 2015–2026 (2018)

    Article  Google Scholar 

  3. Liu, W., Wang, S., Chen, X., et al.: Predicting the severity of bug reports based on feature selection. Int. J. Softw. Eng. Knowl. Eng. 28(04), 537–558 (2018)

    Article  Google Scholar 

  4. Li, D.: Research on the relationship between software defect severity and repair complexity. Huazhong Normal University (2020)

    Google Scholar 

  5. Liu, W.J.: Research on software defect report severity prediction. Dalian University of Technology (2020)

    Google Scholar 

  6. Jiang, H., Nazar, N., Zhang, J., et al.: PRST: a pagerank-based summarization technique for summarizing bug report with duplicates. Int. J. Softw. Eng. Knowl. Eng. 27(06), 869–896 (2017)

    Article  Google Scholar 

  7. Bo, Z., Neamtiu, I., Gupta, R.: Experience report: how do bug characteristics differ across severity classes: a multi-platform study. In: IEEE International Symposium on Software Reliability Engineering. IEEE (2016)

    Google Scholar 

  8. Wu, X., Zheng, W., Chen, X., et al.: CVE-assisted large-scale security bug report dataset construction method. J. Syst. Softw. 27(06), 869–896 (2019)

    Google Scholar 

  9. Gomes, L.A.F., da Silva, T.R., Côrtes, M.L.: Bug report severity level prediction in open source software: a survey and research opportunities. Inf. Softw. Technol. 115, 58–78 (2019)

    Article  Google Scholar 

  10. Kukka, A., Mohana, R., Kumar, Y.: Does bug report summarization help in enhancing the accuracy of bug severity classification? Procedia Comput. Sci. 167, 1345–1353 (2020)

    Article  Google Scholar 

  11. Juluru, K., Shih, H.H., Keshava Murthy, K.N., et al.: Bag-of-words technique in natural language processing: a primer for radiologists. Radiographics 41(5), 1420–1426 (2021)

    Article  Google Scholar 

  12. Mikolov, T., Chen, K., Corrado, G., et al.: Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781 (2013)

  13. Huang, X., Khetan, A., Cvitkovic, M., et al.: Tabtransformer: tabular data modeling using contextual embeddings. arXiv preprint arXiv:2012.06678 (2020)

  14. Joulin, A., Grave, E., Bojanowski, P., et al.: Bag of tricks for efficient text classification. arXiv preprint arXiv:1607.01759 (2016)

  15. Peters, M.E., Neumann, M., Iyyer, M., et al.: Deep contextualized word representations. arXiv preprint arXiv:1802.05365 (2018)

  16. Devlin, J., Chang, M.W., Lee, K., et al.: Bert: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)

  17. Zhang, J., Wang, X., Zhang, H., et al.: A novel neural source code representation based on abstract syntax tree. In: 41st International Conference on Software Engineering (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuqing Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, Y. et al. (2023). Multimodal Software Defect Severity Prediction Based on Sentiment Probability. In: Meng, W., Yan, Z., Piuri, V. (eds) Information Security Practice and Experience. ISPEC 2023. Lecture Notes in Computer Science, vol 14341. Springer, Singapore. https://doi.org/10.1007/978-981-99-7032-2_15

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-7032-2_15

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-7031-5

  • Online ISBN: 978-981-99-7032-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics