Do Energy-oriented Changes Hinder Maintainability?
Luis Cruz, Rui Abreu, John Grundy, Li Li, Xin Xia

TL;DR
This study investigates how energy efficiency improvements in Android apps impact maintainability, revealing that such changes often decrease maintainability but providing insights for better development practices.
Contribution
It offers an empirical analysis of energy-oriented commits' effects on maintainability and provides practical guidelines for developers and researchers.
Findings
Energy efficiency improvements often decrease maintainability.
Code changes for Power Save Mode and Wakelock increase tend to reduce maintainability.
Manual analysis highlights specific maintainability issues caused by energy-oriented modifications.
Abstract
Energy efficiency is a crucial quality requirement for mobile applications. However, improving energy efficiency is far from trivial as developers lack the knowledge and tools to aid in this activity. In this paper we study the impact of changes to improve energy efficiency on the maintainability of Android applications. Using a dataset containing 539 energy efficiency-oriented commits, we measure maintainability -- as computed by the Software Improvement Group's web-based source code analysis service Better Code Hub (BCH) -- before and after energy efficiency-related code changes. Results show that in general improving energy efficiency comes with a significant decrease in maintainability. This is particularly evident in code changes to accommodate the Power Save Mode and Wakelock Addition energy patterns. In addition, we perform manual analysis to assess how real examples of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGreen IT and Sustainability · Mobile and Web Applications · Innovative Human-Technology Interaction
