arrow
Return

Detecting Energy Bugs in Android Apps Using Static Analysis

delete2017-10-11
delete25
PRE
AI
H
H. J. Jiang
H
Hongli Yang *
S
Shengchao Qin
Zhendong Su cover
Zhendong Su (Zhendong Su)
张坚 cover
张坚 (Jian Zhang)
严
严俊 (Jun Yan)
DOI:10.1007/978-3-319-68690-5_12delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Energy bugs in Android apps are defects that can make Android systems waste much energy as a whole. Energy bugs detection in Android apps has become an important issue since smartphones usually operate on a limited amount of battery capacity and the existence of energy bugs may lead to serious drain in the battery power. This paper focuses on detecting two types of energy bugs, namely resource leak and layout defect, in Android apps. A resource leak is a particular type of energy wasting phenomena where an app does not release its acquired resources such as a sensor and GPS. A layout defect refers to a poor layout structure causing more energy consumption for measuring and drawing the layout. In this paper, we present a static analysis technique called SAAD, that can automatically detect energy bugs in a context-sensitive way. SAAD detects the energy bugs by taking an inter-procedural anaysis of an app. For resource leak analysis, SAAD decompiles APK file into Dalvik bytecodes files and then performs resource leak analysis by taking components call relationship analysis, inter-procedure and infra-procedure analysis. For detecting layout defect, SAAD firstly employs Lint to perform some traditional app analysis, then filters energy defects from reported issues. Our experimental result on 64 publicly-available Android apps shows that SAAD can detect energy bugs effectively. The accuracies of detecting resource leak and layout energy defect are 87.5% and 78.1% respectively.
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

F
Formal Methods and Software Engineering
IF:
0
Papers:
2
Citations:
0

Organization

U
university of teesside
Scholars:
1.6K
Papers: 1.8K
Citations: 3
U
university of california davis
Scholars:
3.4W
Papers: 2.6W
Citations: 45
University of California System cover
University of California System
Scholars:
37.7W
Papers: 33.8W
Citations: 6.6K
B
Beijing University of Technology
Scholars:
2.8W
Papers: 2.1W
Citations: 2.7W
researcher View more organizations
Cited Papers

Cited Papers

Detecting Energy Bugs and Hotspots in Mobile Apps
err2014-11-11
err139
PREAI
errBanerjee, Abhijeet; Chong, Lee Kee; Chattopadhyay, Sudipta; Roychoudhury, Abhik
errShare
errSave
errShare
errSave
Green Corrosion Inhibition
err2024-02-02
err0
PREAI
errBharti Sheokand; Seema R. Pathak; Chandan K. Mandal; Drishti Gupta; Deepti Verma; Kamalakanta Behera; Ambrish Kumar; Monika Vats; Shruti Trivedi
errShare
errSave
Light-Weight, Inter-Procedural and Callback-Aware Resource Leak Detection for Android Apps
err2016-11-01
err46
PREAI
errWu, Tianyong; Liu, Jierui; Xu, Zhenbo; Guo, Chaorong; Zhang, Yanli; Yan, Jun; Zhang, Jian
errShare
errSave
Lower extremity power training in elderly subjects with mobility limitations: a randomized controlled trial
err2013-07-26
err0
errOAAI
errKieran F. Reid; Damien M. Callahan; Robert J. Carabello; Edward M. Phillips; Walter R. Frontera; Roger A. Fielding
errShare
errSave
Stair ascent and descent at different inclinations
err2002-02-01
err0
PREAI
errRobert Riener; Marco Rabuffetti; Carlo Frigo
errShare
errSave
researcher View more