EDP-BGCNN: Effective Defect Prediction via BERT-based Graph Convolutional Neural Network

被引:3
|
作者
Shen, Hao [1 ]
Ju, Xiaolin [1 ]
Chen, Xiang [1 ]
Yang, Guang [2 ]
机构
[1] Nantong Univ, Sch Informat Sci & Technol, Nantong, Peoples R China
[2] Nanjing Univ Aeronaut & Astronaut, Sch Informat Sci & Technol, Nanjing, Peoples R China
来源
2023 IEEE 47TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC | 2023年
关键词
D O I
10.1109/COMPSAC57700.2023.00114
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Software defect prediction (SDP) is a critical task that aims to identify potential defects and allocate resources for testing to enhance software reliability. In this study, we present a novel defect prediction framework called EDP-BGCNN, which leverages the power of BERT and graph convolutional neural networks to represent code. Our approach first extracts the code's structural semantic features based on its abstract syntax tree (AST), followed by applying BERT for embedded learning to extract the code's semantic features. We then use latent Dirichlet allocation (LDA) to extract descriptive semantic features and convert them into a numeric vector. The code and descriptive semantic features are then combined and processed by GraphSMOTE to address the class imbalance problem. Finally, we obtain a more comprehensive representation using graph convolutional neural networks. We evaluated our approach on five open-source projects and compared it with three state-of-the-art deep-learning methods. Our experimental results demonstrate that EDP-BGCNN can achieve significant improvements in AUC (4.9% - 23%) and F1-measure (6.6% - 10.7%) on average.
引用
收藏
页码:850 / 859
页数:10
相关论文
共 50 条
  • [1] BERT-based combination of convolutional and recurrent neural network for indonesian sentiment analysis
    Murfi, Hendri
    Syamsyuriani
    Gowandi, Theresia
    Ardaneswari, Gianinna
    Nurrohmah, Siti
    APPLIED SOFT COMPUTING, 2024, 151
  • [2] Software Defect Prediction via Convolutional Neural Network
    Li, Jian
    He, Pinjia
    Zhu, Jieming
    Lyu, Michael R.
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 318 - 328
  • [3] Defect count prediction via metric-based convolutional neural network
    Meetesh Nevendra
    Pradeep Singh
    Neural Computing and Applications, 2021, 33 : 15319 - 15344
  • [4] Defect count prediction via metric-based convolutional neural network
    Nevendra, Meetesh
    Singh, Pradeep
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (22): : 15319 - 15344
  • [5] Rockburst Prediction via Multiscale Graph Convolutional Neural Network
    Su, Shuzhi
    Gao, Tianxiang
    Zhu, Yanmin
    Fang, Xianjin
    Fan, Tengyue
    ROCK MECHANICS AND ROCK ENGINEERING, 2024, : 659 - 677
  • [6] Graph Neural Network and BERT-based Semantic Comprehension Method for Automatic Abstraction of Long Texts
    Rong, Bing
    Fu, Zhaoren
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2025,
  • [7] Text classification problems via BERT embedding method and graph convolutional neural network
    Loc Tran
    Lam Pham
    Tuan Tran
    An Mai
    2021 INTERNATIONAL CONFERENCE ON ADVANCED TECHNOLOGIES FOR COMMUNICATIONS (ATC 2021), 2021, : 260 - 264
  • [8] Software defect prediction employing BiLSTM and BERT-based semantic feature
    Uddin, Md Nasir
    Li, Bixin
    Ali, Zafar
    Kefalas, Pavlos
    Khan, Inayat
    Zada, Islam
    SOFT COMPUTING, 2022, 26 (16) : 7877 - 7891
  • [9] Software defect prediction employing BiLSTM and BERT-based semantic feature
    Md Nasir Uddin
    Bixin Li
    Zafar Ali
    Pavlos Kefalas
    Inayat Khan
    Islam Zada
    Soft Computing, 2022, 26 : 7877 - 7891
  • [10] Software defect prediction via optimal trained convolutional neural network
    Balasubramaniam, S.
    Gollagi, Shantappa G.
    ADVANCES IN ENGINEERING SOFTWARE, 2022, 169