RT Journal Article T1 EARMO: An Energy-Aware Refactoring Approach for Mobile Apps A1 Morales, Rodrigo A1 Saborido Infantes, Rubén A1 Khomh, Foutse A1 Chicano, Francisco A1 Antoniol, Giuliano K1 Soporte lógico - Mantenimiento K1 Ingeniería del software AB The energy consumption of mobile apps is a trending topic and researchers are actively investigating the role of coding practices on energy consumption. Recent studies suggest that design choices can conflict with energy consumption. Therefore, it is important to take into account energy consumption when evolving the design of a mobile app. In this paper, we analyze the impact of eight type of anti-patterns on a testbed of 20 android apps extracted from F-Droid. We propose EARMO, a novel anti-pattern correction approach that accounts for energy consumption when refactoring mobile anti-patterns. We evaluate EARMO using three multiobjective search-based algorithms. The obtained results show that EARMO can generate refactoring recommendations in less than a minute, and remove a median of 84 percent of anti-patterns. Moreover, EARMO extended the battery life of a mobile phone by up to 29 minutes when running in isolation a refactored multimedia app with default settings (no Wi-Fi, no location services, and minimum screen brightness). Finally, we conducted a qualitative study with developers of our studied apps, to assess the refactoring recommendations made by EARMO. Developers found 68 percent of refactorings suggested by EARMO to be very relevant. PB IEEE YR 2017 FD 2017 LK https://hdl.handle.net/10630/34068 UL https://hdl.handle.net/10630/34068 LA eng NO R. Morales, R. Saborido, F. Khomh, F. Chicano and G. Antoniol, "EARMO: An Energy-Aware Refactoring Approach for Mobile Apps," in IEEE Transactions on Software Engineering, vol. 44, no. 12, pp. 1176-1206, 1 Dec. 2018, doi: 10.1109/TSE.2017.2757486 DS RIUMA. Repositorio Institucional de la Universidad de Málaga RD 19 ene 2026