Supporting software evolution through feedback on executing/skipping energy tests for proposed source code changes
Authors:
- 20 February 2019
- journal article
- research article
- Published by Wiley in Journal of Software: Evolution and Process
- Vol. 31 (4)
Abstract
With the increasing use of battery‐powered devices comes the need to test mobile applications for energy consumption and energy issues. Unfortunately, energy testing is expensive because it is a manual, labor‐intensive process that often requires multiple, separate, energy‐measuring devices to collect energy usage data. The high costs of energy testing can negatively affect the planning process of application evolution. For example, developers might be limited in the number of changes they can include in a release because they must conservatively plan to conduct energy testing after each change. In this paper, we present a new approach to provide developers with feedback on executing/skipping energy tests for proposed code changes. Our technique leverages change impact analysis and precomputed API energy usage information. More specifically, for a proposed change, the technique predicts whether energy testing will be required, and if so, which energy tests will need to be run. Such information may allow developers to avoid spending unnecessary time for energy testing and develop an effective application evolution timeline. To investigate the feasibility of our technique, we implemented a prototype for Android applications and conducted three case studies at different granularity levels on 10 Android applications.Keywords
Funding Information
- National Science Foundation (1618161)
This publication has 37 references indexed in Scilit:
- Nyx: a display energy optimizer for mobile web apps2015
- Optimizing energy consumption of GUIs in Android apps: a multi-objective approach2015
- Truth in Advertising: The Hidden Cost of Mobile Ads for Software Developers2015
- EcoDroid: An Approach for Energy-Based Ranking of Android Apps2015
- Detecting Display Energy Hotspots in Android Apps2015
- What is keeping my phone awake?2012
- A survey of code‐based change impact analysis techniquesSoftware Testing, Verification and Reliability, 2012
- Where is the energy spent inside my app?2012
- Bootstrapping energy debugging on smartphones2011
- Stereo matching: performance study of two global algorithms2011