The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.10 - October (2006 vol.32)
pp: 831-848
Long Fei , IEEE
Xifeng Yan , IEEE
Jiawei Han , IEEE
Chao Liu , IEEE
ABSTRACT
Manual debugging is tedious, as well as costly. The high cost has motivated the development of fault localization techniques, which help developers search for fault locations. In this paper, we propose a new statistical method, called Sober, which automatically localizes software faults without any prior knowledge of the program semantics. Unlike existing statistical approaches that select predicates correlated with program failures, Sober models the predicate evaluation in both correct and incorrect executions and regards a predicate as fault-relevant if its evaluation pattern in incorrect executions significantly diverges from that in correct ones. Featuring a rationale similar to that of hypothesis testing, Sober quantifies the fault relevance of each predicate in a principled way. We systematically evaluate Sober under the same setting as previous studies. The result clearly demonstrates the effectiveness: Sober could help developers locate 68 out of the 130 faults in the Siemens suite by examining no more than 10 percent of the code, whereas the Cause Transition approach proposed by Holger et al. [6] and the statistical approach by Liblit et al. [12] locate 34 and 52 faults, respectively. Moreover, the effectiveness of Sober is also evaluated in an "imperfect world,” where the test suite is either inadequate or only partially labeled. The experiments indicate that Sober could achieve competitive quality under these harsh circumstances. Two case studies with grep 2.2 and bc 1.06 are reported, which shed light on the applicability of Sober on reasonably large programs.
INDEX TERMS
Debugging aids, statistical methods, statistical debugging.
CITATION
Long Fei, Xifeng Yan, Jiawei Han, Chao Liu, "Statistical Debugging: A Hypothesis Testing-Based Approach", IEEE Transactions on Software Engineering, vol.32, no. 10, pp. 831-848, October 2006, doi:10.1109/TSE.2006.105
14 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool