Data loss detector: automatically revealing data loss bugs in Android apps
Oliviero Riganelli, Simone Paolo Mottadelli, Claudio Rota, Daniela Micucci, Leonardo Mariani
摘要
Android apps must work correctly even if their execution is interrupted by external events. For instance, an app must work properly even if a phone call is received, or after its layout is redrawn because the smartphone has been rotated. Since these events may require destroying, when the execution is interrupted, and recreating, when the execution is resumed, the foreground activity of the app, the only way to prevent the loss of state information is to save and restore it. This behavior must be explicitly implemented by app developers, who often miss to implement it properly, releasing apps affected by data loss problems, that is, apps that may lose state information when their execution is interrupted. Although several techniques can be used to automatically generate test cases for Android apps, the obtained test cases seldom include the interactions and the checks necessary to exercise and reveal data loss faults. To address this problem, this paper presents Data Loss Detector (DLD), a test case generation technique that integrates an exploration strategy, data-loss-revealing actions, and two customized oracle strategies for the detection of data loss failures. DLD revealed 75% of the faults in a benchmark of 54 Android app releases affected by 110 known data loss faults, and also revealed unknown data loss problems, outperforming competing approaches. CCS CONCEPTS • Software and its engineering → Software testing and debugging.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper6
- An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun 等ISSTA 2023 · 被引用 40 次
- Understanding and finding system setting-related defects in Android appsJingling Sun, Ting Su, Junxin Li, Zhen Dong 等ISSTA 2021 · 被引用 35 次
- Detecting and fixing data loss issues in Android appsWunan Guo, Zhen Dong, Liwei Shen, Wei Tian 等ISSTA 2022 · 被引用 17 次
- Property-Based Fuzzing for Finding Data Manipulation Errors in Android AppsJingling Sun, Ting Su, Jiayi Jiang, Jue Wang 等FSE 2023 · 被引用 16 次
- Push-Button Synthesis of Watch Companions for Android AppsCong Li, Yanyan Jiang, Chang XuICSE 2022 · 被引用 7 次
相关 Paper
- DDLDroid: Efficiently Detecting Data Loss Issues in Android AppsYuhao Zhou, Wei SongISSTA 2023 · 被引用 1 次
- Deeply Reinforcing Android GUI Testing with Deep Reinforcement LearningYuanhong Lan, Yifei Lu, Zhong Li, Minxue Pan 等ICSE 2024 · 被引用 21 次
- LiveDroid: identifying and preserving mobile app state in volatile runtime environmentsUmar Farooq, Zhijia Zhao, Manu Sridharan, Iulian NeamtiuOOPSLA 2020 · 被引用 15 次
- Demystifying Diehard Android AppsHao Zhou, Haoyu Wang, Yajin Zhou, Xiapu Luo 等ASE 2020 · 被引用 17 次
- ωTest: WebView-Oriented Testing for Android ApplicationsJiajun Hu, Lili Wei, Yepang Liu, Shing-Chi CheungISSTA 2023 · 被引用 8 次
