用于崩溃报告的堆栈跟踪相似性聚合
Aggregation of Stack Trace Similarities for Crash Report Deduplication
摘要:
在缺陷跟踪系统中,堆栈跟踪的自动收集是许多软件项目及其维护中不可或缺的一部分。然而,这些报告通常包含大量重复内容,因此出现了将它们分组的问题。在本文中,我们提出了一种新的方法来解决重复数据删除任务,并报告了它在IDE和其他软件的领先开发商JetBrains的真实数据上的使用情况。与大多数现有方法不同,这些方法将传入的堆栈跟踪分配给一个特定的组,其中一个最相似的堆栈跟踪位于该组中,我们使用有关该组的所有计算相似性的信息,以及有关堆栈跟踪的时间戳的信息。与现有解决方案相比,这种汇总所有可用信息的方法显示出明显更好的结果。与最先进的解决方案相比,该聚合使现有NetBeans数据集的召回率Top-1指标的结果提高了15个百分点,使JetBrains数据的结果提高了8个百分点。此外,我们评估了一种更简单的k-最近邻聚合方法,并表明它无法达到相同的改进水平。最后,我们研究了聚合中的哪些特征对更好的质量贡献最大,以了解其中哪些特征需要进一步开发。我们公布建议方法的实施情况,并会在接纳后公布新收集的工业数据集,以促进该领域的进一步研究。
英文摘要:
The automatic collection of stack traces in bug tracking systems is an integral part of many software projects and their maintenance. However, such reports often contain a lot of duplicates, and the problem of de-duplicating them into groups arises. In this paper, we propose a new approach to solve the deduplication task and report on its use on the real-world data from JetBrains, a leading developer of IDEs and other software. Unlike most of the existing methods, which assign the incoming stack trace to a particular group in which a single most similar stack trace is located, we use the information about all the calculated similarities to the group, as well as the information about the timestamp of the stack traces. This approach to aggregating all available information shows significantly better results compared to existing solutions. The aggregation improved the results over the state-of-the-art solutions by 15 percentage points in the Recall Rate Top-1 metric on the existing NetBeans dataset and by 8 percentage points on the JetBrains data. Additionally, we evaluated a simpler k-Nearest Neighbors approach to aggregation and showed that it cannot reach the same levels of improvement. Finally, we studied what features from the aggregation contributed the most towards better quality to understand which of them to develop further. We publish the implementation of the suggested approach, and will release the newly collected industrial dataset upon acceptance to facilitate further research in the area.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。