Branch Coverage

Bio/Seq/SequenceTrace.pm
Criterion Covered Total %
branch 51 68 75.0


line true false branch
119 20 0 if ($swq and ref $swq eq 'Bio::Seq::Quality') { }
127 5 15 if (not $acc_a) { }
138 3 17 if (not $trace_a) { }
178 0 518822 unless ($base_channel)
182 0 518822 unless ($base_channel =~ /[acgt]/)
185 84 518738 if ($values)
186 40 44 if (ref $values eq 'ARRAY') { }
194 518822 0 if ($self->{'trace'}{$base_channel}) { }
215 17 1522 if ($peak_indices)
216 6 11 if (ref $peak_indices eq 'ARRAY') { }
224 3 1536 unless ($self->{'peak_indices'})
278 133 1158 if ($value)
279 2 131 if ($value eq 'null') { }
331 0 11 if (defined $value)
361 0 1 if (defined $acc) { }
365 0 1 unless defined $acc
389 1 1 if ($value)
412 1 1 if (defined $value)
433 0 36 unless ($self)
434 10 26 if (defined $value)
463 0 49 if (defined $value)
493 0 9 if (defined $value)
668 0 6 if ($start > $end)
672 0 6 if ($start <= 0 or $end > $self->length)
702 0 57504 if ($start > $end)
706 0 57504 if ($start <= 0 or $end > $self->trace_length)
734 0 57516 unless ($self->trace('a') and $self->trace('t') and $self->trace('g') and $self->trace('c'))
742 57516 0 if ($lengtha == $lengtht and $lengtha == $lengthg and $lengtha == $lengthc)
851 0 82 if ($current_base =~ /N/)
936 1066 56429 if ($value)
993 61 72 if ($value)
994 60 1 if (ref $value eq 'ARRAY') { }
1098 736 4425 if ($value)
1099 552 184 if ($value eq 'null') { }