Back to Search Start Over

Is text search an effective approach for fault localization

Authors :
Senthil Mani
Debdoot Mukherjee
Vibha Singhal Sinha
Source :
SPLASH
Publication Year :
2012
Publisher :
ACM, 2012.

Abstract

There has been widespread interest in both academia and industry around techniques to help in fault localization. Much of this work leverages static or dynamic code analysis and hence is constrained by the programming language used or presence of test cases. In order to provide more generically applicable techniques, recent work has focused on devising text search based approaches that recommend source files which a developer can modify to fix a bug. Text search may be used for fault localization in either of the following ways. We can search a repository of past bugs with the bug description to find similar bugs and recommend the source files that were modified to fix those bugs. Alternately, we can directly search the code repository to find source files that share words with the bug report text. Few interesting questions come to mind when we consider applying these text-based search techniques in real projects. For example, would searching on past fixed bugs yield better results than searching on code? What is the accuracy one can expect? Would giving preference to code words in the bug report better the search results? In this paper, we apply variants of text-search on four open source projects and compare the impact of different design considerations on search efficacy.

Details

Database :
OpenAIRE
Journal :
Proceedings of the 3rd annual conference on Systems, programming, and applications: software for humanity
Accession number :
edsair.doi...........50a9f375c400e12e91ea2a7cb743c885
Full Text :
https://doi.org/10.1145/2384716.2384770