Condition Coverage

blib/lib/Bio/Phylo/Forest/TreeRole.pm
Criterion Covered Total %
condition 46 110 41.8


and 3 conditions

line !l l&&!r l&&r condition
89 0 0 0 $node->$field and $node->$field eq $value
0 0 0 $args{'-order'} and $args{'-order'} =~ /^b/
118 0 0 0 &blessed($bptree) and $bptree->isa('Bio::Tree::TreeI')
202 220 0 1863 $firstp and $nextp
220 1748 115 $firstp and $nextp and $firstp == $nextp
556 4 0 1 $is_taxa and not $@
590 0 0 0 $nodes && @{$nodes;}
642 18 14 1 $count != 0 and $count != 2
802 3 0 0 $is_taxa and not $@
808 0 0 3 $is_node_array and not $@
976 360 46 265 @children and $node->get_parent
2046 0 0 0 $previous and $index->is_terminal
2559 0 0 0 &looks_like_class('Statistics::R') and &looks_like_class('Bio::Phylo::Generator')
2931 223 2 10 scalar @children == 1 and $seen{$nid} > 0
2935 4 2 4 defined $cbl and defined $bl
2964 3 14 0 $bl and $bl < 0
3215 461 25 0 $node->is_root and 1 == @children
3483 0 0 0 defined $length and not $length =~ /^[+-]?\d+$/
3539 0 0 0 defined $length and not $length =~ /^[+-]?\d+$/

or 2 conditions

line l !l condition
677 44 2 shift() || 0
684 782 50 $node->get_branch_length || 0
688 5 41 $node->get_branch_length || 0
919 5 0 $tuple->[0] || 0
5 0 $tuple->[1] || 0
991 225 40 $node->get_branch_length || 0
1023 112 16 $lengths_other{$split} || 0
1059 570 58 (shift())->get_branch_length || 0
1846 0 0 $terminal->get_branch_length || 0
1899 0 0 $terminal->get_branch_length || 0
1900 0 0 $terminal->get_children || []
1901 0 0 @$children || 1
2038 0 0 $previous ||= ''
2049 0 0 $index->get_parent || ''
2051 0 0 $index->get_children || []
2359 20 24 $node->get_generic('age') || 0
2396 0 0 $times[-1] || 0
2581 0 0 $args{'-trees'} || 1
2741 0 0 $args{'-delim'} || ' '

or 3 conditions

line l !l&&r !l&&!r condition
377 1 0 2 @{$children[0]->get_children;} or @{$children[1]->get_children;}
1628 23 42 60 not $seen_tip or $node->is_internal
2623 0 0 0 $node->get_name || 'Genus' . ++$counter
2651 0 0 0 $genera{$genus}{'name'} || "Genus$genus"
3532 0 0 0 $dom ||= $Bio::Phylo::NeXML::DOM::DOM