Back to Search
Start Over
Evaluating the Impact of Code Smell Refactoring on the Energy Consumption of Android Applications
- Source :
- SEAA
- Publication Year :
- 2019
- Publisher :
- IEEE, 2019.
-
Abstract
- 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.
- Subjects :
- Common code
Database
Computer science
020209 energy
Energy impact
Code smell
020207 software engineering
02 engineering and technology
Software maintenance
Energy consumption
computer.software_genre
Code refactoring
Software_SOFTWAREENGINEERING
0202 electrical engineering, electronic engineering, information engineering
Android (operating system)
computer
Mobile device
Subjects
Details
- Database :
- OpenAIRE
- Journal :
- 2019 45th Euromicro Conference on Software Engineering and Advanced Applications (SEAA)
- Accession number :
- edsair.doi...........521fc1aee980d5cf570964e2bc3327d2