论文标题

通过实时了解复制步骤来增强移动APP BUG报告

Enhancing Mobile App Bug Reporting via Real-time Understanding of Reproduction Steps

论文作者

Fazzini, Mattia, Moran, Kevin, Cardenas, Carlos Bernal, Wendland, Tyler, Orso, Alessandro, Poshyvanyk, Denys

论文摘要

开发人员收到有关用户内部软件内部故障的反馈的主要机制之一是通过错误报告。不幸的是,由于需要包括基本信息(例如详细的复制步骤(S2R))所需的精力,手动书面错误报告的质量可能会有所不同。尽管记者面临困难,但现有的错误报告系统很少试图为用户提供自动帮助,以易于阅读,并方便地重现错误报告。为了满足积极主动地帮助用户捕获关键信息的主动错误报告系统的需求,我们介绍了一种新颖的错误报告方法,称为Ebug。 Ebug通过分析记者实时输入的自然语言信息,并将这些数据与通过静态和动态程序分析的组合提取的信息链接到有关移动应用程序的S2RS撰写S2RS。当记者写S2RS时,Ebug能够使用对现实应用程序使用训练的预测模型自动提出潜在的未来步骤。为了评估EBUG,我们根据$ 11 $现实世界应用程序的20次失败进行了两项用户研究。实证研究涉及十名参与者,每人提交了十个错误报告和十位重现提交的错误报告的开发人员。在研究中,我们发现,与用作基线的最先进的错误报告系统相比,记者能够用EBUG构建错误报告31。相对于基线产生的报告,Ebug的报告也更容易重现。此外,我们将Ebug的预测模型与其他预测建模方法进行了比较,并发现我们方法的预测模型的表现优于基线方法。我们的结果很有希望,并证明了主动辅助错误报告系统提供的潜在好处。

One of the primary mechanisms by which developers receive feedback about in-field failures of software from users is through bug reports. Unfortunately, the quality of manually written bug reports can vary widely due to the effort required to include essential pieces of information, such as detailed reproduction steps (S2Rs). Despite the difficulty faced by reporters, few existing bug reporting systems attempt to offer automated assistance to users in crafting easily readable, and conveniently reproducible bug reports. To address the need for proactive bug reporting systems that actively aid the user in capturing crucial information, we introduce a novel bug reporting approach called EBug. EBug assists reporters in writing S2Rs for mobile applications by analyzing natural language information entered by reporters in real-time, and linking this data to information extracted via a combination of static and dynamic program analyses. As reporters write S2Rs, EBug is capable of automatically suggesting potential future steps using predictive models trained on realistic app usages. To evaluate EBug, we performed two user studies based on 20 failures from $11$ real-world apps. The empirical studies involved ten participants that submitted ten bug reports each and ten developers that reproduced the submitted bug reports. In the studies, we found that reporters were able to construct bug reports 31 faster with EBug as compared to the state-of-the-art bug reporting system used as a baseline. EBug's reports were also more reproducible with respect to the ones generated with the baseline. Furthermore, we compared EBug's prediction models to other predictive modeling approaches and found that, overall, the predictive models of our approach outperformed the baseline approaches. Our results are promising and demonstrate the potential benefits provided by proactively assistive bug reporting systems.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源