“必须把它们全部抓住!”面向大规模 issue 的文件定位研究
Gotta catch 'em all! Towards File Localisation from Issues at Large
AI总结:
本文提出可处理任意分支合并的 issue 文件定位数据集构建流水线,并用传统信息检索方法建立基线,揭示缺陷专用方法难以泛化到一般 issue。
摘要:
缺陷定位是指开发相应方法,以定位为解决缺陷而需要修改的文件;长期以来,相关研究一直在寻求能够节省开发者时间的方法。近来,研究者开始考虑缺陷之外的 issue。尽管如此,现有大多数从 issue 进行文件定位的研究仍聚焦于缺陷,或采用其他筛选方法,以确保只将特定类型的 issue 作为工作重点。我们的目标是在不进行任何特定筛选的情况下,大规模处理所有 issue。在本工作中,我们提供了一个用于构建 issue 文件定位数据集的数据流水线,该流水线能够处理任意分支与合并实践。我们使用传统信息检索方法,对文件定位问题进行了基线性能评估。最后,我们使用统计分析,考察缺陷定位社区已知的偏差对我们数据集的影响。结果表明,使用缺陷专用启发式规则设计的方法在一般 issue 类型上表现较差,这表明有必要研究通用模型。此外,我们发现不同 issue 类型之间存在较小但具有统计显著性的性能差异。最后,我们发现标识符的存在对大多数 issue 类型的性能影响较小。许多结果依赖于具体项目,这鼓励开发能够根据项目特性进行调优的方法。
英文摘要:
Bug localisation, the study of developing methods to localise the files requiring changes to resolve bugs, has been researched for a long time to develop methods capable of saving developers' time. Recently, researchers are starting to consider issues outside of bugs. Nevertheless, most existing research into file localisation from issues focusses on bugs or uses other selection methods to ensure only certain types of issues are considered as part of the focus of the work. Our goal is to work on all issues at large, without any specific selection. In this work, we provide a data pipeline for the creation of issue file localisation datasets, capable of dealing with arbitrary branching and merging practices. We provide a baseline performance evaluation for the file localisation problem using traditional information retrieval approaches. Finally, we use statistical analysis to investigate the influence of biases known in the bug localisation community on our dataset. Our results show that methods designed using bug-specific heuristics perform poorly on general issue types, indicating a need for research into general purpose models. Furthermore, we find that there are small, but statistically significant differences in performance between different issue types. Finally, we find that the presence of identifiers have a small effect on performance for most issue types. Many results are project-dependent, encouraging the development of methods which can be tuned to project-specific characteristics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。