Branch Coverage

Bio/Variation/Allele.pm
Criterion Covered Total %
branch 15 36 41.6


line true false branch
107 0 148 if $is_reference
108 0 148 if $repeat_unit
109 0 148 if $repeat_count
131 1 1 if (defined $value)
132 1 0 $value ? :
135 0 2 if (not exists $self->{'is_reference'}) { }
159 0 0 unless ($com->isa('Bio::Annotation::DBLink'))
199 1 1 if (defined $value)
202 0 2 if ($self->{'seq'} and $self->{'repeat_unit'} and $self->{'repeat_count'})
204 0 0 if $self->{'repeat_unit'} x $self->{'repeat_count'} ne $self->{'seq'}
226 1 1 if (defined $value)
227 0 1 if (not $value =~ /^\d+$/) { }
233 2 0 if ($self->{'seq'} and $self->{'repeat_unit'} and $self->{'repeat_count'})
235 0 2 if $self->{'repeat_unit'} x $self->{'repeat_count'} ne $self->{'seq'}
256 0 0 if (defined $value)
257 0 0 if (not $value =~ /^\d+$/) { }
284 0 0 if (defined $value)
285 0 0 if (not $value =~ /^\d+$/) { }