DocumentCode :
2911031
Title :
An object-oriented dependency graph for program slicing
Author :
Chen, Jim-Liang ; Wang, Feng-Jim ; Chen, Yung-Lin
Author_Institution :
Dept. of Comput. Sci. & Inf. Eng., Nat. Chiao Tung Univ., Hsinchu, Taiwan
fYear :
1997
fDate :
35674
Firstpage :
121
Lastpage :
130
Abstract :
Program dependency graphs (PDG) facilitate program analysis and related applications such as program slicing, which is a method to identify the relevant entities of the program according to data and control dependencies. In the past, PDGs and program slicing were mostly developed for (conventional) imperative programs. Recently, the object-oriented (OO) paradigm has gained momentum and popularity. The OO paradigm introduces the features of object abstraction, encapsulation, inheritance and polymorphism to programs, but is not considered in PDGs and program slicing. In this paper, we present an object-oriented dependency graph (ODG) to represent the structure of OO programs. The ODG is defined based on a property multi-digraph that is extended from a directed graph by augmenting multiple edge types, vertex properties and property relations. With these extensions, the ODG can avoid specious dependencies due to object encapsulation. Based on the ODG, a program slicing method for OO software is developed. Besides data and control dependencies, dependencies caused by OO features are taken into consideration in our slicing method. Through the ODG, the slicing method can be applied to facilitate the understanding, debugging and maintenance of OO software in the same way that traditional program slicing methods do
Keywords :
data encapsulation; directed graphs; inheritance; object-oriented programming; program debugging; program diagnostics; programming theory; reverse engineering; software maintenance; control dependencies; data dependencies; directed graph; inheritance; multiple edge types; object abstraction; object encapsulation; object-oriented dependency graph; polymorphism; program analysis; program dependency graphs; program slicing; property multi-digraph; property relations; software debugging; software understanding; sofware maintenance; vertex properties; Computer industry; Computer science; Data engineering; Debugging; Encapsulation; Industrial control; Information analysis; Laboratories; Software engineering; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Technology of Object-Oriented Languages, 1997. TOOLS 24. Proceedings
Conference_Location :
Beijing
Print_ISBN :
0-8186-8551-4
Type :
conf
DOI :
10.1109/TOOLS.1997.713535
Filename :
713535
Link To Document :
بازگشت