On Using GUI Interaction Data to Improve Text Retrieval-based Bug Localization
Junayed Mahmud, Nadeeshan De Silva, Safwat Ali Khan, Seyed Hooman Mostafavi, S. M. Hasan Mansur, Oscar Chaparro, Andrian Marcus, Kevin Moran
摘要
One of the most important tasks related to managing bug reports is localizing the fault so that a fix can be applied. As such, prior work has aimed to automate this task of bug localization by formulating it as an information retrieval problem, where potentially buggy files are retrieved and ranked according to their textual similarity with a given bug report. However, there is often a notable semantic gap between the information contained in bug reports and identifiers or natural language contained within source code files. For user-facing software, there is currently a key source of information that could aid in bug localization, but has not been thoroughly investigatedinformation from the graphical user interface (GUI). In this paper, we investigate the hypothesis that, for end userfacing applications, connecting information in a bug report with information from the GUI, and using this to aid in retrieving potentially buggy files, can improve upon existing techniques for text retrieval-based bug localization. To examine this phenomenon, we conduct a comprehensive empirical study that augments four baseline text-retrieval techniques for bug localization with GUI interaction information from a reproduction scenario to (i) filter out potentially irrelevant files, (ii) boost potentially relevant files, and (iii) reformulate text-retrieval queries. To carry out our study, we source the current largest dataset of fully-localized and reproducible real bugs for Android apps, with corresponding bug reports, consisting of 80 bug reports from 39 popular open-source apps. Our results illustrate that augmenting traditional techniques with GUI information leads to a marked increase in effectiveness across multiple metrics, including a relative increase in Hits@10 of 13-18%. Additionally, through further analysis, we find that our studied augmentations largely complement existing techniques, pushing additional buggy files into the top-10 results while generally preserving top ranked files from the baseline techniques.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Decoding the Issue Resolution Process in Practice via Issue Report Analysis: a Case Study of Firefox 引用了 Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions
- Decoding the Issue Resolution Process in Practice via Issue Report Analysis: a Case Study of Firefox 引用了 Automatically Reproducing Android Bug Reports using Natural Language Processing and Reinforcement Learning
- Decoding the Issue Resolution Process in Practice via Issue Report Analysis: a Case Study of Firefox 引用了 Fast Changeset-based Bug Localization with BERT
- It Takes Two to TANGO: Combining Visual and Textual Information for Detecting Duplicate Video-Based Bug Reports 引用了 Translating video recordings of mobile app usages into replayable scenarios
- Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions 引用了 It Takes Two to TANGO: Combining Visual and Textual Information for Detecting Duplicate Video-Based Bug Reports
- Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions 引用了 Translating video recordings of mobile app usages into replayable scenarios
- Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions 引用了 Automatically Reproducing Android Bug Reports using Natural Language Processing and Reinforcement Learning
- Generating Failure-Based Oracles to Support Testing of Reported Bugs in Android Apps 引用了 Decoding the Issue Resolution Process in Practice via Issue Report Analysis: a Case Study of Firefox
- Generating Failure-Based Oracles to Support Testing of Reported Bugs in Android Apps 引用了 Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions
- Generating Failure-Based Oracles to Support Testing of Reported Bugs in Android Apps 引用了 Automatically Reproducing Android Bug Reports using Natural Language Processing and Reinforcement Learning
引用它的顶会 Paper6
- Toward the Automated Localization of Buggy Mobile App UIs from Bug DescriptionsAntu Saha, Yang Song, Junayed Mahmud, Ying Zhou 等ISSTA 2024 · 7 次引用
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen 等ISSTA 2025 · 5 次引用
- DesignRepair: Dual-Stream Design Guideline-Aware Frontend Repair with Large Language ModelsMingyue Yuan, Jieshan Chen, Zhenchang Xing, Aaron Quigley 等ICSE 2025 · 2 次引用
- Decoding the Issue Resolution Process in Practice via Issue Report Analysis: a Case Study of FirefoxAntu Saha, Oscar ChaparroICSE 2025 · 1 次引用
- Generating Failure-Based Oracles to Support Testing of Reported Bugs in Android AppsJack Johnson, Junayed Mahmud, Oscar Chaparro, Kevin Moran 等ASE 2025 · 1 次引用
它引用的 Paper5
- Boosting coverage-based fault localization via graph-based representation learningYiling Lou, Qihao Zhu, Jinhao Dong, Xia Li 等FSE 2021 · 157 次引用
- Translating video recordings of mobile app usages into replayable scenariosCarlos Bernal-Cárdenas, Nathan Cooper, Kevin Moran, Oscar Chaparro 等ICSE 2020 · 61 次引用
- Fast Changeset-based Bug Localization with BERTAgnieszka Ciborowska, Kostadin DamevskiICSE 2022 · 53 次引用
- Automatically Reproducing Android Bug Reports using Natural Language Processing and Reinforcement LearningZhaoxu Zhang, Robert Winn, Yu Zhao, Tingting Yu 等ISSTA 2023 · 14 次引用
- It Takes Two to TANGO: Combining Visual and Textual Information for Detecting Duplicate Video-Based Bug ReportsNathan Cooper, Carlos Bernal-Cárdenas, Oscar Chaparro, Kevin Moran 等ICSE 2021 · 2 次引用
相关 Paper
- Context-aware Bug Reproduction for Mobile AppsYuchao Huang, Junjie Wang, Zhe Liu, Song Wang 等ICSE 2023 · 7 次引用
- Standing on the Shoulders of Giants: Bug-Aware Automated GUI Testing via Retrieval AugmentationMengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang 等FSE 2025 · 4 次引用
- Information Retrieval-Based Fault Localization for Concurrent ProgramsShuai Shao, Tingting YuASE 2023 · 3 次引用
- Mobile Bug Report Reproduction via Global Search on the App UI ModelZhaoxu Zhang, Fazle Mohammed Tawsif, Komei Ryu, Tingting Yu 等FSE 2024 · 4 次引用
- Automated Program Repair for UI-Centric Android Bugs: How Far Are We?Junayed Mahmud, Sparsh Pandey, Nadeeshan De Silva, Atish Kumar Dipongkor 等ISSTA 2026
