Jisuanji kexue (Dec 2021)

Code Search Engine for Bug Localization

  • CHANG Jian-ming, BO Li-li, SUN Xiao-bing

DOI
https://doi.org/10.11896/jsjkx.201100209
Journal volume & issue
Vol. 48, no. 12
pp. 140 – 148

Abstract

Read online

With the evolution and the increased complexity of software project,bug fixing is getting more difficult.During the bug fixing,developers need to spend a lot of time on bug localization and fixing.To evaluate this problem,this paper builds a bug-code database by integrating the bug reports and the corresponding evolution information,and analyzing the relationship between the code block and the bug report.Then,a code search engine is constructed for bug localization based on the bug-code database,which is used for recommending more comprehensive information about similar bug reports,bug related code files,and code blocks.The experiment results show that the proposed approach is more accurate to localize buggy files,and the localization can effectively reach code level.

Keywords