Conditioned program slicing

被引:129
作者
Canfora, G [1 ]
Cimitile, A [1 ]
De Lucia, A [1 ]
机构
[1] Univ Sannio, Fac Engn, I-82100 Benevento, Italy
关键词
conditioned slicing; program slicing;
D O I
10.1016/S0950-5849(98)00086-X
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Slicing is a technique to decompose programs based on the analysis of the control and data flow. In the original Weiser's definition, a slice consists of any subset of program statements preserving the behaviour of the original program with respect to a program point and a subset of the program variables (slicing criterion), for any execution path. We present conditioned slicing, a general slicing model based on statement deletion. A conditioned slice consists of a subset of program statements which preserves the behaviour 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 characterise these paths is specified in the form of a first order logic formula on the input variables. We also show how slices deriving from other statement deletion based slicing models can be defined as conditioned slices. This is used to formally define a partial ordering relation between slicing models and to build a classification framework. (C) 1998 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:595 / 607
页数:13
相关论文
共 36 条
[1]  
Agrawal Hiralal., 1990, SIGPLAN NOTICES, DOI 10.1145/93542.93576
[2]  
Aho Alfred V., 1986, ADDISON WESLEY SERIE
[3]  
[Anonymous], PARTIAL EVALUATION M
[4]  
BOYER RS, 1979, COMPUTATIONAL LOGIC
[5]   TOWARDS A THEORY OF THE COMPREHENSION OF COMPUTER-PROGRAMS [J].
BROOKS, R .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 18 (06) :543-554
[6]  
CANFORA G, 1994, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, P424, DOI 10.1109/ICSM.1994.336752
[7]   ASSESSING MODULARIZATION AND CODE SCAVENGING TECHNIQUES [J].
CANFORA, G ;
CIMITILE, A ;
VISAGGIO, G .
JOURNAL OF SOFTWARE MAINTENANCE-RESEARCH AND PRACTICE, 1995, 7 (05) :317-331
[8]   STATIC SLICING IN THE PRESENCE OF GOTO STATEMENTS [J].
CHOI, JD ;
FERRANTE, J .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (04) :1097-1113
[9]  
Cimitile A, 1995, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 1995 PROCEEDINGS, P124, DOI 10.1109/ICSM.1995.526534
[10]  
CIMITILE A, 1995, SECOND WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, P178, DOI 10.1109/WCRE.1995.514706