Condition Coverage

blib/lib/PDL/Image2D.pm
Criterion Covered Total %
condition 30 75 40.0


and 3 conditions

line !l l&&!r l&&r condition
134 5 0 3 defined $opt && exists $opt->{'Boundary'}
204 2 0 0 defined $opt && exists $opt->{'Boundary'}
268 1 0 0 $p == 0 and $q == 0
275 0 0 1 defined $opt && exists $opt->{'Boundary'}
1196 2 7 0 $#_ >= 5 and ref $_[5] ne 'HASH'
1211 0 0 9 $npts == $y->nelem and $npts == $u->nelem
0 0 9 $npts == $y->nelem and $npts == $u->nelem and $npts == $v->nelem
0 0 9 $npts == $y->nelem and $npts == $u->nelem and $npts == $v->nelem and $x->getndims == 1
0 0 9 $npts == $y->nelem and $npts == $u->nelem and $npts == $v->nelem and $x->getndims == 1 and $y->getndims == 1
0 0 9 $npts == $y->nelem and $npts == $u->nelem and $npts == $v->nelem and $x->getndims == 1 and $y->getndims == 1 and $u->getndims == 1
0 0 9 $npts == $y->nelem and $npts == $u->nelem and $npts == $v->nelem and $x->getndims == 1 and $y->getndims == 1 and $u->getndims == 1 and $v->getndims == 1
1221 0 0 9 UNIVERSAL::isa($fit, 'PDL') and $fit_ndim == 2 || $fit_ndim == 3 && $fit->getdim(2) == 2
0 0 9 UNIVERSAL::isa($fit, 'PDL') and $fit_ndim == 2 || $fit_ndim == 3 && $fit->getdim(2) == 2 and $fit->getdim(0) == $nf
0 0 9 UNIVERSAL::isa($fit, 'PDL') and $fit_ndim == 2 || $fit_ndim == 3 && $fit->getdim(2) == 2 and $fit->getdim(0) == $nf and $fit->getdim(1) == $nf
1262 4 0 5 $ncoeff == $nf2 and $ncoeffx == $ncoeffy
1302 0 0 1 $npts == $u->nelem and $npts == $v->nelem
0 0 1 $npts == $u->nelem and $npts == $v->nelem and $u->getndims == 1
0 0 1 $npts == $u->nelem and $npts == $v->nelem and $u->getndims == 1 and $v->getndims == 1

or 3 conditions

line l !l&&r !l&&!r condition
126 0 0 8 $#_ < 1 or $#_ > 2
194 0 0 2 $#_ < 1 or $#_ > 2
265 0 0 1 $#_ < 2 or $#_ > 3
686 1 1 0 @_ == 2 or @_ == 4
1196 0 0 9 $#_ < 4 or $#_ >= 5 and ref $_[5] ne 'HASH'
1221 5 4 0 $fit_ndim == 2 || $fit_ndim == 3 && $fit->getdim(2) == 2
1465 0 0 6 $#_ < 2 or $#_ > 3