Using bug report similarity to enhance bug localisation

Steven Davies, Marc Roper, Murray Wood

Research output: Contribution to conferencePaper

18 Citations (Scopus)

Abstract

Bug localisation techniques are proposed as a method to reduce the time developers spend on maintenance, allowing them to quickly and source code relevant to a bug. Some techniques are based on information retrieval methods, treating the source code as a corpus and the bug report as a query. While these have shown success, there remain a number of little-exploited additional sources of information which could enhance the techniques, including the textual similarity between bug reports themselves. Based on successful results in detecting duplicate bug reports, this work asks: if duplicate bugs reports, which by denition are xed in the same source location, can
be detected through the use of similar language, can bugs which are in the same location but not duplicates be detected in the same way? A technique using this information is implemented and evaluated on 372 bugs across 4 projects, and is found to improve performance on all projects. In particular, the technique increases the number of bugs where the rst relevant method presented to developers is the rst result from 6 to 27, and those in the top-10 from 50 to 57, showing that it can be successfully used to enhance existing bug localisation techniques.
LanguageEnglish
Pages125-134
Number of pages10
DOIs
Publication statusPublished - 13 Oct 2012
Event19th Working Conference on Reverse Engineering - Kingston, Ontario, Canada
Duration: 15 Oct 201218 Oct 2012

Conference

Conference19th Working Conference on Reverse Engineering
CountryCanada
CityKingston, Ontario
Period15/10/1218/10/12

Fingerprint

Information retrieval

Keywords

  • bug localisation
  • bug reports
  • source code

Cite this

Davies, S., Roper, M., & Wood, M. (2012). Using bug report similarity to enhance bug localisation. 125-134. Paper presented at 19th Working Conference on Reverse Engineering, Kingston, Ontario, Canada. https://doi.org/10.1109/WCRE.2012.22
Davies, Steven ; Roper, Marc ; Wood, Murray. / Using bug report similarity to enhance bug localisation. Paper presented at 19th Working Conference on Reverse Engineering, Kingston, Ontario, Canada.10 p.
@conference{e61788c586dc446ea8c1d67caaf21d67,
title = "Using bug report similarity to enhance bug localisation",
abstract = "Bug localisation techniques are proposed as a method to reduce the time developers spend on maintenance, allowing them to quickly and source code relevant to a bug. Some techniques are based on information retrieval methods, treating the source code as a corpus and the bug report as a query. While these have shown success, there remain a number of little-exploited additional sources of information which could enhance the techniques, including the textual similarity between bug reports themselves. Based on successful results in detecting duplicate bug reports, this work asks: if duplicate bugs reports, which by denition are xed in the same source location, canbe detected through the use of similar language, can bugs which are in the same location but not duplicates be detected in the same way? A technique using this information is implemented and evaluated on 372 bugs across 4 projects, and is found to improve performance on all projects. In particular, the technique increases the number of bugs where the rst relevant method presented to developers is the rst result from 6 to 27, and those in the top-10 from 50 to 57, showing that it can be successfully used to enhance existing bug localisation techniques.",
keywords = "bug localisation, bug reports, source code",
author = "Steven Davies and Marc Roper and Murray Wood",
year = "2012",
month = "10",
day = "13",
doi = "10.1109/WCRE.2012.22",
language = "English",
pages = "125--134",
note = "19th Working Conference on Reverse Engineering ; Conference date: 15-10-2012 Through 18-10-2012",

}

Davies, S, Roper, M & Wood, M 2012, 'Using bug report similarity to enhance bug localisation' Paper presented at 19th Working Conference on Reverse Engineering, Kingston, Ontario, Canada, 15/10/12 - 18/10/12, pp. 125-134. https://doi.org/10.1109/WCRE.2012.22

Using bug report similarity to enhance bug localisation. / Davies, Steven; Roper, Marc; Wood, Murray.

2012. 125-134 Paper presented at 19th Working Conference on Reverse Engineering, Kingston, Ontario, Canada.

Research output: Contribution to conferencePaper

TY - CONF

T1 - Using bug report similarity to enhance bug localisation

AU - Davies, Steven

AU - Roper, Marc

AU - Wood, Murray

PY - 2012/10/13

Y1 - 2012/10/13

N2 - Bug localisation techniques are proposed as a method to reduce the time developers spend on maintenance, allowing them to quickly and source code relevant to a bug. Some techniques are based on information retrieval methods, treating the source code as a corpus and the bug report as a query. While these have shown success, there remain a number of little-exploited additional sources of information which could enhance the techniques, including the textual similarity between bug reports themselves. Based on successful results in detecting duplicate bug reports, this work asks: if duplicate bugs reports, which by denition are xed in the same source location, canbe detected through the use of similar language, can bugs which are in the same location but not duplicates be detected in the same way? A technique using this information is implemented and evaluated on 372 bugs across 4 projects, and is found to improve performance on all projects. In particular, the technique increases the number of bugs where the rst relevant method presented to developers is the rst result from 6 to 27, and those in the top-10 from 50 to 57, showing that it can be successfully used to enhance existing bug localisation techniques.

AB - Bug localisation techniques are proposed as a method to reduce the time developers spend on maintenance, allowing them to quickly and source code relevant to a bug. Some techniques are based on information retrieval methods, treating the source code as a corpus and the bug report as a query. While these have shown success, there remain a number of little-exploited additional sources of information which could enhance the techniques, including the textual similarity between bug reports themselves. Based on successful results in detecting duplicate bug reports, this work asks: if duplicate bugs reports, which by denition are xed in the same source location, canbe detected through the use of similar language, can bugs which are in the same location but not duplicates be detected in the same way? A technique using this information is implemented and evaluated on 372 bugs across 4 projects, and is found to improve performance on all projects. In particular, the technique increases the number of bugs where the rst relevant method presented to developers is the rst result from 6 to 27, and those in the top-10 from 50 to 57, showing that it can be successfully used to enhance existing bug localisation techniques.

KW - bug localisation

KW - bug reports

KW - source code

UR - http://www.distat.unimol.it/wcre2012/#

U2 - 10.1109/WCRE.2012.22

DO - 10.1109/WCRE.2012.22

M3 - Paper

SP - 125

EP - 134

ER -

Davies S, Roper M, Wood M. Using bug report similarity to enhance bug localisation. 2012. Paper presented at 19th Working Conference on Reverse Engineering, Kingston, Ontario, Canada. https://doi.org/10.1109/WCRE.2012.22