Fog Creek Software
Discussion Board

Source Code analysis tool

Hello everyone

I'm looking for a tool to help me understand a rather large codebase that landed on my lap. It's C++ with some C, Assembler and Perl in the middle.

Now, what I need is a tool to help me reproduce grafically the structure of the classes and scripts. Something like one square for each class with one arrow for each class that inherited from it or from each it inherited from.

Any ideas?

Ogami Itto
Wednesday, August 25, 2004

You'd like to generate a UML class diagram from the C++ source code.

Christopher Wells
Wednesday, August 25, 2004


I know many big companies (with lots of big projects) use sourceinsight

Wednesday, August 25, 2004

Doxygen is so what you want.

Thursday, August 26, 2004

Understand for C++

Thursday, August 26, 2004

Another vote for Doxygen.

Len Holgate (
Thursday, August 26, 2004

Doxygen is near-useless on code that hasn't been commented specifically for it, IMO. Using it is no easier than searching through the source files.

SmallWorlds does what you ask, but last time I checked it out it was unable to cope with any real world projects. They might have improved it by now, though.

Mr Jack
Thursday, August 26, 2004

> Doxygen is near useless

That's what I used to think. However, if you use the latest version, turn on all the graphs, and set it to document everything it will draw some pretty useful IMHO class, colaboration and call graph diagrams. It also provides clickable graphs that show which files include which other files etc.

Len Holgate (
Thursday, August 26, 2004

*  Recent Topics

*  Fog Creek Home