• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

auto-flowcharts from java code?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic