arrow
返回

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
Z
Zhendong Su
J
Jian Zhang
严俊 (Jun Yan)
DOI:10.1007/978-3-319-68690-5_12delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

F
Formal Methods and Software Engineering
IF:
0
论文数:
2
被引数:
0

机构

U
university of teesside
学者数:
1.6K
论文数: 1.8K
被引数: 3
U
university of california davis
学者数:
3.4W
论文数: 2.6W
被引数: 45
University of California System 封面图
University of California System
学者数:
37.5W
论文数: 33.7W
被引数: 6.6K
B
Beijing University of Technology
学者数:
2.8W
论文数: 2.1W
被引数: 2.7W
学者 查看更多机构