Evaluating the Impact of Code Smell Refactoring on the Energy Consumption of Android Applications
2019 45th Euromicro Conference on Software Engineering and Advanced Applications (SEAA)(2019)
摘要
Energy consumption of mobile apps is receiving a lot of attention from researchers. Recent studies indicate that energy consumption of mobile devices could be lowered by improving the quality of mobile apps. Frequent refactoring is one way of achieving this goal. We explore the performance and energy impact of several common code refactorings in Android apps. Experimental results indicate that some code smell refactorings positively impact the energy consumption of Android apps. Refactoring of the code smells 'Duplicated code' and 'Type checking' reduce energy consumption by up to 10.8%. Significant reduction in energy consumption, however, does not seem to be directly related to the increase or decrease of execution time. In addition, the energy impact over permutations of code smell refactorings in the selected Android apps was small. When analyzing the order in which refactorings were made across code smell types, it turned out that some permutations resulted in a reduction and some in an increase of energy consumption for the analyzed apps.
更多查看译文
关键词
Refactoring, Software Maintenance, Code Smell Detection, Code Power Consumption, Code Smell Refactoring
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络