arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.00594cs.SE
收藏

利用上下文感知查询重构改进基于IR的缺陷定位

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

Mohammad Masudur Rahman, Chanchal K. Roy

摘要:

最近的研究结果表明,信息检索(IR)为基础的缺陷定位技术不执行,如果缺陷报告缺乏丰富的结构化信息(如相关的程序实体名称)。相反,错误报告中过多的结构化信息(例如堆栈跟踪)也可能并不总是有助于自动化本地化。在本文中,我们提出了一种新的技术--BLIZZARD--使用适当的查询重构和有效的信息检索,自动定位错误实体的项目源。特别是,我们的技术确定是否有过多的程序实体或没有在一个错误报告(查询),然后适用于适当的重构查询的错误定位。使用5,139个错误报告的实验表明,我们的方法可以定位有错误的源文档,Hit@10比基线方法高7%-56%,MAP@10比基线方法高6%-62%,MRR@10比基线方法高6%-62%。与最先进的技术及其变体的比较报告,我们的技术可以提高19%,在MAP@10和20%,在MRR@10的国家的最先进的,并可以改善59%的噪声查询和39%的穷人查询。

英文摘要:

Recent findings suggest that Information Retrieval (IR)-based bug localization techniques do not perform well if the bug report lacks rich structured information (eg relevant program entity names). Conversely, excessive structured information (eg 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑