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 条
  • [41] A feature selection approach based on a similarity measure for software defect prediction
    Qiao Yu
    Shu-juan Jiang
    Rong-cun Wang
    Hong-yang Wang
    Frontiers of Information Technology & Electronic Engineering, 2017, 18 : 1744 - 1753
  • [42] A feature selection approach based on a similarity measure for software defect prediction
    Yu, Qiao
    Jiang, Shu-juan
    Wang, Rong-cun
    Wang, Hong-yang
    FRONTIERS OF INFORMATION TECHNOLOGY & ELECTRONIC ENGINEERING, 2017, 18 (11) : 1744 - 1753
  • [43] Semantic Feature Learning via Dual Sequences for Defect Prediction
    Lin, Junhao
    Lu, Lu
    IEEE ACCESS, 2021, 9 : 13112 - 13124
  • [44] A Novel Ensemble Classifier Selection Method for Software Defect Prediction
    Dong, Xin
    Wang, Jie
    Liang, Yan
    IEEE ACCESS, 2025, 13 : 25578 - 25597
  • [45] Using Coding-Based Ensemble Learning to Improve Software Defect Prediction
    Sun, Zhongbin
    Song, Qinbao
    Zhu, Xiaoyan
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART C-APPLICATIONS AND REVIEWS, 2012, 42 (06): : 1806 - 1817
  • [46] Prediction Algorithm for Software Defect Series Based on Nonlinear Weighted Ensemble Learning
    Jia X.
    Fan S.
    Luo X.
    Zhu X.
    1600, Xi'an Jiaotong University (51): : 156 - 161
  • [47] Blood Glucose Level Prediction: Advanced Deep-Ensemble Learning Approach
    Nemat, Hoda
    Khadem, Heydar
    Eissa, Mohammad R.
    Elliott, Jackie
    Benaissa, Mohammed
    IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, 2022, 26 (06) : 2758 - 2769
  • [48] Reinforcing defect prediction: a reinforcement learning approach to mitigate class imbalance in software defect prediction
    Mahfooz Alam
    Mohd Mustaqeem
    Iran Journal of Computer Science, 2025, 8 (1) : 151 - 162
  • [49] Software Defect Prediction Approach Based on a Diversity Ensemble Combined With Neural Network
    Chen, Jinfu
    Xu, Jiaping
    Cai, Saihua
    Wang, Xiaoli
    Chen, Haibo
    Li, Zhehao
    IEEE TRANSACTIONS ON RELIABILITY, 2024, 73 (03) : 1487 - 1501
  • [50] Software Defect Prediction Based on Non-Linear Manifold Learning and Hybrid Deep Learning Techniques
    Zhu, Kun
    Zhang, Nana
    Zhang, Qing
    Ying, Shi
    Wang, Xu
    CMC-COMPUTERS MATERIALS & CONTINUA, 2020, 65 (02): : 1467 - 1486