Cargando…
From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps
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. T...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
John Wiley and Sons Inc.
2018
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6472642/ https://www.ncbi.nlm.nih.gov/pubmed/31007293 http://dx.doi.org/10.1002/spe.2672 |
_version_ | 1783412281474809856 |
---|---|
author | Riganelli, Oliviero Micucci, Daniela Mariani, Leonardo |
author_facet | Riganelli, Oliviero Micucci, Daniela Mariani, Leonardo |
author_sort | Riganelli, Oliviero |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-6472642 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2018 |
publisher | John Wiley and Sons Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-64726422019-04-19 From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps Riganelli, Oliviero Micucci, Daniela Mariani, Leonardo Softw Pract Exp Short Communications 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. John Wiley and Sons Inc. 2018-12-13 2019-03 /pmc/articles/PMC6472642/ /pubmed/31007293 http://dx.doi.org/10.1002/spe.2672 Text en © 2018 The Authors. Software: Practice and Experience published by John Wiley & Sons Ltd. This is an open access article under the terms of the http://creativecommons.org/licenses/by-nc/4.0/ License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited and is not used for commercial purposes. |
spellingShingle | Short Communications Riganelli, Oliviero Micucci, Daniela Mariani, Leonardo From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps |
title | From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps |
title_full | From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps |
title_fullStr | From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps |
title_full_unstemmed | From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps |
title_short | From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps |
title_sort | from source code to test cases: a comprehensive benchmark for resource leak detection in android apps |
topic | Short Communications |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6472642/ https://www.ncbi.nlm.nih.gov/pubmed/31007293 http://dx.doi.org/10.1002/spe.2672 |
work_keys_str_mv | AT riganellioliviero fromsourcecodetotestcasesacomprehensivebenchmarkforresourceleakdetectioninandroidapps AT micuccidaniela fromsourcecodetotestcasesacomprehensivebenchmarkforresourceleakdetectioninandroidapps AT marianileonardo fromsourcecodetotestcasesacomprehensivebenchmarkforresourceleakdetectioninandroidapps |