With the widespread use and adoption of mobile platforms like Android a new software quality concern has emerged -- energy consumption. However, developing energy-efficient software and applications requires knowledge and likewise proper tooling to support mobile developers. To this aim, we present an approach to examine the energy evolution of software revisions based on their API interactions. The approach stems from the assumption that the utilization of an API has direct implications on the energy being consumed during runtime. Based on an empirical evaluation, we show initial results that API interactions serve as a flexible, lightweight, and effective way to compare software revisions regarding their energy evolution. Given our initial results we envision that in future using our approach mobile developers will be able to gain insights on the energy implications of changes in source code in the course of the software development life-cycle.
翻译:随着像Android这样的移动平台的广泛使用和采用,出现了一个新的软件质量问题 -- -- 能源消耗。然而,开发节能软件和应用需要知识,同样也需要适当的工具来支持移动开发者。为此,我们提出一种办法,根据他们的API互动情况,审查软件修改的能源演变情况。这一办法源于一种假设,即使用API对运行期间消耗的能源有直接影响。根据一项经验评估,我们展示了初步结果,即API互动是一种灵活、轻便和有效的方法,可以比较对其能源演变的软件修改情况。我们设想,根据我们的初步结果,今后使用我们的方法,移动开发者将能够了解软件开发生命周期过程中源代码变化对能源的影响。