contact Me

Use the form on the right to contact me.

You are welcome, to contact me regarding the topics of this page, my open source projects, or my work. Please use the contact form and leave a valid email address for me to respond to.

Thank you.

Egidestr. 9
44892 Bochum
Germany

/brain/dump

Random thoughts, bright ideas and interesting experiments. In short the ramblings of a fulltime nerd.

 

Class dependecy generation

Jakob Westhoff

I have written a small script to generate class dependency graphs out of a bunch of php files last week. I needed this for a project I am currently working on.

First of all I want to publish this script, free to use for anybody to whom this might be useful. You can get the complete script at the end of this post.

I have been told that doxygen can create something similar to my graphs. This graphs didn't completey satisfy me, but you can take a look there, if you aren't happy with the representation my script generates.

After the script did what I wanted it to, I decided to create classgraphs of the ez Components just for fun. After looking on some of these I realized that they might be useful or at least quite interesting to other people around the net.

Generated classgraph of the ezcConsoleTools Component

Generated classgraph of the ezcConsoleTools Component

If you are interested in the scripts that generate this graphs just checkout its svn repository:

svn://svn.pureenergy.cc/ezc_class_graph

There you will find a slightly modified version of the mentioned script, which will create the shown graphs for you based on the current ezc trunk.

Download