DocumentCode
1731636
Title
A Crosstab-based Statistical Method for Effective Fault Localization
Author
Wong, W. Eric ; Wei, Tingting ; Qi, Yu ; Zhao, Lei
Author_Institution
Dept. of Comput. Sci., Univ. of Texas at Dallas, Dallas, TX
fYear
2008
Firstpage
42
Lastpage
51
Abstract
Fault localization is the most expensive activity in program debugging. Traditional ad-hoc methods can be time-consuming and ineffective because they rely on programmers´ intuitive guesswork, which may neither be accurate nor reliable. A better solution is to utilize a systematic and statistically well-defined method to automatically identify suspicious code that should be examined for possible fault locations. We present a crosstab-based statistical method using the coverage information of each executable statement and the execution result (success or failure) with respect to each test case. A crosstab is constructed for each executable statement and a statistic is computed to determine the suspiciousness of the corresponding statement. Statements with a higher suspiciousness are more likely to contain bugs and should be examined before those with a lower suspiciousness. Three case studies using the Siemens suite, the Space program, and the Unix suite, respectively, are conducted. Our results suggest that the crosstab-based method is effective in fault localization and performs better (in terms of a smaller percentage of executable statements that have to be examined until the first statement containing the fault is reached) than other methods such as Tarantula. The difference in efficiency (computational time) between these two methods is very small.
Keywords
program debugging; software fault tolerance; statistical analysis; Siemens suite; Space program; Unix suite; crosstab-based statistical method; fault localization; fault location; program debugging; Computer bugs; Computer science; Debugging; Fault diagnosis; Programming profession; Runtime; Software testing; Statistical analysis; Statistics; Vehicle crash testing; Chi-square test; contingency coefficient; crosstab analysis; fault localization; hypothesis test; program debugging;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification, and Validation, 2008 1st International Conference on
Conference_Location
Lillehammer
Print_ISBN
978-0-7695-3127-4
Type
conf
DOI
10.1109/ICST.2008.65
Filename
4539531
Link To Document