Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Using Machine Learning Techniques to Predict Bugs in Classes: An Empirical Study

Author 1: Musaad Alzahrani
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 5 · Published 2022

DOI: https://doi.org/10.14569/IJACSA.2022.01305101

Abstract

Software bug prediction is an important step in the software development life cycle that aims to identify bug-prone software modules. Identification of such modules can reduce the overall cost and effort of the software testing phase. Many approaches have been introduced in the literature that have investigated the performance of machine learning techniques when used in software bug prediction activities. However, in most of these approaches, the empirical investigations were conducted using bug datasets that are small or have erroneous data leading to results with limited generality. Therefore, this study empirically investigates the performance of 8 commonly used machine learning techniques based on the Unified Bug Dataset which is a large and clean bug dataset that was published recently. A set of experiments are conducted to construct bug prediction models using the considered machine learning techniques. Each constructed model is evaluated using three performance metrics: accuracy, area under the curve, and F-measure. The results of the experiments show that logistic regression has better performance for bug prediction compared to other considered techniques.

Keywords

How to Cite this Article

Alzahrani, M. (2022). Using Machine Learning Techniques to Predict Bugs in Classes: An Empirical Study. International Journal of Advanced Computer Science and Applications, 13(5). https://doi.org/10.14569/IJACSA.2022.01305101

Alzahrani, Musaad. "Using Machine Learning Techniques to Predict Bugs in Classes: An Empirical Study." International Journal of Advanced Computer Science and Applications, vol. 13, no. 5, 2022, https://doi.org/10.14569/IJACSA.2022.01305101.

@article{Alzahrani2022,
  title     = {Using Machine Learning Techniques to Predict Bugs in Classes: An Empirical Study},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {5},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Musaad Alzahrani},
  doi       = {10.14569/IJACSA.2022.01305101},
  url       = {https://doi.org/10.14569/IJACSA.2022.01305101}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.