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

By Jian Zhou, Hongyu Zhang, David Lo. International Conference on Software Engineering, 2012

686 citations recorded by the source corpus.

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.

Subfields: Information Systems, Software

View Paper: https://www.semanticscholar.org/paper/3f3816ca55d4681739f9dd920fdb7fe3d190b0b3

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Michael Pradel
  2. Hongyu Zhang
  3. Michele Tufano
  4. Chun Xia
  5. Lingming Zhang
  6. Gabriele Bavota
  7. Yinlin Deng
  8. Denys Poshyvanyk

In Software

  1. Lingming Zhang
  2. Chun Xia
  3. Michael Pradel
  4. Yinlin Deng
  5. Xin Ye
  6. Chang Liu
  7. Razvan C. Bunescu
  8. Soren Dunn

Citations in the corpus