一句话:提出 COBWEB,一种基于搜索的 Android 能耗测试技术,通过建模功能行为与上下文条件生成测试套件以发现能耗缺陷。
智能手机的实用性受电池容量及其软硬件能效限制。为了刻画应用能耗并识别能耗缺陷,需要对应用进行动态测试以评估其能耗属性,但目前缺乏相关测试工具。本文提出 COBWEB,一种面向 Android 的基于搜索的能耗测试技术。它利用一组新模型,同时表示应用的功能行为以及影响其能耗行为的上下文条件,从而生成能够有效发现能耗缺陷的测试套件。作者使用真实应用进行实验,结果表明 COBWEB 不仅能有效且高效地测试应用的能耗行为,而且优于已有技术,能够发现范围更广、更多样的能耗缺陷。
The utility of a smartphone is limited by its battery capacity and the ability of its hardware and software to efficiently use the device's battery. To properly characterize the energy consumption of an app and identify energy defects, it is critical that apps are properly tested, i.e., analyzed dynamically to assess the app's energy properties. However, currently there is a lack of testing tools for evaluating the energy properties of apps. We present COBWEB, a search-based energy testing technique for Android. By leveraging a set of novel models, representing both the functional behavior of an app as well as the contextual conditions affecting the app's energy behavior, COBWEB generates a test suite that can effectively find energy defects. Our experimental results using real-world apps demonstrate not only its ability to effectively and efficiently test energy behavior of apps, but also its superiority over prior techniques by finding a wider and more diverse set of energy defects.