EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Semantic and traditional feature fusion for software defect prediction using hybrid deep learning model

Ahmed Abdu, Zhengjun Zhai, Hakim A Abdo, Redhwan Algabri, Mohammed A Al-Masni, Mannan Saeed Muhammad, Yeong Hyeon Gu

Scientific Reports · 01.07.2024 · 14 (1)

DOI: 10.1038/s41598-024-65639-4 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Scientific Reports, online erschienen am 01.07.2024. Verfasst von Ahmed Abdu und 6 weiteren Autor:innen. Beteiligte Einrichtung: School of Software, Northwestern Polytechnical University, Xi'an, 710072, China. Die Arbeit wurde bisher 57-mal zitiert (Crossref) und nennt 67 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Sejong University.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Software defect prediction aims to find a reliable method for predicting defects in a particular software project and assisting software engineers in allocating limited resources to release high-quality software products. While most earlier research has concentrated on employing traditional features, current methodologies are increasingly directed toward extracting semantic features from source code. Traditional features often fall short in identifying semantic differences within programs, differences that are essential for the development of reliable and effective prediction models. In contrast, semantic features cannot present statistical metrics about the source code, such as the code size and complexity. Thus, using only one kind of feature negatively affects prediction performance. To bridge the gap between the traditional and semantic features, we propose a novel defect prediction model that integrates traditional and semantic features using a hybrid deep learning approach to address this limitation. Specifically, our model employs a hybrid CNN-MLP classifier: the convolutional neural network (CNN) processes semantic features extracted from projects’ abstract syntax trees (ASTs) using Word2vec. In contrast, the traditional features extracted from the dataset repository are processed by a multilayer perceptron (MLP). Outputs of CNN and MLP are then integrated and fed into a fully connected layer for defect prediction. Extensive experiments are conducted on various open-source projects to validate CNN-MLP’s effectiveness. Experimental results indicate that CNN-MLP can significantly enhance defect prediction performance. Furthermore, CNN-MLP’s improvements outperform existing methods in non-effort-aware and effort-aware cases.

Autor:innen und Institutionen

  • School of Software, Northwestern Polytechnical University, Xi'an, 710072, China.
  • School of Software, Northwestern Polytechnical University, Xi'an, 710072, China. zhaizjun@nwpu.edu.cn.
  • School of Computer Science, Northwestern Polytechnical University, Xi'an, 710072, China. zhaizjun@nwpu.edu.cn.
  • School of Computer Science, Dr.Babasaheb Ambedkar Marathwada University, Aurangabad, India.
  • Research Institute of Engineering and Technology, Hanyang University, Ansan, 15588, Korea. redhwan@hanyang.ac.kr.
  • Department of Artificial Intelligence and Data Science, College of Software and Convergence Technology, Sejong University, Seoul, 05006, Republic of Korea.

Förderung

  • Sejong University

Zitieren

APA

Abdu, A., Zhai, Z., Abdo, H. A., Algabri, R., Al-Masni, M. A., Muhammad, M. S., & Gu, Y. H. (2024). Semantic and traditional feature fusion for software defect prediction using hybrid deep learning model. Scientific Reports, 14(1). https://doi.org/10.1038/s41598-024-65639-4

Vancouver

Abdu A, Zhai Z, Abdo HA, Algabri R, Al-Masni MA, Muhammad MS, et al. Semantic and traditional feature fusion for software defect prediction using hybrid deep learning model. Scientific Reports. 2024;14(1). doi:10.1038/s41598-024-65639-4

BibTeX
@article{Abdu2024,
  author = {Abdu, Ahmed and Zhai, Zhengjun and Abdo, Hakim A and Algabri, Redhwan and Al-Masni, Mohammed A and Muhammad, Mannan Saeed and Gu, Yeong Hyeon},
  title = {Semantic and traditional feature fusion for software defect prediction using hybrid deep learning model},
  journal = {Scientific Reports},
  year = {2024},
  volume = {14},
  number = {1},
  doi = {10.1038/s41598-024-65639-4}
}
Kostenlos starten →