Litcius/Paper detail

EcoAndroid: An Android Studio Plugin for Developing Energy-Efficient Java Mobile Applications

Ana P. C. Ribeiro, João F. Ferreira, Alexandra Mendes

20212021 IEEE 21st International Conference on Software Quality, Reliability and Security (QRS)28 citationsDOI

Abstract

Mobile devices have become indispensable in our daily life and reducing the energy consumed by them has become essential. However, developing energy-efficient mobile applications is not a trivial task. To address this problem, we present EcoAndroid, an Android Studio plugin that automatically applies energy patterns to Java source code. It currently supports ten different cases of energy-related refactorings, divided over five energy patterns taken from the literature. We used EcoAndroid to analyze 100 Java mobile applications (≈ 1.5M LOC) and we found that 35 of the projects had a total of 95 energy code smells. EcoAndroid was able to automatically refactor all the code smells identified.

Topics & Concepts

Plug-inJavaAndroid (operating system)Code refactoringComputer scienceCode smellStudioSource codeOperating systemEmbedded systemMobile deviceSoftware engineeringSoftwareSoftware developmentSoftware qualityTelecommunicationsGreen IT and SustainabilityEnergy Harvesting in Wireless NetworksInnovative Human-Technology Interaction
EcoAndroid: An Android Studio Plugin for Developing Energy-Efficient Java Mobile Applications | Litcius