Title :
A simple static model for understanding the dynamic behavior of programs
Author_Institution :
Fac. of Sci., Technol. & Commun., Luxembourg Univ., Kirchberg, Luxembourg
Abstract :
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.
Keywords :
Unified Modeling Language; program debugging; program slicing; reverse engineering; software maintenance; EOP-model; UML sequence diagrams; high-level debugging; program comprehension; program dynamic behavior; program slicing; program understanding; reverse engineering; software maintenance; statechart diagrams; Communications technology; Conferences; Data mining; Debugging; Educational programs; Reverse engineering; Runtime; Software maintenance; Unified modeling language; Visualization;
Conference_Titel :
Program Comprehension, 2004. Proceedings. 12th IEEE International Workshop on
Print_ISBN :
0-7695-2149-5
DOI :
10.1109/WPC.2004.1311046