DocumentCode
176144
Title
Boosting Bug-Report-Oriented Fault Localization with Segmentation and Stack-Trace Analysis
Author
Chu-Pan Wong ; Yingfei Xiong ; Hongyu Zhang ; Dan Hao ; Lu Zhang ; Hong Mei
Author_Institution
Key Lab. of High Confidence Software Technol., Peking Univ., Beijing, China
fYear
2014
fDate
Sept. 29 2014-Oct. 3 2014
Firstpage
181
Lastpage
190
Abstract
To deal with post-release bugs, many software projects set up public bug repositories for users all over the world to report bugs that they have encountered. Recently, researchers have proposed various information retrieval based approaches to localizing faults based on bug reports. In these approaches, source files are processed as single units, where noise in large files may affect the accuracy of fault localization. Furthermore, bug reports often contain stack-trace information, but existing approaches often treat this information as plain text. In this paper, we propose to use segmentation and stack-trace analysis to improve the performance of bug localization. Specifically, given a bug report, we divide each source code file into a series of segments and use the segment most similar to the bug report to represent the file. We also analyze the bug report to identify possible faulty files in a stack trace and favor these files in our retrieval. According to our empirical results, our approach is able to significantly improve Bug Locator, a representative fault localization approach, on all the three software projects (i.e., Eclipse, AspectJ, and SWT) used in our empirical evaluation. Furthermore, segmentation and stack-trace analysis are complementary to each other for boosting the performance of bug-report-oriented fault localization.
Keywords
fault diagnosis; information retrieval; program debugging; program diagnostics; source code (software); AspectJ; Eclipse; SWT; boosting bug-report-oriented fault localization; bug localization; bug locator; bug reportq; faulty files; information retrieval; post-release bugs; public bug repository; representative fault localization approach; software projects; source code file; source files; stack-trace analysis; stack-trace information; Computer bugs; Information retrieval; Java; Logistics; Measurement; Noise; Software; bug report; fault localization; feature location; information retrieval;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Evolution (ICSME), 2014 IEEE International Conference on
Conference_Location
Victoria, BC
ISSN
1063-6773
Type
conf
DOI
10.1109/ICSME.2014.40
Filename
6976084
Link To Document