• DocumentCode
    3475498
  • Title

    Precise dynamic slicing algorithms

  • Author

    Zhang, Xiangyu ; Gupta, Rajiv ; Zhang, Youtao

  • Author_Institution
    Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
  • fYear
    2003
  • fDate
    3-10 May 2003
  • Firstpage
    319
  • Lastpage
    329
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 2003. Proceedings. 25th International Conference on
  • ISSN
    0270-5257
  • Print_ISBN
    0-7695-1877-X
  • Type

    conf

  • DOI
    10.1109/ICSE.2003.1201211
  • Filename
    1201211