Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What tools are available to visualize in-class dependencies (e.g. for PHP)? [closed]

I am looking for an easy-to-use tool which can visualize the 'inner working' of a class, written e.g. in PHP. What I would like to see are the different class methods, and how they are related (method A calls method B etc). Is there such a tool to create such a graph? In a further step, maybe there is a tool which also visualizes the 'inner working' of a class (in a reverse-engineering way) of really how the workflow is, i.e. with all if-else decisions etc, what methods are called in what case?

If anyone can refer me to such a tool (preferably for PHP and Python) I would appreciate it.

like image 791
Alex Avatar asked Jun 11 '13 15:06

Alex


1 Answers

Doxygen is a tool which can create documentation as well as call graphs from your code.

You can refer this page for more info: http://www.doxygen.nl/manual/diagrams.html

I use this tool to create documentation and call graphs. it is very powerful although output depends on preference.

It supports a number of languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL, Tcl, and to some extent D.

like image 182
user1402647 Avatar answered Oct 17 '22 17:10

user1402647