Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Does anyone know of a good code mapping tool?

Posted on 2006-11-10
3
205 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This article will show, step by step, how to integrate R code into a R Sweave document
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

808 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