arrow
返回

Software Defect Prediction Based on Deep Representation Learning of Source Code From Contextual Syntax and Semantic Graph

delete2024-06-01
delete11
PRE
AI
A
Ahmed Abdu
Z
Zhengjun Zhai *
H
Hakim A. Abdo
R
Redhwan Algabri
DOI:10.1109/TR.2024.3354965delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Software defect prediction approaches play an essential role in the software development life cycle to help developers predict defects early, thus, preventing wasted time and effort. Defect prediction techniques based on semantic features have recently gained success over approaches based on traditional features. Existing semantic features-based defect prediction approaches use a single source code representation. Most studies focus on contextual syntax represented by abstract syntax trees, and some studies use a control flow graph to represent code graphs. However, a single representation is still limited for predicting defects that call multiple functions and have a high probability of false positives. To close the gap between source code representations on software defect prediction, we propose a defect prediction model based on multiple source code representations. The proposed model is a deep hierarchical convolutional neural network (DH-CNN). The syntax features extracted from abstract syntax trees using Word2vec are fed into syntax-level DH-CNN, and the semantic-graph features extracted from the control flow graph and data dependence graph using Node2vec are fed into semantic-level DH-CNN. In addition, the proposed model includes a gated merging mechanism that combines DH-CNN outputs to estimate the combination ratio of both types of features. Experimental results indicate that DH-CNN outperforms existing methods under cross-project and within-project scenarios.
Keyword:
Contextual representations
deep learning
graphical representations
hierarchical convolutional neural network
software defect prediction (SDP)

期刊

IEEE Transactions on Reliability 封面图
IEEE Transactions on Reliability
IF:
5.7
论文数:
2.8K
被引数:
8.5K

机构

H
hanyang university
学者数:
2.9W
论文数: 2.7W
被引数: 36
N
Northwestern Polytechnical University
学者数:
4.6W
论文数: 3.7W
被引数: 5.3W
H
Hodeidah University
学者数:
101
论文数: 129
被引数: 122
学者 查看更多机构
引用论文

引用论文

Machine Learning Investigation For Tri-Magnetized Sutterby Nanofluidic Model with Joule Heating In Agrivoltaics Technology
errNano
IF0
err2024-07-30
err0
PREAI
errHamid Qureshi; Zahoor Shah; Muhammad Asif Zahoor Raja; Muhammad Shoaib; Waqar Azeem Khan
err分享
err收藏
Crosstalk Between Autophagy and Apoptosis in RAW 264.7 Macrophages Infected With Ectromelia Orthopoxvirus感染正痘病毒的原始264.7巨噬细胞中自噬与凋亡之间的串扰
err2013-10-01
err0
errOAAI
errLech Martyniszyn; Lidia Szulc-Dąbrowska; Anna Boratyńska-Jasińska; Justyna Struzik; Anna Winnicka; Marek Niemiałtowski
err分享
err收藏
A NEW ABSOLUTE FREQUENCY REFERENCE GRID IN THE 28 THz RANGE
err1981-12-01
err0
PREAI
errA. Clairon; A. Van Lerberghe; Ch. Bréant; Ch. Salomon; G. Camy; Ch. J. Bordé
err分享
err收藏
Software defect prediction using Bayesian networks
err2012-08-01
err214
errOAAI
errOkutan, Ahmet; Yildiz, Olcay Taner
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容