Android apps must be able to deal with both stop events, which require immediately stopping the execution of the app without losing state information, and start events, which require resuming the execution of the app at the same point it was stopped. Support to these kinds of events must be explicitly implemented by developers who unfortunately often fail to implement the proper logic for saving and restoring the state of an app. As a consequence apps can lose data when moved to background and then back to foreground (e.g., to answer a call) or when the screen is simply rotated. These faults can be the cause of annoying usability issues and unexpected crashes. This paper presents a public benchmark of 110 data loss faults in Android apps that we systematically collected to facilitate research and experimentation with these problems. The benchmark is available on GitLab and includes the faulty apps, the fixed apps (when available), the test cases to automatically reproduce the problems, and additional information that may help researchers in their tasks.

Riganelli, O., Mobilio, M., Micucci, D., Mariani, L. (2019). A benchmark of data loss bugs for android apps. In IEEE International Working Conference on Mining Software Repositories (pp.582-586). IEEE Computer Society [10.1109/MSR.2019.00087].

A benchmark of data loss bugs for android apps

Riganelli O.;Mobilio M.;Micucci D.;Mariani L.
2019

Abstract

Android apps must be able to deal with both stop events, which require immediately stopping the execution of the app without losing state information, and start events, which require resuming the execution of the app at the same point it was stopped. Support to these kinds of events must be explicitly implemented by developers who unfortunately often fail to implement the proper logic for saving and restoring the state of an app. As a consequence apps can lose data when moved to background and then back to foreground (e.g., to answer a call) or when the screen is simply rotated. These faults can be the cause of annoying usability issues and unexpected crashes. This paper presents a public benchmark of 110 data loss faults in Android apps that we systematically collected to facilitate research and experimentation with these problems. The benchmark is available on GitLab and includes the faulty apps, the fixed apps (when available), the test cases to automatically reproduce the problems, and additional information that may help researchers in their tasks.
paper
Android; Benchmark; Bug detection; Data loss;
Android; Benchmark; Bug detection; Data loss
English
16th IEEE/ACM International Conference on Mining Software Repositories, MSR 2019
2019
IEEE International Working Conference on Mining Software Repositories
9781728134123
2019
2019-
582
586
8816798
http://ieeexplore.ieee.org/xpl/mostRecentIssue.jsp?punumber=5457933
none
Riganelli, O., Mobilio, M., Micucci, D., Mariani, L. (2019). A benchmark of data loss bugs for android apps. In IEEE International Working Conference on Mining Software Repositories (pp.582-586). IEEE Computer Society [10.1109/MSR.2019.00087].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/252728
Citazioni
  • Scopus 5
  • ???jsp.display-item.citation.isi??? ND
Social impact