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

被引:13
作者
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 条
[1]   Bug Localization with Combination of Deep Learning and Information Retrieval [J].
An Ngoc Lam ;
Anh Tuan Nguyen ;
Hoan Anh Nguyen ;
Nguyen, Tien N. .
2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, :218-229
[2]   Combining Deep Learning with Information Retrieval to Localize Buggy Files for Bug Reports [J].
An Ngoc Lam ;
Anh Tuan Nguyen ;
Hoan Anh Nguyen ;
Nguyen, Tien N. .
2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, :476-481
[3]  
[Anonymous], 2017, P S APPL COMP SAC 17, DOI DOI 10.1145/3019612.3019788
[4]  
[Anonymous], 2004, EMNLP
[5]  
[Anonymous], PROC INT CONF SOFTW
[6]  
Beck K., 2003, TEST DRIVEN DEV EXAM
[7]   Using Observed Behavior to Reformulate Queries during Text Retrieval-based Bug Localization [J].
Chaparro, Oscar ;
Florez, Juan Manuel ;
Marcus, Andrian .
2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, :376-387
[8]   Why software fails [J].
Charette, RN .
IEEE SPECTRUM, 2005, 42 (09) :42-49
[9]   AR-Miner: Mining Informative Reviews for Developers from Mobile App Marketplace [J].
Chen, Ning ;
Lin, Jialiu ;
Hoi, Steven C. H. ;
Xiao, Xiaokui ;
Zhang, Boshen .
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, :767-778
[10]   Locating bugs without looking back [J].
Dilshener, Tezcan ;
Wermelinger, Michel ;
Yu, Yijun .
AUTOMATED SOFTWARE ENGINEERING, 2018, 25 (03) :383-434