Condition Coverage

blib/lib/PDL/DSP/Windows.pm
Criterion Covered Total %
condition 31 42 73.8


and 3 conditions

line !l l&&!r l&&r condition
425 138 47 21 defined $params and not ref $params
1190 0 0 0 $beta >= 0 and $beta <= $N
1211 0 0 0 $beta >= 0 and $beta <= $N
1512 1 1 10 $alpha >= 0 and $alpha <= 1
1533 1 1 7 $alpha >= 0 and $alpha <= 1

or 2 conditions

line l !l condition
21 0 7 eval { do { require PDL::LinearAlgebra::Special; 1 } } || 0
0 7 eval { do { require PDL::GSLSF::BESSEL; 1 } } || 0
0 7 eval { do { require PDL::Graphics::Gnuplot; 1 } } || 0
341 80 89 $window_aliases{$name} // []
414 144 62 shift() // {}
471 65 130 $self->{'params'} // []

or 3 conditions

line l !l&&r !l&&!r condition
379 1 192 0 ref $proto || $proto
421 186 20 0 $name ||= $opts->{'name'}
422 200 5 1 $N ||= $opts->{'N'}
423 1 70 135 $periodic ||= $opts->{'periodic'}
424 17 51 138 $params //= $opts->{'params'}