Research Article

An Ordinal Classification Approach for Software Bug Prediction

Volume: 21 Number: 62 May 21, 2019
EN TR

An Ordinal Classification Approach for Software Bug Prediction

Abstract

Software bug prediction is the process of utilizing classification and/or regression algorithms to predict the presence of possible errors (or defects) in a source code. However, current classification studies in the literature assume that the target attribute values in the datasets are binary (i.e. buggy or non-buggy) or unordered, so they lose inherent order between the class values such as zero, less and more bug levels. To overcome this drawback, this study proposes a novel approach which suggests ordinal classification methods as a solution for software bug prediction problem. This article compares ordinal and nominal versions of various classification algorithms (random forest, support vector machine, Naive Bayes and k-nearest neighbor) in terms of classification performance on real-world 38 software engineering datasets. The results indicate that ordinal classification approach achieves better classification accuracy on average than the traditional (nominal) solutions.  

Keywords

References

  1. [1] Burnstein, I. 2003. Practical Software Testing: A Process-Oriented Approach. 2003rd edition. Springer-Verlag New York, 710p.
  2. [2] Georgoulas, G., Karvelis P., Gavrilis D., Stylios C. D., Nikolakopoulos G. 2017. An Ordinal Classification Approach for CTG Categorization. 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), 11-15 July, 2642-2646. DOI: 10.1109/EMBC.2017.8037400
  3. [3] Frank, E., Hall, M. 2001. A Simple Approach to Ordinal Classification. 12th European Conference on Machine Learning, Freiburg, Germany, September 5-7, 2001, Lecture Notes in Computer Science, Volume. 2167, 145-156.
  4. [4] Kumar, L., Misra S., Rath Ku S. 2017. An Empirical Analysis of the Effectiveness of Software Metrics and Fault Prediction Model for Identifying Faulty Classes, Computer Standards & Interfaces, Volume. 53, p. 1-32. DOI: 10.1016/j.csi.2017.02.003
  5. [5] Nucci, D. D., Palomba, F., Oliveto, R., Lucia, D. A. 2017. Dynamic Selection of Classifiers in Bug Prediction: An Adaptive Method, IEEE Transactions on Emerging Topics in Computational Intelligence, Volume. 1, Issue 3, p. 202-212. DOI: 10.1109/TETCI.2017.2699224
  6. [6] Gupta, D. L., Saxena, K., 2017. Software Bug Prediction using Object-Oriented Metrics, Sādhanā, Volume. 42, Issue. 5, p. 655-669. DOI: 10.1007/s12046-017-0629-5
  7. [7] Gupta, D. L., Saxena K. 2016. AUC based Software Defect Prediction for Object-Oriented Systems, International Journal of Current Engineering and Technology, Volume. 6, Issue. 5.
  8. [8] Okutan, A., Yildiz O. T. 2016. A Novel Kernel to Predict Software Defectiveness, Journal of Systems and Software, Volume. 119, p. 109-121. DOI: 10.1016/j.jss.2016.06.006

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Publication Date

May 21, 2019

Submission Date

November 28, 2018

Acceptance Date

January 8, 2019

Published in Issue

Year 2019 Volume: 21 Number: 62

APA
Öztürk, E., Birant, K. U., & Birant, D. (2019). An Ordinal Classification Approach for Software Bug Prediction. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, 21(62), 533-544. https://doi.org/10.21205/deufmd.2019216218
AMA
1.Öztürk E, Birant KU, Birant D. An Ordinal Classification Approach for Software Bug Prediction. DEUFMD. 2019;21(62):533-544. doi:10.21205/deufmd.2019216218
Chicago
Öztürk, Elife, Kökten Ulaş Birant, and Derya Birant. 2019. “An Ordinal Classification Approach for Software Bug Prediction”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi 21 (62): 533-44. https://doi.org/10.21205/deufmd.2019216218.
EndNote
Öztürk E, Birant KU, Birant D (May 1, 2019) An Ordinal Classification Approach for Software Bug Prediction. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi 21 62 533–544.
IEEE
[1]E. Öztürk, K. U. Birant, and D. Birant, “An Ordinal Classification Approach for Software Bug Prediction”, DEUFMD, vol. 21, no. 62, pp. 533–544, May 2019, doi: 10.21205/deufmd.2019216218.
ISNAD
Öztürk, Elife - Birant, Kökten Ulaş - Birant, Derya. “An Ordinal Classification Approach for Software Bug Prediction”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi 21/62 (May 1, 2019): 533-544. https://doi.org/10.21205/deufmd.2019216218.
JAMA
1.Öztürk E, Birant KU, Birant D. An Ordinal Classification Approach for Software Bug Prediction. DEUFMD. 2019;21:533–544.
MLA
Öztürk, Elife, et al. “An Ordinal Classification Approach for Software Bug Prediction”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, vol. 21, no. 62, May 2019, pp. 533-44, doi:10.21205/deufmd.2019216218.
Vancouver
1.Elife Öztürk, Kökten Ulaş Birant, Derya Birant. An Ordinal Classification Approach for Software Bug Prediction. DEUFMD. 2019 May 1;21(62):533-44. doi:10.21205/deufmd.2019216218

Cited By

This journal is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

download?token=eyJhdXRoX3JvbGVzIjpbXSwiZW5kcG9pbnQiOiJmaWxlIiwicGF0aCI6IjliNTAvMDBjMi8xZmIxLzY5MjZmZDIyOGE1NzgyLjA3MzU5MTk2LnBuZyIsImV4cCI6MTc2NDE2OTMzMSwibm9uY2UiOiI2MTU1ODg1NGZlYzhkZTA1OThkNTU2NGFmYTQzYTc0YiJ9.O5b4Ex8bMlFv5797LL8VnE9YWS_X5880dfbmOp2-kc8