A Comparative Analysis of Slicing for Structured Programs
Lipika Jha, K. Sridhar Patnaik · International Journal of Computer Applications Technology and Research · 2014
Program Slicing is a method for automatically decomposing programs by analyzing their data flow and control flow.Slicing reduces the program to a minimal form called "slice" which still produces that behavior.Program slice singles out all statements that may have affected the value of a given variable at a specific program point.Slicing is useful in program debugging, program maintenance and other applications that involve understanding program behavior.In this paper we have discuss the static and dynamic slicing andits comparison by taking number of examples.