Slicing object-oriented java programs

  • Authors:
  • Zhenqiang Chen;Baowen Xu

  • Affiliations:
  • Department of Computer Science & Engineering, Southeast University, Nanjing 210096, China;State Key Laboratory of Software Engineering, Wuhan University, Wuhan 430072, China

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a new approach to represent dependence for object-oriented (OO) Java software. The program dependence graph (PDG) consists of a set of PDGs with tags that are not connected. This new approach distinguishes data members for different objects and represents the effects of polymorphism and dynamic bindings. Based on this model, we introduce the concepts of partial slicing, class slicing and object slicing. In our slicing algorithm, we slice not only statements but also data members in classes, and inter-method slicings are transformed to intra-method slicings.