• Post Reply Bookmark Topic Watch Topic
  • New Topic

auto-flowcharts from java code?  RSS feed

 
Gabe Herbert
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there some program that can churn through a java class or source, discovering all the connections between different classes and methods and visually display a flowchart? From what I hear this would be the opposite of netbeans (though I know nothing about it).
I occasionally take the time to manually map out these connections, of data types being sent and converted and returned, method invocations, and all that jazz. But then i thought, "This is a computer! I shouldn't have to do that!"

Anything?

Gabe
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are tools that "reverse engineer" Java code into UML diagrams. They mostly do "static" diagrams that just tell you which classes refer to each other through parameters, variables, extends, implements. The ones I've tried show every detail of every class used, even String and such, so the diagrams are so cluttered you can't really see what's going on. The real value of models is leaving out the non-essential stuff to reveal the essential stuff, and tool-generated models don't do that well.

I think there are some that attempt to follow execution paths in a more "dynamic" way. I haven't tried em.

Search through the OO and UML, etc forum down the page a ways for prior discussions of UML tools. There may be some recommendations already there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!