Condition Coverage

Bio/Tree/Tree.pm
Criterion Covered Total %
condition 20 39 51.2


and 3 conditions

line !l l&&!r l&&r condition
142 857 0 254 $node and not $root
143 0 0 254 ref $node and $node->isa('Bio::Tree::NodeI')
261 0 890 0 defined $value and not $value->isa('Bio::Tree::NodeI')
422 0 0 1 defined $tag and scalar @values
444 0 0 2 defined $tag and defined $value

or 2 conditions

line l !l condition
161 2 1109 $nodel || 0
203 917 320 $order ||= 'depth'
204 934 303 $sortby ||= 'none'
302 526 8 $_->branch_length || 0
385 42 0 shift() || 'tabtree'
386 5 37 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
145 254 0 0 shift @lineage || $node
298 1 14 0 shift() || $tree->get_root_node
556 0 0 0 $parent ||= $self->get_root_node
557 0 0 0 $parent_clone ||= $self->_clone_node($parent)