An Approach to Convert XMI Representation of UML 2.x Interaction Diagram into Control Flow Graph
Open Access
- 7 March 2012
- journal article
- Published by Hindawi Limited in ISRN Software Engineering
- Vol. 2012, 1-22
Abstract
For automation of many software engineering tasks such as program analysis, testing, and coverage analysis, it is necessary to construct a control flow graph. With the advancement of UML, software practitioners advocate to construct control flow graph from some of the UML design artifacts. UML 2.x supports the modeling of control flow information in interaction diagram by means of message sequences and different types of fragments like alt, opt, break, loop, and so forth. Leading UML modeling tools, namely MagicDraw, IBM's Rational, and so forth export models in XMI format. Construction of control flow graph from the XMI representation of an interaction diagram is not straightforward as model elements of interaction diagram are captured in XMI by means of values of attributes of multiple tagged elements and correlations among these tagged elements is not explicitly specified. This paper proposes an approach for construction of control flow graph from XMI representation of UML 2.x interaction diagram. A prototype tool based on our approach has been developed which can be plugged in any computer-aided software engineering tool.Keywords
This publication has 4 references indexed in Scilit:
- System testing for object‐oriented systems with test case prioritizationSoftware Testing, Verification and Reliability, 2009
- Test Input Generation Using UML Sequence and State Machines Models2009
- UML Model Interchange in Heterogeneous Tool Environments: An Analysis of Adoptions of XMI 22006
- Control Flow Analysis of UML 2.0 Sequence Diagrams2005