Empirical analysis of change metrics for software fault prediction

被引:47
作者
Choudhary, Garvit Rajesh [1 ]
Kumar, Sandeep [2 ]
Kumar, Kuldeep [3 ]
Mishra, Alok [4 ]
Catal, Cagatay [5 ]
机构
[1] Google Inc, Mountain View, CA USA
[2] Indian Inst Technol Roorkee, Dept Comp Sci & Engn, Roorkee, Uttar Pradesh, India
[3] Dr BR Ambedkar Natl Inst Technol Jalandhar, Dept Comp Sci & Engn, Jalandhar, Punjab, India
[4] Atilim Univ, Dept Software Engn, Ankara, Turkey
[5] Wageningen Univ, Informat Technol Grp, Wageningen, Netherlands
关键词
Software fault prediction; Eclipse; Change log; Metrics; Software quality; Defect prediction; DEFECT PREDICTION; COMPLEXITY; CODE;
D O I
10.1016/j.compeleceng.2018.02.043
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A quality assurance activity, known as software fault prediction, can reduce development costs arid improve software quality. The objective of this study is to investigate change metrics in conjunction with code metrics to improve the performance of fault prediction models. Experimental studies are performed on different versions of Eclipse projects and change metrics are extracted from the GIT repositories. In addition to the existing change metrics, several new change metrics are defined and collected from the Eclipse project repository. Machine learning algorithms are applied in conjunction with the change and source code metrics to build fault prediction models. The classification model with new change metrics performs better than the models using existing change metrics. In this work, the experimental results demonstrate that change metrics have a positive impact on the performance of fault prediction models, and high-performance models can be built with several change metrics. (C) 2018 Elsevier Ltd. All rights reserved.
引用
收藏
页码:15 / 24
页数:10
相关论文
共 30 条
[1]  
[Anonymous], 2015, EARLY SOFTWARE RELIA
[2]  
[Anonymous], 2007, 3 INT WORKSH PRED MO
[3]   The limited impact of individual developer data on software defect prediction [J].
Bell, Robert M. ;
Ostrand, Thomas J. ;
Weyuker, Elaine J. .
EMPIRICAL SOFTWARE ENGINEERING, 2013, 18 (03) :478-505
[4]  
Bell Robert M., 2011, P 7 INT C PRED MOD S
[5]   Merits of Organizational Metrics in Defect Prediction: An Industrial Replication [J].
Caglayan, Bora ;
Turhan, Burak ;
Bener, Ayse ;
Habayeb, Mayy ;
Miransky, Andriy ;
Cialini, Enzo .
2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 2, 2015, :89-98
[6]   Class noise detection based on software metrics and ROC curves [J].
Catal, Cagatay ;
Alan, Oral ;
Balkan, Kerime .
INFORMATION SCIENCES, 2011, 181 (21) :4867-4877
[7]   A systematic review of software fault prediction studies [J].
Catal, Cagatay ;
Diri, Banu .
EXPERT SYSTEMS WITH APPLICATIONS, 2009, 36 (04) :7346-7354
[8]  
Catal Cagatay., 2010, Electronic Engineering and Computing Technology, volume 60 of Lecture Notes in Electrical Engineering, V60, P189, DOI DOI 10.1007/978-90-481-8776-8_17
[9]  
Chiaraviglio L., 2017, T NETW, P1
[10]   An empirical study on software defect prediction with a simplified metric set [J].
He, Peng ;
Li, Bing ;
Liu, Xiao ;
Chen, Jun ;
Ma, Yutao .
INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 59 :170-190