Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions
arXiv:2408.04075 · doi:10.1145/3650212.3680357
Abstract
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.
11 pages and 6 figures. To appear in ISSTA'24
References in corpus (8)
- Automatically Discovering, Reporting and Reproducing Android Application Crashes
- Unblind Your Apps: Predicting Natural-Language Labels for Mobile GUI Components by Deep Learning
- CLIP-Art: Contrastive Pre-training for Fine-Grained Art Classification
- CrashScope: A Practical Tool for Automated Testing of Android Applications
- Translating Video Recordings of Mobile App Usages into Replayable Scenarios
- Toward Interactive Bug Reporting for (Android App) End-Users
- An Empirical Investigation into the Reproduction of Bug Reports for Android Apps
- Understanding the Characteristics of Visual Contents in Open Source Issue Discussions: A Case Study of Jupyter Notebook