Conditioned program slicing

Citation
G. Canfora et al., Conditioned program slicing, INF SOFTW T, 40(11-12), 1998, pp. 595-607
Citations number
36
Categorie Soggetti
Computer Science & Engineering
Journal title
INFORMATION AND SOFTWARE TECHNOLOGY
ISSN journal
09505849 → ACNP
Volume
40
Issue
11-12
Year of publication
1998
Pages
595 - 607
Database
ISI
SICI code
0950-5849(19981110)40:11-12<595:CPS>2.0.ZU;2-N
Abstract
Slicing is a technique to decompose programs based on the analysis of the c ontrol and data flow. In the original Weiser's definition, a slice consists of any subset of program statements preserving the behaviour of the origin al program with respect to a program point and a subset of the program vari ables (slicing criterion), for any execution path. We present conditioned s licing, a general slicing model based on statement deletion. A conditioned slice consists of a subset of program statements which preserves the behavi our of the original program with respect to a slicing criterion for a given set of execution paths. The set of initial states of the program that char acterise these paths is specified in the form of a first order logic formul a on the input variables. We also show how slices deriving from other state ment deletion based slicing models can be defined as conditioned slices. Th is is used to formally define a partial ordering relation between slicing m odels and to build a classification framework. (C) 1998 Elsevier Science B. V. All rights reserved.