R2Fix: Automatically Generating Bug Fixes from Bug Reports
dc.contributor.author | Liu, Chen | |
dc.date.accessioned | 2013-01-08T21:34:45Z | |
dc.date.available | 2013-01-08T21:34:45Z | |
dc.date.issued | 2013-01-08T21:34:45Z | |
dc.date.submitted | 2012 | |
dc.description.abstract | Many bugs, even those that are known and documented in bug reports, remain in mature software for a long time due to the lack of the development resources to fix them. We propose a general approach, R2Fix, to automatically generate bug-fixing patches from free-form bug reports. R2Fix combines past fix patterns, machine learning techniques, and semantic patch generation techniques to fix bugs automatically. We evaluate R2Fix on three large and popular software projects, i.e., the Linux kernel, Mozilla, and Apache, for three important types of bugs: buffer overflows, null pointer bugs, and memory leaks. R2Fix generates 60 patches correctly, 5 of which are new patches for bugs that have not been fixed by developers yet. We reported all 5 new patches to the developers; 4 have already been accepted and committed to the code repositories. The 60 correct patches generated by R2Fix could have shortened and saved an average of 68 days of bug diagnosis and patch generation time. | en |
dc.identifier.uri | http://hdl.handle.net/10012/7187 | |
dc.language.iso | en | en |
dc.pending | false | en |
dc.publisher | University of Waterloo | en |
dc.subject | Reliability | en |
dc.subject | Bug report classification | en |
dc.subject | Automatic bug fixing | en |
dc.subject | Fault repair | en |
dc.subject.program | Electrical and Computer Engineering | en |
dc.title | R2Fix: Automatically Generating Bug Fixes from Bug Reports | en |
dc.type | Master Thesis | en |
uws-etd.degree | Master of Applied Science | en |
uws-etd.degree.department | Electrical and Computer Engineering | en |
uws.peerReviewStatus | Unreviewed | en |
uws.scholarLevel | Graduate | en |
uws.typeOfResource | Text | en |