Android apps share resources, such as sensors, cameras, and Global Positioning System, that are subject to specific usage policies whose correct implementation is left to programmers. Failing to satisfy these policies may cause resource leaks, that is, apps may acquire but never release resources. This might have different kinds of consequences, such as apps that are unable to use resources or resources that are unnecessarily active wasting battery. Researchers have proposed several techniques to detect and fix resource leaks. However, the unavailability of public benchmarks of faulty apps makes comparison between techniques difficult, if not impossible, and forces researchers to build their own data set to verify the effectiveness of their techniques (thus, making their work burdensome). The aim of our work is to define a public benchmark of Android apps affected by resource leaks. The resulting benchmark, called AppLeak, is publicly available on GitLab and includes faulty apps, versions with bug fixes (when available), test cases to automatically reproduce the leaks, and additional information that may help researchers in their tasks. Overall, the benchmark includes a body of 40 faults that can be exploited to evaluate and compare both static and dynamic analysis techniques for resource leak detection.

Riganelli, O., Micucci, D., Mariani, L. (2019). From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps. SOFTWARE-PRACTICE & EXPERIENCE, 49(3), 540-548 [10.1002/spe.2672].

From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps

Riganelli, O
;
Micucci, D;Mariani, L
2019

Abstract

Android apps share resources, such as sensors, cameras, and Global Positioning System, that are subject to specific usage policies whose correct implementation is left to programmers. Failing to satisfy these policies may cause resource leaks, that is, apps may acquire but never release resources. This might have different kinds of consequences, such as apps that are unable to use resources or resources that are unnecessarily active wasting battery. Researchers have proposed several techniques to detect and fix resource leaks. However, the unavailability of public benchmarks of faulty apps makes comparison between techniques difficult, if not impossible, and forces researchers to build their own data set to verify the effectiveness of their techniques (thus, making their work burdensome). The aim of our work is to define a public benchmark of Android apps affected by resource leaks. The resulting benchmark, called AppLeak, is publicly available on GitLab and includes faulty apps, versions with bug fixes (when available), test cases to automatically reproduce the leaks, and additional information that may help researchers in their tasks. Overall, the benchmark includes a body of 40 faults that can be exploited to evaluate and compare both static and dynamic analysis techniques for resource leak detection.
Articolo in rivista - Articolo scientifico
Android app; benchmark; bug detection; resource leak;
Android app; benchmark; bug detection; resource leak; Software
English
2019
49
3
540
548
partially_open
Riganelli, O., Micucci, D., Mariani, L. (2019). From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps. SOFTWARE-PRACTICE & EXPERIENCE, 49(3), 540-548 [10.1002/spe.2672].
File in questo prodotto:
File Dimensione Formato  
Riganelli_et_al-2019-Software__Practice_and_Experience.pdf

accesso aperto

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Dimensione 412.26 kB
Formato Adobe PDF
412.26 kB Adobe PDF Visualizza/Apri
SPE2019.pdf

Solo gestori archivio

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Dimensione 412.26 kB
Formato Adobe PDF
412.26 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

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/214663
Citazioni
  • Scopus 7
  • ???jsp.display-item.citation.isi??? 5
Social impact