...
首页> 外文期刊>Software >From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps
【24h】

From source code to test cases: A comprehensive benchmark for resource leak detection in Android apps

机译:从源代码到测试案例:Android应用程序中资源泄漏检测的综合基准

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

获取外文期刊封面封底 >>

       

摘要

Android apps share resources, such as sensors, cameras, and Global Positioning System, that are subject to specific usage policies whose correct implementation is left to programmers. Failing to satisfy these policies may cause resource leaks, that is, apps may acquire but never release resources. This might have different kinds of consequences, such as apps that are unable to use resources or resources that are unnecessarily active wasting battery. Researchers have proposed several techniques to detect and fix resource leaks. However, the unavailability of public benchmarks of faulty apps makes comparison between techniques difficult, if not impossible, and forces researchers to build their own data set to verify the effectiveness of their techniques (thus, making their work burdensome). The aim of our work is to define a public benchmark of Android apps affected by resource leaks. The resulting benchmark, called AppLeak, is publicly available on GitLab and includes faulty apps, versions with bug fixes (when available), test cases to automatically reproduce the leaks, and additional information that may help researchers in their tasks. Overall, the benchmark includes a body of 40 faults that can be exploited to evaluate and compare both static and dynamic analysis techniques for resource leak detection.
机译:Android应用程序共享资源,例如传感器,相机和全球定位系统,这些资源受特定使用政策的约束,而正确的实施方法则留给程序员。不满足这些策略可能会导致资源泄漏,即,应用可能会获取但永远不会释放资源。这可能会产生不同类型的后果,例如无法使用资源的应用程序或不必要的活动浪费电池的资源。研究人员提出了几种检测和修复资源泄漏的技术。但是,由于无法使用有故障的应用程序的公开基准,因此即使不是不可能,也很难进行技术之间的比较,并且迫使研究人员建立自己的数据集以验证其技术的有效性(因此使工作负担沉重)。我们工作的目的是为受资源泄漏影响的Android应用程序定义一个公开基准。最终的基准称为AppLeak,可在GitLab上公开获得,其中包括错误的应用,具有错误修复的版本(如果可用),自动重现漏洞的测试用例以及可帮助研究人员完成任务的其他信息。总体而言,基准测试包括40条故障,可以利用这些故障评估和比较静态和动态分析技术以进行资源泄漏检测。

著录项

  • 来源
    《Software》 |2019年第3期|540-548|共9页
  • 作者单位

    Univ Milano Bicocca, Dipartimento Informat Sistemist & Comunicaz, Viale Sarca 336, I-20126 Milan, Italy;

    Univ Milano Bicocca, Dipartimento Informat Sistemist & Comunicaz, Viale Sarca 336, I-20126 Milan, Italy;

    Univ Milano Bicocca, Dipartimento Informat Sistemist & Comunicaz, Viale Sarca 336, I-20126 Milan, Italy;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Android app; benchmark; bug detection; resource leak;

    机译:Android应用;基准;错误检测;资源泄漏;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号