Performance Analysis of Deep Learning Mod els for Software Fault Prediction Using the BugHunter Dataset

Authors

  • Dang Thi Kim Ngan Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam
  • Dao Khanh Duy Hiện đang theo học chương trình Cử nhân Kỹ thuật (Bachelor of Engineering) tại Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam.
  • Ha Thi Minh Phuong Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam
  • Nguyen Thanh Binh Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam

Keywords

software fault prediction, machine learning, BugHunter dataset

DOI:

https://doi.org/10.32913/mic-ict-research-vn.v2025.n1.1374

Abstract

Software fault prediction (SFP) involves the identification of potentially fault-prone modules before the testing phase in the software development lifecycle. By predicting faults early in the development process, the SFP process enables software developers to focus their efforts on components that may contain faults, thereby enhancing the overall quality and reliability of the software. Machine learning and deep learning techniques have been widely applied to train SFP models. However, these approaches face several challenges, including irrelevant or redundant features, imbalanced
datasets, overfitting, and complex model structures. The NASA dataset from the PROMISE repository is the most commonly used dataset for fault prediction. Recently, the BugHunter dataset with its substantially larger number of instances was
explored to train the SFP models. In this study, we present the comparative study of three deep learning models, including Convolutional Neural Network (CNN), Recurrent Neural Network (RNN), Long Short-Term Memory (LSTM) and four machine learning models as K-Nearest Neighbors (KNN), Multilayer Perceptron (MLP), Adaptive Boosting (AdaBoost), Extreme Gradient Boosting (XGB) to investigate the performance of SFP models on the BugHunter dataset. We employ the Lasso method for feature selection and apply the Synthetic Minority Oversampling Technique (SMOTE) to address
the issue of imbalanced data, aiming to enhance the accuracy of the results. The experimental findings reveal that CNN and RNN outperformed other machine learning models, achieving the best overall performance.

Downloads

Download data is not yet available.

Author Biographies

  • Dang Thi Kim Ngan, Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam

    Dang Thi Kim Ngan obtained a Bachelor degree in Information Management at the University of Danang-University of Economics in 2011. She got an MSc degree of at the Chinese Culture University, Tai wan in 2014. She is currently serving as a lecturer at the University of Danang Vietnam-Korea University of Information and Communication Technology. Her research focuses on software engineering.

  • Dao Khanh Duy, Hiện đang theo học chương trình Cử nhân Kỹ thuật (Bachelor of Engineering) tại Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam.

    Dao Khanh Duy is currently pursuing a Bachelor of Engineering at the University of Danang- Vietnam-Korea University of Information and Communication Technology. He has been gaining valuable hands on experience in research and development through internships at the King Mongkut’s University of Technology North Bangkok and MGM technology partners. His current research focuses on software testing and software effort estimation.

  • Ha Thi Minh Phuong, Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam

    Ha Thi Minh Phuong received a Bachelor degree in Information Technology from the University of Danang-University of Science and Technology in 2010. She earned M.Sc. degree in Computer Science at Yuan Ze University, Taiwan in 2013. She is a lecturer at the University of Danang Vietnam-Korea University of Information and Communication Technology. She is currently pursuing the Ph.D. degree in Computer Science at the University of Danang. Her current research focuses on software testing, deep learning.

  • Nguyen Thanh Binh, Trường Đại học Công nghệ Thông tin và Truyền thông Việt – Hàn, Đại học Đà Nẵng, Việt Nam

    Nguyen Thanh Binh graduated in Information Technology from the University of Danang- University of Science and Technology in 1997. He received a PhD. degree in Information Technology at Grenoble Institute of Technology, France in 2004. He
    has been qualified as Associate Professor since 2013. He is currently working at the University of Danang- Vietnam-Korea University of Information and Communication Technology. His research interests include software engineering and software quality.

Downloads

Published

2025-06-25