A model for slicing JAVA programs hierarchically

  • Authors:
  • Bi-Xin Li;Xiao-Cong Fan;Jun Pang;Jian-Jun Zhao

  • Affiliations:
  • Department of Computer Science and Engineering, Southeast University, Nanjing 210096, P.R. China;School of Information Science and Technology, PENNSTATE, University Park, PA;CWI, Kruislaan 413 1098 SJ Amsterdam, Netherlands;Department of Computer Science and Engineering, FIT, Fukuoka 811-02, Japan

  • Venue:
  • Journal of Computer Science and Technology
  • Year:
  • 2004

Quantified Score

Hi-index 0.01

Visualization

Abstract

Program slicing can be effectively used to debug, test, analyze, understand and maintain object-oriented software. In this paper, a new slicing model is proposed to slice Java programs based on their inherent hierarchical feature. The main idea of hierarchical slicing is to slice programs in a stepwise way, from package level, to class level, method level, and finally up to statement level. The stepwise slicing algorithm and the related graph reachability algorithms are presented, the architecture of the Java program Analyzing TOol (JATO) based on hierarchical slicing model is provided, the applications and a small case study are also discussed.