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
90 0 0 0 $node->$field and $node->$field eq $value
0 0 0 $args{'-order'} and $args{'-order'} =~ /^b/
119 0 0 0 &blessed($bptree) and $bptree->isa('Bio::Tree::TreeI')
203 220 0 1864 $firstp and $nextp
220 1749 115 $firstp and $nextp and $firstp == $nextp
557 4 0 1 $is_taxa and not $@
591 0 0 0 $nodes && @{$nodes;}
643 18 14 1 $count != 0 and $count != 2
803 3 0 0 $is_taxa and not $@
809 0 0 3 $is_node_array and not $@
977 360 46 265 @children and $node->get_parent
2047 0 0 0 $previous and $index->is_terminal
2560 0 0 0 &looks_like_class('Statistics::R') and &looks_like_class('Bio::Phylo::Generator')
2932 223 2 12 scalar @children == 1 and $seen{$nid} > 0
2936 4 2 6 defined $cbl and defined $bl
2965 3 14 0 $bl and $bl < 0
3216 532 26 0 $node->is_root and 1 == @children
3484 0 0 0 defined $length and not $length =~ /^[+-]?\d+$/
3540 0 0 0 defined $length and not $length =~ /^[+-]?\d+$/

or 2 conditions

line l !l condition
678 42 2 shift() || 0
685 750 46 $node->get_branch_length || 0
689 5 39 $node->get_branch_length || 0
920 5 0 $tuple->[0] || 0
5 0 $tuple->[1] || 0
992 225 40 $node->get_branch_length || 0
1024 112 16 $lengths_other{$split} || 0
1060 570 58 (shift())->get_branch_length || 0
1847 0 0 $terminal->get_branch_length || 0
1900 0 0 $terminal->get_branch_length || 0
1901 0 0 $terminal->get_children || []
1902 0 0 @$children || 1
2039 0 0 $previous ||= ''
2050 0 0 $index->get_parent || ''
2052 0 0 $index->get_children || []
2360 20 24 $node->get_generic('age') || 0
2397 0 0 $times[-1] || 0
2582 0 0 $args{'-trees'} || 1
2742 0 0 $args{'-delim'} || ' '

or 3 conditions

line l !l&&r !l&&!r condition
378 1 0 2 @{$children[0]->get_children;} or @{$children[1]->get_children;}
1629 21 44 60 not $seen_tip or $node->is_internal
2624 0 0 0 $node->get_name || 'Genus' . ++$counter
2652 0 0 0 $genera{$genus}{'name'} || "Genus$genus"
3533 0 0 0 $dom ||= $Bio::Phylo::NeXML::DOM::DOM