Lggr
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:
Inheritance graph
[legend]
Collaboration diagram for SebastianBergmann\CodeCoverage\Report\Html\Dashboard:
Collaboration graph
[legend]

Public Member Functions

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

Protected Member Functions

 complexity (array $classes, $baseLink)
 
 coverageDistribution (array $classes)
 
 insufficientCoverage (array $classes, $baseLink)
 
 projectRisks (array $classes, $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, $pathToRoot)
 
 getPathToRoot (AbstractNode $node)
 
 getCoverageBar ($percent)
 
 getColorLevel ($percent)
 

Additional Inherited Members

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

Detailed Description

Renders the dashboard for a directory node.

Member Function Documentation

◆ complexity()

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

Returns the data for the Class/Method Complexity charts.

Parameters
array$classes
string$baseLink
Returns
array

◆ coverageDistribution()

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

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

Parameters
array$classes
Returns
array

◆ insufficientCoverage()

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

Returns the classes / methods with insufficient coverage.

Parameters
array$classes
string$baseLink
Returns
array

◆ projectRisks()

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

Returns the project risks according to the CRAP index.

Parameters
array$classes
string$baseLink
Returns
array

◆ render()

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

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