Branch Coverage

Bio/Seq/PrimaryQual.pm
Criterion Covered Total %
branch 44 56 78.5


line true false branch
141 17 11 if (defined $id and defined $given_id)
142 0 17 if ($id ne $given_id)
146 20 8 if (defined $given_id)
149 28 0 defined $qual ? :
150 2 26 if $header
151 21 7 if $id
152 3 25 if $acc
153 18 10 if $pid
154 1 27 if $desc
174 35 36 if (not defined $value or CORE::length $value == 0) { }
3 33 elsif (ref($value) =~ /ARRAY/i) { }
221 4 42 if (defined $qualstr and not $qualstr =~ /^[$MATCHPATTERN]*$/)
223 2 2 if ($throw)
250 1 239 if ($start > $end)
254 1 238 if ($start <= 0 or $end > $self->length)
294 24 31 if (defined $value)
314 3 16 if (defined $value)
341 4 4 if (defined $acc) { }
345 1 3 unless defined $acc
367 19 3 if (defined $value)
388 2 13 if (defined $value)
409 1 24 if (defined $value)
432 0 272 if (ref $self->{'qual'} ne 'ARRAY')
455 1 0 if (scalar @qualat == 1) { }
485 0 0 unless ($result)
497 0 0 if ($@) { }
0 0 elsif (not $sub_result = $self->$_) { }
501 0 0 if (ref $sub_result eq 'ARRAY')