An Approach for Extracting UML Diagram from Object-Oriented Program Based on J2X
Available Online March 2017.
- https://doi.org/10.2991/ifmca-16.2017.43How to use a DOI?
- Reverse Engineering, UML, Class Diagram, Sequence Diagram
- 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.
- Open Access
- This is an open access article distributed under the CC BY-NC license.
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 - https://doi.org/10.2991/ifmca-16.2017.43 ID - Zhang2017/03 ER -