Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing references to non phpunit code coverage parsing.
Adding stub of new code coverage report generator. Updating related files.
- Loading branch information
Showing
5 changed files
with
53 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?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() { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters