On the Effectiveness of Information Retrieval Based Bug Localization for C Programs

Abstract : Localizing bugs is important, difficult, and expensive, especially for large software projects. To address this problem, information retrieval (IR) based bug localization has increasingly been used to suggest potential buggy files given a bug report. To date, researchers have proposed a number of IR techniques for bug localization and empirically evaluated them to understand their effectiveness. However, virtually all of the evaluations have been limited to the projects written in object-oriented programming languages, particularly Java. Therefore, the effectiveness of these techniques for other widely-used languages such as C is still unknown. In this paper, we create a benchmark dataset consisting of more than 7,500 bug reports from five popular C projects and rigorously evaluate our recently introduced IR-based bug localization tool using this dataset. Our results indicate that although the IR-relevant properties of C and Java programs are different, IR-based bug localization in C software at the file level is overall as effective as in Java software. However, we also find that the recent advance of using program structure information in performing bug localization gives less of a benefit for C software than for Java software.
Document type :
Conference papers
Liste complète des métadonnées

Contributor : Julia Lawall <>
Submitted on : Friday, November 21, 2014 - 6:07:32 PM
Last modification on : Thursday, March 21, 2019 - 2:39:43 PM



Ripon K. Saha, Julia L. Lawall, Sarfraz Khurshid, Dewayne E. Perry. On the Effectiveness of Information Retrieval Based Bug Localization for C Programs. ICSME 2014 - 30th International Conference on Software Maintenance and Evolution, IEEE, Sep 2014, Victoria, Canada. pp.161-170, ⟨10.1109/ICSME.2014.38⟩. ⟨hal-01086082⟩



Record views