SEPFAug 22, 2019

Do Energy-oriented Changes Hinder Maintainability?

arXiv:1908.08332v133 citations
AI Analysis

This addresses the challenge for mobile app developers in balancing energy efficiency with maintainability, though it is incremental as it builds on existing analysis tools and datasets.

The study investigated how energy efficiency improvements affect the maintainability of Android applications, analyzing 539 commits and finding that such changes generally lead to a significant decrease in maintainability, particularly for Power Save Mode and Wakelock Addition patterns.

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 energy-oriented changes affect maintainability. Our results help mobile app developers to 1) avoid common maintainability issues when improving the energy efficiency of their apps; and 2) adopt development processes to build maintainable and energy-efficient code. We also support researchers by identifying challenges in mobile app development that still need to be addressed.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes