The base class for reporting coverage. This is an abstract as it does not implement the generateReport() function. Every concrete subclass must implement this method to generate a report.
Located in /reporter/CoverageReporter.php (line 34)
| Class | Description |
|---|---|
| HtmlCoverageReporter | Class that implements HTML Coverage Reporter. |
The constructor (PHP5 compatible)
Create the report directory if it does not exists
This function generates report using one of the concrete subclasses.
Return the array containing file coverage information.
The array returned contains following fields * filename: Name of the file * total: Total number of lines in that file * covered: Total number of executed lines in that file * uncovered: Total number of executable lines that were not executed.
Returns Overall Code Coverage percentage
Get the relative path of report directory with respect to the given filepath
Convert the absolute path to PHP file markup to a path relative to the report dir.
Print the coverage summary to filename (if specified) or stderr
Record the file coverage information for a file.
Update the grand totals
Documentation generated on Mon, 16 May 2005 10:01:26 -0700 by phpDocumentor 1.3.0RC3