views:

541

answers:

1

Note not "functional dependency". Are there tools available that allow me to build a static function dependency graph from source code? Something which indicates to me which functions depend on which other ones in a graphical manner.

+15  A: 

Yes, there certainly are. If you look in the Development category on Hackage, you'll find tools for:

In particular, SourceGraph contains many analysis passes, including:

Other tools that you might be interested in are:

Here is the functional call graph produced by SourceGraph run over cabal2arch:

alt text

Don Stewart
+1: Argh, I was about to post the same thing. I suspect SourceGraph is closest what qrest is after.
camccann
Fabulous! Thank you!
qrest