Static/Dynamic Analysis of Android Applications to Improve Energy-Efficiency

Mohammad Jalili, Fathiyeh Faghih
{"title":"Static/Dynamic Analysis of Android Applications to Improve Energy-Efficiency","authors":"Mohammad Jalili, Fathiyeh Faghih","doi":"10.1109/rtest56034.2022.9850164","DOIUrl":null,"url":null,"abstract":"Energy consumption of mobile applications has a great impact on the satisfaction of users. Many developers do not consider energy-efficient programming practices when coding an applications. Therefore, many applications can be improved in terms of energy usage by detecting and removing their energy defects. Most works towards this goal focus on static analysis of Android applications. In this paper, we propose a hybrid framework consisting of static and dynamic modules for finding energy defects. Our static module can effectively analyse an Android application considering its life-cycle and look for the energy anti-patterns. The results of static analysis are then transformed to executable GUI-based test cases. In the dynamic module, the generated test cases are run, and their results are evaluated using an automated oracle, which does not need the energy measurement. Using our framework, we have analyzed 29 applications, and found 9 applications with energy defects. Our dynamic module could effectively detect the false positives in the results of the static analysis module.","PeriodicalId":38446,"journal":{"name":"International Journal of Embedded and Real-Time Communication Systems (IJERTCS)","volume":"16 1","pages":"1-8"},"PeriodicalIF":0.5000,"publicationDate":"2022-05-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Embedded and Real-Time Communication Systems (IJERTCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/rtest56034.2022.9850164","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Energy consumption of mobile applications has a great impact on the satisfaction of users. Many developers do not consider energy-efficient programming practices when coding an applications. Therefore, many applications can be improved in terms of energy usage by detecting and removing their energy defects. Most works towards this goal focus on static analysis of Android applications. In this paper, we propose a hybrid framework consisting of static and dynamic modules for finding energy defects. Our static module can effectively analyse an Android application considering its life-cycle and look for the energy anti-patterns. The results of static analysis are then transformed to executable GUI-based test cases. In the dynamic module, the generated test cases are run, and their results are evaluated using an automated oracle, which does not need the energy measurement. Using our framework, we have analyzed 29 applications, and found 9 applications with energy defects. Our dynamic module could effectively detect the false positives in the results of the static analysis module.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Android应用的静态/动态分析,以提高能源效率
移动应用的能耗对用户的满意度影响很大。许多开发人员在编写应用程序时没有考虑节能编程实践。因此,许多应用可以通过检测和消除它们的能量缺陷来改进能源使用。实现这一目标的大部分工作都集中在Android应用程序的静态分析上。在本文中,我们提出了一个由静态和动态模块组成的混合框架来寻找能量缺陷。我们的静态模块可以有效地分析Android应用程序的生命周期,并寻找能量反模式。然后将静态分析的结果转换为可执行的基于gui的测试用例。在动态模块中,生成的测试用例被运行,它们的结果被使用一个自动化的oracle评估,它不需要能量测量。使用我们的框架,我们分析了29个应用程序,并发现9个应用程序存在能量缺陷。我们的动态模块可以有效地检测出静态分析模块结果中的误报。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
1.70
自引率
14.30%
发文量
17
期刊最新文献
Agnostic Hardware-Accelerated Operating System for Low-End IoT Controlling High-Performance Platform Uncertainties with Timing Diversity The Role of Causality in a Formal Definition of Timing Anomalies Analyzing Fixed Task Priority Based Memory Centric Scheduler for the 3-Phase Task Model On the Trade-offs between Generalization and Specialization in Real-Time Systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1