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

Class: PHPUnit2_Util_Report_Coverage_Node_Directory

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

Class Overview

PHPUnit2_Util_Report_Coverage_Node
   |
   --PHPUnit2_Util_Report_Coverage_Node_Directory

Represents a directory in the code coverage information tree.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 69]
Represents a directory in the code coverage information tree.


[ Top ]


Class Variables

$children = array()

[line 75]

  • Access: protected

Type:   PHPUnit2_Util_Report_Coverage_Node[]


[ Top ]

$directories = array()

[line 81]

  • Access: protected

Type:   PHPUnit2_Util_Report_Coverage_Node_Directory[]


[ Top ]

$files = array()

[line 87]

  • Access: protected

Type:   PHPUnit2_Util_Report_Coverage_Node_File[]


[ Top ]

$numExecutableLines =  -1

[line 93]

  • Access: protected

Type:   integer


[ Top ]

$numExecutedLines =  -1

[line 99]

  • Access: protected

Type:   integer


[ Top ]



Method Detail

addDirectory   [line 107]

PHPUnit2_Util_Report_Coverage_Node_Directory addDirectory( $name)

Adds a new directory.
  • Access: public

Parameters:

   $name   — 

[ Top ]

addFile   [line 129]

PHPUnit2_Util_Report_Coverage_Node_File addFile( string $name, Array $lines)

Adds a new file.
  • Throws: RuntimeException
  • Access: public

Parameters:

string   $name   — 
array   $lines   — 

[ Top ]

doRender   [line 245]

void doRender( string $target, $title, boolean $includeDetails)

  • Access: protected

Parameters:

string   $target   — 
boolean   $includeDetails   — 
   $title   — 

[ Top ]

doRenderItems   [line 306]

string doRenderItems( Array $items, boolean $includeDetails)

  • Access: protected

Parameters:

array   $items   — 
boolean   $includeDetails   — 

[ Top ]

getCoveringTests   [line 174]

array getCoveringTests( )

Returns the tests covering this directory.
  • Access: public

Overrides PHPUnit2_Util_Report_Coverage_Node::getCoveringTests() (Returns the covering tests.)
[ Top ]

getDirectories   [line 152]

void getDirectories( )

Returns the directories in this directory.
  • Access: public

[ Top ]

getFiles   [line 163]

void getFiles( )

Returns the files in this directory.
  • Access: public

[ Top ]

getNumExecutableLines   [line 191]

integer getNumExecutableLines( )

Returns the number of executable lines.
  • Access: public

Overrides PHPUnit2_Util_Report_Coverage_Node::getNumExecutableLines() (Returns the number of executable lines.)
[ Top ]

getNumExecutedLines   [line 210]

integer getNumExecutedLines( )

Returns the number of executed lines.
  • Access: public

Overrides PHPUnit2_Util_Report_Coverage_Node::getNumExecutedLines() (Returns the number of executed lines.)
[ Top ]

render   [line 230]

void render( string $target, string $title)

Renders this node.
  • Access: public

Overrides PHPUnit2_Util_Report_Coverage_Node::render() (Renders this node.)

Parameters:

string   $target   — 
string   $title   — 

[ Top ]

renderItems   [line 292]

string renderItems( boolean $includeDetails)

  • Access: protected

Parameters:

boolean   $includeDetails   — 

[ Top ]


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