25

I would like to create the flowchart or sequence diagram from my java source code.
Is there any plug-in which can help me do that?

4
  • Are you trying to represent your source flow as sequence diagrams(check StarUML) or actually building a tool which will create sequence diagram using some data? Commented Dec 7, 2010 at 7:18
  • I have my full project source code in Eclipse. I just want to understand the flowchart of the whole project. something like call hierarchy or sequence diagram. Commented Dec 7, 2010 at 7:24
  • possible duplicate of Eclipse plugin or a Open source tool to reverse engineer java code for sequence diagram Commented Dec 7, 2010 at 7:28
  • 4
    This question is FINE! Commented Aug 19, 2013 at 17:54

5 Answers 5

8

ObjectAid is a free UML tool which can creates sequence diagrams. Another commercial tool to create sequence diagrams from existing code is Architexa. I use Architexa very often at my daily work.

Sign up to request clarification or add additional context in comments.

1 Comment

Just fyi, Architexa has also just recently released a free edition.
4

Our tool, Code Rocket for Eclipse can produce both pseudocode and flowcharts from Java (and C/C++ code). The design views can be edited and any changes forward engineered into the code. It is not a free tool, but there is a free 30-day trial. Also it is only for Eclipse 32-bit.

2 Comments

Just a quick update, Code Rocket for Eclipse now supports 64-bit versions of Eclipse.
update, it is an exe file and supports only windows
2

Is this post meant for flow chart? Do You mean Sequence Diagram or Class Diagram eUML is a good tool to create Class Diagram or Sequence Diagram You can find it at http://www.soyatec.com/main.php

Comments

1

I am not sure if there is a plugin for this but there are certainly techniques for doing this. If there is no plugin available, theoretically, one could follow the approach of such techniques to build one. One such technique that comes to mind is contained in the paper Object naming analysis for reverse-engineered sequence diagrams by Atanas Rountev and Beth Harkness Connell.

Here's the abstract:

UML sequence diagrams are commonly used to represent object interactions in software systems. This work considers the problem of extracting UML sequence diagrams from existing code for the purposes of software understanding and testing. A static analysis for such reverse engineering needs to map the interacting objects from the code to sequence diagram objects. We propose an interprocedural dataflow analysis algorithm that determines precisely which objects are the receivers of certain messages, and assigns the appropriate diagram objects to represent them. Our experiments indicate that the majority of message receivers can be determined exactly, resulting in highly-precise object naming for reverse-engineered sequence diagrams.

1 Comment

Probably two far removed from a useful implementation, but nonetheless an interesting reference!
0

I found this Eclipse plugin Flowchart4j V 2.0.0 et http://www.codeswat.com/ You can use it for flowchart or sequence diagram and export it to MS Visio. It has only one disadvantage. You have to pay for it.

1 Comment

I wrote it. But works great :-)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.