Branch Coverage

blib/lib/CXC/PDL/Bin1D.pm
Criterion Covered Total %
branch 22 44 50.0


line true false branch
225 0 35 if defined $opt{'min_width'} || defined $opt{'max_width'} and not defined $opt{'width'}
228 0 35 if not defined $opt{'error'} and $opt{'error_algo'} eq "rss"
237 26 9 unless defined $opt{'fold'}
275 0 35 wantarray ? :
630 0 50 if ($opt->{'flags'} & 2) { }
632 0 0 unless $opt->{'flags'} & 16384
634 0 0 unless $opt->{'flags'} & 32768
650 30 20 if ($opt->{'range'}) { }
662 20 10 $dims eq 'slice' ? :
664 6 24 if ($range eq 'minmax') { }
12 12 elsif ($range eq 'min') { }
12 0 elsif ($range eq 'max') { }
676 0 12 if defined $opt->{'imin'}
679 0 12 if defined $opt->{'imax'} and defined $opt->{'nbins'}
686 0 12 if defined $opt->{'imax'}
689 0 12 if defined $opt->{'imin'} and defined $opt->{'nbins'}
705 0 20 if ($nrange_opts == 0) { }
0 20 elsif ($nrange_opts == 1) { }
0 20 elsif ($nrange_opts == 3) { }
713 0 0 if (defined $opt->{'nbins'}) { }
0 0 elsif (defined $opt->{'imax'}) { }
0 0 elsif (defined $opt->{'imin'}) { }