Year: 2018
Type: preprint
Abstract: 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.
Source: arXiv (Cornell University)
Authors: Cruz, Luis, Abreu, Rui
Language: English
Topic: Green IT and Sustainability
Subfield: Electrical and Electronic Engineering
Field: Engineering
Domain: Physical Sciences
Open Access status: green
Awards: G1243307103, G1516346500, G1578237752, G1763632427, G274581676, G3840324753, G3891694003, G4724859719, G491858407, G5224927334, G5677667711, REALIZAÇÃO DO ANO CURRICULAR DO PROGRAMA DOUTORAL MAP-I - Combining Living Analytics and Educational Data Mining to Model Student Performance, G7965899483
OpenAlex ID: W2791408698
