CrashJS:一个用于自动化崩溃复现的 NodeJS 基准
CrashJS: A NodeJS Benchmark for Automated Crash Reproduction
AI总结:
针对 JavaScript 缺乏自动化崩溃复现工具与评测资源的问题,本文提出 CrashJS,提供含 453 个 Node.js 崩溃、覆盖真实与合成测试及多复杂度的基准数据集。
摘要:
软件缺陷通常会导致软件崩溃,这每年给美国公司造成超过 2.08 万亿美元的损失。自动化崩溃复现(Automated Crash Reproduction,ACR)旨在生成能够成功复现崩溃的单元测试。ACR 的目标是协助开发人员进行调试,为他们提供另一种定位程序中缺陷位置的工具。目前 ACR 采用的主要方法是根据程序内抛出的错误复制堆栈跟踪。当前,ACR 已面向 C、Java 和 Python 开发,但还没有针对 JavaScript 程序的工具。为了协助 JavaScript ACR 工具的开发,我们提出了 CrashJS:一个包含来自多个来源的 453 个 Node.js 崩溃的基准数据集。CrashJS 包含真实测试与合成测试的混合、多个项目,以及崩溃和目标程序的不同复杂程度。
英文摘要:
Software bugs often lead to software crashes, which cost US companies upwards of $2.08 trillion annually. Automated Crash Reproduction (ACR) aims to generate unit tests that successfully reproduce a crash. The goal of ACR is to aid developers with debugging, providing them with another tool to locate where a bug is in a program. The main approach ACR currently takes is to replicate a stack trace from an error thrown within a program. Currently, ACR has been developed for C, Java, and Python, but there are no tools targeting JavaScript programs. To aid the development of JavaScript ACR tools, we propose CrashJS: a benchmark dataset of 453 Node.js crashes from several sources. CrashJS includes a mix of real-world and synthesised tests, multiple projects, and different levels of complexity for both crashes and target programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。