An empirical study of BM25 and BM25F based feature location techniques

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

21 Scopus Citations
View graph of relations

Author(s)

Related Research Unit(s)

Detail(s)

Original languageEnglish
Title of host publicationInternational Workshop on Innovative Software Development Methodologies and Practices, InnoSWDev 2014 - Proceedings
PublisherAssociation for Computing Machinery, Inc
Pages106-114
ISBN (print)9781450332262
Publication statusPublished - 16 Nov 2014

Conference

TitleInternational Workshop on Innovative Software Development Methodologies and Practices, InnoSWDev 2014
PlaceChina
CityHong Kong
Period16 November 2014

Abstract

Feature location is a software comprehension activity which aims at identifying source code entities that implement functionalities. Manual feature location is a labor-insensitive task, and developers need to find the target entities from thousands of software artifacts. Recent research has developed automatic and semiautomatic methods mainly based on Information Retrieval (IR) techniques to help developers locate the entities which are textually similar to the feature. In this paper, we focus on individual IR-based methods and try to find a suitable IR technique for feature location, which could be chosen as a part of hybrid methods to achieve good performance. We present two feature location approaches based on BM25 and its variant BM25F algorithm. We compared the two algorithms to the Vector Space Model (VSM), Unigram Model (UM), and Latent Dirichlet Allocation (LDA) on four open source projects. The result shows that BM25 and BM25F are consistently better than other IR methods such as VSM, UM and LDA on the four selected software systems in their best configurations respectively.

Research Area(s)

  • BM25, BM25F, Bug localization, Feature location, Information retrieval, Software maintenance

Citation Format(s)

An empirical study of BM25 and BM25F based feature location techniques. / Shi, Zhendong; Keung, Jacky; Song, Qinbao.
International Workshop on Innovative Software Development Methodologies and Practices, InnoSWDev 2014 - Proceedings. Association for Computing Machinery, Inc, 2014. p. 106-114.

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review