Reverse Engineer UML Diagrams From Source Code

C

cppaddict

I'm looking for a good tool that can automatically generatre UML
diagrams from source code.

I know Together can do this, but it's rather expensive....

I was hoping for something open source. What are my options? What
should I be considering? I plan to use it mainly for personal use for
building medium sized applciations.

I also found this one:

http://jrefactory.sourceforge.net/

Has anyone used it?

TIA,
cpp
 
F

Filip Larsen

Regarding ArgoUML I wrote

and steve answered
yes it certainly imports the stuff, but it does not make any class diagrams
from it..

Well, in my end it works. When doing import ArgoUML will generate one
class diagram for each package and place that diagram in the package.
The content will vary according to the options selected in the import
dialog.


Regards,
 
S

steve

Regarding ArgoUML I wrote


and steve answered


Well, in my end it works. When doing import ArgoUML will generate one
class diagram for each package and place that diagram in the package.
The content will vary according to the options selected in the import
dialog.


Regards,

tried it several times, with all options selected.
i just get 1 box in the middle of the screen, no arrows connecting anything,
nothing like the picture on their website.

I suppose if i started from scratch , it would be o.k ,but this project is
over 1 yer old and has rather a lot of code.

steve
 
F

Filip Larsen

tried it several times, with all options selected.
i just get 1 box in the middle of the screen, no arrows connecting anything,
nothing like the picture on their website.

If the package you look at only has one class then this is to be
expected. Try import the root directory of your source, with "Minimize
Class icons in diagram" deselected and "Attributes modelled as UML
associations" (under the Java tab) selected and see if that helps. Be
warned that this might take a long time and require some resources for
large projects.


Regards,
 
S

steve

If the package you look at only has one class then this is to be
expected. Try import the root directory of your source, with "Minimize
Class icons in diagram" deselected and "Attributes modelled as UML
associations" (under the Java tab) selected and see if that helps. Be
warned that this might take a long time and require some resources for
large projects.


Regards,

well there are 2 options:

1. the program does not work
2. there is something seriously wrong with the way i write my java.

I will assume it is number 2,
I always write my code with 1 class per file.
but i do have maybe 20 classes with source in the project.
the main class calls each of the other classes

I thought that the this program would show my main program class, ( as a box)
then interlink ( with arrows) & show the calls to the other classes.

i did not expect that the classes all had to be in the same package.
( i now see that where items are in the same package, they do link)

again i like to split re-usable items into different packages, and give them
separate package names

or is the purpose of the program something different.

I did import from the root source directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top