一句话:提出 PRF:一个可扩展 Java 框架,用于快速构建基于测试的 JVM 语言自动程序修复原型。
PRF 是一个基于 Java 的框架,旨在帮助研究人员为 JVM 语言快速构建基于测试的“生成—验证”式自动程序修复(APR)原型。用户只需通过补丁生成插件扩展该框架,即可实现新的修复技术。PRF 还提供构建 APR 工具所需的其他组件:支持不同粒度谱系故障定位信息的故障定位组件、可配置且安全的补丁验证组件(据称比原生测试快 11 倍以上),以及可定制的后处理组件以生成修复报告。作者提供了演示视频,展示框架用法。
PRF is a Java-based framework that allows researchers to build prototypes of test-based generate-and-validate automatic program repair techniques for JVM languages by simply extending it with their patch generation plugins. The framework also provides other useful components for constructing automatic program repair tools, e.g., a fault localization component that provides spectrum-based fault localization information at different levels of granularity, a configurable and safe patch validation component that is 11+X faster than vanilla testing, and a customizable post-processing component to generate fix reports. A demo video of PRF is available at https://bit.ly/3ehduSS.