A simple static model for understanding the dynamic behavior of programs

被引:4
作者
Kelsen, P [1 ]
机构
[1] Univ Luxembourg, Fac Sci Technol & Commun, L-1359 Kirchberg, Luxembourg
来源
IWPC 2004: 12TH IEEE INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS | 2004年
关键词
D O I
10.1109/WPC.2004.1311046
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To maintain software and to adapt it to changing requirements, one needs to have a solid understanding of both its structure and behavior While there are a number of reverse engineering tools that aid in understanding the runtime behavior of programs, these are mostly based on variants of UML sequence diagrams or statechart diagrams. We propose a new model for understanding runtime behavior that presents several advantages over the more traditional models: it has a simple syntax (a very small subset of UML). Second one can tailor the same type of model to different abstraction levels while maintaining traceability Third, they have a clearly defined semantics that makes them executable. Finally they capture both static and dynamic aspects of a system. We present three scenarios where our model - named EOP-model-aids with program comprehension: (1) high-level debugging, with which one can observe the execution of the program at a higher level of abstraction; (2) high-level program slicing, which allows to identify the data items in our model that may influence an operation, regardless of the abstraction level, and (3) generating abstract views at varying levels of detail while maintaining traceability between model elements and the code.
引用
收藏
页码:46 / 51
页数:6
相关论文
共 15 条
[1]  
*ALC U KIG JEBB CA, 2000, AD20010301OMG
[2]  
Chikofsky EJ, 1992, SOFTWARE REENGINEERI, P54
[3]   TECHNIQUES FOR DEBUGGING PARALLEL PROGRAMS WITH FLOWBACK ANALYSIS [J].
CHOI, JD ;
MILLER, BP ;
NETZER, RHB .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1991, 13 (04) :491-530
[4]  
De Pauw W, 2002, LECT NOTES COMPUT SC, V2269, P151
[5]  
JERDING D, 1997, P 4 WORK C REV ENG
[6]  
Kamkar Mariam, 1993, P C SOFTW MAINT MONT, P386
[7]   DYNAMIC PROGRAM SLICING [J].
KOREL, B ;
LASKI, J .
INFORMATION PROCESSING LETTERS, 1988, 29 (03) :155-163
[8]   Scene: Using scenario diagrams and active text for illustrating object-oriented programs [J].
Koskimies, K ;
Mossenbock, H .
PROCEEDINGS OF THE 18TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1996, :366-375
[9]   Object-oriented program tracing and visualization [J].
Lange, DB ;
Nakamura, Y .
COMPUTER, 1997, 30 (05) :63-&
[10]  
Muller H. A, 1995, OBJECT ORIENTED TECH, P240, DOI [10.1142/9789812831163_0016, DOI 10.1142/9789812831163_0016]