Branch Coverage

blib/lib/Math/CPWLF.pm
Criterion Covered Total %
branch 56 58 96.5


line true false branch
143 627 6059 if (@_ == 0) { }
1877 4182 elsif (@_ == 1) { }
2285 1897 elsif (@_ == 2) { }
1897 0 elsif (@_ > 2) { }
155 155 1722 unless (defined $$self{'_data'}{$x} and ref $$self{'_data'}{$x})
181 163 1734 unless (defined $$self{'_data'}{$x} and ref $$self{'_data'}{$x})
207 3 462 unless defined $node
212 41 421 ref $$node{'y_dn'} || ref $$node{'y_up'} ? :
240 7 229 unless ref $$node{$y_pos}
244 2 225 unless defined $new_node
258 35 28 $make_closure ? :
282 449 201 unless $$node{'into'}
297 1 5 want('CODE') ? :
321 51 34 if defined $opts{$opt}
339 118 584 unless (exists $$self{'_x_vals_order'})
345 1 701 unless (@{$$self{'_x_vals_order'};})
352 359 342 if (exists $$self{'_x_vals_index'}{$x}) { }
5 337 elsif ($x < $$self{'_x_vals_order'}[0]) { }
29 308 elsif ($x > $$self{'_x_vals_order'}[-1]) { }
379 34 667 if ($oob)
382 8 26 if ($$merge_opts{'oob'} eq 'die') { }
7 19 elsif ($$merge_opts{'oob'} eq 'extrapolate') { }
13 6 elsif ($$merge_opts{'oob'} eq 'level') { }
5 1 elsif ($$merge_opts{'oob'} eq 'undef') { }
389 1 6 if ($x < $$self{'_x_vals_order'}[0]) { }
6 0 elsif ($x > $$self{'_x_vals_order'}[-1]) { }
433 385 265 if ($y_dn == $y_up)
461 888 855 if ($value > $$array[$mid_index]) { }
475 323 1 $range_max_index > -1 ? :