Condition Coverage

blib/lib/Bio/Phylo/Forest/NodeRole.pm
Criterion Covered Total %
condition 73 109 66.9


and 3 conditions

line !l l&&!r l&&r condition
136 0 0 0 defined $bs and &looks_like_number($bs)
187 0 0 0 defined $bootstrap and &looks_like_number($bootstrap)
333 230 1 6 $ps and &looks_like_object($ps, $TYPE_CONSTANT)
369 230 1 6 $ns and &looks_like_object($ns, $TYPE_CONSTANT)
450 0 7 1 $node->get_parent and $node->get_parent->get_id == $root->get_id
7 0 1 $node->get_parent and $node->get_parent->get_id == $root->get_id and not $force
1043 798 82 16 $found_ul and $found_vl
1048 796 60 24 $found_ur and $found_vr
1062 602 112 142 $found_u and not $found_v
460 112 142 $found_v and not $found_u
1285 1 1 2 $self_parent and $sister_parent
2 1 1 $self_parent and $sister_parent and $self_parent->get_id == $sister_parent->get_id
1474 0 8 35 $child and $child->get_id != $self_id
1506 0 34 166 $child and $child->get_id != $self_id
1538 0 16 68 $child and $child->get_id != $id
1573 0 16 68 $child and $child->get_id != $id
1617 0 19 48 $other_node and $other_node->get_id != $mrca_id
1647 0 9 18 $self and $self->get_id != $mrca_id
1651 0 9 21 $other_node and $other_node->get_id != $mrca_id
1849 0 0 56 $found_u and $found_v
1971 145 0 0 $args{'-order'} and $args{'-order'} =~ /^rtl$/i
2061 0 0 0 $args{'-order'} and $args{'-order'} =~ /rtl/i
2222 2720 0 35 ref $args{'-nodelabels'} and ref $args{'-nodelabels'} eq 'CODE'
0 0 0 $args{'-tipnames'} =~ /^taxon/i and $node->get_taxon
2249 2720 35 0 $args{'-translate'} and exists $args{'-translate'}{$name}

or 2 conditions

line l !l condition
247 228 0 $child->get_branch_length || 0
442 1 8 shift() || 0
443 0 9 shift() || 0
462 2 5 $node->get_branch_length || 0
500 2 5 $r->get_branch_length || 0
2 5 $p->get_branch_length || 0
890 33 0 $self->get_ancestors || [$self]
891 32 1 $other_node->get_ancestors || [$other_node]

or 3 conditions

line l !l&&r !l&&!r condition
465 0 0 7 $dist < 0 or $dist > $tmp
1053 142 112 602 $found_ul || $found_ur || $node->is_equal($u)
1054 142 112 602 $found_vl || $found_vr || $node->is_equal($v)
1510 2 0 32 not $minnodes or $nodes < $minnodes
2221 1513 1242 211 $node->is_terminal or $args{'-nodelabels'}
2337 0 0 0 $dom ||= $Bio::Phylo::NeXML::DOM::DOM