A Novel Feature to Predict Buggy Changes in a Software System


Yılmaz R., Nalçakan Y., Haktanır E.

International Conference on Intelligent and Fuzzy Systems, INFUS 2021, İstanbul, Türkiye, 24 - 26 Ağustos 2021, cilt.308, ss.407-414 identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası: 308
  • Doi Numarası: 10.1007/978-3-030-85577-2_48
  • Basıldığı Şehir: İstanbul
  • Basıldığı Ülke: Türkiye
  • Sayfa Sayıları: ss.407-414
  • Anahtar Kelimeler: Bug prediction, Classification, Code analysis, Code metrics, Machine learning, Software metrics
  • İstanbul Teknik Üniversitesi Adresli: Evet

Özet

© 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG.Researchers have successfully implemented machine learning classifiers to predict bugs in a change file for years. Change classification focuses on determining if a new software change is clean or buggy. In the literature, several bug prediction methods at change level have been proposed to improve software reliability. This paper proposes a model for classification-based bug prediction model. Four supervised machine learning classifiers (Support Vector Machine, Decision Tree, Random Forrest, and Naive Bayes) are applied to predict the bugs in software changes, and performance of these four classifiers are characterized. We considered a public dataset and downloaded the corresponding source code and its metrics. Thereafter, we produced new software metrics by analyzing source code at class level and unified these metrics with the existing set. We obtained new dataset to apply machine learning algorithms and compared the bug prediction accuracy of the newly defined metrics. Results showed that our merged dataset is practical for bug prediction based experiments.