DocumentCode :
2177585
Title :
An execution slice and inter-block data dependency-based approach for fault localization
Author :
Wong, W. Eric ; Qi, Yu
Author_Institution :
Dept. of Comput. Sci., Texas Univ., Dallas, TX, USA
fYear :
2004
fDate :
30 Nov.-3 Dec. 2004
Firstpage :
366
Lastpage :
373
Abstract :
Localizing a fault in a program is a complex and time-consuming process. In this paper we present a novel approach using execution slice and inter-block data dependency to effectively identify the locations of program faults. An execution slice with respect to a given test case is the set of code executed by this test, and two blocks are data dependent if one block contains a definition that is used by another block or vice versa. Not only can our approach reduce the search domain for program debugging, but also prioritize suspicious locations in the reduced domain based on their likelihood of containing faults. More specifically, the likelihood of a piece of code containing a specific fault is inversely proportional to the number of successful tests that execute it. In addition, the likelihood also depends on whether this piece of code is data dependent on other suspicious code. A debugging tool, DESiD, was developed to support our method. A case study that shows the effectiveness of our method in locating faults on an application developed for the European Space Agency is also reported.
Keywords :
fault diagnosis; program debugging; program slicing; program testing; software quality; execution slice; fault localization; inter-block data dependency; program debugging; software testing; Application software; Computer bugs; Computer science; Debugging; Fault diagnosis; Life testing; Programming; Software testing; Software testing; execution slice; fault localization; inter-block data dependency; program debugging;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2004. 11th Asia-Pacific
ISSN :
1530-1362
Print_ISBN :
0-7695-2245-9
Type :
conf
DOI :
10.1109/APSEC.2004.26
Filename :
1371939
Link To Document :
بازگشت