Federico Cargnelutti

Simple is better than complex. Complex is better than complicated. | @fedecarg

A graph is worth a thousand words

with 2 comments

phpCallGraph is a tool to generate static call graphs for PHP source code. Such a graph visualizes the call dependencies among methods or functions of an application. Arrows represent calls from one method to another method. Classes are drawn as rectangles containing the respective methods. The graphs can be leveraged to gain a better understanding of large PHP applications or even to debunk design flaws in them.

It is also possible to visualize calls to internal functions of PHP and to some extend call dependencies among different classes. Have a look at the example call graphs to get an impression.

Great tool, thanks Falko!

Written by Federico

December 22, 2008 at 11:58 pm

2 Responses

Subscribe to comments with RSS.

  1. Can’t use it on mac.
    At least haven’t found a work around yet :-\

    Juanlu

    December 23, 2008 at 1:22 pm

  2. Hi Juanlu,

    Did you get any error messages on your mac? You can write to our mailing list to get support for phpCallGraph: phpcallgraph-general at lists dot sourceforge dot net

    Cheers,
    Falko

    Falko

    January 5, 2009 at 12:21 am


Leave a Reply