Page 1 of 1

Dependecy tree

Posted: Sun Apr 16, 2006 9:56 am
by ForumJoiner
I'm looking for a program or, better, for PHP scripts that can display a dependecy tree for my project.

More specific, I have a php script (called script1.php) that includes another 2 php scripts (called script21.php and script22.php), each of them including some files (called script21a.php, script21b.php, and script22a.php).
I need a software to make a tree like:

Code: Select all

script1.php 
        - script21.php 
                - script21a.php 
                - script21b.php 
        - script22.php 
                - script22a.php


I would also like to see on this tree all the functions each file have.
I need too a list like:

Code: Select all

function name = fnc1 (from script1.php) called 
        function name = fnc2 (from script2.php) (with parameters: pr1, pr2)

A name / pointer to resource would be perfect. Thank you.

Posted: Sun Apr 16, 2006 11:31 am
by Ambush Commander
Try googling "Call graph"

Posted: Sun Apr 16, 2006 11:53 am
by ForumJoiner
They don't allow me to dowload even a trial version, because I don't have an email address ending in my company's name. Now, what can I do if I don't have a company? (please don't say "You should make one" ;-) )