Detecting non-crashing functional bugs in Android apps via deep-state differential analysis
Jue Wang, Yanyan Jiang, Ting Su, Shaohua Li, Chang Xu, Jian Lu, Zhendong Su
Abstract
Non-crashing functional bugs of Android apps can seriously affect user experience. Often buried in rare program paths, such bugs are difficult to detect but lead to severe consequences. Unfortunately, very few automatic functional bug oracles for Android apps exist, and they are all specific to limited types of bugs. In this paper, we introduce a novel technique named deep-state differential analysis, which brings the classical "bugs as deviant behaviors" oracle to Android apps as a generic automatic test oracle. Our oracle utilizes the observations on the execution of automatically generated test inputs that (1) there can be a large number of traces reaching internal app states with similar GUI layouts, and only a small portion of them would reach an erroneous app state, and (2) when performing the same sequence of actions on similar GUI layouts, the outcomes will be limited. Therefore, for each set of test inputs terminating at similar GUI layouts, we manifest comparable app behaviors by appending the same events to these inputs, cluster the manifested behaviors, and identify minorities as possible anomalies. We also calibrate the distribution of these test inputs by a novel input calibration procedure, to ensure the distribution of these test inputs is balanced with rare bug occurrences.
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.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps cites An Empirical Study of Functional Bugs in Android Apps
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps cites Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps cites Understanding and finding system setting-related defects in Android apps
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps cites Benchmarking automated GUI testing for Android against real-world bugs
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps cites ComboDroid: generating high-quality test inputs for Android apps via use case combinations
- An Empirical Study of Functional Bugs in Android Apps cites Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
- An Empirical Study of Functional Bugs in Android Apps cites Understanding and finding system setting-related defects in Android apps
- An Empirical Study of Functional Bugs in Android Apps cites Benchmarking automated GUI testing for Android against real-world bugs
- Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps cites An Empirical Study of Functional Bugs in Android Apps
- General and Practical Property-based Testing for Android Apps cites Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps
- General and Practical Property-based Testing for Android Apps cites An Empirical Study of Functional Bugs in Android Apps
- General and Practical Property-based Testing for Android Apps cites Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
- General and Practical Property-based Testing for Android Apps cites Understanding and finding system setting-related defects in Android apps
- General and Practical Property-based Testing for Android Apps cites Benchmarking automated GUI testing for Android against real-world bugs
- Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs cites Understanding and finding system setting-related defects in Android apps
- Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs cites Benchmarking automated GUI testing for Android against real-world bugs
- Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs cites ComboDroid: generating high-quality test inputs for Android apps via use case combinations
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites An Empirical Study of Functional Bugs in Android Apps
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs
- Benchmarking automated GUI testing for Android against real-world bugs cites Understanding and finding system setting-related defects in Android apps
- Benchmarking automated GUI testing for Android against real-world bugs cites ComboDroid: generating high-quality test inputs for Android apps via use case combinations
Cited by top-tier papers7
- An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun et al.ISSTA 2023 · 40 citations
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android AppsJingling Sun, Ting Su, Jiayi Jiang, Jue Wang et al.FSE 2023 · 16 citations
- Feedback-Driven Automated Whole Bug Report Reproduction for Android AppsDingbang Wang, Yu Zhao, Sidong Feng, Zhaoxu Zhang et al.ISSTA 2024 · 16 citations
- General and Practical Property-based Testing for Android AppsYiheng Xiong, Ting Su, Jue Wang, Jingling Sun et al.ASE 2024 · 5 citations
- GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen et al.ISSTA 2025 · 5 citations
Builds on5
- Benchmarking automated GUI testing for Android against real-world bugsTing Su, Jue Wang, Zhendong SuFSE 2021 · 77 citations
- ComboDroid: generating high-quality test inputs for Android apps via use case combinationsJue Wang, Yanyan Jiang, Chang Xu, Chun Cao et al.ICSE 2020 · 61 citations
- Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugsTing Su, Yichen Yan, Jue Wang, Jingling Sun et al.OOPSLA 2021 · 58 citations
- Understanding and finding system setting-related defects in Android appsJingling Sun, Ting Su, Junxin Li, Zhen Dong et al.ISSTA 2021 · 35 citations
- An infrastructure approach to improving effectiveness of Android UI testing toolsWenyu Wang, Wing Lam, Tao XieISSTA 2021 · 33 citations
Related papers
- FuncDroid: Towards Inter-functional Flows for Comprehensive Mobile App GUI TestingJinlong He, Changwei Xia, Binru Huang, Jiwei Yan et al.ISSTA 2026
- Automata-Based Trace Analysis for Aiding Diagnosing GUI Testing Tools for AndroidEnze Ma, Shan Huang, Weigang He, Ting Su et al.FSE 2023 · 3 citations
- From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired TracingMengzhuo Chen, Zhe Liu, Chunyang Chen, Junjie Wang et al.FSE 2026
- Deep GUI: Black-box GUI Input Generation with Deep LearningFaraz Yazdani Banafshe Daragh, Sam MalekASE 2021 · 29 citations
- GLIB: towards automated test oracle for graphically-rich applicationsKe Chen, Yufei Li, Yingfeng Chen, Changjie Fan et al.FSE 2021 · 30 citations
