EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

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

Proceedings of the ACM on Software Engineering · 30.06.2026 · 3 (FSE) · 3415-3438

DOI: 10.1145/3808158 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 30.06.2026. Verfasst von Mengzhuo Chen und 7 weiteren Autor:innen. Die Arbeit nennt 83 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Zitieren

APA

Chen, M., Liu, Z., Chen, C., Wang, J., Huang, Y., Wu, B., Hu, J., & Wang, Q. (2026). From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing. Proceedings of the ACM on Software Engineering, 3(FSE), 3415-3438. https://doi.org/10.1145/3808158

Vancouver

Chen M, Liu Z, Chen C, Wang J, Huang Y, Wu B, et al. From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing. Proceedings of the ACM on Software Engineering. 2026;3(FSE):3415-3438. doi:10.1145/3808158

BibTeX
@article{Chen2026,
  author = {Chen, Mengzhuo and Liu, Zhe and Chen, Chunyang and Wang, Junjie and Huang, Yuekai and Wu, Boyu and Hu, Jun and Wang, Qing},
  title = {From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {3415--3438},
  doi = {10.1145/3808158}
}
Kostenlos starten →