Characterizing Developer Use of Automatically Generated Patches
Author(s)
Cambronero, Jose Pablo; Shen, Jiasi; Cito, Jurgen; Glassman, Elena; Rinard, Martin
DownloadAccepted version (1.504Mb)
Open Access Policy
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
© 2019 IEEE. We present a study that characterizes the way developers use automatically generated patches when fixing software defects. Our study tasked two groups of developers with repairing defects in C programs. Both groups were provided with the defective line of code. One was also provided with five automatically generated and validated patches, all of which modified the defective line of code, and one of which was correct. Contrary to our initial expectations, the group with access to the generated patches did not produce more correct patches and did not produce patches in less time. We characterize the main behaviors observed in experimental subjects: a focus on understanding the defect and the relationship of the patches to the original source code. Based on this characterization, we highlight various potentially productive directions for future developer-centric automatic patch generation systems.
Date issued
2019-10Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; Massachusetts Institute of Technology. Department of Electrical Engineering and Computer ScienceJournal
Proceedings of IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Citation
Cambronero, Jose Pablo, Shen, Jiasi, Cito, Jurgen, Glassman, Elena and Rinard, Martin. 2019. "Characterizing Developer Use of Automatically Generated Patches." Proceedings of IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC, 2019-October.
Version: Author's final manuscript