Moodle  2.2.1
http://www.collinsharper.com
moodle_coverage_recorder Class Reference
Inheritance diagram for moodle_coverage_recorder:
Collaboration diagram for moodle_coverage_recorder:

Public Member Functions

 __construct ($reporter='new moodle_coverage_reporter()')
 stop_instrumentation ()
 start_instrumentation ()
 generate_report ()

Static Public Member Functions

static can_run_codecoverage ()

Static Protected Member Functions

static merge_coverage_data ($cov1, $cov2)
static merge_lines_coverage_data ($lines1, $lines2)

Detailed Description

Definition at line 181 of file simpletestcoveragelib.php.


Constructor & Destructor Documentation

__construct ( reporter = 'new moodle_coverage_reporter()')

Definition at line 183 of file simpletestcoveragelib.php.


Member Function Documentation

static can_run_codecoverage ( ) [static]

Determines if the server is able to run code coverage analysis

Returns:
bool

Definition at line 223 of file simpletestcoveragelib.php.

Here is the caller graph for this function:

Generate the code coverage report

Simple lowercase wrap over Spike function

Definition at line 214 of file simpletestcoveragelib.php.

Here is the call graph for this function:

static merge_coverage_data ( cov1,
cov2 
) [static, protected]

Merge two collections of complete code coverage data

Definition at line 234 of file simpletestcoveragelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static merge_lines_coverage_data ( lines1,
lines2 
) [static, protected]

Merge two collections of lines of code coverage data belonging to the same file

Merge algorithm obtained from Phing: http://phing.info

Definition at line 269 of file simpletestcoveragelib.php.

Here is the caller graph for this function:

Start gathering coverage data

Simple lowercase wrap over Spike function

Definition at line 207 of file simpletestcoveragelib.php.

Here is the call graph for this function:

Stop gathering coverage data, saving it for later reporting

Definition at line 190 of file simpletestcoveragelib.php.

Here is the call graph for this function:


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