arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.02818cs.SEcs.AI
收藏

应用审查驱动的协作式Bug查找

App Review Driven Collaborative Bug Finding

University of Luxembourg(卢森堡大学);Huawei(华为)

Xunzhu Tang, Haoye Tian, Pingfan Kong, Kui Liu, Jacques Klein, Tegawendé F. Bissyande

摘要:

软件开发团队通常欢迎任何暴露代码库中错误的努力。在这项工作中,我们建立在假设,移动应用程序从同一类别(例如,两个网络浏览器应用程序)在其进化过程中可能受到类似错误的影响。因此,可以转移一个历史应用程序的经验,以快速找到新应用程序中的错误。这在文献中被称为协作式错误发现。我们的新颖之处在于,我们通过考虑应用程序评论中已经暗示的现有bug来指导bug查找过程。具体来说,我们设计了BugRMSys方法,通过匹配同一类别应用程序的历史错误报告与目标应用程序的用户应用程序评论,为目标应用程序推荐错误报告。我们的实验表明,这种方法使我们能够快速暴露和报告数十个目标应用程序的错误,如勇敢(Web浏览器应用程序)。BugRMSys的实现依赖于DistilBERT来生成自然语言文本嵌入。我们的管道考虑了bug报告和应用程序评论之间的相似性,以识别相关的bug。然后,我们将重点放在应用程序审查以及历史错误报告(来自同一类别的应用程序)中的潜在重现步骤上,以重现错误。总体而言,在将BugRMSys应用于六个流行应用程序后,我们能够识别,重现和报告20个新错误:其中9个报告已经分类,6个已确认,4个已由官方开发团队修复。

英文摘要:

Software development teams generally welcome any effort to expose bugs in their code base. In this work, we build on the hypothesis that mobile apps from the same category (e.g., two web browser apps) may be affected by similar bugs in their evolution process. It is therefore possible to transfer the experience of one historical app to quickly find bugs in its new counterparts. This has been referred to as collaborative bug finding in the literature. Our novelty is that we guide the bug finding process by considering that existing bugs have been hinted within app reviews. Concretely, we design the BugRMSys approach to recommend bug reports for a target app by matching historical bug reports from apps in the same category with user app reviews of the target app. We experimentally show that this approach enables us to quickly expose and report dozens of bugs for targeted apps such as Brave (web browser app). BugRMSys's implementation relies on DistilBERT to produce natural language text embeddings. Our pipeline considers similarities between bug reports and app reviews to identify relevant bugs. We then focus on the app review as well as potential reproduction steps in the historical bug report (from a same-category app) to reproduce the bugs. Overall, after applying BugRMSys to six popular apps, we were able to identify, reproduce and report 20 new bugs: among these, 9 reports have been already triaged, 6 were confirmed, and 4 have been fixed by official development teams, respectively.

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

↑