Solved

Does anyone know of a good code mapping tool?

Posted on 2006-11-10
3
200 Views
Last Modified: 2013-11-08
I am looking for a tool that will build a map of functions/methods that are called by other functions/methods to build a full picture of how my program fits together.  I work on a legacy application that has about 5000 source files.  I've been tasked with documenting the api of the various subsystems and I would very much like to build a dependency map to allow us to easily identify systems that are affected by changes to any function.  Seems like this is something that could almost be part of a compiler since it has to build up a map during compile, but I can't seem to find anything.
0
Comment
Question by:jasbro
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 17919822
What compiler are you using? VC++ can do that via 'bscmake.exe' (ships with the compiler), which generates browse information files. See e.g. http://msdn.microsoft.com/library/en-us/vccore/html/_core_bscmake_reference.asp  ("BSCMAKE Reference")
0
 
LVL 30

Accepted Solution

by:
Axter earned 250 total points
ID: 17921691
Have you looked at Doxygen?
http://www.stack.nl/~dimitri/doxygen/index.html


Here's some example usage:
http://axter.com/smartptr

The above HTML documentation was created automatically using Doxygen.

Doxygen, uses the source code to create documentation.  You can modify how the documentation is crated, by adding additional comments to your source code.
0
 
LVL 2

Author Comment

by:jasbro
ID: 17932934
Doxygen is pretty nice...if only id did Fortran code as well.  I'm going to run with it, and have even volunteered to add the Fortran support.  I really like the call/caller graphs that can be built if you add the GraphViz installation.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now