Branch Coverage

Bio/Annotation/TagTree.pm
Criterion Covered Total %
branch 32 50 64.0


line true false branch
153 0 60 if defined $node and defined $value
155 53 7 if defined $tag
158 56 4 if defined $value
159 0 60 if defined $node
160 6 54 if defined $verbose
205 0 0 if ref $cb ne 'CODE'
245 58 20 if (defined $value)
270 58 23 if ($value)
271 57 1 if (ref $value) { }
272 53 4 if (ref $value eq 'ARRAY') { }
290 0 58 if $@
315 63 81 if (defined $value)
318 0 63 unless exists $IS_VALID_FORMAT{$value}
338 6 114 if (defined $value and ref $value)
339 4 1 $copy && $copy eq 'copy' ? :
1 0 $copy && $copy eq 'copy' ? :
1 0 $value->isa('Bio::Annotation::TagTree') ? :
5 1 $value->isa('Data::Stag::StagI') ? :
349 4 116 unless ($self->{'db'})
530 0 0 if (not $self->element) { }
0 0 elsif (not $self->node->ntnodes) { }
533 0 0 @vals > 1 ? :
565 0 0 unless ($self->node->element)
587 0 0 unless ($self->node->element)
726 52 40 ref $val ? :