Title :
Reverse engineering of the interaction diagrams from C++ code
Author :
Tonella, Paolo ; Potrich, Alessandra
Author_Institution :
Centro per la Ricerca Scientifica e Tecnologica, ITC-irst, Povo, Italy
Abstract :
In object oriented programming, the functionalities of a system result from the interactions (message exchanges) among the objects allocated by the system. While designing object interactions is far more complex than designing the object structure in forward engineering, the problem of understanding object interactions during code evolution is even harder, because the related information is spread across the code. In this paper, a technique for the automatic extraction of UML interaction diagrams from C++ code is proposed. The algorithm is based on a static, conservative flow analysis that approximates the behavior of the system in any execution and for any possible input. Applicability of the approach to large software is achieved by means of two mechanisms: partial analysis and focusing. Usage of our method on a real world, large C++ system confirmed its viability.
Keywords :
C++ language; message passing; object-oriented programming; program diagnostics; reverse engineering; specification languages; C++ code; UML interaction diagrams; automatic extraction; code evolution; conservative flow analysis; focusing mechanism; message exchange; object interactions; object oriented programming; partial analysis; reverse engineering; static flow analysis; Algorithm design and analysis; Collaborative work; Data mining; Design engineering; Information analysis; Object oriented programming; Reverse engineering; Software maintenance; Systems engineering and theory; Unified modeling language;
Conference_Titel :
Software Maintenance, 2003. ICSM 2003. Proceedings. International Conference on
Print_ISBN :
0-7695-1905-9
DOI :
10.1109/ICSM.2003.1235418