arXiv Analytics

Sign in

arXiv:1803.05889 [cs.SE]AbstractReferencesReviewsResources

Using Automatic Refactoring to Improve Energy Efficiency of Android Apps

Luis Cruz, Rui Abreu

Published 2018-03-15Version 1

The ever-growing popularity of mobile phones has brought additional challenges to the software development lifecycle. Mobile applications (apps, for short) ought to provide the same set of features as conventional software, with limited resources: such as, limited processing capabilities, storage, screen and, not less important, power source. Although energy efficiency is a valuable requirement, developers often lack knowledge of best practices. In this paper, we study whether or not automatic refactoring can aid developers ship energy efficient apps. We leverage a tool, Leafactor, with five energy code smells that tend to go unnoticed. We use Leafactor to analyze code smells in 140 free and open source apps. As a result, we detected and fixed code smells in 45 apps, from which 40% have successfully merged our changes into the official repository.

Comments: 14 pages, accepted to the Proceedings of CIbSE XXI Ibero-American Conference on Software Engineering (CIbSE'18)
Categories: cs.SE
Related articles: Most relevant | Search more
arXiv:1905.11040 [cs.SE] (Published 2019-05-27)
A Benchmark of Data Loss Bugs for Android Apps
arXiv:1706.05042 [cs.SE] (Published 2017-06-15)
DPerm: Assisting the Migration of Android Apps to Runtime Permissions
arXiv:1707.09038 [cs.SE] (Published 2017-07-27)
Enabling Mutation Testing for Android Apps