• Home
  • Search
  • Data loss detector: automatically revealing data loss bugs in Android apps
  • Open Access IconOpen Access
  • Cite Icon31
  • https://doi.org/10.1145/3395363.3397379Copy DOI Icon

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

  • Jul 18, 2020
  • Oliviero Riganelli +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
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 saving and restoring 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 has been able to reveal 75% of the faults in a benchmark of 54 Android app releases affected by 110 known data loss faults. DLD also revealed unknown data loss problems, outperforming competing approaches.

Similar Papers
  • Conference Article
  • Citations10

NChecker

  • Apr 18, 2016
  • Xinxin Jin +3
  • Research Article
  • Citations73

Killing strategies for model‐based mutation testing

  • Feb 03, 2014
  • Software Testing, Verification and Reliability
  • Bernhard K Aichernig +5
  • Research Article
  • Citations1

Evaluating the Test Adequacy of Benchmarks for LLMs on Code Generation

  • Jun 25, 2025
  • Journal of Software: Evolution and Process
  • Xiangyue Liu +5
  • Research Article
  • Citations7

Preference-wise Testing of Android Apps via Test Amplification

  • Jan 31, 2023
  • ACM Transactions on Software Engineering and Methodology
  • Minxue Pan +4
  • Research Article
  • Citations29

A large-scale study on the adoption of anti-debugging and anti-tampering protections in android apps

  • Feb 28, 2020
  • Journal of Information Security and Applications
  • Stefano Berlato +1
  • Research Article
  • Citations9

A First Look at Dark Mode in Real-world Android Apps

  • Nov 23, 2023
  • ACM Transactions on Software Engineering and Methodology
  • Suyu Ma +3
  • Research Article
  • Citations3

Resilient Smart Power Grid Synchronization Estimation Method for System Resilience with Partial Missing Measurements

  • Jan 01, 2024
  • CSEE Journal of Power and Energy Systems
  • Wang, Yi +5
  • PDF
  • Research Article
  • Citations5

Data recoverability and estimation for perception layer in semantic web of things.

  • Feb 26, 2021
  • PLOS ONE
  • Rabia Afzaal +1
  • Research Article
  • Citations12

Blockchain Technology and Simulation Case Analysis to Construct a Big Data Platform for Urban Intelligent Transportation

  • Dec 01, 2019
  • Journal of Highway and Transportation Research and Development (English Edition)
  • Yan Gong +1
  • Conference Article
  • Citations19

Paladin

  • Feb 22, 2019
  • Yun Ma +4
  • Conference Article
  • Citations3

Too Quiet in the Library: An Empirical Study of Security Updates in Android Apps' Native Code

  • May 01, 2021
  • Sumaya Almanee +3
  • Conference Article
  • Citations28

A tale of two cities: how WebView induces bugs to Android applications

  • Sep 03, 2018
  • Jiajun Hu +4
  • Conference Article
  • Citations3

Android Unit Test Case Generation Based on the Strategy of Multi-Dimensional Coverage

  • Nov 07, 2021
  • Jie Cao +2
  • Conference Article
  • Citations15

Graph-aided directed testing of Android applications for checking runtime privacy behaviours

  • May 14, 2016
  • Joseph Chan Joo Keng +3
  • Conference Article
  • Citations9

Improving code coverage in android apps testing by exploiting patterns and automatic test case generation

  • Sep 16, 2014
  • Domenico Amalfitano +7
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.