Branch Coverage

Bio/SeqFeature/AnnotationAdaptor.pm
Criterion Covered Total %
branch 25 54 46.3


line true false branch
182 3 0 if $feat
183 3 0 if $feat
184 0 3 if $fact
204 3 168 if (defined $value)
230 0 14 if (defined $value)
233 14 0 if (not exists $self->{'annotation'} and $self->feature->can('annotation'))
259 1 0 if ($self->feature->can('get_all_tags')) { }
265 1 0 if ($self->annotation)
293 0 3 unless @keys
298 0 3 unless $self->feature->has_tag($key)
302 0 5 if ($fact) { }
313 3 0 if ($self->annotation)
343 1 0 if ($self->annotation)
388 64 0 if (ref $key and $key->isa('Bio::AnnotationI') and not $object && ref $object)
390 0 64 if $object
393 0 64 if $key and ref $key
394 0 64 unless $key
398 0 65 unless (defined $object)
402 0 65 unless (ref $object and $object->isa('Bio::AnnotationI'))
409 64 1 if ($object->isa('Bio::Annotation::SimpleValue') and $self->feature->can('add_tag_value')) { }
414 0 1 unless ($anncoll)
418 1 0 if ($anncoll->can('add_Annotation'))
449 0 0 unless @keys
455 0 0 if $self->feature->has_tag($key)
458 0 0 if ($anncoll and $anncoll->can('remove_Annotations')) { }
0 0 elsif ($anncoll) { }
494 0 3 if (defined $value)