Static analysis of Android apps for lifecycle conformance

Building robust and reliable mobile applications requires the developer to be fully aware of the lifecycle models for mobile applications. During different states of the mobile application lifecycle, such as start-up, running, background etc., various system resources need to be acquired for use and...

Full description

Bibliographic Details
Main Authors: Zein, Samer, Salleh, Norsaremah, Grundy, John
Format: Proceeding Paper
Language:English
English
Published: IEEE 2017
Subjects:
Online Access:http://irep.iium.edu.my/62065/
http://irep.iium.edu.my/62065/7/62065%20Static%20Analysis%20of%20Android%20Apps%20for%20Lifecycle.pdf
http://irep.iium.edu.my/62065/8/62065%20Static%20analysis%20of%20android%20apps%20for%20lifecycle%20conformance%20SCOPUS.pdf
_version_ 1848785781094612992
author Zein, Samer
Salleh, Norsaremah
Grundy, John
author_facet Zein, Samer
Salleh, Norsaremah
Grundy, John
author_sort Zein, Samer
building IIUM Repository
collection Online Access
description Building robust and reliable mobile applications requires the developer to be fully aware of the lifecycle models for mobile applications. During different states of the mobile application lifecycle, such as start-up, running, background etc., various system resources need to be acquired for use and released so that other applications can use them. However, novice and amateur developers, who are a growing fraction in the mobile development community, often find such a task to be non-trivial and complex and limited in support for by existing tools. This paper presents an automated approach based on static code analysis to aid novice developers in managing system resources during different stages of a mobile application’s lifecycle. In order to achieve this, we present a software model to encapsulate lifecycle rules for system resources and then create a repository for these resources. In addition, a novel code analysis algorithm is presented to show how Android application source code can be analyzed in order to verify that system resources have been correctly initiated and released. A proof-of-concept software tool known as ALCI has been developed to evaluate our approach. We used ALCI to analyze 10 Android applications and our initial results show that ALCI is effective and successful.
first_indexed 2025-11-14T16:58:35Z
format Proceeding Paper
id iium-62065
institution International Islamic University Malaysia
institution_category Local University
language English
English
last_indexed 2025-11-14T16:58:35Z
publishDate 2017
publisher IEEE
recordtype eprints
repository_type Digital Repository
spelling iium-620652018-03-21T08:46:57Z http://irep.iium.edu.my/62065/ Static analysis of Android apps for lifecycle conformance Zein, Samer Salleh, Norsaremah Grundy, John Q Science (General) Building robust and reliable mobile applications requires the developer to be fully aware of the lifecycle models for mobile applications. During different states of the mobile application lifecycle, such as start-up, running, background etc., various system resources need to be acquired for use and released so that other applications can use them. However, novice and amateur developers, who are a growing fraction in the mobile development community, often find such a task to be non-trivial and complex and limited in support for by existing tools. This paper presents an automated approach based on static code analysis to aid novice developers in managing system resources during different stages of a mobile application’s lifecycle. In order to achieve this, we present a software model to encapsulate lifecycle rules for system resources and then create a repository for these resources. In addition, a novel code analysis algorithm is presented to show how Android application source code can be analyzed in order to verify that system resources have been correctly initiated and released. A proof-of-concept software tool known as ALCI has been developed to evaluate our approach. We used ALCI to analyze 10 Android applications and our initial results show that ALCI is effective and successful. IEEE 2017-10-23 Proceeding Paper PeerReviewed application/pdf en http://irep.iium.edu.my/62065/7/62065%20Static%20Analysis%20of%20Android%20Apps%20for%20Lifecycle.pdf application/pdf en http://irep.iium.edu.my/62065/8/62065%20Static%20analysis%20of%20android%20apps%20for%20lifecycle%20conformance%20SCOPUS.pdf Zein, Samer and Salleh, Norsaremah and Grundy, John (2017) Static analysis of Android apps for lifecycle conformance. In: 8th International Conference on Information Technology (ICIT), 17th-18th May 2017, Amman Jordan. http://ieeexplore.ieee.org/document/8079982/ 10.1109/ICITECH.2017.8079982
spellingShingle Q Science (General)
Zein, Samer
Salleh, Norsaremah
Grundy, John
Static analysis of Android apps for lifecycle conformance
title Static analysis of Android apps for lifecycle conformance
title_full Static analysis of Android apps for lifecycle conformance
title_fullStr Static analysis of Android apps for lifecycle conformance
title_full_unstemmed Static analysis of Android apps for lifecycle conformance
title_short Static analysis of Android apps for lifecycle conformance
title_sort static analysis of android apps for lifecycle conformance
topic Q Science (General)
url http://irep.iium.edu.my/62065/
http://irep.iium.edu.my/62065/
http://irep.iium.edu.my/62065/
http://irep.iium.edu.my/62065/7/62065%20Static%20Analysis%20of%20Android%20Apps%20for%20Lifecycle.pdf
http://irep.iium.edu.my/62065/8/62065%20Static%20analysis%20of%20android%20apps%20for%20lifecycle%20conformance%20SCOPUS.pdf