On the Effectiveness of Information Retrieval Based Bug Localization for C Programs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2014

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.
Fichier principal
Vignette du fichier
icsme14_saha.pdf (464.67 Ko) Télécharger le fichier
icsme2014-dataset.zip (3.82 Mo) Télécharger le fichier
Origin : Files produced by the author(s)
Origin : Files produced by the author(s)

Dates and versions

hal-01086082 , version 1 (28-11-2020)

Identifiers

Cite

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⟩
228 View
225 Download

Altmetric

Share

Gmail Facebook X LinkedIn More