Improving IR-Based Bug Localization with Context-Aware Query Reformulation

被引:63
|
作者
Rahman, Mohammad Masudur [1 ]
Roy, Chanchal K. [1 ]
机构
[1] Univ Saskatchewan, Saskatoon, SK, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Debugging automation; bug localization; bug report quality; query reformulation; information retrieval; graph-based term weighting; FAULT LOCALIZATION;
D O I
10.1145/3236024.3236065
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recent findings suggest that Information Retrieval (IR)-based bug localization techniques do not perform well if the bug report lacks rich structured information (e.g., relevant program entity names). Conversely, excessive structured information (e.g., stack traces) in the bug report might not always help the automated localization either. In this paper, we propose a novel technique-BLIZZARD-that automatically localizes buggy entities from project source using appropriate query reformulation and effective information retrieval. In particular, our technique determines whether there are excessive program entities or not in a bug report (query), and then applies appropriate reformulations to the query for bug localization. Experiments using 5,139 bug reports show that our technique can localize the buggy source documents with 7%-56% higher Hit@10, 6%-62% higher MAP@10 and 6%-62% higher MRR@10 than the baseline technique. Comparison with the state-of-the-art techniques and their variants report that our technique can improve 19% in MAP@10 and 20% in MRR@10 over the state-of-the-art, and can improve 59% of the noisy queries and 39% of the poor queries.
引用
收藏
页码:621 / 632
页数:12
相关论文
共 50 条
  • [1] A Novel Approach to Automatic Query Reformulation for IR-based Bug Localization
    Kim, Misoo
    Lee, Eunseok
    [J]. SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1752 - 1759
  • [2] A Novel Automatic Query Expansion with Word Embedding for IR-based Bug Localization
    Kim, Misoo
    Kim, Youngkyoung
    Lee, Eunseok
    [J]. 2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 276 - 287
  • [3] RIN: Reformulation Inference Network for Context-Aware Query Suggestion
    Jiang, Jyun-Yu
    Wang, Wei
    [J]. CIKM'18: PROCEEDINGS OF THE 27TH ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2018, : 197 - 206
  • [4] Predicting Effectiveness of IR-Based Bug Localization Techniques
    Le, Tien-Duy B.
    Thung, Ferdian
    Lo, David
    [J]. 2014 IEEE 25TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2014, : 335 - 345
  • [5] Poster: Improving Bug Localization with Report Quality Dynamics and Query Reformulation
    Rahman, Mohammad Masudur
    Roy, Chanchal K.
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 348 - 349
  • [6] ManQ: Many-objective optimization-based automatic query reduction for IR-based bug localization
    Kim, Misoo
    Lee, Eunseok
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 125
  • [7] Influence of Structured Information in Bug Report Descriptions on IR-based Bug Localization
    Rath, Michael
    Maeder, Patrick
    [J]. 44TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2018), 2018, : 26 - 32
  • [8] Structured information in bug report descriptions—influence on IR-based bug localization and developers
    Michael Rath
    Patrick Mäder
    [J]. Software Quality Journal, 2019, 27 : 1315 - 1337
  • [9] Context-Aware Query Classification
    Cao, Huanhuan
    Hu, Derek Hao
    Shen, Dou
    Jiang, Daxin
    Sun, Jian-Tao
    Chen, Enhong
    Yang, Qiang
    [J]. PROCEEDINGS 32ND ANNUAL INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, 2009, : 3 - 10
  • [10] Context-Aware Program Simplification to Improve Information Retrieval-Based Bug Localization
    Yang, Yilin
    Wang, Ziyuan
    Chen, Zhenyu
    Xu, Baowen
    [J]. 2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, : 252 - 263