A Novel Approach to Automatic Query Reformulation for IR-based Bug Localization

被引:14
作者
Kim, Misoo [1 ]
Lee, Eunseok [1 ]
机构
[1] Sungkyunkwan Univ, Suwon, South Korea
来源
SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING | 2019年
关键词
Automatic Debugging; Bug Report; Test File; Information Retrieval-based Bug Localization; Automatic Query Reformulation; RANKING;
D O I
10.1145/3297280.3297451
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Automatic query reformulation techniques for Information Retrieval based Bug Localization (IRBL) have been proposed to improve the quality of queries and IRBL performance. Recently proposed techniques determine the quality of queries via the bugs' description and reformulate them using important terms in the top-N source files retrieved by the initial query. However, the bugs' description may not contain enough information about the bugs, and the retrieved top-N files may not always provide important terms. In this paper, we propose a novel automatic query reformulation approach to improve IRBL performance beyond that of a recent technique. Our method expands bug reports using attachments and expands queries by reducing the noisy terms in them. We experimented with 1,546 bug reports. According to our results, we found that the quality of 70 reports was wrongly determined, and our method improved IRBL performance by up to 118% for these reports. Moreover, compared with a state-of-the-art technique, our method resulted in improvements of approximately 17% in Top-1, 11% in MRR@10, and 10% in MAP@10.
引用
收藏
页码:1752 / 1759
页数:8
相关论文
共 38 条
[31]  
Vahabzadeh A, 2015, PROC IEEE INT CONF S, P101, DOI 10.1109/ICSM.2015.7332456
[32]   Locus: Locating Bugs from Software Changes [J].
Wen, Ming ;
Wu, Rongxin ;
Cheung, Shing-Chi .
2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, :262-273
[33]   Boosting Bug-Report-Oriented Fault Localization with Segmentation and Stack-Trace Analysis [J].
Wong, Chu-Pan ;
Xiong, Yingfei ;
Zhang, Hongyu ;
Hao, Dan ;
Zhang, Lu ;
Mei, Hong .
2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, :181-190
[34]   Learning to Rank Relevant Files for Bug Reports using Domain Knowledge [J].
Ye, Xin ;
Bunescu, Razvan ;
Liu, Chang .
22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, :689-699
[35]   Mapping Bug Reports to Relevant Files: A Ranking Model, a Fine-Grained Benchmark, and Feature Evaluation [J].
Ye, Xin ;
Bunescu, Razvan ;
Liu, Chang .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (04) :379-402
[36]   Improved bug localization based on code change histories and bug reports [J].
Youm, Klaus Changsun ;
Ahn, June ;
Lee, Eunseok .
INFORMATION AND SOFTWARE TECHNOLOGY, 2017, 82 :177-192
[37]  
Zhou J, 2012, PROC INT CONF SOFTW, P14, DOI 10.1109/ICSE.2012.6227210
[38]   What Makes a Good Bug Report? [J].
Zimmermann, Thomas ;
Premraj, Rahul ;
Bettenburg, Nicolas ;
Just, Sascha ;
Schroeter, Adrian ;
Weiss, Cathrin .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (05) :618-643