Mobile applications are major means to perform daily actions, including social and emergency connectivity. However, their usability is threatened by energy consumptionthat may be impacted by code smells i.e., symptoms ofbad implementation and design practices. In particular, researchers derived a set of mobile-specific code smells resultingin increased energy consumption of mobile apps and removing such smells through refactoring can mitigate the problem. In this paper, we extend and revise aDoctor, a toolthat we previously implemented to identify energy-relatedsmells. On the one hand, we present and implement automated refactoring solutions to those smells. On the otherhand, we make the tool completely open-source and availablein Android Studio as a plugin published in the officialstore. The video showing the tool in action is available at:https://www.youtube.com/watch?v=1c2EhVXiKis.

Refactoring android-specific energy smells: A plugin for android studio

Pecorelli F.;Di Nucci D.;Palomba F.;De Lucia A.
2020-01-01

Abstract

Mobile applications are major means to perform daily actions, including social and emergency connectivity. However, their usability is threatened by energy consumptionthat may be impacted by code smells i.e., symptoms ofbad implementation and design practices. In particular, researchers derived a set of mobile-specific code smells resultingin increased energy consumption of mobile apps and removing such smells through refactoring can mitigate the problem. In this paper, we extend and revise aDoctor, a toolthat we previously implemented to identify energy-relatedsmells. On the one hand, we present and implement automated refactoring solutions to those smells. On the otherhand, we make the tool completely open-source and availablein Android Studio as a plugin published in the officialstore. The video showing the tool in action is available at:https://www.youtube.com/watch?v=1c2EhVXiKis.
2020
9781450379588
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11386/4752188
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 15
  • ???jsp.display-item.citation.isi??? 14
social impact