Branch Coverage

blib/lib/Finnigan/Scan.pm
Criterion Covered Total %
branch 15 52 28.8


line true false branch
61 0 1 if ($bookends)
67 0 0 if ($gap_size < 2 * $bookends) { }
92 0 580 if ($bookends and $front_bookend_needed)
105 0 580 if ($bookends)
110 0 0 if ($i == $$self{'peak count'} - 1) { }
120 0 0 if ($gap_size < 2 * $bookends) { }
137 0 1 if ($bookends and $front_bookend_needed)
157 0 0 if (not defined $dist or $dist > $MAX_DIST)
202 0 0 if $intensity > $max
221 0 0 if ($value < $lower - $MAX_DIST or $value > $upper + $MAX_DIST) { }
227 0 0 unless $safety_count--
233 0 0 if ($value >= $lower and $value <= $upper)
237 0 0 if ($value > $upper)
239 0 0 if $dist < $$last_match[1]
243 0 0 if ($value < $lower)
245 0 0 if $dist < $$last_match[1]
254 0 0 if ($low_ix == $high_ix)
262 0 0 if ($dist > $$last_match[1])
298 0 1 unless $nbytes == $bytes_to_read
304 0 1 unless $nbytes == $bytes_to_read
339 580 0 if ($layout > 0) { }
388 1 1 if (not defined $dist or $dist > $MAX_DIST_MZ)
415 0 5 if ($value < $lower - $MAX_DIST_MZ or $value > $upper + $MAX_DIST_MZ) { }
421 0 39 unless $safety_count--
426 3 36 if (num_equal($$peak[0], $value, $MAX_DIST_MZ)) { }
29 7 elsif ($$peak[0] < $value) { }