blib/lib/Tree/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 28 | 67.8 |
line | true | false | branch |
---|---|---|---|
41 | 0 | 10 | if $$self{'parent'} |
68 | 0 | 8 | if $$child{'parent'} |
100 | 17 | 16 | $$self{'children'} ? : |
114 | 0 | 4 | unless 1 == @_ |
117 | 1 | 3 | unless $children[$i] |
132 | 9 | 7 | exists $$self{'parent'} ? : |
171 | 0 | 3 | if $self->is_root |
174 | 3 | 4 | if $s == $self |
191 | 0 | 2 | if $self->is_root |
194 | 2 | 3 | if $s == $self |
211 | 0 | 1 | unless my(@younger) = $self->younger_siblings |
226 | 0 | 1 | unless my(@older) = $self->older_siblings |
262 | 0 | 14 | if $$knob{'pruned'} |
266 | 0 | 10 | if $$knob{'stopped'} |