Condition Coverage

Bio/Tree/Node.pm
Criterion Covered Total %
condition 44 79 55.7


and 3 conditions

line !l l&&!r l&&r condition
126 14472 0 0 defined $d and defined $desc
14472 0 0 defined $d and not defined $desc
178 2 0 17 defined $pos and not defined $frac
0 0 2 defined $frac and not defined $pos
182 0 0 2 0 <= $frac and $frac <= 1
186 0 0 17 0 <= $pos and $pos <= $blen
237 8936 0 0 $self->{'_desc'}{$node->internal_id} and not $ignoreoverwrite
408 0 23 320 $old_ancestor and !$new_ancestor || $new_ancestor ne $old_ancestor
411 9029 188 144 $old_ancestor and not $old_ancestor->{'_removing_descendent'}
414 425 6770 2166 $new_ancestor and not $new_ancestor->{'_adding_descendent'}
441 18 6376 0 defined $bl and $bl =~ s/\[(\d+)\]//
591 0 4109 3275 defined $self->{'_desc'} && keys %{$$self{'_desc'};} > 0
614 0 0 0 defined $bl and $bl =~ /^\-?\d+(\.\d+)?$/
654 0 0 111 defined $tag and scalar @values
676 0 0 1039 defined $tag and defined $value

or 2 conditions

line l !l condition
169 17 2 $force ||= 0
170 1 18 $annot ||= {}
263 18871 3763 $sortby ||= 'none'
407 343 9029 $self->{'_ancestor'} || ''
570 61111 0 $self->{'_creation_id'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
178 17 2 0 defined $pos and not defined $frac or defined $frac and not defined $pos
192 2 17 0 $newpos > 0 or $force
193 19 0 0 $newpos < $blen or $force
225 0 0 8936 not ref $node or ref($node) =~ /HASH/
0 0 8936 not ref $node or ref($node) =~ /HASH/ or not $node->isa('Bio::Tree::NodeI')
290 0 0 0 defined $v->id || $v->is_Leaf
408 237 95 11 !$new_ancestor || $new_ancestor ne $old_ancestor
9029 320 23 not $old_ancestor or $old_ancestor and !$new_ancestor || $new_ancestor ne $old_ancestor