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

PExReport:自动生成精简可执行的跨项目失败报告

PExReport: Automatic Creation of Pruned Executable Cross-Project Failure Reports

Sunzhou Huang, Xiaoyin Wang

AI总结:

本文提出PExReport,自动生成精简可执行的跨项目失败报告,利用构建工具精简代码与依赖,在74个项目198个失败中成功创建184个报告,平均减少72.97%的类。

摘要:

现代软件开发在很大程度上依赖于由同一或不同组织中的其他开发团队编写的现有库。当开发人员执行软件时,执行轨迹可能会跨越多个软件产品的边界,从而产生跨项目失败(CPF)。现有研究表明,独立的可执行失败报告可能实现最有效的沟通,但由于软件生态系统中复杂的文件和依赖关系交互,创建此类报告通常具有挑战性。在本文中,为解决CPF报告的三难问题,我们开发了PExReport,它能够自动创建独立的可执行CPF报告。PExReport利用构建工具来精简源代码和依赖项,并进一步分析构建过程以创建用于复现CPF的精简构建环境。我们在74个软件项目问题(包含198个CPF)上进行了评估,评估结果表明,PExReport能够为我们数据集中的198个测试失败中的184个创建可执行的CPF报告,平均减少72.97%的源类和内部JAR中的类。

英文摘要:

Modern software development extensively depends on existing libraries written by other developer teams from the same or a different organization. When a developer executes the software, the execution trace may go across the boundaries of multiple software products and create cross-project failures (CPFs). Existing studies show that a stand-alone executable failure report may enable the most effective communication, but creating such a report is often challenging due to the complicated files and dependencies interactions in the software ecosystems. In this paper, to solve the CPF report trilemma, we developed PExReport, which automatically creates stand-alone executable CPF reports. PExReport leverages build tools to prune source code and dependencies, and further analyzes the build process to create a pruned build environment for reproducing the CPF. We performed an evaluation on 74 software project issues with 198 CPFs, and the evaluation results show that PExReport can create executable CPF reports for 184 out of 198 test failures in our dataset, with an average reduction of 72.97% on source classes and the classes in internal JARs.

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

↑