PHP_CodeCoverage_Report_HTML
in package
Generates an HTML report from an PHP_CodeCoverage object.
Tags
Table of Contents
- $generator : string
- $highLowerBound : int
- $lowUpperBound : int
- $templatePath : string
- __construct() : mixed
- Constructor.
- process() : mixed
- copyFiles() : mixed
- getDirectory() : string
Properties
$generator
private
string
$generator
$highLowerBound
private
int
$highLowerBound
$lowUpperBound
private
int
$lowUpperBound
$templatePath
private
string
$templatePath
Methods
__construct()
Constructor.
public
__construct([int $lowUpperBound = 50 ][, int $highLowerBound = 90 ][, string $generator = '' ]) : mixed
Parameters
- $lowUpperBound : int = 50
- $highLowerBound : int = 90
- $generator : string = ''
Return values
mixed —process()
public
process(PHP_CodeCoverage $coverage, string $target) : mixed
Parameters
- $coverage : PHP_CodeCoverage
- $target : string
Return values
mixed —copyFiles()
private
copyFiles(string $target) : mixed
Parameters
- $target : string
Return values
mixed —getDirectory()
private
getDirectory(string $directory) : string
Parameters
- $directory : string