An Evaluation of Similarity Coefficients for Software Fault Localization

Peter Zoeteweij, Arjan van Gemund

2006 · 546 citations · 18 references

Concepts

TL;DR

Automated software fault diagnosis improves debugging efficiency and is essential for dependable software development. This study investigates the use of various similarity coefficients in a program spectral fault localization approach for single programming mistakes. The authors evaluate coefficients from Pinpoint, Tarantula, AMPLE, and the Ochiai metric on the Siemens benchmark suite, ranking fault candidates by probability. Results show that the Ochiai coefficient consistently outperforms existing tools, reducing code inspection by an average of 5% and up to 30% in some cases.

Abstract

Automated diagnosis of software faults can improve the efficiency of the debugging process, and is therefore an important technique for the development of dependable software. In this paper we study different similarity coefficients that are applied in the context of a program spectral approach to software fault localization (single programming mistakes). The coefficients studied are taken from the systems diagnosis/automated debugging tools Pinpoint, Tarantula, and AMPLE, and from the molecular biology domain (the Ochiai coefficient). We evaluate these coefficients on the Siemens Suite of benchmark faults, and assess their effectiveness in terms of the position of the actual fault in the probability ranking of fault candidates produced by the diagnosis technique. Our experiments indicate that the Ochiai coefficient consistently outperforms the coefficients currently used by the tools mentioned. In terms of the amount of code that needs to be inspected, this coefficient improves 5% on average over the next best technique, and up to 30% in specific cases

References

18