The Coverage Recorder utility
This is the main class for the CoverageRecorder. User should instantiate this class and set various parameters of it. The startInstrumentation and stopInstrumentation methods will switch code coverage recording on and off respectively.
The code coverage is recorded using XDebug Zend Extension. Therefore, it is required to install that extension on the system where code coverage measurement is going to take place. See www.xdebug.org for more information.
Located in /CoverageRecorder.php (line 35)
| Class | Description |
|---|---|
| RemoteCoverageRecorder | A Coverage recorder extension for remote Coverage measurement. |
What extensions are treated as php files.
Constructor (PHP5 only)
Add all source files to the list of files that need to be parsed.
Exclude the directory containing the coverage measurement code.
Generate the code coverage report
Returns the errors array containing all error encountered so far.
Get the list of files that match the extensions in $this->phpExtensions
Writes all error messages to error log
Processes and validates the source directories
Remove the directories that do not exist from the input array
Starts the code coverage recording
Stops code coverage recording
Removes the unwanted coverage data from the recordings
Convert filepaths in coverage data to forward slash separated paths.
Documentation generated on Mon, 16 May 2005 10:01:26 -0700 by phpDocumentor 1.3.0RC3