Branch Coverage

blib/lib/Bio/Phylo/Forest/Node.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
107 681 129 if ($parent and &looks_like_object($parent, $TYPE_CONSTANT)) { }
129 0 elsif (not $parent) { }
155 460 11109 unless ($child and &looks_like_object($child, $TYPE_CONSTANT))
160 312 10797 if (not $child or $child->get_id == $self->get_id or $child->is_child_of($self))
181 1 10796 if ($child->is_ancestor_of($self))
189 0 1 if ($child_parent)
195 245 10552 if ($child_parent)
202 0 10797 if (defined $i) { }
257 80668 11 if (defined $bl and &looks_like_number($bl) and not ref $bl) { }
1 10 elsif (defined $bl and !&looks_like_number($bl) || ref $bl) { }
10 0 elsif (not defined $bl) { }
259 0 80668 if ($bl < 0)
291 10821 272 if ($tree) { }
292 10821 0 if (&looks_like_object($tree, $CONTAINER_CONSTANT)) { }
429 0 0 if defined $self->get_branch_length
430 0 0 if $self->get_rank