arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.04075cs.SE
收藏

面向移动应用缺陷描述自动定位有缺陷UI界面的研究

Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions

Antu Saha, Yang Song, Junayed Mahmud, Ying Zhou, Kevin Moran, Oscar Chaparro

AI总结:

本文首次系统评估文本与多模态深度学习技术在移动应用有缺陷UI界面和组件定位中的可行性,发现视觉模型擅长界面定位、文本模型擅长组件定位,并证明结合UI定位可将缺陷代码定位的Hits@10提升9%-12%。

摘要:

缺陷报告管理是一个成本高昂的软件维护过程,包含多项具有挑战性的任务。鉴于移动应用以UI为驱动的特性,缺陷通常通过UI表现出来,因此识别有缺陷的UI界面和UI组件(即有缺陷UI定位)对于定位缺陷行为并最终修复它至关重要。然而,这项任务具有挑战性,因为开发人员必须对缺陷描述(通常质量较低)以及UI界面的视觉或基于代码的表示进行推理。本文首次通过一项全面研究探讨了自动执行有缺陷UI定位任务的可行性,该研究评估了一种文本深度学习和两种多模态深度学习技术以及一种文本无监督技术的能力。我们在两个粒度级别上评估这些技术:有缺陷UI界面定位和UI组件定位。我们的结果展示了利用不同表示的模型的各自优势,其中融入视觉信息的模型在UI界面定位方面表现更好,而基于文本界面信息运行的模型在UI组件定位方面表现更好——这凸显了对一种融合两类技术优势的定位方法的需求。此外,我们研究了有缺陷UI定位能否改进传统的缺陷代码定位,并发现融入已定位的有缺陷UI可使Hits@10提升9%-12%。

英文摘要:

Bug report management is a costly software maintenance process comprised of several challenging tasks. Given the UI-driven nature of mobile apps, bugs typically manifest through the UI, hence the identification of buggy UI screens and UI components (Buggy UI Localization) is important to localizing the buggy behavior and eventually fixing it. However, this task is challenging as developers must reason about bug descriptions (which are often low-quality), and the visual or code-based representations of UI screens. This paper is the first to investigate the feasibility of automating the task of Buggy UI Localization through a comprehensive study that evaluates the capabilities of one textual and two multi-modal deep learning (DL) techniques and one textual unsupervised technique. We evaluate such techniques at two levels of granularity, Buggy UI Screen and UI Component localization. Our results illustrate the individual strengths of models that make use of different representations, wherein models that incorporate visual information perform better for UI screen localization, and models that operate on textual screen information perform better for UI component localization -- highlighting the need for a localization approach that blends the benefits of both types of techniques. Furthermore, we study whether Buggy UI Localization can improve traditional buggy code localization, and find that incorporating localized buggy UIs leads to improvements of 9%-12% in Hits@10.

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

↑