Branch Coverage

blib/lib/Finnigan/Profile.pm
Criterion Covered Total %
branch 9 82 10.9


line true false branch
42 0 1 unless $self
67 1 0 unless ($range)
68 0 1 unless (exists $$self{'converter'})
73 0 1 if $add_zeroes
83 580 0 $$chunk{'data'}{'fudge'} ? :
86 0 580 if ($add_zeroes and $last_bin_written < $first_bin - 1)
90 0 0 exists $$self{'converter'} ? :
95 3878 0 exists $$self{'converter'} ? :
97 0 3878 if ($range)
98 0 0 if (exists $$self{'converter'}) { }
99 0 0 unless $x_conv >= $$range[0] and $x_conv <= $$range[1]
103 0 0 unless $x_conv <= $$range[0] and $x_conv >= $$range[1]
111 0 0 if ($add_zeroes and $i < $$self{'data'}{'peak count'}{'value'} - 1 and $last_bin_written < $$self{'data'}{'chunks'}{'value'}[$i + 1]{'data'}{'first bin'}{'value'} - 1)
121 0 0 exists $$self{'converter'} ? :
127 0 1 if ($add_zeroes and $last_bin_written < $$self{'data'}{'nbins'}{'value'} - 1)
131 0 0 exists $$self{'converter'} ? :
133 0 0 if $add_zeroes
146 0 0 unless ($range)
147 0 0 unless (exists $$self{'converter'})
152 0 0 if $add_zeroes
161 0 0 $$chunk{'fudge'} ? :
163 0 0 exists $$self{'converter'} ? :
167 0 0 exists $$self{'converter'} ? :
169 0 0 if ($range)
170 0 0 if (exists $$self{'converter'}) { }
171 0 0 unless $x_conv >= $$range[0] and $x_conv <= $$range[1]
175 0 0 unless $x_conv <= $$range[0] and $x_conv >= $$range[1]
182 0 0 if ($add_zeroes and $i < $$data{'peak count'}{'value'} - 1)
185 0 0 if ($to >= $from)
188 0 0 exists $$self{'converter'} ? :
189 0 0 if ($range)
190 0 0 if (exists $$self{'converter'}) { }
191 0 0 unless $x_conv >= $$range[0] and $x_conv <= $$range[1]
195 0 0 unless $x_conv <= $$range[0] and $x_conv >= $$range[1]
205 0 0 if ($add_zeroes)
208 0 0 if ($first_trailer_bin < $$data{'nbins'}{'value'})
211 0 0 exists $$self{'converter'} ? :
212 0 0 if ($range)
213 0 0 if (exists $$self{'converter'}) { }
214 0 0 unless $x_conv >= $$range[0] and $x_conv <= $$range[1]
218 0 0 unless $x_conv <= $$range[0] and $x_conv >= $$range[1]