Predicting the Number of Reported Bugs in a Software Repository

Hadi Jahanshahi, Mucahit Cevik, Ayşe Başar
4/24/2021
cs.SEcs.LG

Official code: HadiJahanshahi/Bug-Number-Prediction (1 star, Jupyter Notebook, last commit 2020-03-10).

Abstract

The bug growth pattern prediction is a complicated, unrelieved task, which needs considerable attention. Advance knowledge of the likely number of bugs discovered in the software system helps software developers in designating sufficient resources at a convenient time.

Show full abstract

The developers may also use such information to take necessary actions to increase the quality of the system and in turn customer satisfaction. In this study, we examine eight different time series forecasting models, including Long Short Term Memory Neural Networks (LSTM), auto-regressive integrated moving average (ARIMA), and Random Forest Regressor. Further, we assess the impact of exogenous variables such as software release dates by incorporating those into the prediction models. We analyze the quality of long-term prediction for each model based on different performance metrics. The assessment is conducted on Mozilla, which is a large open-source software application. The dataset is originally mined from Bugzilla and contains the number of bugs for the project between Jan 2010 and Dec 2019. Our numerical analysis provides insights on evaluating the trends in a bug repository. We observe that LSTM is effective when considering long-run predictions whereas Random Forest Regressor enriched by exogenous variables performs better for predicting the number of bugs in the short term.

View on arXivView PDF

Code Implementations(1)

Predicting the Number of Reported Bugs in a Software Repository

11Jupyter NotebookMar 10, 20206 years ago

Similar Papers

Cite this paper

@article{jahanshahi2021predicting,
  title  = {Predicting the Number of Reported Bugs in a Software Repository},
  author = {Hadi Jahanshahi and Mucahit Cevik and Ayşe Başar},
  year   = {2021},
  eprint = {2104.12001},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.12001}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.12001.svg)](https://codeofpaper.com/paper/2104.12001)

Discussion