Branch Coverage

Bio/Seq/Meta.pm
Criterion Covered Total %
branch 46 70 65.7


line true false branch
239 0 195 if $meta
240 1 194 if ($nm and ref $nm eq 'HASH')
245 1 194 if $forceflush
304 45 28 if (defined $value)
306 0 45 if ref $value
311 3 42 if ($diff > 0)
321 0 73 if $self->force_flush and not defined $self->{'_meta'}{$name}
324 8 65 if $self->force_flush
352 0 0 unless $self->seq
357 0 0 if $s eq $Bio::Seq::Meta::META_GAP and $s ne $m
451 0 8 unless $start =~ /^[+]?\d+$/ and $start > 0
454 3 5 if ($value) { }
456 0 3 if $start > length $self->seq
461 0 3 unless defined $self->{'_meta'}{$name}
462 1 2 if (length $self->{'_meta'}{$name} < $start)
468 2 1 if length $self->{'_meta'}{$name} >= $start - 1 + length($value)
477 2 3 unless $end
480 0 5 if (length $self->{'_meta'}{$name} < $end)
523 18 56 unless $_ eq $Bio::Seq::Meta::DEFAULT_NAME
525 12 45 if $self->{'_meta'}{$Bio::Seq::Meta::DEFAULT_NAME}
580 6 149 if (defined $value)
581 4 2 if ($value) { }
611 6 16 if ($self->length > $self->named_meta_length($name)) { }
2 14 elsif ($self->length < $self->named_meta_length($name)) { }
641 0 3 if $self->force_flush
646 0 3 if ($name) { }
647 0 0 if $self->length != $self->named_meta_length($name)
650 0 1 if $self->named_meta_length($m) > 0 and $self->length != $self->named_meta_length($m)
654 0 3 if ($sticky)
655 0 0 if $self->verbose
682 0 2 unless $self->is_flush
706 0 1 unless $start =~ /^[+]?\d+$/ and $start > 0
708 0 1 unless $end =~ /^[+]?\d+$/ and $end > 0
710 0 1 unless $end >= $start
712 0 1 unless $end <= $self->length