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
137 0 0 0 defined $bs and &looks_like_number($bs)
188 0 0 0 defined $bootstrap and &looks_like_number($bootstrap)
334 230 1 6 $ps and &looks_like_object($ps, $TYPE_CONSTANT)
370 230 1 6 $ns and &looks_like_object($ns, $TYPE_CONSTANT)
451 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
1044 798 82 16 $found_ul and $found_vl
1049 796 60 24 $found_ur and $found_vr
1063 602 112 142 $found_u and not $found_v
460 112 142 $found_v and not $found_u
1286 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
1475 0 8 35 $child and $child->get_id != $self_id
1507 0 34 166 $child and $child->get_id != $self_id
1539 0 16 68 $child and $child->get_id != $id
1574 0 16 68 $child and $child->get_id != $id
1618 0 19 48 $other_node and $other_node->get_id != $mrca_id
1648 0 9 18 $self and $self->get_id != $mrca_id
1652 0 9 21 $other_node and $other_node->get_id != $mrca_id
1850 0 0 56 $found_u and $found_v
1972 141 0 0 $args{'-order'} and $args{'-order'} =~ /^rtl$/i
2062 0 0 0 $args{'-order'} and $args{'-order'} =~ /rtl/i
2223 3118 0 35 ref $args{'-nodelabels'} and ref $args{'-nodelabels'} eq 'CODE'
0 0 0 $args{'-tipnames'} =~ /^taxon/i and $node->get_taxon
2250 3118 35 0 $args{'-translate'} and exists $args{'-translate'}{$name}

or 2 conditions

line l !l condition
248 220 0 $child->get_branch_length || 0
443 1 8 shift() || 0
444 0 9 shift() || 0
463 2 5 $node->get_branch_length || 0
501 2 5 $r->get_branch_length || 0
2 5 $p->get_branch_length || 0
891 33 0 $self->get_ancestors || [$self]
892 32 1 $other_node->get_ancestors || [$other_node]

or 3 conditions

line l !l&&r !l&&!r condition
466 0 0 7 $dist < 0 or $dist > $tmp
1054 142 112 602 $found_ul || $found_ur || $node->is_equal($u)
1055 142 112 602 $found_vl || $found_vr || $node->is_equal($v)
1511 2 0 32 not $minnodes or $nodes < $minnodes
2222 1712 1441 211 $node->is_terminal or $args{'-nodelabels'}
2338 0 0 0 $dom ||= $Bio::Phylo::NeXML::DOM::DOM