Condition Coverage

Bio/Tree/TreeFunctionsI.pm
Criterion Covered Total %
condition 33 85 38.8


and 3 conditions

line !l l&&!r l&&r condition
136 0 1018 1961 $_->can($type) and defined $_->$type
171 1 0 0 not $node->ancestor and $self->get_root_node->internal_id != $node->internal_id
423 0 0 23 ref $node and $node->isa('Bio::Tree::NodeI')
455 0 2 8 $lca and $self->number_nodes > 0
579 8 52 44 $node->ancestor and $node->each_Descendent == 1
766 0 0 0 $node->is_Leaf && !($id =~ /^artificial/)
899 0 0 6 defined $nodes and defined $outgroup
946 0 0 2 defined $nodes and defined $outgroup
1006 0 0 18 defined $new_root and $new_root->isa('Bio::Tree::NodeI')
1066 0 0 0 defined $node and $node->isa('Bio::Tree::NodeI')
1074 0 0 0 defined $id and not ref $id
1099 0 0 0 $rootnode->id and $rootnode->id eq $id
1104 0 0 0 $node->id and $node->id eq $id

or 2 conditions

line l !l condition
209 341 258 $self->get_root_node || ''
213 4807 261 $node->ancestor || (last)
238 0 0 $sep ||= ';'
252 0 0 $nodes[$i]->node_name || ''
435 78 0 shift @{$path;} || (last LEVEL)
809 0 0 $node->id_output || ''
874 0 0 $current_node->ancestor || (last)
1155 3 0 $column ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
356 49 0 0 $ancestor or $reroot
611 27 2 0 shift() || $self->get_root_node
615 10 17 2 @descs == 2 or @descs == 0
692 11 1 0 shift() || $self->get_root_node
710 0 2 0 @artificials or $node
723 7 1 0 shift @working || $node->new('-id', 'artificial_' . ++$self->{'_art_num'})
788 0 0 0 $key eq '_desc' or $key eq '_ancestor'
811 0 0 0 exists ${$paired;}{join $", @data} or @data == 1
1173 0 0 51 not defined $id or $id eq ''
1177 17 1 33 not defined $value or $value eq ''