A new approach on slicing techniques for program reuse /

Fu, Jian, 1974- · eScholarship@McGill (McGill) · 1998

An alternative approach to developing reusable components from scratch is to recover them from existing systems. We apply program slicing, introduced by Weiser, to extract reusable functions for later study. Program Slicing is a method of finding all statements that might directly or indirectly affect that values of variables. It is implemented by analyzing the program's data flow and control flow. We extend the definition of program slice to an encapsulated slicing algorithm, since we intend to present a new approach on decomposing a routine into a set of routines and get an executable sequence of those subroutines to obtain the same effects as the original routine. Here, the routine could be function, procedure, or method, etc. The approach is related to assign programs and subroutines as object methods exploiting object-oriented design metrics in another part of the study. Our study is to propose a functional reusable slicing algorithm. The goal for our whole project is using some specific techniques to extract the reusable components from the existing procedure code based on certain applications as well as preserving the functions of target code.

Read the paper · More papers on PaperTik