arrow
返回

Graph Neural Network for Source Code Defect Prediction

delete2022-01-01
delete25
delete
OA
AI
L
Lucija Šikić
A
Adrian Satja Kurdija
K
Klemo Vladimir
M
Marin Šilić *
DOI:10.1109/ACCESS.2022.3144598delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Predicting defective software modules before testing is a useful operation that ensures that the time and cost of software testing can be reduced. In recent years, several models have been proposed for this purpose, most of which are built using deep learning-based methods. However, most of these models do not take full advantage of a source code as they ignore its tree structure or they focus only on a small part of a code. To investigate whether and to what extent information from this structure can be beneficial in predicting defective source code, we developed an end-to-end model based on a convolutional graph neural network (GCNN) for defect prediction, whose architecture can be adapted to the analyzed software, so that projects of different sizes can be processed with the same level of detail. The model processes the information of the nodes and edges from the abstract syntax tree (AST) of the source code of a software module and classifies the module as defective or not defective based on this information. Experiments on open source projects written in Java have shown that the proposed model performs significantly better than traditional defect prediction models in terms of AUC and F-score. Based on the F-scores of the existing state-of-the-art models, the model has shown comparable predictive capabilities for the analyzed projects.
Keyword:
Codes
Software
Predictive models
Feature extraction
Task analysis
Graph neural networks
Data models
Software defect prediction
deep learning
graph neural network

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

U
University of Zagreb
学者数:
1.8W
论文数: 1.3W
被引数: 1.1W
引用论文

引用论文

err分享
err收藏
Spatial patterns of the semi-aquatic rodentNectomys squamipesin Atlantic forest streams
err2015-08-06
err0
errOAAI
errDaniela Oliveira Lima; Gabriela Medeiros Pinho; Fernando A. S. Fernandez
err分享
err收藏
Novel Thiourea Derivatives Bearing Sulfonamide Moiety as Anticancer Agents Through COX-2 Inhibition
err2017-10-02
err0
PREAI
errMostafa M. Ghorab; Mohamed S.A. El-Gaby; Mansour S. Alsaid; Yaseen A.M.M. Elshaier; Aiten M. Soliman; Fardous F. El-Senduny; Farid A. Badria; Abdelrahman Y.A. Sherif
err分享
err收藏
Cell Surface Human Airway Trypsin-Like Protease Is Lost During Squamous Cell Carcinogenesis
err2016-02-04
err0
errOAAI
errMichael J. Duhaime; Khaliph O. Page; Fausto A. Varela; Andrew S. Murray; Michael E. Silverman; Gina L. Zoratti; Karin List
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收藏
学者 查看更多内容