Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports

For a large and evolving software system, the project team could receive a large number of bug reports. Locating the source code files that need to be changed in order to fix the bugs is a challenging task. Once a bug report is received, it is desirable to automatically point out to the files that d...

Full description

Saved in:
Bibliographic Details
Main Authors: ZHOU, Jian, ZHANG, Hongyu, LO, David
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2012
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/1531
https://ink.library.smu.edu.sg/context/sis_research/article/2530/viewcontent/Where_Should_the_Bugs_Be_Fixed_Lo_2012.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-2530
record_format dspace
spelling sg-smu-ink.sis_research-25302019-12-09T07:45:54Z Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports ZHOU, Jian ZHANG, Hongyu LO, David For a large and evolving software system, the project team could receive a large number of bug reports. Locating the source code files that need to be changed in order to fix the bugs is a challenging task. Once a bug report is received, it is desirable to automatically point out to the files that developers should change in order to fix the bug. In this paper, we propose BugLocator, an information retrieval based method for locating the relevant files for fixing a bug. BugLocator ranks all files based on the textual similarity between the initial bug report and the source code using a revised Vector Space Model (rVSM), taking into consideration information about similar bugs that have been fixed before. We perform large-scale experiments on four open source projects to localize more than 3,000 bugs. The results show that BugLocator can effectively locate the files where the bugs should be fixed. For example, relevant buggy files for 62.60% Eclipse 3.1 bugs are ranked in the top ten among 12,863 files. Our experiments also show that BugLocator outperforms existing state-of-the-art bug localization methods. 2012-06-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/1531 info:doi/10.1109/ICSE.2012.6227210 https://ink.library.smu.edu.sg/context/sis_research/article/2530/viewcontent/Where_Should_the_Bugs_Be_Fixed_Lo_2012.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University bug localization bug reports feature location information retrieval Information Security Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic bug localization
bug reports
feature location
information retrieval
Information Security
Software Engineering
spellingShingle bug localization
bug reports
feature location
information retrieval
Information Security
Software Engineering
ZHOU, Jian
ZHANG, Hongyu
LO, David
Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
description For a large and evolving software system, the project team could receive a large number of bug reports. Locating the source code files that need to be changed in order to fix the bugs is a challenging task. Once a bug report is received, it is desirable to automatically point out to the files that developers should change in order to fix the bug. In this paper, we propose BugLocator, an information retrieval based method for locating the relevant files for fixing a bug. BugLocator ranks all files based on the textual similarity between the initial bug report and the source code using a revised Vector Space Model (rVSM), taking into consideration information about similar bugs that have been fixed before. We perform large-scale experiments on four open source projects to localize more than 3,000 bugs. The results show that BugLocator can effectively locate the files where the bugs should be fixed. For example, relevant buggy files for 62.60% Eclipse 3.1 bugs are ranked in the top ten among 12,863 files. Our experiments also show that BugLocator outperforms existing state-of-the-art bug localization methods.
format text
author ZHOU, Jian
ZHANG, Hongyu
LO, David
author_facet ZHOU, Jian
ZHANG, Hongyu
LO, David
author_sort ZHOU, Jian
title Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
title_short Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
title_full Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
title_fullStr Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
title_full_unstemmed Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
title_sort where should the bugs be fixed? more accurate information retrieval-based bug localization based on bug reports
publisher Institutional Knowledge at Singapore Management University
publishDate 2012
url https://ink.library.smu.edu.sg/sis_research/1531
https://ink.library.smu.edu.sg/context/sis_research/article/2530/viewcontent/Where_Should_the_Bugs_Be_Fixed_Lo_2012.pdf
_version_ 1770571257983533056