Lune

ISSTA2020Top-tier venue

Data loss detector: automatically revealing data loss bugs in Android apps

Oliviero Riganelli, Simone Paolo Mottadelli, Claudio Rota, Daniela Micucci, Leonardo Mariani

Abstract

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.

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.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps cites Detecting and fixing data loss issues in Android apps
  • 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 Understanding and finding system setting-related defects in Android apps
  • Detecting and fixing data loss issues in Android apps cites Understanding and finding system setting-related defects in Android apps
  • An Empirical Study of Functional Bugs in Android Apps cites Detecting and fixing data loss issues in Android apps
  • An Empirical Study of Functional Bugs in Android Apps cites Understanding and finding system setting-related defects in Android apps
  • Push-Button Synthesis of Watch Companions for Android Apps cites Understanding and finding system setting-related defects in Android apps
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun et al.ISSTA 2023 · 40 citations
  2. Understanding and finding system setting-related defects in Android appsJingling Sun, Ting Su, Junxin Li, Zhen Dong et al.ISSTA 2021 · 35 citations
  3. Detecting and fixing data loss issues in Android appsWunan Guo, Zhen Dong, Liwei Shen, Wei Tian et al.ISSTA 2022 · 17 citations
  4. Property-Based Fuzzing for Finding Data Manipulation Errors in Android AppsJingling Sun, Ting Su, Jiayi Jiang, Jue Wang et al.FSE 2023 · 16 citations
  5. Push-Button Synthesis of Watch Companions for Android AppsCong Li, Yanyan Jiang, Chang XuICSE 2022 · 7 citations

Related papers

  1. DDLDroid: Efficiently Detecting Data Loss Issues in Android AppsYuhao Zhou, Wei SongISSTA 2023 · 1 citation
  2. LiveDroid: identifying and preserving mobile app state in volatile runtime environmentsUmar Farooq, Zhijia Zhao, Manu Sridharan, Iulian NeamtiuOOPSLA 2020 · 15 citations
  3. Detecting non-crashing functional bugs in Android apps via deep-state differential analysisJue Wang, Yanyan Jiang, Ting Su, Shaohua Li et al.FSE 2022 · 26 citations
  4. Demystifying Diehard Android AppsHao Zhou, Haoyu Wang, Yajin Zhou, Xiapu Luo et al.ASE 2020 · 17 citations
  5. Deeply Reinforcing Android GUI Testing with Deep Reinforcement LearningYuanhong Lan, Yifei Lu, Zhong Li, Minxue Pan et al.ICSE 2024 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines