首页> 外文会议>IEEE/ACM International Workshop on Automation of Software Test >Sentinel: Generating GUI Tests for Android Sensor Leaks
【24h】

Sentinel: Generating GUI Tests for Android Sensor Leaks

机译:Sentinel:为Android传感器泄漏生成GUI测试

获取原文

摘要

Due to the widespread use of Android devices and apps, it is important to develop tools and techniques to improve app quality and performance. Our work focuses on a problem related to hardware sensors on Android devices: the failure to disable unneeded sensors, which leads to sensor leaks and thus battery drain. We propose the Sentinel testing tool to uncover such leaks. The tool performs static analysis of app code and produces a model which maps GUI events to callback methods that a ect sensor behavior. The model is traversed to identify paths that are likely to exhibit sensor leaks during run-time execution. The reported paths are then used to generate test cases. The execution of each test case tracks the run-time behavior of sensors and reports observed leaks. Our experimental results indicate that Sentinel effectively detects sensor leaks, while focusing the testing efforts on a very small subset of possible GUI event sequences.
机译:由于Android设备和应用程序广泛使用,开发工具和技术非常重要,以提高应用质量和​​性能。我们的工作重点介绍了Android设备上的硬件传感器的问题:未能禁用不需要的传感器,从而导致传感器泄漏,从而漏极漏极。我们提出了Sentinel测试工具来揭示这种泄漏。该工具执行应用程序代码的静态分析,并产生一个模型,将GUI事件映射到IC传感器行为的回调方法。该模型被遍历以识别在运行时执行期间可能表现出传感器泄漏的路径。然后使用报告的路径来生成测试用例。执行每个测试用例的执行跟踪传感器的运行时间行为,并观察到泄漏的报告。我们的实验结果表明,Sentinel有效地检测了传感器泄漏,同时将测试工作集中在可能的GUI事件序列的非常小的子集上。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号