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.
|Title of host publication||IEEE International Conference on Program Comprehension|
|Publication status||Published - 2020|