-
Notifications
You must be signed in to change notification settings - Fork 204
CodeMap
Contents
codemap
is a semantic source code visualizer. It's a X11 program
that helps visualize, navigate, and search a large codebase. It can
also be connected to an editor such as Emacs so that when you click
somewhere in the codemap window it opens the appropriate file at the
appropriate line in Emacs (a little bit like Speedbar, see
http://cedet.sourceforge.net/speedbar.shtml).
As you zoom in the codebase, codemap displays more information, a little bit like Google Earth: you first see only the files and directories, and then the important classes and functions, and then the important statements. By leveraging results from static and dynamic analysis codemap can "understand" the source code it is displaying and highlight the important parts. This helps understand quickly code you have never seen before. Again like Google Earth, codemap also provides layers that helps seeing the codebase through different angles.
The synopsis is:
$ codemap [-screen_size <int>] [-with_layers <dir>] [-with_info <db>] <dir>
See Examples and Examples2 for screenshots of the tool applied to lots of different open source projects.
How to reduce the size of specific files in the treemap ? You can try to put big files in a 'big/' subdirectory. The "big" directory name is hardcoded in pfff code to be part of the "Data" category which is then artificially reduced on the treemap.
http://fcgp.sourceforge.net/shots.html