An Empirical Study on the Classification of Bug Reports with Machine Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Andrade, Renato, Teixeira, César, Laranjeiro, Nuno, Vieira, Marco
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917942744055808
author Andrade, Renato
Teixeira, César
Laranjeiro, Nuno
Vieira, Marco
author_facet Andrade, Renato
Teixeira, César
Laranjeiro, Nuno
Vieira, Marco
contents Software defects are a major threat to the reliability of computer systems. The literature shows that more than 30% of bug reports submitted in large software projects are misclassified (i.e., are feature requests, or mistakes made by the bug reporter), leading developers to place great effort in manually inspecting them. Machine Learning algorithms can be used for the automatic classification of issue reports. Still, little is known regarding key aspects of training models, such as the influence of programming languages and issue tracking systems. In this paper, we use a dataset containing more than 660,000 issue reports, collected from heterogeneous projects hosted in different issue tracking systems, to study how different factors (e.g., project language, report content) can influence the performance of models in handling classification of issue reports. Results show that using the report title or description does not significantly differ; Support Vector Machine, Logistic Regression, and Random Forest are effective in classifying issue reports; programming languages and issue tracking systems influence classification outcomes; and models based on heterogeneous projects can classify reports from projects not present during training. Based on findings, we propose guidelines for future research, including recommendations for using heterogeneous data and selecting high-performing algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2503_00660
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Empirical Study on the Classification of Bug Reports with Machine Learning
Andrade, Renato
Teixeira, César
Laranjeiro, Nuno
Vieira, Marco
Software Engineering
Software defects are a major threat to the reliability of computer systems. The literature shows that more than 30% of bug reports submitted in large software projects are misclassified (i.e., are feature requests, or mistakes made by the bug reporter), leading developers to place great effort in manually inspecting them. Machine Learning algorithms can be used for the automatic classification of issue reports. Still, little is known regarding key aspects of training models, such as the influence of programming languages and issue tracking systems. In this paper, we use a dataset containing more than 660,000 issue reports, collected from heterogeneous projects hosted in different issue tracking systems, to study how different factors (e.g., project language, report content) can influence the performance of models in handling classification of issue reports. Results show that using the report title or description does not significantly differ; Support Vector Machine, Logistic Regression, and Random Forest are effective in classifying issue reports; programming languages and issue tracking systems influence classification outcomes; and models based on heterogeneous projects can classify reports from projects not present during training. Based on findings, we propose guidelines for future research, including recommendations for using heterogeneous data and selecting high-performing algorithms.
title An Empirical Study on the Classification of Bug Reports with Machine Learning
topic Software Engineering
url https://arxiv.org/abs/2503.00660