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

反馈驱动的Android应用整份错误报告自动复现

Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps

Dingbang Wang, Yu Zhao, Sidong Feng, Zhaoxu Zhang, William G. J. Halfond, Chunyang Chen, Xiaoxia Sun, Jiangfan Shi, Tingting Yu

AI总结:

本文提出反馈驱动的方法ReBL,利用GPT-4和整份文本错误报告自动复现Android错误报告,在96份报告上实现90.63%成功率,优于三种现有工具。

摘要:

在软件开发中,错误报告复现是一项具有挑战性的任务。本文提出了ReBL,一种新颖的反馈驱动方法,利用大规模语言模型(LLM)GPT-4自动复现Android错误报告。与传统方法不同,ReBL绕过了对复现步骤(S2R)实体的使用。相反,它利用整份文本错误报告,并采用创新的提示来增强GPT的上下文推理能力。这种方法比传统的逐步实体匹配方法更灵活且更具上下文感知能力,从而提高了准确性和有效性。除了处理崩溃报告外,ReBL还具备处理非崩溃功能性错误报告的能力。我们对96份Android错误报告(73份崩溃和23份非崩溃)的评估表明,ReBL成功复现了90.63%的报告,平均每份错误报告仅需74.98秒。此外,ReBL在成功率和速度上均优于三种现有工具。

英文摘要:

In software development, bug report reproduction is a challenging task. This paper introduces ReBL, a novel feedback-driven approach that leverages GPT-4, a large-scale language model (LLM), to automatically reproduce Android bug reports. Unlike traditional methods, ReBL bypasses the use of Step to Reproduce (S2R) entities. Instead, it leverages the entire textual bug report and employs innovative prompts to enhance GPT's contextual reasoning. This approach is more flexible and context-aware than the traditional step-by-step entity matching approach, resulting in improved accuracy and effectiveness. In addition to handling crash reports, ReBL has the capability of handling non-crash functional bug reports. Our evaluation of 96 Android bug reports (73 crash and 23 non-crash) demonstrates that ReBL successfully reproduced 90.63% of these reports, averaging only 74.98 seconds per bug report. Additionally, ReBL outperformed three existing tools in both success rate and speed.

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

↑