DocumentCode
2818703
Title
Slicing object-oriented programs
Author
Chen, Jiun-Liang ; Wang, Feng-Jian ; Chen, Yung-Lin
Author_Institution
Dept. of Comput. & Inf. Sci., Nat. Chiao Tung Univ., Hsinchu, Taiwan
fYear
1997
fDate
2-5 Dec 1997
Firstpage
395
Lastpage
404
Abstract
Program slicing has various applications in the fields of software engineering. The object-oriented (OO) paradigm introduces the features of abstraction, encapsulation, inheritance and polymorphism to programs, but is not considered in current program slicing techniques. In this paper, we define two types of program slices, state and behavior slices, by taking the dependencies of OO features into consideration. A state slice for an object is a set of messages and control statements that might affect the state of the object, while a behavior slice is a set of attributes and methods defined in related classes that might affect the behavior of the object. These slices may facilitate programmers to debug and understand OO software. The algorithms developed to compute these slices that are based on an OO dependency graph can obtain more precise results by exploring the internal dependencies of complex objects
Keywords
abstract data types; graph theory; object-oriented programming; programming theory; software engineering; abstraction; attributes; behavior slices; control statements; encapsulation; inheritance; messages; methods; object-oriented dependency graph; object-oriented feature dependencies; object-oriented program slicing; polymorphism; related classes; software engineering; state slices; Application software; Computer industry; Computer science; Encapsulation; Laboratories; Programming profession; Software debugging; Software engineering; Software libraries; Software reusability;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 1997. Asia Pacific ... and International Computer Science Conference 1997. APSEC '97 and ICSC '97. Proceedings
Print_ISBN
0-8186-8271-X
Type
conf
DOI
10.1109/APSEC.1997.640196
Filename
640196
Link To Document