arrow
返回

Deep Semantic Feature Learning for Software Defect Prediction

delete2020-12-01
delete185
PRE
AI
S
Song Wang *
T
Taiyue Liu
J
Jaechang Nam
L
Lin Tan
DOI:10.1109/TSE.2018.2877612delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Software defect prediction, which predicts defective code regions, can assist developers in finding bugs and prioritizing their testing efforts. Traditional defect prediction features often fail to capture the semantic differences between different programs. This degrades the performance of the prediction models built on these traditional features. Thus, the capability to capture the semantics in programs is required to build accurate prediction models. To bridge the gap between semantics and defect prediction features, we propose leveraging a powerful representation-learning algorithm, deep learning, to learn the semantic representations of programs automatically from source code files and code changes. Specifically, we leverage a deep belief network (DBN) to automatically learn semantic features using token vectors extracted from the programs' abstract syntax trees (AST) (for file-level defect prediction models) and source code changes (for change-level defect prediction models). We examine the effectiveness of our approach on two file-level defect prediction tasks (i.e., file-level within-project defect prediction and file-level cross-project defect prediction) and two change-level defect prediction tasks (i.e., change-level within-project defect prediction and change-level cross-project defect prediction). Our experimental results indicate that the DBN-based semantic features can significantly improve the examined defect prediction tasks. Specifically, the improvements of semantic features against existing traditional features (in F1) range from 2.1 to 41.9 percentage points for file-level within-project defect prediction, from 1.5 to 13.4 percentage points for file-level cross-project defect prediction, from 1.0 to 8.6 percentage points for change-level within-project defect prediction, and from 0.6 to 9.9 percentage points for change-level cross-project defect prediction.
Keyword:
Semantics
Predictive models
Feature extraction
Task analysis
Computer bugs
Data models
Defect prediction
quality assurance
deep learning
semantic features
AI总结

AI总结

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

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

H
Handong Global University
学者数:
565
论文数: 411
被引数: 361
U
University of Waterloo
学者数:
2.2W
论文数: 2.3W
被引数: 3.3W
引用论文

引用论文

Rating of acoustic performance levels of NBR 15575 (2013) based on user perception: A case study in the Brazilian Amazon
err2017-11-13
err0
PREAI
errWylliam Bessa Santana; Luiz Mauricio Furtado Maués; Newton Sure Soeiro; Marcelo de Souza Picanço
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收藏
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收藏
err分享
err收藏
学者 查看更多内容