Proceedings of the 2016 International Forum on Mechanical, Control and Automation (IFMCA 2016)

An Approach for Extracting UML Diagram from Object-Oriented Program Based on J2X

Authors
Haoqing Zhang
Corresponding Author
Haoqing Zhang
Available Online March 2017.
DOI
10.2991/ifmca-16.2017.43How to use a DOI?
Keywords
Reverse Engineering, UML, Class Diagram, Sequence Diagram
Abstract

Reverse engineering software system to extract UML model can help developer understand the structure and behavior of system. An approach for reverse extracting UML class diagram and sequence diagram from Object-Oriented program was proposed in this paper. Different from other extracting methods, our method is based on the intermediate language J2X which is a kind of markup language and stores semantic and structure information of programs. The method first transforms source code to J2X representation, then uses OFG(Object Flow Graph) and CFG(Control Flow Graph) analysis method to extract UML model based on J2X. The method can extract more accurate relationship between classes using OFG analysis. The method has a good accuracy and performance in extracting UML model according to the experiment in a set of test cases.

Copyright
© 2017, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the 2016 International Forum on Mechanical, Control and Automation (IFMCA 2016)
Series
Advances in Engineering Research
Publication Date
March 2017
ISBN
10.2991/ifmca-16.2017.43
ISSN
2352-5401
DOI
10.2991/ifmca-16.2017.43How to use a DOI?
Copyright
© 2017, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Haoqing Zhang
PY  - 2017/03
DA  - 2017/03
TI  - An Approach for Extracting UML Diagram from Object-Oriented Program Based on J2X
BT  - Proceedings of the 2016 International Forum on Mechanical, Control and Automation (IFMCA 2016)
PB  - Atlantis Press
SP  - 266
EP  - 276
SN  - 2352-5401
UR  - https://doi.org/10.2991/ifmca-16.2017.43
DO  - 10.2991/ifmca-16.2017.43
ID  - Zhang2017/03
ER  -