paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DroidMate-2: a platform for Android test generation

DroidMate-2:一个面向 Android 测试生成的平台
ASE Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering2018匹配度 1/10 · 该论文聚焦 Android 自动化测试生成平台与语句覆盖率比较,属于动态测试生成方向,不涉及静态分析、LLM/Agentic 程序、浮点程序分析或贝叶斯程序分析,与用户研究画像基本无关。引用 30 inbox
Nataniel P. Borges Jr., Jenny Hotzkow, Andreas Zeller
crossref: 2026-09-12

AI 速览

一句话:提出 DroidMate-2,一个可定制、无需修改系统或应用插桩即可运行的 Android 测试生成平台。

Android 应用在软件市场中占比不断增长,自动测试输入生成器是测试与安全分析的先进手段。本文提出 DroidMate-2(DM-2),一个帮助开发者和研究者定制、开发与测试新测试生成器的平台。它无需应用插桩或操作系统修改,即可在真实设备与模拟器上作为测试生成器用于应用测试或回归测试;同时通过轻量插桩提供敏感资源监控或阻断能力,通过完整插桩开箱即用地测量语句覆盖率,并支持原生实验复现。实验以语句覆盖率为指标,与最先进的 DroidBot 对比:DM-2 在不到其 2/3 的时间内达到自身峰值覆盖率的 96%;在 5 分钟短运行中高出 7%,在 1 小时长运行中优势增至 8%。

问题
Android 应用的自动测试与安全分析依赖测试输入生成器,但现有工具往往难以定制、扩展和公平比较。
方法
设计并实现 DroidMate-2 平台,支持在真实设备/模拟器上不修改操作系统或应用插桩地运行测试生成器,并提供轻量/完整插桩、敏感资源监控阻断、语句覆盖率测量与实验复现能力。
评估
以语句覆盖率为指标,将 DroidMate-2 与最先进的 DroidBot 进行对比;结果显示 DM-2 能在更短时间内达到更高覆盖率,长短期运行均优于 DroidBot。
原文摘要(Abstract)

Android applications (apps) represent an ever increasing portion of the software market. Automated test input generators are the state of the art for testing and security analysis. We introduce DroidMate-2 (DM-2), a platform to easily assist both developers and researchers to customize, develop and test new test generators. DM-2 can be used without app instrumentation or operating system modifications, as a test generator on real devices and emulators for app testing or regression testing. Additionally, it provides sensitive resource monitoring or blocking capabilities through a lightweight app instrumentation, out-of-thebox statement coverage measurement through a fully-fledged app instrumentation and native experiment reproducibility. In our experiments we compared DM-2 against DroidBot, a state-of-the-art test generator by measuring statement coverage. Our results show that DM-2 reached 96% of its peak coverage in less than 2/3 of the time needed by DroidBot, allowing for better and more efficient tests. On short runs (5 minutes) DM-2 outperformed DroidBot by 7% while in longer runs (1 hour) this difference increases to 8%. ACM DL Artifact: https://www.doi.org/10.1145/3264864

链接与引用

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

BibTeX
@inproceedings{paperbot4740,
  title = {DroidMate-2: a platform for Android test generation},
  author = {Nataniel P. Borges Jr. and Jenny Hotzkow and Andreas Zeller},
  booktitle = {ASE},
  year = {2018},
  doi = {10.1145/3238147.3240479}
}