paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automated construction of energy test oracles for Android

Android 能耗测试预言(oracle)的自动构建
FSE Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2020匹配度 1/10 · 该论文聚焦 Android 能耗测试预言(oracle)的自动构建,属于软件测试方向,与用户关注静态分析/形式化验证、Agentic 程序分析、浮点程序分析及贝叶斯程序分析等核心议题基本无关;其使用的深度学习也不涉及 LLM/Agent 与程序分析的交叉。引用 12 inbox
Reyhaneh Jabbarvand, Forough Mehralian, Sam Malek
crossref: 2026-09-12

AI 速览

一句话:提出 ACETON,用深度学习自动构建 Android 能耗测试预言,判定是否存在能耗缺陷及其类型。

能耗逐渐成为移动应用的重要质量属性,但当前缺乏有效的能耗测试工具,尤其测试预言(oracle)问题尚未解决。现有研究主要关注测试输入生成。本文提出 ACETON,首个面向移动应用能耗行为测试的预言自动构建方法。ACETON 采用深度学习构建预言,不仅判断一次测试执行是否暴露能耗缺陷,还能识别缺陷类型。通过选取可在任意应用和移动设备上监控的特征,该方法构建的预言具有较高可复用性。实验表明,ACETON 生成的预言整体精确率和召回率均达到 99%,并且平均仅需 37 毫秒即可检测出能耗缺陷,兼具高准确性与高效率。

问题
移动应用普遍存在能耗缺陷,但能耗测试工具缺乏,核心难点是测试预言问题;已有工作多聚焦于测试输入生成。
方法
ACETON 利用深度学习自动构建能耗测试预言,基于可跨应用与设备监控的特征,使其既可判定是否出现能耗缺陷,也能识别缺陷类型。
评估
通过实验评估所构建预言的有效性与效率,报告整体精确率和召回率均达 99%,平均 37 毫秒检测到能耗缺陷。
原文摘要(Abstract)

Energy efficiency is an increasingly important quality attribute for software, particularly for mobile apps. Just like any other software attribute, energy behavior of mobile apps should be properly tested prior to their release. However, mobile apps are riddled with energy defects, as currently there is a lack of proper energy testing tools. Indeed, energy testing is a fledgling area of research and recent advances have mainly focused on test input generation. This paper presents ACETON, the first approach aimed at solving the oracle problem for testing the energy behavior of mobile apps. ACETON employs Deep Learning to automatically construct an oracle that not only determines whether a test execution reveals an energy defect, but also the type of energy defect. By carefully selecting features that can be monitored on any app and mobile device, we are assured the oracle constructed using ACETON is highly reusable. Our experiments show that the oracle produced by ACETON is both highly accurate, achieving an overall precision and recall of 99%, and efficient, detecting the existence of energy defects in only 37 milliseconds on average.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5752,
  title = {Automated construction of energy test oracles for Android},
  author = {Reyhaneh Jabbarvand and Forough Mehralian and Sam Malek},
  booktitle = {FSE},
  year = {2020},
  doi = {10.1145/3368089.3409677}
}