Lune

FSE2026顶会

From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing

Mengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang, Yuekai Huang, Boyu Wu, Jun Hu, Qing Wang

摘要

Mobile applications frequently suffer from crash bugs that are triggered under specific GUI interaction sequences. Existing automated GUI testing techniques mainly emphasize increasing coverage through diverse exploration strategies, but they often fail to reach the precise interaction contexts that lead to crashes, resulting in low bug detection efficiency. This paper proposes TraceDroid, a novel automated GUI testing approach that leverages suspicious code-level signals to guide dynamic exploration. Instead of treating static analysis as an independent detection method, TraceDroid uses heuristic rules distilled from real crash reports to detect suspicious code segments, associate them with GUI widgets, and collect code-level interaction signals. It then constructs the Activity Transition Graph (ATG), performs rough path generation, and employs LLM-based executable path completion to produce a set of suspicious paths. Finally, TraceDroid executes these paths through global path planning, local path generation, and execution-aware monitoring to efficiently expose crashes. We evaluate TraceDroid on 70 real crash bugs across 42 open-source apps, comparing it with 15 state-of-the-art baselines. TraceDroid achieves the best performance, with a recall of 77%, exceeding the best baseline by 28%, while maintaining comparable or higher coverage. Furthermore, TraceDroid successfully detects 21 previously unknown crash bugs in 116 popular Google Play apps, of which 15 have been fixed and 6 confirmed by developers, demonstrating its effectiveness in real-world scenarios.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

摘要 · 相关的 Paper

获取答案

免费开始,无需绑卡

相关 Paper

  1. Context-aware Bug Reproduction for Mobile AppsYuchao Huang, Junjie Wang, Zhe Liu, Song Wang 等ICSE 2023 · 7 次引用
  2. FuncDroid: Towards Inter-functional Flows for Comprehensive Mobile App GUI TestingJinlong He, Changwei Xia, Binru Huang, Jiwei Yan 等ISSTA 2026
  3. Think Outside the Box: Automating Inter-App Functionality Testing via Memory Implanting and ReasoningMengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang 等ICSE 2026
  4. Standing on the Shoulders of Giants: Bug-Aware Automated GUI Testing via Retrieval AugmentationMengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang 等FSE 2025 · 4 次引用
  5. Scene-Driven Exploration and GUI Modeling for Android AppsXiangyu Zhang, Lingling Fan, Sen Chen, Yucheng Su 等ASE 2023 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖