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>

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

addDirectory   [line 107]

PHPUnit2_Util_Report_Coverage_Node_Directory addDirectory( mixed $name)

Adds a new directory.
  • Access: public

[ Top ]

addFile   [line 129]

PHPUnit2_Util_Report_Coverage_Node_File addFile( string $name, [mixed {$file = array $lines)newPHPUnit2_Util_Report_Coverage_Node_File($name], mixed $this, array $lines, mixed $this->children)

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

Parameters:

string   $name     
array   $lines     

[ Top ]

doRender   [line 245]

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

  • Access: protected

Parameters:

string   $target     
boolean   $includeDetails     

[ Top ]

doRenderItems   [line 306]

string doRenderItems( [mixed {$result = array $items, $includeDetails)'';foreach($itemsas$item], 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

[ Top ]

getNumExecutedLines   [line 210]

integer getNumExecutedLines( )

Returns the number of executed lines.
  • Access: public

[ Top ]

render   [line 230]

void render( string $target, string $title)

Renders this node.
  • Access: public

Parameters:

string   $target     
string   $title     

[ Top ]

renderItems   [line 292]

string renderItems( boolean $includeDetails)

  • Access: protected

Parameters:

boolean   $includeDetails     

[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:36:52 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.