1
votes

Many UML tools claim to do forward / reverse engineering of Java code. However, it turns out from prior experience, that few tools really work in this area.

I haven't been doing Java projects for 3 years, and want to get up to date with the current status in this area.

In Particular I am interested in Creating State Machine Skeletons from Diagram, be able to create hooks to my own code, and be able to reverse engineer the State Diagram back (Do not want to change the State Machine itself outside the Tool).

Which UML tools works in this area? Enterprise Architecht? Visual Paradigm? Others?

Geir Ove Norway

2

2 Answers

0
votes

The reverse engineering from code to UML is done at class diagram for static and sequence diagram for behavioral visualizations. There is no state machine reverse engineering standard up to today therefore no tool has implemented this feature.

0
votes

Enterprise Architect comes with a Visual Execution Analysis tool set that has a number of outputs including Sequence Diagram generation of live code execution, State Transition Diagrams (sequence Diagram with states) as well as Profiler reports showing operation and call frequency.

I would suggest reading more on Enterprise Architect Visual Execution Analysis here.