I am looking out for a eclipse plugin or an open source tool to reverse engineer the sequence diagrams. I tried using Alto UML, but it just gives out sequence diagram of the class chose. I would like to have a sequence diagram of the whole call stack with methods, input arguments and output arugments as well.
Could you please let me know some pointers on this? Thanks!
Diver: Dynamic Interactive Views For Reverse Engineering can solve part of your problem. It provides both static and dynamic sequence diagrams for Java applications. It does not store the inputs and outputs though.
It is a plugin for Eclipse and lets you:
It's on Github and there is also a project web site
Full Disclosure: I am the current project lead for Diver
(repeat from How to Create Flowchart from java source code in Eclipse for completeness):
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.
Take a look at the MoDisco open source eclipse project MoDisco
Architexa does have sequence diagrams for the whole call stack with methods. What you will find is that unlike typical UML tools Architexa is much more code-centric and therefore would work much better for reverse engineering.
-Vineet (Architexa founder)
(repeat from How to Create Flowchart from java source code in Eclipse for completeness):
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:
Look at this Wikipedia article comparing reverse engineering tools.