arrow
返回

How Well Do Change Sequences Predict Defects? Sequence Learning from Software Changes

delete2020-11-01
delete26
PRE
AI
文
文明 (Ming Wen)
吴
吴荣新 (Rongxin Wu) *
S
Shing-Chi Cheung
DOI:10.1109/TSE.2018.2876256delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Software defect prediction, which aims to identify defective modules, can assist developers in finding bugs and prioritizing limited quality assurance resources. Various features to build defect prediction models have been proposed and evaluated. Among them, process metrics are one important category. Yet, existing process metrics are mainly encoded manually from change histories and ignore the sequential information arising from the changes during software evolution. Are the change sequences derived from such information useful to characterize buggy program modules? How can we leverage such sequences to build good defect prediction models? Unlike traditional process metrics used for existing defect prediction models, change sequences are mostly vectors of variable length. This makes it difficult to apply such sequences directly in prediction models that are driven by conventional classifiers. To resolve this challenge, we utilize Recurrent Neural Network (RNN), which is a deep learning technique, to encode features from sequence data automatically. In this paper, we propose a novel approach called Fences, which extracts six types of change sequences covering different aspects of software changes via fine-grained change analysis. It approaches defects prediction by mapping it to a sequence labeling problem solvable by RNN. Our evaluations on 10 open source projects show that Fences can predict defects with high performance. In particular, our approach achieves an average F-measure of 0.657, which improves the prediction models built on traditional metrics significantly. The improvements vary from 31.6 to 46.8 percent on average. In terms of AUC, Fences achieves an average value of 0.892, and the improvements over baselines vary from 4.2 to 16.1 percent. Fences also outperforms the state-of-the-art technique which learns semantic features automatically from static code via deep learning.
Keyword:
Measurement
Software
Predictive models
Semantics
History
Machine learning
Feature extraction
Defect prediction
process metrics
sequence learning
AI总结

AI总结

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

Improving Software Defect Prediction by Aggregated Change Metrics通过聚合变更度量改进软件缺陷预测
err2021-01-01
err8
errOAAI
errSikic, Lucija; Afric, Petar; Kurdija, Adrian Satja; Silic, Marin
err分享
err收藏
err分享
err收藏
err分享
err收藏
Deep learning based software defect prediction基于深度学习的软件缺陷预测
err2020-04-01
err98
PREAI
errQiao, Lei; Li, Xuesong; Umer, Qasim; Guo, Ping
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.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收藏
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收藏
The Role of Minimally Invasive Surgery in Multifocal Renal Cell Carcinoma
err2012-04-27
err0
PREAI
errSerge Ginzburg; Robert G. Uzzo; Alexander Kutikov
err分享
err收藏
err分享
err收藏
Costs of running a universal adolescent hepatitis B vaccination programme
err2005-12-01
err0
PREAI
errL.A. Wallace; D. Young; A. Brown; J.C. Cameron; S. Ahmed; R. Duff; W.F. Carman; N.R.E. Kitchin; J.S. Nguyen-Van-Tam; D.J. Goldberg
err分享
err收藏
学者 查看更多内容