IJEM Vol. 16, No. 6, 8 Dec. 2026
Cover page and Table of Contents: PDF (size: 1004KB)
PDF (1004KB), PP.83-103
Views: 0 Downloads: 0
Bug Triaging, Machine Learning, Text Classification, Priority Classification, SMOTE, Class Imbalance
Manual triaging of bug reports in large-scale software systems is inefficient and error-prone, particularly in complex domains such as database management. This study presents an interpretable pipeline combining classical machine learning with TF-IDF text features (top 1,000 terms) and SMOTE (k = 5) resampling for automated bug report priority classification under severe class imbalance, using a filtered, database-centric subset of 16,656 reports from the PROMISE’19 dataset with eight priority labels remapped into three operational categories (High/Medium/Low). Four classifiers—Logistic Regression, Random Forest, XGBoost, and a linear SVM, each with fixed hyperparameters and random_state=42—were trained on an 80:20 stratified split and validated with 5-fold cross-validation. Random Forest achieved the highest accuracy (77.8%, 95% CI [76.4, 79.2]), XGBoost the highest macro F1 (0.625, 95% CI [0.605, 0.645]), and Logistic Regression the strongest High-priority detection (F1 = 0.33, up from 0.12 before SMOTE; recall = 0.51, precision = 0.25). A factorial ablation study with paired significance testing confirms that SMOTE's benefit is classifier- and representation-dependent rather than universal, and validation on four independent external repositories (Eclipse, Hadoop, HBase, Firefox) shows the pipeline's qualitative findings generalize even where absolute performance does not. These results demonstrate the practical value of classical, interpretable models for imbalanced textual classification and quantify the specific conditions under which SMOTE and TF-IDF are, and are not, beneficial.
Meenakshi S., Juhi Reashma SRK., "A Classical Machine Learning Approach for Bug Report Priority Classification under Class Imbalance: An Empirical Study on Database Projects", International Journal of Engineering and Manufacturing (IJEM), Vol.16, No.6, pp.83-103, 2026. DOI:10.5815/ijem.2026.06.05
[1]J. Uddin, R. Ghazali, M. M. Deris, R. Naseem, and H. Shah, “A survey on bug prioritization,” Artif. Intell. Rev., vol. 47, no. 2, pp. 145–180, Feb. 2017, doi: 10.1007/s10462-016-9478-6.
[2]E. H. Yilmaz, İ. H. Toroslu, and Ö. Köksal, “A comparative study of contemporary learning paradigms in bug report priority detection,” IEEE Access, vol. 12, pp. 126577–126586, 2024, doi: 10.1109/ACCESS.2024.3451125.
[3]A. Jude and J. Uddin, “Explainable software defects classification using SMOTE and machine learning,” Ann. Emerg. Technol. Comput. (AETiC), vol. 8, no. 1, pp. 36–49, Jan. 2024, doi: 10.33166/AETiC.2024.01.004.
[4]F. Johnson, O. Oluwatobi, O. Folorunso, A. V. Ojumu, and A. Quadri, “Optimized ensemble machine learning model for software bugs prediction,” Innov. Syst. Softw. Eng., vol. 19, no. 1, pp. 91–101, Mar. 2023, doi: 10.1007/s11334-022-00506-x.
[5]A. Lamkanfi, S. Demeyer, E. Giger, and B. Goethals, “Predicting the severity of a reported bug,” in Proc. 7th IEEE Working Conf. Mining Softw. Repositories (MSR), 2010, pp. 1–10, doi: 10.1109/MSR.2010.5463284.
[6]T. Menzies and A. Marcus, “Automated severity assessment of software defect reports,” in Proc. IEEE Int. Conf. Softw. Maintenance, 2008, pp. 346–355, doi: 10.1109/ICSM.2008.4658083.
[7]Y. Tian, D. Lo, and C. Sun, “Information retrieval based nearest neighbor classification for fine-grained bug severity prediction,” in Proc. 19th Working Conf. Reverse Eng. (WCRE), 2012, pp. 215–224, doi: 10.1109/WCRE.2012.31.
[8]W. Y. Ramay, Q. Umer, X. C. Yin, C. Zhu, and I. Illahi, “Deep neural network-based severity prediction of bug reports,” IEEE Access, vol. 7, pp. 46846–46857, 2019, doi: 10.1109/ACCESS.2019.2909746.
[9]A. Kukkar, R. Mohana, A. Nayyar, J. Kim, B.-G. Kang, and N. Chilamkurti, “A novel deep-learning-based bug severity classification technique using convolutional neural networks and random forest with boosting,” Sensors, vol. 19, no. 13, Art. no. 2964, Jul. 2019, doi: 10.3390/s19132964.
[10]K. K. Chaturvedi and V. B. Singh, “Determining bug severity using machine learning techniques,” in Proc. CSI 6th Int. Conf. Softw. Eng. (CONSEG), 2012, pp. 1–6, doi: 10.1109/CONSEG.2012.6349519.
[11]Y. Su, X. Hu, X. Chen, Y. Qu, and Q. Meng, “CIL-BSP: Bug report severity prediction based on class imbalanced learning,” in Proc. IEEE 22nd Int. Conf. Softw. Quality, Reliability, Security Companion (QRS-C), 2022, pp. 298–306, doi: 10.1109/QRS-C57518.2022.00051.
[12]M. Sharma, P. Bedi, K. K. Chaturvedi, and V. B. Singh, “Predicting the priority of a reported bug using machine learning techniques and cross project validation,” in Proc. 12th Int. Conf. Intell. Syst. Design Appl. (ISDA), 2012, pp. 539–545, doi: 10.1109/ISDA.2012.6416595.
[13]Y. Tian, D. Lo, and C. Sun, “Drone: Predicting priority of reported bugs by multi-factor analysis,” in Proc. IEEE Int. Conf. Softw. Maintenance, 2013, pp. 200–209, doi: 10.1109/ICSM.2013.31.
[14]A. Goyal and N. Sardana, “Empirical analysis of ensemble machine learning techniques for bug triaging,” in Proc. 12th Int. Conf. Contemporary Comput. (IC3), 2019, pp. 1–6, doi: 10.1109/IC3.2019.8844876.
[15]R. Sawarkar, N. K. Nagwani, and S. Kumar, “Predicting bug estimation time for newly reported bug using machine learning algorithms,” in Proc. IEEE 5th Int. Conf. Convergence Technol. (I2CT), 2019, pp. 1–4, doi: 10.1109/I2CT45611.2019.9033749.
[16]Q. Umer, H. Liu, and I. Illahi, “CNN-based automatic prioritization of bug reports,” IEEE Trans. Rel., vol. 69, no. 4, pp. 1341–1354, Dec. 2020, doi: 10.1109/TR.2019.2959624.
[17]Y. Li et al., “A tale of two tasks: Automated issue priority prediction with deep multi-task learning,” in Proc. 16th ACM/IEEE Int. Symp. Empirical Softw. Eng. Measurement (ESEM), Helsinki, Finland, Sep. 2022, pp. 1–11, doi: 10.1145/3544902.3546257.
[18]G. Salton and C. Buckley, “Term-weighting approaches in automatic text retrieval,” Inf. Process. Manage., vol. 24, no. 5, pp. 513–523, Jan. 1988, doi: 10.1016/0306-4573(88)90021-0.
[19]Q. Umer, H. Liu, and Y. Sultan, “Emotion based automated priority prediction for bug reports,” IEEE Access, vol. 6, pp. 35743–35752, 2018, doi: 10.1109/ACCESS.2018.2850910.
[20]J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” in Proc. 2019 Conf. North Amer. Chapter Assoc. Comput. Linguistics: Human Lang. Technol., vol. 1, 2019, pp. 4171–4186, doi: 10.18653/v1/N19-1423.
[21]N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic minority over-sampling technique,” J. Artif. Intell. Res., vol. 16, pp. 321–357, Jun. 2002, doi: 10.1613/jair.953.
[22]M. Buda, A. Maki, and M. A. Mazurowski, “A systematic study of the class imbalance problem in convolutional neural networks,” Neural Netw., vol. 106, pp. 249–259, Oct. 2018, doi: 10.1016/j.neunet.2018.07.011.
[23]B. Krawczyk, “Learning from imbalanced data: Open challenges and future directions,” Prog. Artif. Intell., vol. 5, no. 4, pp. 221–232, Nov. 2016, doi: 10.1007/s13748-016-0094-0.
[24]D. R. Cox, “The regression analysis of binary sequences,” J. Roy. Stat. Soc. Ser. B (Methodol.), vol. 20, no. 2, pp. 215–232, Jul. 1958, doi: 10.1111/j.2517-6161.1958.tb00292.x.
[25]L. Breiman, “Random forests,” Mach. Learn., vol. 45, no. 1, pp. 5–32, Oct. 2001, doi: 10.1023/A:1010933404324.
[26]T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery Data Mining, San Francisco, CA, USA, Aug. 2016, pp. 785–794, doi: 10.1145/2939672.2939785.
[27]N. K. Nagwani and S. Verma, “A comparative study of bug classification algorithms,” Int. J. Softw. Eng. Knowl. Eng., vol. 24, no. 1, pp. 111–138, Feb. 2014, doi: 10.1142/S0218194014500053.
[28]A. Hammouri, M. Hammad, M. Alnabhan, and F. Alsarayrah, “Software bug prediction using machine learning approach,” Int. J. Adv. Comput. Sci. Appl., vol. 9, no. 2, pp. 78–83, 2018, doi: 10.14569/IJACSA.2018.090212.
[29]A. Lamkanfi, J. Perez, and S. Demeyer, “The Eclipse and Mozilla defect tracking dataset: A genuine dataset for mining bug information,” in Proc. 10th Working Conf. Mining Softw. Repositories (MSR), 2013, pp. 203–206, doi: 10.1109/MSR.2013.6624028.
[30]G. Boetticher, T. Menzies, and T. Ostrand, “The PROMISE repository of empirical software engineering data,” West Virginia University, Department of Computer Science, 2007. [Online]. Available: http://promisedata.org/repository
[31]R. Vieira, A. da Silva, L. Rocha, and J. P. Gomes, “From reports to bug-fix commits: A 10 years dataset of bug-fixing activity from 55 Apache's open source projects,” in Proc. 15th Int. Conf. Predictive Models Data Analytics Softw. Eng., Recife, Brazil, Sep. 2019, pp. 80–89, doi: 10.1145/3345629.3345639.
[32]A. Patil, “GitBugs: Bug reports for duplicate detection, retrieval augmented generation, triage, and more,” arXiv preprint arXiv:2504.09651, 2025, doi: 10.48550/arXiv.2504.09651.
[33]J. Acharya and G. Ginde, “BugsRepo: A comprehensive curated dataset of bug reports, comments and contributors information from Bugzilla,” in Proc. 29th Int. Conf. Evaluation Assessment Softw. Eng., Istanbul, Türkiye, Jun. 2025, pp. 986–993, doi: 10.1145/3756681.3756994.
[34]J. Zhang, X. Wang, D. Hao, B. Xie, L. Zhang, and H. Mei, “A survey on bug-report analysis,” Sci. China Inf. Sci., vol. 58, no. 2, pp. 1–24, Feb. 2015, doi: 10.1007/s11432-014-5241-2.
[35]H.-N. Zhu, R. Furth, M. Pradel, and C. Rubio-González, “From bugs to benchmarks: A comprehensive survey of software defect datasets,” ACM Comput. Surv., vol. 58, no. 10, pp. 1–39, Jul. 2026, doi: 10.1145/3797033.