首页> 外文会议>IEEE/ACM International Workshop on Automation of Software Test >Automated Test Generation for Detection of Leaks in Android Applications
【24h】

Automated Test Generation for Detection of Leaks in Android Applications

机译:用于检测Android应用程序中泄漏的自动测试生成

获取原文

摘要

Android devices have limited hardware resources (e.g., memory). Excessive consumption of such resources may lead to crashes, poor responsiveness, battery drain, and negative user experience. We propose an approach for systematic automated test generation to expose resource leak defects in Android applications. We first define the notion of a neutral sequence of GUI events. Intuitively, such a sequence can be expected to have "neutral" effects on resource consumption, and repeated executions of this sequence should not exhibit resource growth. Using a state-of-the-art static control-flow model of an Android application, we demonstrate how to achieve automated generation of such sequences. We then define test generation algorithms for two important categories of neutral sequences, based on common leak patterns specific to Android. Our experimental evaluation compares this approach with a non-automated approach from prior work. The results from this evaluation strongly indicate that it is possible to achieve effective, general, and automated test generation for resource leaks in Android applications using the proposed techniques.
机译:Android设备具有有限的硬件资源(例如,内存)。过度消耗此类资源可能导致崩溃,响应性差,电池排水和负用户体验。我们提出了一种对系统自动化测试生成的方法,以暴露Android应用程序中的资源泄漏缺陷。我们首先定义GUI事件的中性序列的概念。直观地,可以预期这种序列对资源消耗具有“中性”影响,并且该序列的重复执行不应表现出资源增长。使用Android应用程序的最先进的静态控制 - 流量模型,我们展示了如何实现这些序列的自动生成。然后,我们基于特定于Android的常见泄漏模式来定义两个重要类别的中性序列的测试生成算法。我们的实验评估将这种方法与未自动化的方法进行了比较。该评估的结果强烈表明,使用所提出的技术,可以实现有效,一般和自动测试在Android应用程序中的资源泄漏。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号