Title :
Theory and Practice, Do They Match? A Case with Spectrum-Based Fault Localization
Author :
Le, Tien-Duy B. ; Thung, Ferdian ; Lo, Daniel
Author_Institution :
Sch. of Inf. Syst., Singapore Manage. Univ., Singapore, Singapore
Abstract :
Spectrum-based fault localization refers to the process of identifying program units that are buggy from two sets of execution traces: normal traces and faulty traces. These approaches use statistical formulas to measure the suspiciousness of program units based on the execution traces. There have been many spectrum-based fault localization approaches proposing various formulas in the literature. Two of the best performing and well-known ones are Tarantula and Ochiai. Recently, Xie et al. find that theoretically, under certain assumptions, two families of spectrum-based fault localization formulas outperform all other formulas including those of Tarantula and Ochiai. In this work, we empirically validate Xie et al.´s findings by comparing the performance of the theoretically best formulas against popular approaches on a dataset containing 199 buggy versions of 10 programs. Our empirical study finds that Ochiai and Tarantula statistically significantly outperforms 3 out of 5 theoretically best fault localization techniques. For the remaining two, Ochiai also outperforms them, albeit not statistically significantly. This happens because an assumption in Xie et al.´s work is not satisfied in many fault localization settings.
Keywords :
program debugging; software fault tolerance; software metrics; statistical analysis; Ochiai; Tarantula; buggy program unit identification process; execution traces; faulty traces; normal traces; program unit suspiciousness measurement; software systems; spectrum-based fault localization; statistical formulas; Benchmark testing; Computer bugs; Educational institutions; Java; Security; Standards; XML; Empirical Study; Fault Localization; Program Spectra; Theory;
Conference_Titel :
Software Maintenance (ICSM), 2013 29th IEEE International Conference on
Conference_Location :
Eindhoven
DOI :
10.1109/ICSM.2013.52