EpiDroid: Dependency-Guided Recomposition for Deep State Discovery in Mobile GUI Testing

πŸ“… 2026-04-01
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses a critical limitation in existing mobile GUI testing approaches, which often overlook semantic state dependencies among test fragments, leading to redundant exploration and poor coverage of deep application states. To overcome this, the paper proposes a black-box, plug-in testing framework that introduces, for the first time, a semantic state dependency-aware mechanism. By constructing a state dependency graph and leveraging large language models for impact inference, the framework enables deterministic replay of high-value mutable state elements. It further employs a reorganize-and-replay paradigm to iteratively refine the dependency graph, thereby transcending the constraints of conventional forward-only exploration. Integrated into both industrial-grade and state-of-the-art tools across 20 real-world applications, the approach achieves average code coverage improvements of 10–28%, yielding coverage gains equivalent to 3–4 times the baseline’s continued execution.
πŸ“ Abstract
The increasing scale and complexity of mobile applications make automated GUI exploration essential for software quality assurance. However, existing methods often neglect state dependencies between test fragments, which leads to redundant exploration and prevents access to deep application states. We introduce EpiDroid, a black-box, pluggable framework that augments existing explorers through semantic state dependency awareness. EpiDroid distills raw traces into stable test fragments to extract underlying dependencies. It then employs a Recomposition-Replay paradigm to perform impact reasoning via LLM and deterministic replay on high-value mutable state elements. Through iterative feedback, EpiDroid refines the state-dependency graph to systematically reach deep application states. We integrated EpiDroid into both industrial and state-of-the-art research tools and evaluated it on 20 real-world apps. The results show that EpiDroid consistently improves the performance of all baselines, increasing average code coverage by 10--28\% and delivering 3--4$\times$ more coverage gain compared to continuing the baselines alone from the same starting point. This demonstrates that dependency-guided recomposition unlocks deep states that forward exploration cannot access, irrespective of additional budget.
Problem

Research questions and friction points this paper is trying to address.

mobile GUI testing
state dependencies
deep state discovery
automated exploration
test redundancy
Innovation

Methods, ideas, or system contributions that make the work stand out.

state dependency
recomposition-replay
deep state discovery
GUI testing
LLM-guided reasoning
πŸ”Ž Similar Papers
No similar papers found.
J
Jiahui Song
Zhejiang University
J
Jiaxin Zhi
University of Electronic Science and Technology of China
K
Kangjia Zhao
Zhejiang University
C
Chen Zhi
Zhejiang University
Junxiao Han
Junxiao Han
Hangzhou City University
X
Xinkui Zhao
Zhejiang University
N
Nan Wang
Shenzhou Aerospace Software Technology Company Limited
S
Shuiguang Deng
Zhejiang University
Jianwei Yin
Jianwei Yin
Professor of Computer Science and Technology, Zhejiang University
Service ComputingComputer ArchitectureDistributed ComputingAI