Lune

ISSTA2023Top-tier venue

Automatically Reproducing Android Bug Reports using Natural Language Processing and Reinforcement Learning

Zhaoxu Zhang, Robert Winn, Yu Zhao, Tingting Yu, William G. J. Halfond

Abstract

As part of the process of resolving issues submitted by users via bug reports, Android developers attempt to reproduce and observe the crashes described by the bug reports. Due to the low-quality of bug reports and the complexity of modern apps, the reproduction process is non-trivial and time-consuming. Therefore, automatic approaches that can help reproduce Android bug reports are in great need. However, current approaches to help developers automatically reproduce bug reports are only able to handle limited forms of natural language text and struggle to successfully reproduce crashes for which the initial bug report had missing or imprecise steps. In this paper, we introduce a new fully automated approach to reproduce crashes from Android bug reports that addresses these limitations. Our approach accomplishes this by leveraging natural language processing techniques to more holistically and accurately analyze the natural language in Android bug reports and designing new techniques, based on reinforcement learning, to guide the search for successful reproducing steps. We conducted an empirical evaluation of our approach on 77 real world bug reports. Our approach achieved 67% precision and 77% recall in accurately extracting reproduction steps from bug reports, reproduced 74% of the total bug reports, and reproduced 64% of the bug reports that contained missing steps, significantly outperforming state of the art techniques.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps cites Toward interactive bug reporting for (android app) end-users
  • Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps cites CrashTranslator: Automatically Reproducing Mobile Application Crashes Directly from Stack Trace
  • Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps cites Automated classification of actions in bug reports of mobile apps
  • Toward interactive bug reporting for (android app) end-users cites Automated classification of actions in bug reports of mobile apps
  • Toward the Automated Localization of Buggy Mobile App UIs from Bug Descriptions cites On Using GUI Interaction Data to Improve Text Retrieval-based Bug Localization
  • Mobile Bug Report Reproduction via Global Search on the App UI Model cites Toward interactive bug reporting for (android app) end-users
  • Mobile Bug Report Reproduction via Global Search on the App UI Model cites Automated classification of actions in bug reports of mobile apps
  • Automatic Web Testing Using Curiosity-Driven Reinforcement Learning cites Reinforcement learning based curiosity-driven testing of Android applications
  • CrashTranslator: Automatically Reproducing Mobile Application Crashes Directly from Stack Trace cites Reinforcement learning based curiosity-driven testing of Android applications
  • CrashTranslator: Automatically Reproducing Mobile Application Crashes Directly from Stack Trace cites Automated classification of actions in bug reports of mobile apps
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. CrashTranslator: Automatically Reproducing Mobile Application Crashes Directly from Stack TraceYuchao Huang, Junjie Wang, Zhe Liu, Yawen Wang et al.ICSE 2024 · 22 citations
  2. Feedback-Driven Automated Whole Bug Report Reproduction for Android AppsDingbang Wang, Yu Zhao, Sidong Feng, Zhaoxu Zhang et al.ISSTA 2024 · 16 citations
  3. On Using GUI Interaction Data to Improve Text Retrieval-based Bug LocalizationJunayed Mahmud, Nadeeshan De Silva, Safwat Ali Khan, Seyed Hooman Mostafavi et al.ICSE 2024 · 12 citations
  4. Toward the Automated Localization of Buggy Mobile App UIs from Bug DescriptionsAntu Saha, Yang Song, Junayed Mahmud, Ying Zhou et al.ISSTA 2024 · 7 citations
  5. Mobile Bug Report Reproduction via Global Search on the App UI ModelZhaoxu Zhang, Fazle Mohammed Tawsif, Komei Ryu, Tingting Yu et al.FSE 2024 · 4 citations

Builds on4

  1. Reinforcement learning based curiosity-driven testing of Android applicationsMinxue Pan, An Huang, Guoxin Wang, Tian Zhang et al.ISSTA 2020 · 166 citations
  2. Automatic Web Testing Using Curiosity-Driven Reinforcement LearningYan Zheng, Yi Liu, Xiaofei Xie, Yepang Liu et al.ICSE 2021 · 75 citations
  3. Toward interactive bug reporting for (android app) end-usersYang Song, Junayed Mahmud, Ying Zhou, Oscar Chaparro et al.FSE 2022 · 29 citations
  4. Automated classification of actions in bug reports of mobile appsHui Liu, Mingzhu Shen, Jiahao Jin, Yanjie JiangISSTA 2020 · 21 citations

Related papers

  1. Context-aware Bug Reproduction for Mobile AppsYuchao Huang, Junjie Wang, Zhe Liu, Song Wang et al.ICSE 2023 · 7 citations
  2. Automated Recognition of Buggy Behaviors from Mobile Bug ReportsZhaoxu Zhang, Komei Ryu, Tingting Yu, William G. J. HalfondFSE 2025 · 1 citation
  3. Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent AgentMehil Shah, Mohammad Masudur Rahman, Foutse KhomhICSE 2026
  4. Collaborative bug finding for Android appsShin Hwei Tan, Ziqiang LiICSE 2020 · 22 citations
  5. Generating Failure-Based Oracles to Support Testing of Reported Bugs in Android AppsJack Johnson, Junayed Mahmud, Oscar Chaparro, Kevin Moran et al.ASE 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines