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

Saved in:
Bibliographic Details
Main Authors: Zein, Samer, Salleh, Norsaremah, Grundy, John
Format: Conference or Workshop Item
Language:English
English
Published: IEEE 2017
Subjects:
Online Access: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
http://irep.iium.edu.my/62065/
http://ieeexplore.ieee.org/document/8079982/
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Universiti Islam Antarabangsa Malaysia
Language: English
English
Description
Summary: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.