mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
35 lines
539 B
PHP
35 lines
539 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Generates an HTML coverage report from data provided by PHPUnit.
|
||
|
*
|
||
|
* @package default
|
||
|
* @author Mark Story
|
||
|
*/
|
||
|
class HtmlCoverageReport {
|
||
|
/**
|
||
|
* coverage data
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $_coverage;
|
||
|
|
||
|
/**
|
||
|
* Constructor
|
||
|
*
|
||
|
* @param array $coverage Array of coverage data from PHPUnit_Test_Result
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct($coverage) {
|
||
|
$this->_coverage = $coverage;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Generates report html to display.
|
||
|
*
|
||
|
* @return string compiled html report.
|
||
|
*/
|
||
|
public function report() {
|
||
|
|
||
|
}
|
||
|
}
|