Show All Projects
This is PHP code that produces a visual representation of the connections between classes in PHP code.

Here's what I said when I initially finished it:
"The code is basically counting occurances of calls to static methods/constants/variables, creation of instances of class via the 'new' keyword, references to parent class, references to a class via PHP5 Type Hinting. Notably, it does not count calls to instance methods/constants/variables because then I would have to try to keep track of variable type while parsing source. Though the calls aren't being counted it terms of numbers, the dependency on the class of the instance variable will still have at least one reference and be mapped as long as there is either a 'new' or a type hinted parameter. Which... there totally should be."

Timeline

Links

Files

Screenshots

Diagram of the classes in my movie site when I first finished the diagramming code mid 2010.
Diagram of the classes in my movie site about 6 months later.
  BENCHMARKS  
Loading Time: Base Classes  0.0019
Controller Execution Time ( Project / Id )  0.0169
Total Execution Time  0.0189
  GET DATA  
No GET data exists
  MEMORY USAGE  
912,112 bytes
  POST DATA  
No POST data exists
  URI STRING  
project/id/21/PHP_Class_Dependency_Map
  CLASS/METHOD  
project/id
  DATABASE:  smkprojects (Project:$db)   QUERIES: 5 (0.0041 seconds)  (Hide)
0.0006   SELECT *
FROM `ProjectResources`
WHERE `ProjectID` = '21' 
0.0004   SELECT *
FROM `Projects`
WHERE `ProjectID` = '21' 
0.0004   SELECT *
FROM `ProjectTags`
WHERE `ProjectID` = '21' 
0.0014   SELECT TagCOUNT(1) AS cnt
FROM 
`ProjectTags`
WHERE `Tag` != 'Private'
GROUP BY `Tag`
HAVING COUNT(1) >
0.0013   SELECT TagCOUNT(1) AS cnt
FROM 
`ProjectTags`
WHERE `Tag` != 'Private'
GROUP BY `Tag`
HAVING COUNT(1) > 
  HTTP HEADERS  (Show)
  CONFIG VARIABLES  (Show)