首页> 外文期刊>Quality Control, Transactions >Do Memories Haunt You? An Automated Black Box Testing Approach for Detecting Memory Leaks in Android Apps
【24h】

Do Memories Haunt You? An Automated Black Box Testing Approach for Detecting Memory Leaks in Android Apps

机译:记忆困扰着你吗?用于检测Android应用程序中内存泄漏的自动黑匣子测试方法

获取原文
获取原文并翻译 | 示例
       

摘要

Memory leaks represent a remarkable problem for mobile app developers since a waste of memory due to bad programming practices may reduce the available memory of the device, slow down the apps, reduce their responsiveness and, in the worst cases, they may cause the crash of the app. A common cause of memory leaks in the specific context of Android apps is the bad handling of the events tied to the Activity Lifecycle. In order to detect and characterize these memory leaks, we present FunesDroid, a tool-supported black box technique for the automatic detection of memory leaks tied to the Activity Lifecycle in Android apps. FunesDroid implements a testing approach that can find memory leaks by analyzing unnecessary heap object replications after the execution of three different sequences of Activity Lifecycle events. In the paper, we present an exploratory study that shows the capability of the proposed technique to detect memory leaks and to characterize them in terms of their size, persistence and growth trend. The study also illustrates how memory leak causes can be detected with the support of the information provided by the FunesDroid tool.
机译:内存泄漏代表了移动应用程序开发人员的显着问题,因为由于编程实践不良而浪费内存可能会减少设备的可用内存,减慢应用程序,降低他们的响应性,并且在最糟糕的情况下,他们可能会导致崩溃该应用程序。在Android应用程序的特定上下文中,内存泄漏的常见原因是对活动生命周期相关的事件的糟糕处理。为了检测和表征这些内存泄漏,我们呈现了Funesdroid,一种用于自动检测到Android应用程序中活动生命周期的内存泄漏的工具支持的黑匣子技术。 Funesdroid实现了一种测试方法,可以通过在执行三个不同的活动生命周期事件序列之后分析不必要的堆对象复制来找到内存泄漏。在本文中,我们提出了一个探索性研究,显示了所提出的技术来检测内存泄漏的能力,并在其大小,持久性和增长趋势方面表征它们。该研究还说明了如何通过支持Funesdroid工具提供的信息的支持来检测内存泄漏原因。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号