Subroutine Coverage

blib/lib/Tree/Simple.pm
Criterion Covered Total %
subroutine 50 50 100.0
pod 34 36 94.4


line count pod subroutine
3 11 n/a BEGIN
4 11 n/a BEGIN
8 11 n/a BEGIN
17 11 n/a import
26 11 n/a BEGIN
31 136 Yes new
46 136 n/a _init
74 263 n/a _setParent
89 18 n/a _detachParent
95 142 n/a _setHeight
105 107 n/a _setWidth
115 23 Yes setNodeValue
121 2 Yes setUID
130 36 Yes addChild
135 21 Yes addChildren
141 3 Yes generateChild
145 81 n/a _insertChildAt
199 16 No removeChildAt
243 13 Yes removeChild
263 14 Yes getIndex
282 2 Yes addSibling
289 2 Yes addSiblings
296 4 Yes insertSiblings
313 5 Yes getUID
314 216 Yes getParent
315 217 Yes getDepth
316 282 Yes getNodeValue
317 280 Yes getWidth
318 259 Yes getHeight
323 480 Yes getChildCount
326 108 Yes getChild
333 372 Yes getAllChildren
341 11 Yes getSibling
348 33 Yes getAllSiblings
356 5 Yes getSiblingCount
365 288 Yes isLeaf
368 374 Yes isRoot
373 21 Yes size
383 4 No isFirstChild
391 4 Yes isLastChild
420 19 Yes fixDepth
424 41 n/a __ANON__
436 21 Yes fixHeight
458 29 Yes fixWidth
466 216 Yes traverse
482 11 Yes accept
497 33 Yes clone
525 2 Yes cloneShallow
536 44 n/a _cloneNode
599 25 n/a DESTROY