International Journal of Innovative Science Engineering and Technology (IJISET)
Program slicing enables programmers to view subsets of a program by filtering out code that is not relevant to the computation of interest. It is a technique for finding all statements in a program that directly or indirectly affected the values computed at some point of interest. This point of interest is referred to as the slicing criterion. A program slice is a subset of a program. The process of computing slices is known as program slicing. The slice computes the same function as the original program for the variables defined in the slicing criterion for all test cases.