arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.15099cs.SE
收藏

关于在自动化缺陷报告复现中利用图像的实证研究

An Empirical Study on Leveraging Images in Automated Bug Report Reproduction

Dingbang Wang, Zhaoxu Zhang, Sidong Feng, William G. J. Halfond, Tingting Yu

AI总结:

该实证研究聚焦被忽视的缺陷报告图像,分析其特征、模式、功能作用及对现有复现工具的影响,明确六种图像功能的独特价值,为自动化缺陷复现工具优化提供新方向。

摘要:

自动化缺陷复现是一项具有挑战性的任务,现有工具通常依赖缺陷报告中的文本复现步骤、视频或崩溃日志作为输入。然而,缺陷报告中提供的图像一直被忽视。为填补这一空白,本文开展了一项实证研究,探究将图像纳入自动化缺陷复现输入的必要性。我们研究了缺陷报告中图像的特征与模式,重点关注:(1)图像的分布与类型(例如UI截图);(2)与图像相关的记录模式(例如附带文本、标注);(3)图像发挥的功能作用,尤其是它们对复现缺陷的贡献。此外,我们分析了图像对现有工具性能的影响,明确了其产生影响的原因,以及可利用图像改进缺陷复现的方式。我们的发现揭示了若干关键洞见,证明了图像在支持自动化缺陷复现方面的重要性。具体而言,我们识别出缺陷报告中图像具备的六种不同功能作用,每种都呈现出独特的模式,且对缺陷复现过程有特定贡献。本研究为工具改进提供了新洞见,并为未来研究指出了有前景的方向。

英文摘要:

Automated bug reproduction is a challenging task, with existing tools typically relying on textual steps-to-reproduce, videos, or crash logs in bug reports as input. However, images provided in bug reports have been overlooked. To address this gap, this paper presents an empirical study investigating the necessity of including images as part of the input in automated bug reproduction. We examined the characteristics and patterns of images in bug reports, focusing on (1) the distribution and types of images (e.g., UI screenshots), (2) documentation patterns associated with images (e.g., accompanying text, annotations), and (3) the functional roles they served, particularly their contribution to reproducing bugs. Furthermore, we analyzed the impact of images on the performance of existing tools, identifying the reasons behind their influence and the ways in which they can be leveraged to improve bug reproduction. Our findings reveal several key insights that demonstrate the importance of images in supporting automated bug reproduction. Specifically, we identified six distinct functional roles that images serve in bug reports, each exhibiting unique patterns and specific contributions to the bug reproduction process. This study offers new insights into tool advancement and suggests promising directions for future research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑