journal article·2021-12-30Open access

Automated Classification of Unstructured Bilingual Software Bug Reports: An Industrial Case Study Research

Ömer Köksal, Bedir Tekinerdogan

Applied Sciences· Volume 12· Issue 1

Abstract

Software bug report classification is a critical process to understand the nature, implications, and causes of software failures. Furthermore, classification enables a fast and appropriate reaction to software bugs. However, for large-scale projects, one must deal with a broad set of bugs from multiple types. In this context, manually classifying bugs becomes cumbersome and time-consuming. Although several studies have addressed automated bug classification using machine learning techniques, they have mainly focused on academic case studies, open-source software, and unilingual text input. This paper presents our automated bug classification approach applied and validated in an industrial case study. In contrast to earlier studies, our study is applied to a commercial software system based on unstructured bilingual bug reports written in English and Turkish. The presented approach adopts and integrates machine learning (ML), text mining, and natural language processing (NLP) techniques to support the classification of software bugs. The approach has been applied within an industrial case study. Compared to manual classification, our results show that bug classification can be automated and even performs better than manual bug classification. Our study shows that the presented approach and the corresponding tools effectively reduce the manual classification time and effort.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Software Engineering Research · Software Engineering Techniques and Practices · Software Reliability and Analysis Research

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

Affiliations

ASELSAN Research Center, 06200 Ankara, Turkey

Information Technology Group, Wageningen University and Research, 6706 KN Wageningen, The Netherlands

References (43)

Show source-provided references
1. Not all bugs are the same: Understanding, characterizing, and classifying bug types10.1016/j.jss.2019.03.002 ↗
2. Antoniol, G., Ayari, K., Di Penta, M., Khomh, F., and Guéhéneuc, Y.G. (2008, January 27–30). Is it a bug or an enhancement? A text-based approach to classify change requests. Proceedings of the 2008 Conference of the Center for Advanced Studies (CASCON’08), Richmond Hill, ON, Canada.10.1145/1463788.1463819 ↗
3. Automated, highly-accurate, bug assignment using machine learning and tossing graphs10.1016/j.jss.2012.04.053 ↗
4. Classifying bug reports to bugs and other requests using topic modeling
5. Jeong, G., Kim, S., and Zimmermann, T. (2009, January 24–28). Improving bug triage with bug tossing graphs. Proceedings of the Joint 12th European Software Engineering Conference and 17th ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC-FSE’09), Amsterdam The Netherlands.10.1145/1595696.1595715 ↗
6. Bug report severity level prediction in open source software: A survey and research opportunities10.1016/j.infsof.2019.07.009 ↗
7. Mikolov, T., Chen, K., Corrado, G., and Dean, J. (2013, January 2–4). Efficient estimation of word representations in vector space. Proceedings of the 1st International Conference on Learning Representations, ICLR 2013—Workshop Track Proceedings, Scottsdale, AZ, USA.
8. Le, Q.V., and Mikolov, T. (2014, January 22–24). Distributed Representations of Sentences and Documents. Proceedings of the 31st International Conference on Machine Learning (ICML), Bejing, China.
9. Pennington, J., Socher, R., and Manning, C. (2014, January 25–29). GloVe: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
10. Enriching Word Vectors with Subword Information10.1162/tacl_a_00051 ↗
11. Seaman, C., Shull, F., Regardie, M., Elbert, D., Feldmann, R.L., Guo, Y., and Godfrey, S. (2008, January 9–10). Defect categorization: Making use of a decade of widely varying historical data. Proceedings of the 2008 ACM-IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM’08), Kaiserslautern, Germany.10.1145/1414004.1414030 ↗
12. Orthogonal defect classification—A concept for in-process measurements10.1109/32.177364 ↗
13. Čubranić, D., and Gail, M. (2004, January 20–24). Automatic bug triage using text categorization. Proceedings of the Sixteenth International Conference on Software Engineering & Knowledge Engineering (SEKE), Banff, AB, Canada.
14. Javed, M.Y., and Mohsin, H. (2012, January 4–6). An automated approach for software bug classification. Proceedings of the 6th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS), Palermo, Italy.
15. A Literature Review of Research in Bug Resolution: Tasks, Challenges and Future Directions10.1093/comjnl/bxv114 ↗
16. Guidelines for conducting and reporting case study research in software engineering10.1007/s10664-008-9102-8 ↗
17. A Coefficient of Agreement for Nominal Scales10.1177/001316446002000104 ↗
18. The Measurement of Observer Agreement for Categorical Data10.2307/2529310 ↗
19. Oflazer, K., and Saraçlar, M. (2018). Turkish and Its Challenges for Language and Speech Processing. Turkish Natural Language Processing, Springer.10.1007/978-3-319-90165-7 ↗
20. Oflazer, K., Çetinoğlu, Ö., and Say, B. (2004, January 26). Integrating morphology with multi-word expression processing in Turkish. Proceedings of the Workshop on Multiword Expressions: Integrating Processing, Barcelona, Spain.10.3115/1613186.1613195 ↗
21. Yirmibeşoğlu, Z., and Eryiğit, G. (2018, January 1). Detecting Code-Switching between Turkish-English Language Pair. Proceedings of the 2018 EMNLP Workshop W-NUT: The 4th Workshop on Noisy User-Generated Text, Brussels, Belgium.10.18653/v1/W18-6115 ↗
22. Hall, J., Nilsson, J., Nivre, J., Eryiǧit, G., Megyesi, B., Nilsson, M., and Saers, M. (2007, January 28–30). Single malt or blended? A study in multilingual parser optimization. Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL), Prague, Czech Republic.
23. Koksal, O. (2020, January 24–26). Tuning the Turkish Text Classification Process Using Supervised Machine Learning-based Algorithms. Proceedings of the International Conference on INnovations in Intelligent SysTems and Applications (INISTA), Novi Sad, Serbia.10.1109/INISTA49547.2020.9194669 ↗
24. The effect of stemming and stop-word-removal on automatic text classification in Turkish language
25. Kilimci, Z.H., Yoruk, H., and Akyokus, S. (2020, January 24–26). Sentiment Analysis Based Churn Prediction in Mobile Games using Word Embedding Models and Deep Learning Algorithms. Proceedings of the 2020 International Conference on INnovations in Intelligent SysTems and Applications (INISTA), Novi Sad, Serbia.10.1109/INISTA49547.2020.9194624 ↗
26. Beizer, B. (1990). Software Testing Techniques, Van Nostrand Reinhold.
27. Freimut, B., Denger, C., and Ketterer, M. (2005, January 19–22). An industrial case study of implementing and validating defect classification for process improvement and quality management. Proceedings of the International Software Metrics Symposium, Como, Italy.10.1109/METRICS.2005.10 ↗
28. Research issues in software fault categorization10.1145/1317471.1317478 ↗
29. What makes a good bug report?10.1109/TSE.2010.63 ↗
30. Bettenburg, N., Just, S., Schröter, A., Weiss, C., Premraj, R., and Zimmermann, T. (2008, January 9–14). What makes a good bug report?. Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering, Atlanta, GA, USA.10.1145/1453101.1453146 ↗
31. Sun, C., Lo, D., Khoo, S.C., and Jiang, J. (2011, January 6–10). Towards more accurate retrieval of duplicate bug reports. Proceedings of the 2011 26th IEEE/ACM International Conference on Automated Software Engineering (ASE), Lawrence, KS, USA.10.1109/ASE.2011.6100061 ↗
32. Automatic prediction of the severity of bugs using stack traces and categorical features10.1016/j.infsof.2019.106205 ↗
33. Herzig, K., Just, S., and Zeller, A. (2013, January 18–26). It’s not a bug, it’s a feature: How misclassification impacts bug prediction. Proceedings of the International Conference on Software Engineering, San Francisco, CA, USA.10.1109/ICSE.2013.6606585 ↗
34. Limsettho, N., Hata, H., and Matsumoto, K.I. (July, January 30). Comparing hierarchical dirichlet process with latent dirichlet allocation in bug report multiclass classification. Proceedings of the 2014 IEEE/ACIS 15th International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), Las Vegas, NV, USA.10.1109/SNPD.2014.6888695 ↗
35. Zhou, Y., Tong, Y., Gu, R., and Gall, H. (October, January 29). Combining text mining and data mining for bug report classification. Proceedings of the 30th International Conference on Software Maintenance and Evolution (ICSME), Victoria, BC, Canada.
36. Terdchanakul, P., Hata, H., Phannachitta, P., and Matsumoto, K. (2017, January 17–22). Bug or not? Bug Report classification using N-gram IDF. Proceedings of the 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME), Shanghai, China.10.1109/ICSME.2017.14 ↗
37. Learning to classify software defects from crowds: A novel approach10.1016/j.asoc.2017.10.047 ↗
38. Huang, L.G., Ng, V., Persing, I., Geng, R., Bai, X., and Tian, J. (2011, January 6–10). AutoODC: Automated generation of Orthogonal Defect Classifications. Proceedings of the 2011 26th IEEE/ACM International Conference on Automated Software Engineering (ASE), Lawrence, KS, USA.
39. Automatic defect categorization
40. Active Semi-supervised Defect Categorization
41. Jain, P., and Kapoor, A. (2009, January 20–25). Active learning for large multi-class problems. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.10.1109/CVPR.2009.5206651 ↗
42. Xia, X., Lo, D., Wang, X., and Zhou, B. (2014, January 4–7). Automatic defect categorization based on fault triggering conditions. Proceedings of the IEEE International Conference on Engineering of Complex Computer Systems (ICECCS), Tianjin, China.10.1109/ICECCS.2014.14 ↗
43. Automating orthogonal defect classification using machine learning algorithms10.1016/j.future.2019.09.009 ↗