cakephp2-php8/cake/tests/lib/coverage/html_coverage_report.php

35 lines
539 B
PHP
Raw Normal View History

<?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() {
}
}