Lggr
Public Member Functions | List of all members
SebastianBergmann\CodeCoverage\Node\Directory Class Reference
Inheritance diagram for SebastianBergmann\CodeCoverage\Node\Directory:
Inheritance graph
[legend]
Collaboration diagram for SebastianBergmann\CodeCoverage\Node\Directory:
Collaboration graph
[legend]

Public Member Functions

 count ()
 
 getIterator ()
 
 addDirectory ($name)
 
 addFile ($name, array $coverageData, array $testData, $cacheTokens)
 
 getDirectories ()
 
 getFiles ()
 
 getChildNodes ()
 
 getClasses ()
 
 getTraits ()
 
 getFunctions ()
 
 getLinesOfCode ()
 
 getNumExecutableLines ()
 
 getNumExecutedLines ()
 
 getNumClasses ()
 
 getNumTestedClasses ()
 
 getNumTraits ()
 
 getNumTestedTraits ()
 
 getNumMethods ()
 
 getNumTestedMethods ()
 
 getNumFunctions ()
 
 getNumTestedFunctions ()
 
- Public Member Functions inherited from SebastianBergmann\CodeCoverage\Node\AbstractNode
 __construct ($name, self $parent=null)
 
 getName ()
 
 getId ()
 
 getPath ()
 
 getPathAsArray ()
 
 getParent ()
 
 getTestedClassesPercent ($asString=true)
 
 getTestedTraitsPercent ($asString=true)
 
 getTestedClassesAndTraitsPercent ($asString=true)
 
 getTestedFunctionsPercent ($asString=true)
 
 getTestedMethodsPercent ($asString=true)
 
 getTestedFunctionsAndMethodsPercent ($asString=true)
 
 getLineExecutedPercent ($asString=true)
 
 getNumClassesAndTraits ()
 
 getNumTestedClassesAndTraits ()
 
 getClassesAndTraits ()
 
 getNumFunctionsAndMethods ()
 
 getNumTestedFunctionsAndMethods ()
 
 getFunctionsAndMethods ()
 

Detailed Description

Represents a directory in the code coverage information tree.

Member Function Documentation

◆ addDirectory()

SebastianBergmann\CodeCoverage\Node\Directory::addDirectory (   $name)

Adds a new directory.

Parameters
string$name
Returns
Directory

◆ addFile()

SebastianBergmann\CodeCoverage\Node\Directory::addFile (   $name,
array  $coverageData,
array  $testData,
  $cacheTokens 
)

Adds a new file.

Parameters
string$name
array$coverageData
array$testData
bool$cacheTokens
Returns
File
Exceptions
InvalidArgumentException

◆ count()

SebastianBergmann\CodeCoverage\Node\Directory::count ( )

Returns the number of files in/under this node.

Returns
int

◆ getChildNodes()

SebastianBergmann\CodeCoverage\Node\Directory::getChildNodes ( )

Returns the child nodes of this node.

Returns
array

◆ getClasses()

SebastianBergmann\CodeCoverage\Node\Directory::getClasses ( )

Returns the classes of this node.

Returns
array

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getDirectories()

SebastianBergmann\CodeCoverage\Node\Directory::getDirectories ( )

Returns the directories in this directory.

Returns
array

◆ getFiles()

SebastianBergmann\CodeCoverage\Node\Directory::getFiles ( )

Returns the files in this directory.

Returns
array

◆ getFunctions()

SebastianBergmann\CodeCoverage\Node\Directory::getFunctions ( )

Returns the functions of this node.

Returns
array

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getIterator()

SebastianBergmann\CodeCoverage\Node\Directory::getIterator ( )

Returns an iterator for this node.

Returns
\RecursiveIteratorIterator

◆ getLinesOfCode()

SebastianBergmann\CodeCoverage\Node\Directory::getLinesOfCode ( )

Returns the LOC/CLOC/NCLOC of this node.

Returns
array

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumClasses()

SebastianBergmann\CodeCoverage\Node\Directory::getNumClasses ( )

Returns the number of classes.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumExecutableLines()

SebastianBergmann\CodeCoverage\Node\Directory::getNumExecutableLines ( )

Returns the number of executable lines.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumExecutedLines()

SebastianBergmann\CodeCoverage\Node\Directory::getNumExecutedLines ( )

Returns the number of executed lines.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumFunctions()

SebastianBergmann\CodeCoverage\Node\Directory::getNumFunctions ( )

Returns the number of functions.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumMethods()

SebastianBergmann\CodeCoverage\Node\Directory::getNumMethods ( )

Returns the number of methods.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumTestedClasses()

SebastianBergmann\CodeCoverage\Node\Directory::getNumTestedClasses ( )

Returns the number of tested classes.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumTestedFunctions()

SebastianBergmann\CodeCoverage\Node\Directory::getNumTestedFunctions ( )

Returns the number of tested functions.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumTestedMethods()

SebastianBergmann\CodeCoverage\Node\Directory::getNumTestedMethods ( )

Returns the number of tested methods.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumTestedTraits()

SebastianBergmann\CodeCoverage\Node\Directory::getNumTestedTraits ( )

Returns the number of tested traits.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getNumTraits()

SebastianBergmann\CodeCoverage\Node\Directory::getNumTraits ( )

Returns the number of traits.

Returns
int

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.

◆ getTraits()

SebastianBergmann\CodeCoverage\Node\Directory::getTraits ( )

Returns the traits of this node.

Returns
array

Reimplemented from SebastianBergmann\CodeCoverage\Node\AbstractNode.


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