Dependecy tree

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ForumJoiner
Forum Newbie
Posts: 2
Joined: Sun Apr 16, 2006 9:53 am

Dependecy tree

Post 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.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Try googling "Call graph"
ForumJoiner
Forum Newbie
Posts: 2
Joined: Sun Apr 16, 2006 9:53 am

Post 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" ;-) )
Post Reply