I have been given new project which has many classes and I have to understand them in very short time.
Is there any tool available so that I can give input as source files and it will show me all the relations between all classes.
Is startUML helpful for this kind of task? Its bit difficult to use. Is there any other tool that shows class diagrams and its relations by seeing source code.
Thanks in advance.
If the project is well designed and the developers placed great value on common design patterns, then I’d suggest:
Bottom up may work as well, but only, if the the programmers used good names (packages, classes, methods,…).
If your code is .. say .. coded by cowboys (and you see no chance to run away), you could use a profiler to record typical use cases. Like the startup procedure, a login process, HMI interaction and study the profiler output. Then you’ll see the flow and might get a feeling on whats going on.
Code coverage tools (emma) could help as well: write a test case for a simple use case, run it with emma and study the results (they should, what classes and methods have been in use).
Finally: good luck.