Where Should We Fix This Bug? A Two-Phase Recommendation Model

被引:139
作者
Kim, Dongsun [1 ]
Tao, Yida [1 ]
Kim, Sunghun [1 ]
Zeller, Andreas [2 ]
机构
[1] Hong Kong Univ Sci & Technol, Dept Comp Sci & Engn, Kowloon, Hong Kong, Peoples R China
[2] Univ Saarlandes Informat, D-66123 Saarbrucken, Germany
关键词
Bug reports; machine learning; patch file prediction; PROBABILISTIC RANKING; PREDICTING FAULTS; IMPACT ANALYSIS; ERRORS; TOOL;
D O I
10.1109/TSE.2013.24
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To support developers in debugging and locating bugs, we propose a two-phase prediction model that uses bug reports' contents to suggest the files likely to be fixed. In the first phase, our model checks whether the given bug report contains sufficient information for prediction. If so, the model proceeds to predict files to be fixed, based on the content of the bug report. In other words, our two-phase model "speaks up" only if it is confident of making a suggestion for the given bug report; otherwise, it remains silent. In the evaluation on the Mozilla "Firefox" and "Core" packages, the two-phase model was able to make predictions for almost half of all bug reports; on average, 70 percent of these predictions pointed to the correct files. In addition, we compared the two-phase model with three other prediction models: the Usual Suspects, the one-phase model, and BugScout. The two-phase model manifests the best prediction performance.
引用
收藏
页码:1597 / 1610
页数:14
相关论文
共 66 条
[1]  
Acharya M, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P746, DOI 10.1145/1985793.1985898
[2]  
Anh Tuan Nguyen, 2011, 2011 26th IEEE/ACM International Conference on Automated Software Engineering, P263, DOI 10.1109/ASE.2011.6100062
[3]  
[Anonymous], 2004, Introduction to Machine Learning
[4]  
[Anonymous], 2008, Guide to Advanced Empirical Software Engineering
[5]  
[Anonymous], 2010, P FAST SOFTW ENCR WO
[6]  
Anvik J., 2006, P 28 INT C SOFTW ENG, P361, DOI [DOI 10.1145/1134285.1134336, 10.1145/1134285.1134336]
[7]   The Secret Life of Bugs: Going Past the Errors and Omissions in Software Repositories [J].
Aranda, Jorge ;
Venolia, Gina .
2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :298-+
[8]  
Ashok B, 2009, 7TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, P373
[9]  
Balzer R., 1991, P 13 INT C SOFTW ENG, P158
[10]  
BIGGERSTAFF TJ, 1993, PROC INT CONF SOFTW, P482, DOI 10.1109/ICSE.1993.346017