Mining Software Repositories · 2012 · 64 citations · 11 references
ComputingComputer EngineeringComputer ScienceMobile SystemsPerformance MeasurementSoftware EngineeringEnergy UseMetrics CollectionPower AnalysisPower EstimationSoftware MetricsSoftware TestingApplication-specific Power EstimationMetricsPower ConsumptionPower Consumption ModelingRegression-based Power EstimationSoftware Change Impact AnalysisSoftware Project MetricsTesting
Power consumption is increasingly critical due to the proliferation of mobile devices, and developers worry that software changes may drain battery life, yet detecting regressions by measuring test power usage is time‑consuming and noisy. The study proposes a general methodology that estimates the impact of software changes on power consumption using static OO software metrics, thereby reducing the need for costly power‑usage testing. The authors measure test power usage to detect regressions, but instead propose estimating the impact of software changes on power consumption using static OO software metrics. Using Firefox and Azureus/Vuze, the authors showed that software changes affect power consumption and found evidence of a relationship between certain software metrics and power usage, concluding that static OO metrics can initially predict power impact.
Power consumption is becoming more and more important with the increased popularity of smart-phones, tablets and laptops. The threat of reducing a customer's battery-life now hangs over the software developer who asks, will this next change be the one that causes my software to drain a customer's battery? One solution is to detect power consumption regressions by measuring the power usage of tests, but this is time-consuming and often noisy. An alternative is to rely on software metrics that allow us to estimate the impact that a change might have on power consumption thus relieving the developer from expensive testing. This paper presents a general methodology for investigating the impact of software change on power consumption, we relate power consumption to software changes, and then investigate the impact of static OO software metrics on power consumption. We demonstrated that software change can effect power consumption using the Firefox web-browser and the Azureus/Vuze BitTorrent client. We found evidence of a potential relationship between some software metrics and power consumption. In conclusion, we explored the effect of software change on power consumption on two projects; and we provide an initial investigation on the impact of software metrics on power consumption.
11