6

I have project under version control. I need to study code that is not mine. I am trying to find a better way than writing down the classes and their relationships in UML.

Is there a tool that does this automatically?

Note: The files are read-only so I can not use a tool that would have to modify them. I am working in Eclipse environment.

Harsha J K
  • 197
  • 1
  • 1
  • 17
Jim
  • 18,826
  • 34
  • 135
  • 254

2 Answers2

7

this program is very helpful (should work with no code changes)

The ObjectAid UML Explorer

http://www.objectaid.com/home

Nimrod007
  • 9,825
  • 8
  • 48
  • 71
3

Automatic UML diagrams are not going to be very helpful from existing java source code. You are going to notice that the code is a big mess where the Single Responsibility Principle is not applied consistently. Take a look at inFusion to get some better views on your code. It can export a Famix model for use with Moose. That you can program to get the exact views you currently need.

Do you already have Sonar installed? It provides static views on the code.

Stephan Eggermont
  • 15,847
  • 1
  • 38
  • 65