Title
Towards Better Fault Localization: A Crosstab-Based Statistical Approach
Abstract
It is becoming prohibitively expensive and time consuming, as well as tedious and error-prone, to perform debugging manually. Among the debugging activities, fault localization has been one of the most expensive, and therefore, a large number of fault-localization techniques have been proposed over the recent years. This paper presents a crosstab-based statistical technique that makes use of the coverage information of each executable statement and the execution result (success or failure) with respect to each test case to localize faults in an effective and efficient manner. 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. Case studies are performed on both small- (the Siemens and Unix suites) and large-sized programs (space, grep, gzip, and make), and results suggest that the crosstab-based technique (CBT) is more effective (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 techniques, such as Tarantula. Further studies using the Siemens suite reveal that the proposed technique is also more effective at locating faults than other statistically oriented techniques, such as SOBER and Liblit05. Additional experiments evaluate the CBT from other perspectives, such as its efficiency in terms of time taken, its applicability to object-oriented languages (on a very large Java program: Ant), and its sensitivity to test suite size, and demonstrate its superior performance.
Year
DOI
Venue
2012
10.1109/TSMCC.2011.2118751
Systems, Man, and Cybernetics, Part C: Applications and Reviews, IEEE Transactions
Keywords
Field
DocType
Java,Unix,program debugging,software fault tolerance,statistical analysis,Ant,Java program,Siemens suites,Unix suites,crosstab-based statistical approach,debugging,fault localization,grep program,gzip program,make program,object-oriented language,space program,Crosstab,debugging aids,software fault localization,statistical methods,testing and debugging
Test suite,Programming language,Object-oriented programming,Suite,Computer science,Software bug,Unix,Software fault tolerance,Debugging,Executable
Journal
Volume
Issue
ISSN
42
3
1094-6977
Citations 
PageRank 
References 
32
0.93
21
Authors
3
Name
Order
Citations
PageRank
W. Eric Wong12108.80
Vidroha Debroy249320.20
Dianxiang Xu379073.83