file-fetcher
Public Member Functions | Protected Member Functions | List of all members
SebastianBergmann\CodeCoverage\Report\Html\Dashboard Class Reference
Inheritance diagram for SebastianBergmann\CodeCoverage\Report\Html\Dashboard:
SebastianBergmann\CodeCoverage\Report\Html\Renderer

Detailed Description

Renders the dashboard for a directory node.

Public Member Functions

 render (DirectoryNode $node, string $file)
 
- Public Member Functions inherited from SebastianBergmann\CodeCoverage\Report\Html\Renderer
 __construct (string $templatePath, string $generator, string $date, int $lowUpperBound, int $highLowerBound)
 

Protected Member Functions

 complexity (array $classes, string $baseLink)
 
 coverageDistribution (array $classes)
 
 insufficientCoverage (array $classes, string $baseLink)
 
 projectRisks (array $classes, string $baseLink)
 
 getActiveBreadcrumb (AbstractNode $node)
 
- Protected Member Functions inherited from SebastianBergmann\CodeCoverage\Report\Html\Renderer
 renderItemTemplate (\Text_Template $template, array $data)
 
 setCommonTemplateVariables (\Text_Template $template, AbstractNode $node)
 
 getBreadcrumbs (AbstractNode $node)
 
 getInactiveBreadcrumb (AbstractNode $node, string $pathToRoot)
 
 getPathToRoot (AbstractNode $node)
 
 getCoverageBar (float $percent)
 
 getColorLevel (float $percent)
 

Additional Inherited Members

- Protected Attributes inherited from SebastianBergmann\CodeCoverage\Report\Html\Renderer
 $templatePath
 
 $generator
 
 $date
 
 $lowUpperBound
 
 $highLowerBound
 
 $version
 

Member Function Documentation

◆ complexity()

SebastianBergmann\CodeCoverage\Report\Html\Dashboard::complexity ( array  $classes,
string  $baseLink 
)
protected

Returns the data for the Class/Method Complexity charts.

◆ coverageDistribution()

SebastianBergmann\CodeCoverage\Report\Html\Dashboard::coverageDistribution ( array  $classes)
protected

Returns the data for the Class / Method Coverage Distribution chart.

◆ getActiveBreadcrumb()

SebastianBergmann\CodeCoverage\Report\Html\Dashboard::getActiveBreadcrumb ( AbstractNode  $node)
protected

◆ insufficientCoverage()

SebastianBergmann\CodeCoverage\Report\Html\Dashboard::insufficientCoverage ( array  $classes,
string  $baseLink 
)
protected

Returns the classes / methods with insufficient coverage.

◆ projectRisks()

SebastianBergmann\CodeCoverage\Report\Html\Dashboard::projectRisks ( array  $classes,
string  $baseLink 
)
protected

Returns the project risks according to the CRAP index.

◆ render()

SebastianBergmann\CodeCoverage\Report\Html\Dashboard::render ( DirectoryNode  $node,
string  $file 
)
Exceptions

The documentation for this class was generated from the following file: