Exploiting spatial code proximity and order for improved source code retrieval for bug localization. Issue 1 (6th September 2016)
- Record Type:
- Journal Article
- Title:
- Exploiting spatial code proximity and order for improved source code retrieval for bug localization. Issue 1 (6th September 2016)
- Main Title:
- Exploiting spatial code proximity and order for improved source code retrieval for bug localization
- Authors:
- Sisman, Bunyamin
Akbar, Shayan A.
Kak, Avinash C. - Abstract:
- Abstract: Practically all information retrieval based approaches developed to date for automatic bug localization are based on the bag‐of‐words assumption that ignores any positional and ordering relationships between the terms in a query. In this paper, we argue that bug reports are ill‐served by this assumption because such reports frequently contain various types of structural information whose terms must obey certain positional and ordering constraints. It therefore stands to reason that the quality of retrieval for bug localization would improve if these constraints could be taken into account when searching for the most relevant files. In this paper, we demonstrate that such is indeed the case. We show how the well‐known Markov Random Field based retrieval framework can be used for taking into account the term‐term proximity and ordering relationships in a query vis‐à‐vis the same relationships in the files of a source‐code library to greatly improve the quality of retrieval of the most relevant source files. We have carried out our experimental evaluations on popular large software projects using over 4000 bug reports. The results we present demonstrate unequivocally that the new proposed approach is far superior to the widely used bag‐of‐words based approaches. Copyright © 2016 John Wiley & Sons, Ltd.
- Is Part Of:
- Journal of software. Volume 29:Issue 1(2017)
- Journal:
- Journal of software
- Issue:
- Volume 29:Issue 1(2017)
- Issue Display:
- Volume 29, Issue 1 (2017)
- Year:
- 2017
- Volume:
- 29
- Issue:
- 1
- Issue Sort Value:
- 2017-0029-0001-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2016-09-06
- Subjects:
- bug localization -- source code search -- term proximity -- Markov Random Fields
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.1805 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 1839.xml