A Hierarchical Feature Ensemble Deep Learning Approach for Software Defect Prediction

被引:2
|
作者
Zhang, Shenggang [1 ]
Jiang, Shujuan [1 ]
Yan, Yue [1 ]
机构
[1] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou 221116, Peoples R China
基金
中国国家自然科学基金;
关键词
Software defect prediction; deep learning; abstract syntax tree; class dependency network; ensemble learning;
D O I
10.1142/S0218194023500079
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software defect prediction can detect modules that may have defects in advance and optimize resource allocation to improve test efficiency and reduce development costs. Traditional features cannot capture deep semantic and grammatical information, which limits the further development of software defect prediction. Therefore, it has gradually become a trend to use deep learning technology to automatically learn valuable deep features from source code or relevant data. However, most software defect prediction methods based on deep learning extraction features from a single information source or only use a single deep learning model, which leads to the fact that the extracted features are not comprehensive enough to affect the final prediction performance. In view of this, this paper proposes a Hierarchical Feature Ensemble Deep Learning (HFEDL) Approach for software defect prediction. Firstly, the HFEDL approach needs to obtain three types of information sources: abstract syntax tree (AST), class dependency network (CDN) and traditional features. Then, the Convolutional Neural Network (CNN) and the Bidirectional Long Short-Term Memory based on Attention mechanism (BiLSTM+Attention) are used to extract different valuable features from the three information sources and multiple prediction sub-models are constructed. Next, all the extracted features are fused by a filter mechanism to obtain more comprehensive features and construct a fusion prediction sub-model. Finally, all the sub-models are integrated by an ensemble learning method to obtain the final prediction model. We use 11 projects in the PROMISE defect repository and evaluate our approach in both non-effort-aware and effort-aware scenarios. The experimental results show that the prediction performance of our approach is superior to state-of-the-art methods in both scenarios.
引用
收藏
页码:543 / 573
页数:31
相关论文
共 50 条
  • [21] Deep-Learning Approach with DeepXplore for Software Defect Severity Level Prediction
    Kumar, Lov
    Dastidar, Triyasha Ghosh
    Neti, Lalitha Bhanu Murthy
    Satapathy, Shashank Mouli
    Misra, Sanjay
    Kocher, Vipul
    Padmanabhuni, Srinivas
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, ICCSA 2021, PT VII, 2021, 12955 : 398 - 410
  • [22] Neighbor cleaning learning based cost-sensitive ensemble learning approach for software defect prediction
    Li, Li
    Su, Renjia
    Zhao, Xin
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2024, 36 (12):
  • [23] Software defect prediction using ensemble learning on selected features
    Laradji, Issam H.
    Alshayeb, Mohammad
    Ghouti, Lahouari
    INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 58 : 388 - 402
  • [24] Software Defect Prediction Method Based on Clustering Ensemble Learning
    Tao, Hongwei
    Cao, Qiaoling
    Chen, Haoran
    Li, Yanting
    Niu, Xiaoxu
    Wang, Tao
    Geng, Zhenhao
    Shang, Songtao
    IET SOFTWARE, 2024, 2024
  • [25] Hybrid SMOTE-Ensemble Approach for Software Defect Prediction
    Alsawalqah, Hamad
    Faris, Hossam
    Aljarah, Ibrahim
    Alnemer, Loai
    Alhindawi, Nouh
    SOFTWARE ENGINEERING TRENDS AND TECHNIQUES IN INTELLIGENT SYSTEMS, CSOC2017, VOL 3, 2017, 575 : 355 - 366
  • [26] Semantic and traditional feature fusion for software defect prediction using hybrid deep learning model
    Abdu, Ahmed
    Zhai, Zhengjun
    Abdo, Hakim A.
    Algabri, Redhwan
    Al-masni, Mohammed A.
    Muhammad, Mannan Saeed
    Gu, Yeong Hyeon
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [27] Is deep learning good enough for software defect prediction?
    Pandey, Sushant Kumar
    Haldar, Arya
    Tripathi, Anil Kumar
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2023,
  • [28] Performing Software Defect Prediction Using Deep Learning
    Gurung, Saksham
    Communications in Computer and Information Science, 2022, 1697 CCIS : 319 - 331
  • [29] A Survey on Software Defect Prediction Using Deep Learning
    Akimova, Elena N.
    Bersenev, Alexander Yu
    Deikov, Artem A.
    Kobylkin, Konstantin S.
    Konygin, Anton, V
    Mezentsev, Ilya P.
    Misilov, Vladimir E.
    MATHEMATICS, 2021, 9 (11)
  • [30] A Survey of Software Defect Prediction Based on Deep Learning
    Meetesh Nevendra
    Pradeep Singh
    Archives of Computational Methods in Engineering, 2022, 29 : 5723 - 5748