Title :
Precise dynamic slicing algorithms
Author :
Zhang, Xiangyu ; Gupta, Rajiv ; Zhang, Youtao
Author_Institution :
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
Abstract :
Dynamic slicing algorithms can greatly reduce the debugging effort by focusing the attention of the user on a relevant subset of program statements. In this paper we present the design and evaluation of three precise dynamic slicing algorithms called the full preprocessing (FP), no preprocessing (NP) and limited preprocessing (LP) algorithms. The algorithms differ in the relative timing of constructing the dynamic data dependence graph and its traversal for computing requested dynamic slices. Our experiments show that the LP algorithm is a fast and practical precise slicing algorithm. In fact we show that while precise slices can be orders of magnitude smaller than imprecise dynamic slices, for small number of slicing requests, the LP algorithm is faster than an imprecise dynamic slicing algorithm proposed by Agrawal and Horgan.
Keywords :
computational complexity; graph theory; program slicing; software engineering; dynamic data dependence graph; full preprocessing algorithm; limited preprocessing algorithm; no preprocessing algorithm; precise dynamic slicing algorithms; Algorithm design and analysis; Computer aided instruction; Computer science; Costs; Data analysis; Debugging; Heuristic algorithms; Sequential analysis; Timing;
Conference_Titel :
Software Engineering, 2003. Proceedings. 25th International Conference on
Print_ISBN :
0-7695-1877-X
DOI :
10.1109/ICSE.2003.1201211