PHPCodeAnalyzer
[ class tree: PHPCodeAnalyzer ] [ index: PHPCodeAnalyzer ] [ all elements ]

Class: PHPCodeAnalyzer

Source Location: /PHPCodeAnalyzer.php

Class Overview


Code Analysis class


Author(s):

Version:

  • 0.4

Copyright:

  • Joshua Eichorn 2004

Variables

Methods



Class Details

[line 59]
Code Analysis class

Example Usage:

  1. $analyzer = new PHPCodeAnalyzer();
  2. $analyzer->source = file_get_contents(__FILE__);
  3. $analyzer->analyze();
  4. print_r($analyzer->calledMethods);




Tags:

copyright:  Joshua Eichorn 2004
author:  Joshua Eichorn <josh@bluga.net>
license:  LGPL
version:  0.4
todo:  is it important to grab the details from creating new functions defines classes?
todo:  support php5 only stuff like interface


[ Top ]


Class Variables

$calledConstructs = array()

[line 74]

Called constructs


Type:   mixed


[ Top ]

$calledFunctions = array()

[line 69]

functions called


Type:   mixed


[ Top ]

$calledMethods = array()

[line 79]

methods called


Type:   mixed


[ Top ]

$calledStaticMethods = array()

[line 84]

static methods called


Type:   mixed


[ Top ]

$classesInstantiated = array()

[line 89]

new classes instantiated


Type:   mixed


[ Top ]

$createdClasses = array()

[line 104]

classes created


Type:   mixed


[ Top ]

$createdFunctions = array()

[line 109]

functions created


Type:   mixed


[ Top ]

$filesIncluded = array()

[line 114]

Files includes or requried


Type:   mixed


[ Top ]

$source =  ""

[line 64]

Source code to analyze


Type:   mixed


[ Top ]

$usedMemberVariables = array()

[line 99]

member variables used


Type:   mixed


[ Top ]

$usedVariables = array()

[line 94]

variables used


Type:   mixed


[ Top ]



Class Methods


method analyze [line 132]

void analyze( )

parse source filling informational arrays



[ Top ]


Documentation generated on Sun, 12 Dec 2004 17:15:31 -0600 by phpDocumentor 1.3.0RC3