<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css"> Skip to main content

學術出版;;Publications

Permanent URI for this communityhdl:11536/1

收集所有交通大學研究人員與學生個人或團體所發表之各項學術著作,涵蓋期刊論文、教師專書、學位論文等項。;;Collections of Publications of NCTU Researchers and Students Like Journal Papers and Thesis.

Browse

Search Results

Now showing 1 - 1 of 1
  • Item type:Item,
    Slicing object-oriented programs
    (1997)
    Chen, JL
    ;
    Wang, FJ
    ;
    Chen, YL
    ;
    資訊工程學系
    ;
    Department of Computer Science
    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 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 that developed based on an Object-oriented Dependency Graph to compute these slices can get more precise result by exploring the internal dependencies of complex objects.