Using textual bug reports to predict the fault category of software bugs

Thomas Hirsch, Birgit Gertraud Hofer*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Debugging is a time-consuming and expensive process. Developers have to select appropriate tools, methods and approaches in order to efficiently reproduce, localize and fix bugs. These choices are based on the developers’ assessment of the type of fault for a given bug report. This paper proposes a machine learning (ML) based approach that predicts the fault type for a given textual bug report. We built a dataset from 70+ projects for training and evaluation of our approach. Further, we performed a user study to establish a baseline for non-expert human performance on this task. Our models, incorporating our custom preprocessing approaches, reach up to 0.69% macro average F1 score on this bug classification problem. We demonstrate inter-project transferability of our approach. Further, we identify and discuss issues and limitations of ML classification approaches applied on textual bug reports. Our models can support researchers in data collection efforts, as for example bug benchmark creation. In future, such models could aid inexperienced developers in debugging tool selection, helping save time and resources.
Original languageEnglish
Article number100189
Number of pages12
JournalArray
Volume15
DOIs
Publication statusPublished - Sep 2022

Keywords

  • Bug report
  • Bug benchmark
  • Fault type prediction

ASJC Scopus subject areas

  • Software

Fields of Expertise

  • Information, Communication & Computing

Treatment code (Nähere Zuordnung)

  • Basic - Fundamental (Grundlagenforschung)

Fingerprint

Dive into the research topics of 'Using textual bug reports to predict the fault category of software bugs'. Together they form a unique fingerprint.

Cite this