journal article·2025-01-10Open access

Enhanced Bug Priority Prediction via Priority-Sensitive Long Short-Term Memory–Attention Mechanism

Geunseok Yang, Jinfeng Ji, Jaehee Kim

Applied Sciences· Volume 15· Issue 2

Abstract

The rapid expansion of software applications has led to an increase in the frequency of bugs, which are typically reported through user-submitted bug reports. Developers prioritize these reports based on severity and project schedules. However, the manual process of assigning bug priorities is time-consuming and prone to inconsistencies. To address these limitations, this study presents a Priority-Sensitive LSTM–Attention mechanism for automating bug priority prediction. The proposed approach extracts features such as product and component details from bug repositories and preprocesses the data to ensure consistency. Priority-based feature selection is applied to align the input data with the task of bug prioritization. These features are processed through a Long Short-Term Memory (LSTM) network to capture sequential dependencies, and the outputs are further refined using an Attention mechanism to focus on the most relevant information for prediction. The effectiveness of the proposed model was evaluated using datasets from the Eclipse and Mozilla open-source projects. Compared to baseline models such as Naïve Bayes, Random Forest, Decision Tree, SVM, CNN, LSTM, and CNN-LSTM, the proposed model achieved a superior performance. It recorded an accuracy of 93.00% for Eclipse and 84.11% for Mozilla, representing improvements of 31.11% and 40.39%, respectively, over the baseline models. Statistical verification confirmed that these performance gains were significant. This study distinguishes itself by integrating priority-based feature selection with a hybrid LSTM–Attention architecture, which enhances prediction accuracy and robustness compared to existing methods. The results demonstrate the potential of this approach to streamline bug prioritization, improve project management efficiency, and assist developers in resolving high-priority issues.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Software Engineering Research · Software Reliability and Analysis Research · Software System Performance and Reliability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Applied Mathematics (Computer System Institute), Hankyong National University, Anseong-si 17579, Republic of Korea

Department of Computer Applied Mathematics, Hankyong National University, Anseong-si 17579, Republic of Korea

Department of Computer Engineering, Kyungnam University, Changwon-si 51767, Republic of Korea

Funding

Korea National University Development Project (2024) at Hankyong National University

References (38)

Show source-provided references
1. Yang, G., Zhang, T., and Lee, B. (2014, January 21–25). Towards semi-automatic bug triage and severity prediction based on topic model and multi-feature of bug reports. Proceedings of the 38th IEEE Annual International Computer Software and Applications Conference, Vasteras, Sweden.10.1109/COMPSAC.2014.16 ↗
2. Bettenburg, N., Just, S., Schröter, A., Weiß, C., Premraj, R., and Zimmermann, T. (2007, January 21). Quality of bug reports in eclipse. Proceedings of the 2007 OOPSLA Workshop on Eclipse Technology eXchange, Montreal, QC, Canada.10.1145/1328279.1328284 ↗
3. Banerjee, S., Helmick, J., Syed, Z., and Cukic, B. (2015, January 8–10). Eclipse vs. Mozilla: A comparison of two large-scale open source problem report repositories. Proceedings of the 2015 IEEE 16th International Symposium on High Assurance Systems Engineering, Daytona Beach Shores, FL, USA.10.1109/HASE.2015.45 ↗
4. Zhou, C.Y., Zeng, C., and He, P. (2022, January 1–10). An Exploratory Study of Bug Prioritization and Severity Prediction based on Source Code Features. Proceedings of the International Conference on Software Engineering and Knowledge Engineering, Pittsburgh, PA, USA.10.18293/SEKE2022-102 ↗
5. An Assessment of Eclipse Bugs’ Priority and Severity Prediction Using Machine Learning
6. Pasikanti, N., and Kawaf, C. (2022). Bugs Prioritization in Software Engineering: A Systematic Literature Review on Techniques and Methods. [Bachelor’s Thesis, Linnaeus University].
7. Kim, S., and Kang, M. (2019). Financial series prediction using Attention LSTM. arXiv.
8. A novel feature selection algorithm for text categorization10.1016/j.eswa.2006.04.001 ↗
9. Introduction to the t statistic
10. The Wilcoxon signed rank test for paired comparisons of clustered data10.1111/j.1541-0420.2005.00389.x ↗
11. (2025, January 01). Android #240016030. Available online: https://issuetracker.google.com/issues/240016030.
12. Kao, A., and Poteet, S.R. (2007). Natural Language Processing and Text Mining, Springer.10.1007/978-1-84628-754-1 ↗
13. A Probabilistic Interpretation of Precision, Recall and F-Score, with Implication for Evaluation10.1007/978-3-540-31865-1_25 ↗
14. Zhou, J., Zhang, H., and Lo, D. (2012, January 2–9). Where Should the Bugs Be Fixed? More Accurate Information Retrieval-Based Bug Localization Based on Bug Reports. Proceedings of the 2012 34th International Conference on Software Engineering, Zurich, Switzerland.10.1109/ICSE.2012.6227210 ↗
15. Sharma, M., Bedi, P., Chaturvedi, K.K., and Singh, V.B. (2012, January 27–29). Predicting the priority of a reported bug using machine learning techniques and cross project validation. Proceedings of the 2012 12th International Conference on Intelligent Systems Design and Applications (ISDA), Kochi, India.10.1109/ISDA.2012.6416595 ↗
16. Alenezi, M., and Banitaan, S. (2013, January 4–7). Bug reports prioritization: Which features and classifier to use?. Proceedings of the 2013 12th International Conference on Machine Learning and Applications, Miami, FL, USA.10.1109/ICMLA.2013.114 ↗
17. Zhang, J., Li, Y., Tian, J., and Li, T. (2018, January 12–14). LSTM-CNN hybrid model for text classification. Proceedings of the 2018 IEEE 3rd Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Chongqing, China.10.1109/IAEAC.2018.8577620 ↗
18. Shapiro–Wilk test for skew normal distributions based on data transformations10.1080/00949655.2019.1658763 ↗
19. Rathnayake, R.M.D.S., Kumara, B.T.G.S., and Ekanayake, E.M.U.W.J.B. (2021, January 7–8). CNN-Based Priority Prediction of Bug Reports. Proceedings of the 2021 International Conference on Decision Aid Sciences and Application (DASA), Sakheer, Bahrain.10.1109/DASA53625.2021.9682284 ↗
20. Emotion based automated priority prediction for bug reports10.1109/ACCESS.2018.2850910 ↗
21. Neural network-based bug priority prediction model using text classification techniques
22. Yu, L., Tsai, W.T., Zhao, W., and Wu, F. (2010, January 19–21). Predicting defect priority based on neural networks. Proceedings of the International Conference on Advanced Data Mining and Applications, Chongqing, China.10.1007/978-3-642-17313-4_35 ↗
23. Bug prioritization to facilitate bug report triage10.1007/s11390-012-1230-3 ↗
24. Tian, Y., Lo, D., and Sun, C. (2013, January 22–28). Drone: Predicting priority of reported bugs by multi-factor analysis. Proceedings of the IEEE International Conference on Software Maintenance, Eindhoven, The Netherlands.10.1109/ICSM.2013.31 ↗
25. Bani-Salameh, H., and Sallam, M. (2021). A deep-learning-based bug priority prediction using RNN-LSTM neural networks. e-Inform. Softw. Eng., 15.10.37190/e-Inf210102 ↗
26. Kumari, M., and Singh, V.B. (2018, January 6–8). An improved classifier based on entropy and deep learning for bug priority prediction. Proceedings of the IEEE International Conference on Intelligent Systems Design and Applications (ISDA), Vellore, India.10.1007/978-3-030-16657-1_53 ↗
27. Predicting the priority of bug reports using classification algorithms10.21817/indjcse/2020/v11i6/201106076 ↗
28. Capbug-a framework for automatic bug categorization and prioritization using nlp and machine learning algorithms10.1109/ACCESS.2021.3069248 ↗
29. Effective prediction of bug-fixing priority via weighted graph convolutional networks10.1109/TR.2021.3074412 ↗
30. Malhotra, R., Dabas, A., Hariharasudhan, A.S., and Pant, M. (2021, January 28–29). A study on machine learning applied to software bug priority prediction. Proceedings of the 2021 11th International Conference on Cloud Computing, Data Science & Engineering (Confluence), Noida, India.10.1109/Confluence51648.2021.9377083 ↗
31. Zhang, W., and Challis, C. (2019). Automatic bug priority prediction using DNN based regression. Advances in Natural Computation, Fuzzy Systems and Knowledge Discovery, Springer.10.1007/978-3-030-32456-8_36 ↗
32. CNN-based automatic prioritization of bug reports10.1109/TR.2019.2959624 ↗
33. Huang, Z., Shao, Z., Fan, G., Yu, H., Yang, K., and Zhou, Z. (2012, January 11–12). Bug Report Priority Prediction Using Developer-Oriented Socio-Technical Features. Proceedings of the 13th Asia-Pacific Symposium on Internetware, Hohhot, China.
34. Wang, Y., He, T., Zhang, W., Fang, C., and Luo, B. (2016, January 1–3). Exploring the Influence of Feature Selection Techniques on Bug Report Prioritization. Proceedings of the 28th International Conference on Software Engineering and Knowledge Engineering, San Francisco, CA, USA.
35. Pecorelli, F., Palomba, F., Khomh, F., and De Lucia, A. (2020, January 29–30). Developer-driven code smell prioritization. Proceedings of the 17th International Conference on Mining Software Repositories, Seoul, Republic of Korea.10.1145/3379597.3387457 ↗
36. A Heterogeneous Streaming Vehicle Data Access Model for Diverse IoT Sensor Monitoring Network Management10.1109/JIOT.2024.3384493 ↗
37. A Heterogeneous Access Metamodel for Efficient IoT Remote Sensing Observation Management: Taking Precision Agriculture as an Example10.1109/JIOT.2021.3118024 ↗
38. A Heterogeneous Key Performance Indicator Metadata Model for Air Quality Monitoring in Sustainable Cities10.1016/j.envsoft.2020.104955 ↗