Class TreemapNode

Description

Creates a treemap graph, representing each node in a test visualization.

Located in /extensions/treemap_reporter/treemap_recorder.php (line 166)


	
			
Variable Summary
 mixed $_name
 mixed $_parent
 mixed $_size
 mixed $_status
Method Summary
 TreemapNode TreemapNode ( $name,  $description, [ $status = true])
 void compareChildren ( $a,  $b)
 void fail ()
 void getChildren ()
 string getDescription ()
 string getName ()
 void getSize ()
 string getStatus ()
 void getTotalSize ()
 void isFailed ()
 void isLeaf ()
 void putChild ( $node)
Variables
mixed $_description (line 168)
mixed $_name (line 167)
mixed $_parent (line 170)
mixed $_size (line 171)
mixed $_status (line 169)
Methods
Constructor TreemapNode (line 173)
TreemapNode TreemapNode ( $name,  $description, [ $status = true])
  • $name
  • $description
  • $status
compareChildren (line 212)

Comparator method to rank child nodes by total weight.

void compareChildren ( $a,  $b)
  • $a
  • $b
fail (line 249)

Fail this node.

void fail ()
getChildren (line 204)

Return list of child nodes from direct edges.

void getChildren ()
getDescription (line 190)
  • return: description of this node
string getDescription ()
getName (line 183)
  • return: label of this node
string getName ()
getSize (line 224)

Gets the number of immediate child edges from this node.

void getSize ()
getStatus (line 197)
  • return: status class string
string getStatus ()
getTotalSize (line 232)

depth first search to get the total number of nodes that are descendants of this node.

void getTotalSize ()
isFailed (line 254)

Is this node failed?

void isFailed ()
isLeaf (line 264)

Is this node a leaf node?

void isLeaf ()
putChild (line 259)

Add an edge to a child node

void putChild ( $node)
  • $node

Documentation generated on Sun, 31 Oct 2010 16:32:49 -0500 by phpDocumentor 1.4.3