arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.11525cs.SE
收藏

从问题跟踪讨论中推荐错误修复评论以支持错误修复

Recommending Bug-fixing Comments from Issue Tracking Discussions in Support of Bug Repair

Rrezarta Krasniqi

摘要:

在实践中,开发人员在面对新的bug时会搜索相关的早期bug及其相关的讨论线程。通常情况下,这些讨论线程由注释甚至bug修复注释组成,这些注释旨在捕获线索,以促进新bug报告的调查和根本原因。随着时间的推移,这些讨论可能会变得非常冗长和难以理解。不可避免的是,这些讨论线程会导致错误修复评论与不相关的评论混合在一起的情况。然而,在处理大量的错误报告时,这项任务带来了进一步的挑战。大型软件系统每天都受到数千个错误报告的困扰。因此,有效地调查这些错误报告变得非常耗时。为了解决这一差距,本文建立了一个基于排名的自动化工具,我们称之为RETRORANK。具体来说,RETRORANK建议在用户查询相关性、积极语言的使用和评论之间的语义相关性的上下文中,从问题跟踪讨论线程中修复错误的评论。通过使用向量空间模型(VSM),情感分析(SA)和TextRank模型(TR)的组合,我们展示了如何过去的固定错误和他们的相关错误修复评论相对积极的情绪可以语义连接,以调查一个新的错误的根本原因。我们通过综合研究和用户研究评估了我们的方法。结果表明,与基线VSM相比,RETRORANK显著提高了性能。

英文摘要:

In practice, developers search for related earlier bugs and their associated discussion threads when faced with a new bug to repair. Typically, these discussion threads consist of comments and even bug-fixing comments intended to capture clues for facilitating the investigation and root cause of a new bug report. Over time, these discussions can become extensively lengthy and difficult to understand. Inevitably, these discussion threads lead to instances where bug-fixing comments intermingle with seemingly-unrelated comments. This task, however, poses further challenges when dealing with high volumes of bug reports. Large software systems are plagued by thousands of bug reports daily. Hence, it becomes time-consuming to investigate these bug reports efficiently. To address this gap, this paper builds a ranked-based automated tool that we refer it to as RETRORANK. Specifically, RETRORANK recommends bug-fixing comments from issue tracking discussion threads in the context of user query relevance, the use of positive language, and semantic relevance among comments. By using a combination of Vector Space Model (VSM), Sentiment Analysis (SA), and the TextRank Model (TR) we show how that past fixed bugs and their associated bug-fixing comments with relatively positive sentiments can semantically connect to investigate the root cause of a new bug. We evaluated our approach via a synthetic study and a user study. Results indicate that RETRORANK significantly improved performance when compared to the baseline VSM.

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

↑