Combatting Energy Issues for Mobile Applications

Xueliang Li, Junyang Chen, Yepang Liu, Kaishun Wu, John Patrick Gallagher

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningpeer review

Abstract

Energy efficiency is an important criterion to judge the quality of mobile apps, but one third of our arbitrarily sampled apps suffer from energy issues that can quickly drain battery power. To understand these issues, we conduct an empirical study on 36 well-maintained apps such as Chrome and Firefox, whose issue tracking systems are publicly accessible. Our study involves issue causes, manifestation, fixing efforts, detection techniques, reasons of no-fixes and debugging techniques. Inspired by the empirical study, we propose a novel testing framework for detecting energy issues in real-world mobile apps. Our framework examines apps with well-designed input sequences and runtime context. We develop leading edge technologies, e.g. pre-designing input sequences with potential energy overuse and tuning tests on-the-fly, to achieve high efficacy in detecting energy issues. A large-scale evaluation shows that 90.4% of the detected issues in our experiments were previously unknown to developers. On average, these issues can double the energy consumption of the test cases where the issues were detected. And our test achieves a low number of false positives. Finally, we show how our test reports can help developers fix the issues.
OriginalsprogEngelsk
Artikelnummer3527851
TidsskriftACM Transactions on Software Engineering and Methodology
Vol/bind32
Udgave nummer1
Antal sider44
ISSN1049-331X
DOI
StatusUdgivet - 13 feb. 2023

Bibliografisk note

Denne artikel er fundet som "free version" version" fra forlaget den 18.maj 2022. Når adgangen til artiklen lukkes, så underret venligst [email protected].

Citer dette