PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Util_Report_Coverage_Node

Source Location: /PHPUnit2-3.0.0alpha11/Util/Report/Coverage/Node.php

Class Overview


Base class for nodes in the code coverage information tree.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Variables

Methods


Child classes:

PHPUnit2_Util_Report_Coverage_Node_File
PHPUnit2_Util_Report_Coverage_Node_Directory
Represents a directory in the code coverage information tree.

Inherited Variables

Inherited Methods


Class Details

[line 68]
Base class for nodes in the code coverage information tree.


[ Top ]


Class Variables

$name =

[line 74]

  • Access: protected

Type:   string


[ Top ]

$parent =

[line 80]

  • Access: protected

Type:   PHPUnit2_Util_CodeCoverage_Node


[ Top ]



Method Detail

__construct (Constructor)   [line 89]

PHPUnit2_Util_Report_Coverage_Node __construct( string $name, [PHPUnit2_Util_Report_Coverage_Node $parent = NULL])

Constructor.
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Coverage_Node_File::__construct()
Constructor.

Parameters:

string   $name   — 
PHPUnit2_Util_CodeCoverage_Node   $parent   — 

[ Top ]

getCoveringTests   [line 256]

array getCoveringTests( )

Returns the covering tests.
  • Abstract:
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Coverage_Node_File::getCoveringTests()
Returns the tests covering this file.
PHPUnit2_Util_Report_Coverage_Node_Directory::getCoveringTests()
Returns the tests covering this directory.

[ Top ]

getExecutedPercent   [line 101]

integer getExecutedPercent( )

Returns the percentage of executed lines.
  • Access: public

[ Top ]

getId   [line 123]

string getId( )

Returns this node's ID.
  • Access: public

[ Top ]

getLink   [line 167]

string getLink( boolean $details, boolean $full)

Returns the link to this node.
  • Access: public

Parameters:

boolean   $details   — 
boolean   $full   — 

[ Top ]

getName   [line 144]

string getName( [boolean $includeParent = FALSE], [ $includeCommonPath = FALSE])

Returns this node's name.
  • Access: public

Parameters:

boolean   $includeParent   — 
   $includeCommonPath   — 

[ Top ]

getNumExecutableLines   [line 265]

integer getNumExecutableLines( )

Returns the number of executable lines.
  • Abstract:
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Coverage_Node_File::getNumExecutableLines()
Returns the number of executable lines.
PHPUnit2_Util_Report_Coverage_Node_Directory::getNumExecutableLines()
Returns the number of executable lines.

[ Top ]

getNumExecutedLines   [line 274]

integer getNumExecutedLines( )

Returns the number of executed lines.
  • Abstract:
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Coverage_Node_File::getNumExecutedLines()
Returns the number of executed lines.
PHPUnit2_Util_Report_Coverage_Node_Directory::getNumExecutedLines()
Returns the number of executed lines.

[ Top ]

getPath   [line 206]

string getPath( )

Returns this node's path.
  • Access: public

[ Top ]

render   [line 284]

void render( string $target, string $title)

Renders this node.
  • Abstract:
  • Access: public

Overridden in child classes as:

PHPUnit2_Util_Report_Coverage_Node_File::render()
Renders this node.
PHPUnit2_Util_Report_Coverage_Node_Directory::render()
Renders this node.

Parameters:

string   $target   — 
string   $title   — 

[ Top ]

setTemplateVars   [line 223]

void setTemplateVars( PHPUnit2_Util_Template $template, string $title)

  • Access: protected

Parameters:

PHPUnit2_Util_Template   $template   — 
string   $title   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.