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

Broccoli:借助文本搜索引擎进行Bug本地化

Broccoli: Bug localization with the help of text search engines

Benjamin Ledel, Steffen Herbold

摘要:

错误定位是错误修复过程中的一项繁琐的活动,在此过程中,软件开发人员试图在错误报告中描述的源代码中定位错误。由于这个过程是耗时的,并需要有关软件项目的额外知识,信息检索技术可以帮助缺陷定位过程。在本文中,我们调查,如果正常的文本搜索引擎可以改善现有的错误定位方法。在一个案例研究中,我们评估我们的搜索引擎的方法花椰菜对7个国家的最先进的错误定位算法在两个数据集的82个开源项目的性能。我们的研究结果表明,包括一个搜索引擎可以提高性能的错误定位,它是一个有用的扩展现有的方法。作为我们分析的一部分,我们还暴露了常用基准测试策略中的一个缺陷,即,考虑单个版本的文件。为了增加可检测文件的数量,我们通过考虑错误报告时软件存储库的状态来缓解此缺陷。我们的研究结果表明,使用单一的释放可能会导致低估的预测性能。

英文摘要:

Bug localization is a tedious activity in the bug fixing process in which a software developer tries to locate bugs in the source code described in a bug report. Since this process is time-consuming and requires additional knowledge about the software project, information retrieval techniques can aid the bug localization process. In this paper, we investigate if normal text search engines can improve existing bug localization approaches. In a case study, we evaluate the performance of our search engine approach Broccoli against seven state-of-the-art bug localization algorithms on 82 open source projects in two data sets. Our results show that including a search engine can increase the performance of the bug localization and that it is a useful extension to existing approaches. As part of our analysis we also exposed a flaw in a commonly used benchmark strategy, i.e., that files of a single release are considered. To increase the number of detectable files, we mitigate this flaw by considering the state of the software repository at the time of the bug report. Our results show that using single releases may lead to an underestimation of the the prediction performance.

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

↑