I have a very large server program written in java. It was written by another developer who is no longer with the company and is very complex.
It is made up of 23 packages and I use eclipse.
What I want is a program that will take the source files of my program and create a kind of flow char for the functions. Start with the class that has main and follow it through which classes it calls in its constructor.
Basically I have learned that the program uses interfaces heavily and I want a visual representation of how the server functions instead of tracking through several four line function in interfaces before I get to the real processing function. a flow chart type thing would allow me to see where the function call would end up.
Does anyone know of any program available that could do this for me ?
I don't really mind what format the visual representation is in as long as it is easy to follow.
This is what you are looking for:
http://www.objectaid.com/
The sequence in any program of significant size is so complex that an automatic tool (if it existed) is of no use - too many trees, no forest.
It is reasonable to generate class diagrams and then manually prune them down and organize them to show the organization of the program as you discover it.
To see the real flow of the program, I recommend using debugger breakpoints and then a good profiler. Usually it's relatively easy to find a spot where something important happens - the question usually is "how does it get here?". Take notes; when you think you understand a flow well, make a diagram.
Another diagramming package that I like a lot is PlantUML. It's missing a lot of UML features, but it allows for very rapid creation of diagrams, with the concise source within the .java files, and included in the JavaDoc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With