Automatic inference of code transforms for patch generation

We present a new system, Genesis, that processes human patches to automatically infer code transforms for automatic patch generation. We present results that characterize the effectiveness of the Genesis inference algorithms and the complete Genesis patch generation system working with real-world pa...

Full description

Bibliographic Details
Main Authors: Long, Fan, Amidon, Peter, Rinard, Martin C
Other Authors: Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Format: Article
Language:English
Published: ACM Press 2019
Online Access:https://hdl.handle.net/1721.1/122047
Description
Summary:We present a new system, Genesis, that processes human patches to automatically infer code transforms for automatic patch generation. We present results that characterize the effectiveness of the Genesis inference algorithms and the complete Genesis patch generation system working with real-world patches and defects collected from 372 Java projects. To the best of our knowledge, Genesis is the first system to automatically infer patch generation transforms or candidate patch search spaces from previous successful patches. Keywords: Patch generation; Code transform; Search space inference