中文

LadyBug:面向移动应用 UI-增强 Bug 定位的 GitHub 机器人

软件工程 2025-08-08 v1

摘要

本文介绍 LadyBug,这是一个自动为 Android 应用本地化 bug 的 GitHub 机器人,通过结合 UI 交互信息和文本检索实现。LadyBug 连接到 Android 应用的 GitHub 仓库,当在相应 issue tracker 中报告 bug 时即触发运行。开发者可以随后在设备或模拟器上记录 bug 的复现轨迹,并通过 GitHub issue tracker 将轨迹上传给 LadyBug。这使得 LadyBug 能够同时利用原始 bug 描述中的文本信息以及复现轨迹中的 UI 信息,对项目中最可能包含该报告 bug 的文件进行准确排序检索。我们使用自动化测试管道和称为 RedWing 的基准进行了实证评估,RedWing 包含 80 个完全本地化且可复现的 bug 报告,来自 39 个 Android 应用。我们的结果表明,LadyBug 在文本检索基线方法上表现更佳,利用 UI 信息导致本地化准确率显著提高。LadyBug 是一个开源工具,地址为 https://github.com/LadyBugML/ladybug。展示 LadyBug 功能的视频可在此处观看:https://youtu.be/hI3tzbRK0Cw

关键词

引用

@article{arxiv.2508.05085,
  title  = {LadyBug: A GitHub Bot for UI-Enhanced Bug Localization in Mobile Apps},
  author = {Junayed Mahmud and James Chen and Terry Achille and Camilo Alvarez-Velez and Darren Dean Bansil and Patrick Ijieh and Samar Karanch and Nadeeshan De Silva and Oscar Chaparro and Andrian Marcus and Kevin Moran},
  journal= {arXiv preprint arXiv:2508.05085},
  year   = {2025}
}

备注

5 pages, to appear in the Proceedings of the 41st International Conference on Software Maintenance and Evolution (ICSME'25) - Tool Demonstration Track