arrow
Return

BugPre: an intelligent software version-to-version bug prediction system using graph convolutional neural networks

delete2022-08-27
delete5
delete
OA
AI
Z
Zixu Wang
W
Weiyuan Tong
P
Peng Li
G
Guixin Ye
H
Hao Chen *
X
Xiaoqing Gong *
Z
Zhanyong Tang
DOI:10.1007/s40747-022-00848-wdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Since defects in software may cause product fault and financial loss, it is essential to conduct software defect prediction (SDP) to identify the potentially defective modules, especially in the early stage of the software development lifecycle. Recently, cross-version defect prediction (CVDP) began to draw increasing research interests, employing the labeled defect data of the prior version within the same project to predict defects in the current version. As software development is a dynamic process, the data distribution (such as defects) during version change may get changed. Recent studies utilize machine learning (ML) techniques to detect software defects. However, due to the close dependencies between the updated and unchanged code, prior ML-based methods fail to model the long and deep dependencies, causing a high false positive. Furthermore, traditional defect detection is performed on the entire project, and the detection efficiency is relatively low, especially on large-scale software projects. To this end, we propose BugPre, a CVDP approach to address these two issues. BugPre is a novel framework that only conducts efficient defect prediction on changed modules in the current version. BugPre utilizes variable propagation tree-based associated analysis method to obtain the changed modules in the current version. Besides, BugPre constructs graph leveraging code context dependences and uses a graph convolutional neural network to learn representative characteristics of code, thereby improving defect prediction capability when version changes occur. Through extensive experiments on open-source Apache projects, the experimental results indicate that our BugPre outperforms three state-of-the-art defect detection approaches, and the F1-score has increased by higher than 16%.
Keywords:
Defect detection
Change impact analysis
Software version changes
Graph convolutional neural network

Journal

Complex and Intelligent Systems cover
Complex and Intelligent Systems
IF:
4.6
Papers:
2.1K
Citations:
6.6K

Organization

C
China University of Labor Relations
Scholars:
64
Papers: 64
Citations: 0
N
northwest university xi'an
Scholars:
1.8W
Papers: 1.2W
Citations: 22
Cited Papers

Cited Papers

An improved system for catheter loading during embryo transfer
err1987-12-01
err0
PREAI
errLinda K. Vaught; Clifford J. Stratton; Patricia Julian; William G. Vaught; Geoffrey Sher; Victor Knutzen; Virginia Marriage
errShare
errSave
Insurance activity and economic performance: Fresh evidence from asymmetric panel causality tests
err2018-10-24
err0
errOAAI
errAbdulnasser Hatemi‐J; Chi‐Chuan Lee; Chien‐Chiang Lee; Rangan Gupta
errShare
errSave
Crosstalk Between Autophagy and Apoptosis in RAW 264.7 Macrophages Infected With Ectromelia Orthopoxvirus
err2013-10-01
err0
errOAAI
errLech Martyniszyn; Lidia Szulc-Dąbrowska; Anna Boratyńska-Jasińska; Justyna Struzik; Anna Winnicka; Marek Niemiałtowski
errShare
errSave
Hydronephrosis
err2014-09-01
err0
PREAI
errDennis B. Liu; William R. Armstrong; Max Maizels
errShare
errSave
errShare
errSave
errShare
errSave
researcher View more