z-logo
open-access-imgOpen Access
Improving Energy Efficiency Through Automatic Refactoring
Author(s) -
Luís Cruz,
Rui Abreu
Publication year - 2019
Publication title -
journal of software engineering research and development
Language(s) - English
Resource type - Journals
ISSN - 2195-1721
DOI - 10.5753/jserd.2019.17
Subject(s) - code refactoring , android (operating system) , computer science , code smell , software , efficient energy use , software engineering , source code , open source , embedded system , software development , database , operating system , software quality , engineering , electrical engineering
The ever-growing popularity of mobile phones has brought additional challenges to the software development lifecycle. Mobile applications 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 propose a tool to improve the energy efficiency of Android applications using automatic refactoring — Leafactor. The tool features five energy code smells that tend to go unnoticed. In addition, we study whether automatic refactoring can aid developers to ship energy efficient mobile applications with a dataset of 140 free and open source apps. As a result, we detect and fix code smells in 45 Android apps, from which 40% have successfully merged our changes into the official repository.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom