Abstract
Recent research has made significant progress in automatic patch generation, an approach to repair programs with less or no manual intervention. However, direct deployment of auto-generated patches remains difficult, for reasons such as patch quality variations and developers' intrinsic resistance. In this study, we take one step back and investigate a more feasible application scenario of automatic patch generation, that is, using generated patches as debugging aids. We recruited 95 participants for a controlled experiment, in which they performed debugging tasks with the aid of either buggy locations (i.e., the control group), or generated patches of varied qualities. We observe that: a) high-quality patches significantly improve debugging correctness; b) such improvements are more obvious for difficult bugs; c) when using low-quality patches, participants' debugging correctness drops to an even lower point than that of the control group; d) debugging time is significantly affected not by debugging aids, but by participant type and the specific bug to fix. These results highlight that the benefits of using generated patches as debugging aids are contingent upon the quality of the patches. Our qualitative analysis of participants' feedback further sheds light on how generated patches can be improved and better utilized as debugging aids.
| Original language | English |
|---|---|
| Title of host publication | 22nd ACM SIGSOFT International Symposium on the Foundations of Software Engineering, FSE 2014 - Proceedings |
| Publisher | Association for Computing Machinery |
| Pages | 64-74 |
| Number of pages | 11 |
| ISBN (Electronic) | 9781450330565 |
| DOIs | |
| State | Published - 16 Nov 2014 |
| Event | 22nd ACM SIGSOFT International Symposium on the Foundations of Software Engineering, FSE 2014 - Hong Kong, China Duration: 16 Nov 2014 → 21 Nov 2014 |
Publication series
| Name | Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering |
|---|---|
| Volume | 16-21-November-2014 |
Conference
| Conference | 22nd ACM SIGSOFT International Symposium on the Foundations of Software Engineering, FSE 2014 |
|---|---|
| Country/Territory | China |
| City | Hong Kong |
| Period | 16/11/14 → 21/11/14 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 3 Good Health and Well-being
Keywords
- Automatic patch generation
- Debugging
- Human study
Fingerprint
Dive into the research topics of 'Automatically generated patches as debugging AIDS: A human study'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver