Abstract—In object oriented software engineering, use cases (UCs) describe the services offered to the users of a system by the system itself. Each UC is realized by one or more sequence diagrams (SDs) that depict how the objects interact and work together to provide the corresponding service. There are several tools that can be used to reverse engineer source code to provide SDs, e.g., Enterprise Architect, Together, and Altova UModel. However, SDs generated from such tools represent detailed “run time behavior” rather than analysis and design level models. In this paper, we present a tool, XMI2UC, that extracts the UCs from object oriented source code. We demonstrate the use of the XMI2UC tool using two case studies: a small-sized hypothetical system and a medium sized open source jHotDraw system. The experiments show how our new tool simplified the task of extracting the UCs for object oriented systems.
Index Terms—Object oriented software engineering, reverse engineering, UML, use case, sequence diagram.
The authors are with Information and Computer Science Department King Fahd University of Petroleum and Minerals Saudi Arabia, Dhahran 31261
Cite: Shouki A. Ebad and Moataz A. Ahmed, "XMI2UC: An Automatic Tool to Extract Use Cases from Object Oriented Source Code," International Journal of Future Computer and Communication vol. 1, no. 2, pp. 193-195, 2012.