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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With