I wanted to share a recent work I’ve done to better visualise the
dependencies between classes, with the call graph .
For the extension I am currently developping (MediaWikiFarm ), I
wanted to obtain the call graph. First I did it by hand, but then I
found a program doing the job, phpCallGraph , but unfortunately it
was unmaintained since 2009 (PHP 5.2 era). I did maintenance and it
partly works , I still have issues with the autoloader.
Here are some preliminary results I got: (these are packages without
much external dependencies due to autoloader issues)
* directory 'includes' of MediaWiki without subdirectories (too big)
I plan to improve this software (see README on GitHub), please say if
you if you are interested by this type of graph and/or interested in
(the overapproximation of
the static call graph to be precise)