• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Flow of Program

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on one Java project that has around 1000+
classes and average of class length would be 500.

Some times I have to change existing code like I have
to add new fields on screen or have to change some
logic in existing classes but its very difficult(read
impossible) to determine what class is generating
particular screen. I could not know wat function is
called on clicking particular button.

Is there a way that could help me in determining the
flow of program atleast at high level.

I just joined the project and we do not have
any proper documentation.

Regards

Kinu
 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

You could try using a tool called Doxygen. This tool will create call diagrams which is very helpful for following code flow. It also creates a documentation, inheritance diagrams, etc.


Doxygen --> Doxygen

Regards
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This can be a pain because there are zillions of techniques for wiring events to code. You'll have to find the UI widget and find how it gets a listener attached, then follow the code in the listener to the code that does the work. If you're lucky there is a solid framework and everyone followed good standards and this gets easier every time you do it.
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
U sure you wanna participate in a project with 1000+ classes and no proper documentation?

Brave man that.

UhOh

J.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic