Slicing Objects Using System Dependence Graphs
Proceedings of the International Conference on Software Maintenance
November 1998, pp. 358-367
Donglin Liang and Mary Jean Harrold
We present a system dependence graph for object-oriented software
that is more precise than previous representations and is more
efficient to construct than previous approaches.
The system dependence graph distinguishes data members for
different objects, provides a way to represent object parameters,
represents the effects of polymorphism on parameters and parameter bindings,
represents incomplete programs efficiently, and provides a
way to represent class libraries.
Based on this system dependence graph, we introduce the concept of object slicing and an algorithm to implement this concept.
Object slicing enables the user to inspect the statements in
the slice, object-by object, and is helpful for debugging and