学位论文详细信息
R2Fix: Automatically Generating Bug Fixes from Bug Reports
Reliability;Bug report classification;Automatic bug fixing;Fault repair;Electrical and Computer Engineering
Liu, Chen
University of Waterloo
关键词: Reliability;    Bug report classification;    Automatic bug fixing;    Fault repair;    Electrical and Computer Engineering;   
Others  :  https://uwspace.uwaterloo.ca/bitstream/10012/7187/1/Liu_Chen.pdf
瑞士|英语
来源: UWSPACE Waterloo Institutional Repository
PDF
【 摘 要 】

Many bugs, even those that are known and documented in bug reports, remain in maturesoftware 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 popularsoftware 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 coderepositories. The 60 correct patches generated by R2Fix could have shortened and saved an average of 68 days of bug diagnosis and patch generation time.

【 预 览 】
附件列表
Files Size Format View
R2Fix: Automatically Generating Bug Fixes from Bug Reports 443KB PDF download
  文献评价指标  
  下载次数:15次 浏览次数:27次