file-fetcher
Public Member Functions | List of all members
SebastianBergmann\CodeCoverage\Node\AbstractNode Class Reference
Inheritance diagram for SebastianBergmann\CodeCoverage\Node\AbstractNode:
SebastianBergmann\CodeCoverage\Node\Directory SebastianBergmann\CodeCoverage\Node\File

Detailed Description

Base class for nodes in the code coverage information tree.

Public Member Functions

 __construct (string $name, self $parent=null)
 
 getName ()
 
 getId ()
 
 getPath ()
 
 getPathAsArray ()
 
 getParent ()
 
 getTestedClassesPercent (bool $asString=true)
 
 getTestedTraitsPercent (bool $asString=true)
 
 getTestedClassesAndTraitsPercent (bool $asString=true)
 
 getTestedFunctionsPercent (bool $asString=true)
 
 getTestedMethodsPercent (bool $asString=true)
 
 getTestedFunctionsAndMethodsPercent (bool $asString=true)
 
 getLineExecutedPercent (bool $asString=true)
 
 getNumClassesAndTraits ()
 
 getNumTestedClassesAndTraits ()
 
 getClassesAndTraits ()
 
 getNumFunctionsAndMethods ()
 
 getNumTestedFunctionsAndMethods ()
 
 getFunctionsAndMethods ()
 
 getClasses ()
 
 getTraits ()
 
 getFunctions ()
 
 getLinesOfCode ()
 
 getNumExecutableLines ()
 
 getNumExecutedLines ()
 
 getNumClasses ()
 
 getNumTestedClasses ()
 
 getNumTraits ()
 
 getNumTestedTraits ()
 
 getNumMethods ()
 
 getNumTestedMethods ()
 
 getNumFunctions ()
 
 getNumTestedFunctions ()
 

Constructor & Destructor Documentation

◆ __construct()

SebastianBergmann\CodeCoverage\Node\AbstractNode::__construct ( string  $name,
self  $parent = null 
)

Member Function Documentation

◆ getClasses()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getClasses ( )
abstract

Returns the classes of this node.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getClassesAndTraits()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getClassesAndTraits ( )

Returns the classes and traits of this node.

◆ getFunctions()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getFunctions ( )
abstract

Returns the functions of this node.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getFunctionsAndMethods()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getFunctionsAndMethods ( )

Returns the functions and methods of this node.

◆ getId()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getId ( )

◆ getLineExecutedPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getLineExecutedPercent ( bool  $asString = true)

Returns the percentage of executed lines.

Returns
int|string

◆ getLinesOfCode()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getLinesOfCode ( )
abstract

Returns the LOC/CLOC/NCLOC of this node.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getName()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getName ( )

◆ getNumClasses()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumClasses ( )
abstract

Returns the number of classes.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumClassesAndTraits()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumClassesAndTraits ( )

Returns the number of classes and traits.

◆ getNumExecutableLines()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumExecutableLines ( )
abstract

Returns the number of executable lines.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumExecutedLines()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumExecutedLines ( )
abstract

Returns the number of executed lines.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumFunctions()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumFunctions ( )
abstract

Returns the number of functions.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumFunctionsAndMethods()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumFunctionsAndMethods ( )

Returns the number of functions and methods.

◆ getNumMethods()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumMethods ( )
abstract

Returns the number of methods.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumTestedClasses()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTestedClasses ( )
abstract

Returns the number of tested classes.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumTestedClassesAndTraits()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTestedClassesAndTraits ( )

Returns the number of tested classes and traits.

◆ getNumTestedFunctions()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTestedFunctions ( )
abstract

Returns the number of tested functions.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumTestedFunctionsAndMethods()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTestedFunctionsAndMethods ( )

Returns the number of tested functions and methods.

◆ getNumTestedMethods()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTestedMethods ( )
abstract

Returns the number of tested methods.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumTestedTraits()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTestedTraits ( )
abstract

Returns the number of tested traits.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.

◆ getNumTraits()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getNumTraits ( )
abstract

◆ getParent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getParent ( )

◆ getPath()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getPath ( )

◆ getPathAsArray()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getPathAsArray ( )

◆ getTestedClassesAndTraitsPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTestedClassesAndTraitsPercent ( bool  $asString = true)

Returns the percentage of classes and traits that has been tested.

Returns
int|string

◆ getTestedClassesPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTestedClassesPercent ( bool  $asString = true)

Returns the percentage of classes that has been tested.

Returns
int|string

◆ getTestedFunctionsAndMethodsPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTestedFunctionsAndMethodsPercent ( bool  $asString = true)

Returns the percentage of functions and methods that has been tested.

Returns
int|string

◆ getTestedFunctionsPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTestedFunctionsPercent ( bool  $asString = true)

Returns the percentage of functions that has been tested.

Returns
int|string

◆ getTestedMethodsPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTestedMethodsPercent ( bool  $asString = true)

Returns the percentage of methods that has been tested.

Returns
int|string

◆ getTestedTraitsPercent()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTestedTraitsPercent ( bool  $asString = true)

Returns the percentage of traits that has been tested.

Returns
int|string

◆ getTraits()

SebastianBergmann\CodeCoverage\Node\AbstractNode::getTraits ( )
abstract

Returns the traits of this node.

Reimplemented in SebastianBergmann\CodeCoverage\Node\Directory, and SebastianBergmann\CodeCoverage\Node\File.


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