Moodle  2.2.1
http://www.collinsharper.com
XdebugTraceReader Class Reference

Public Member Functions

 __construct ($traceFilePath)
 parseTraceFile ()
 getCoverageData ()

Protected Member Functions

 openTraceFile ()
 processTraceLine ($line)

Protected Attributes

 $traceFilePath
 $handle
 $coverage = array()

Detailed Description

Definition at line 19 of file XdebugTraceReader.php.


Constructor & Destructor Documentation

__construct ( traceFilePath)

Constructor

Parameters:
$traceFilePathPath of the Xdebug trace file public

Definition at line 35 of file XdebugTraceReader.php.


Member Function Documentation

Returns the coverage array

Returns:
Array Array of coverage data from parsing. public

Definition at line 119 of file XdebugTraceReader.php.

openTraceFile ( ) [protected]

Opens the trace file

Returns:
Boolean True on success, false on failure. protected

Definition at line 48 of file XdebugTraceReader.php.

Here is the caller graph for this function:

Parses the trace file

Returns:
Boolean True on success, false on failure. public

Definition at line 62 of file XdebugTraceReader.php.

Here is the call graph for this function:

processTraceLine ( line) [protected]

Process a give trace line

Parameters:
$lineLine from a trace file
Returns:
Boolean True on success, false on failure protected

Definition at line 86 of file XdebugTraceReader.php.

Here is the caller graph for this function:


Field Documentation

$coverage = array() [protected]

Definition at line 24 of file XdebugTraceReader.php.

$handle [protected]

Definition at line 23 of file XdebugTraceReader.php.

$traceFilePath [protected]

Definition at line 22 of file XdebugTraceReader.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations