Title :
Execution Trace Abstraction Based on Meta Patterns Usage
Author :
Noda, Kunihiro ; Kobayashi, Takashi ; Agusa, Kiyoshi
Author_Institution :
Grad. Sch. of Inf. Sci., Nagoya Univ., Nagoya, Japan
Abstract :
Visualizing object interactions in an execution trace with a sequence diagram is a promising technique for helping developers to comprehend effectively the behavior of an object-oriented system. However, in most cases, the reverse-engineered sequence diagram, which is automatically generated from an execution trace, contains enormous amounts of information, which causes scalability issues. In this paper, we present a method that abstracts the history of object interactions based on Pree´s meta patterns usage. We identify objects that are strongly related to each other by focusing on the relation of template-hook structures which are often used in object-oriented programming. Grouping the strongly correlated objects, we visualize the system´s behavior in terms of intergroup interactions with a sequence diagram. The sequence diagram that is generated is helpful for grasping the big picture of the overall behavior of the system, and so is a valuable aid for program comprehension. In this research, we implemented a tool to visualize the history of object interactions based on our proposed method and demonstrated the feasibility of our proposed method. We applied the tool to three kinds of open-source software systems and evaluated the effectiveness of our proposed method in program comprehension tasks.
Keywords :
data visualisation; object-oriented programming; program diagnostics; public domain software; execution trace abstraction; meta patterns usage; object interaction visualization; object-oriented programming; object-oriented system; open-source software systems; program comprehension tasks; scalability issues; sequence diagram; template-hook structures; Abstracts; Aggregates; History; Java; Runtime; Software systems; Visualization; Dynamic Analysis; Execution Trace Analysis; Meta Patterns; Program Comprehension; Reverse Engineering; Sequence Diagram;
Conference_Titel :
Reverse Engineering (WCRE), 2012 19th Working Conference on
Conference_Location :
Kingston, ON
Print_ISBN :
978-1-4673-4536-1
DOI :
10.1109/WCRE.2012.26