arrow
返回

DeepCPDP: Deep Learning Based Cross-Project Defect Prediction

delete2019-01-01
delete32
delete
OA
AI
D
Deyu Chen
陈翔 封面图
陈翔 (Xiang Chen) *
李浩 封面图
李浩 (Hao Li)
J
Junfeng Xie
Y
Yanzhou Mu
DOI:10.1109/ACCESS.2019.2961129delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Cross-project defect prediction (CPDP) is an active research topic in the domain of software defect prediction, since CPDP can be applied to the following scenarios: the target project for software defect prediction is a new project or the target project does not have enough labeled modules. Most of the previous work tried to utilize the labeled dataset gathered from other projects (i.e., the source projects) and then proposed transfer learning based methods to reduce the data distribution difference between different projects. In this article, we propose a deep learning based CPDP method DeepCPDP. For this method, we represent source code of each extracted program module by using simplified abstract syntax tree (SimAST). For a node of SimAST, we only keep its node type, since this is project-independent, while we ignore the name of method and variable, since these information are project-specific. Therefore, SimAST is project-independent and especially suitable for the task of CPDP. Then, we extract the token vector from each module after it is modeled via SimAST. Moreover, we design a new unsupervised based embedding method SimASTToken2Vec to learn meaningful representation for these extracted token vectors. Later, we employ Bi-directional Long Short-Term Memory (BiLSTM) neural network to automatically learn semantic features from embedded token vectors. In addition, we use attention mechanism over the BiLSTM layer to learn the weight of the vectors from the learned semantic features. Finally, we construct CPDP models via Logistic regression classifier. To show the effectiveness of DeepCPDP, ten large-scale projects from different application domains are used and AUC measure is used to measure the prediction performance of trained models. By using Scott-Knott test, we can find DeepCPDP can significantly outperform eight state-of-the-art baselines. Moreover, we also verify that the usage of SimASTToken2Vec, BiLSTM and attention mechanism is competitive in our proposed method.
Keyword:
Software defect prediction
cross-project defect prediction
bi-directional long short-term memory
embedding method
attention mechanism
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

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

机构

F
fudan university
学者数:
11.8W
论文数: 7.7W
被引数: 121
T
tianjin university
学者数:
8.0W
论文数: 5.8W
被引数: 88
N
Nantong University
学者数:
1.9W
论文数: 1.1W
被引数: 2.0W
学者 查看更多机构
引用论文

引用论文

Ionic Liquids with Solvatochromatic and Charge-Transfer Functionalities Incorporating the Viologen Moiety
err2013-01-01
err0
PREAI
errH. Q. Nimal Gunaratne; Peter Nockemann; Sonia Olejarz; Stephanie M. Reid; Kenneth R. Seddon; Geetha Srinivasan
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收藏
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收藏
学者 查看更多内容