PHP_CodeCoverage_Report_HTML_Renderer
in package
Base class for PHP_CodeCoverage_Report_Node renderers.
Tags
Table of Contents
- $date : string
- $generator : string
- $highLowerBound : int
- $lowUpperBound : int
- $templatePath : string
- $version : string
- __construct() : mixed
- Constructor.
- getActiveBreadcrumb() : mixed
- getBreadcrumbs() : mixed
- getColorLevel() : string
- getCoverageBar() : mixed
- getInactiveBreadcrumb() : mixed
- getPathToRoot() : mixed
- renderItemTemplate() : string
- setCommonTemplateVariables() : mixed
Properties
$date
protected
string
$date
$generator
protected
string
$generator
$highLowerBound
protected
int
$highLowerBound
$lowUpperBound
protected
int
$lowUpperBound
$templatePath
protected
string
$templatePath
$version
protected
string
$version
Methods
__construct()
Constructor.
public
__construct(string $templatePath, string $generator, string $date, int $lowUpperBound, int $highLowerBound) : mixed
Parameters
- $templatePath : string
- $generator : string
- $date : string
- $lowUpperBound : int
- $highLowerBound : int
Return values
mixed —getActiveBreadcrumb()
protected
getActiveBreadcrumb(PHP_CodeCoverage_Report_Node $node) : mixed
Parameters
- $node : PHP_CodeCoverage_Report_Node
Return values
mixed —getBreadcrumbs()
protected
getBreadcrumbs(PHP_CodeCoverage_Report_Node $node) : mixed
Parameters
- $node : PHP_CodeCoverage_Report_Node
Return values
mixed —getColorLevel()
protected
getColorLevel(int $percent) : string
Parameters
- $percent : int
Return values
string —getCoverageBar()
protected
getCoverageBar(mixed $percent) : mixed
Parameters
- $percent : mixed
Return values
mixed —getInactiveBreadcrumb()
protected
getInactiveBreadcrumb(PHP_CodeCoverage_Report_Node $node, mixed $pathToRoot) : mixed
Parameters
- $node : PHP_CodeCoverage_Report_Node
- $pathToRoot : mixed
Return values
mixed —getPathToRoot()
protected
getPathToRoot(PHP_CodeCoverage_Report_Node $node) : mixed
Parameters
- $node : PHP_CodeCoverage_Report_Node
Return values
mixed —renderItemTemplate()
protected
renderItemTemplate(Text_Template $template, array<string|int, mixed> $data) : string
Parameters
- $template : Text_Template
- $data : array<string|int, mixed>
Return values
string —setCommonTemplateVariables()
protected
setCommonTemplateVariables(Text_Template $template, PHP_CodeCoverage_Report_Node $node) : mixed
Parameters
- $template : Text_Template
- $node : PHP_CodeCoverage_Report_Node