Condition Coverage

blib/lib/PDL/MatrixOps.pm
Criterion Covered Total %
condition 28 90 31.1


and 3 conditions

line !l l&&!r l&&r condition
261 0 0 35 UNIVERSAL::isa($x, 'PDL') and $x->dims >= 2
0 0 35 UNIVERSAL::isa($x, 'PDL') and $x->dims >= 2 and $x->dim(0) == $x->dim(1)
268 5 0 30 exists $opt->{'lu'} and ref $opt->{'lu'} eq 'ARRAY'
5 1 29 exists $opt->{'lu'} and ref $opt->{'lu'} eq 'ARRAY' and ref $opt->{'lu'}[0] eq 'PDL'
346 3 30 1 exists $opt->{'lu'} and ref $opt->{'lu'} eq 'ARRAY'
396 0 0 6 UNIVERSAL::isa($x, 'PDL') and $x->getndims >= 2
0 0 6 UNIVERSAL::isa($x, 'PDL') and $x->getndims >= 2 and ($n = $x->dim(0)) == $x->dim(1)
509 1 0 0 $err > 1e-05 and $PDL::debug
1110 0 0 35 UNIVERSAL::isa($lu, 'PDL') and UNIVERSAL::isa($perm, 'PDL')
0 0 35 UNIVERSAL::isa($lu, 'PDL') and UNIVERSAL::isa($perm, 'PDL') and UNIVERSAL::isa($y, 'PDL')
1140 0 0 35 $ludims->slice(0) == $m and $ludims->slice(1) == $m
0 0 35 $ludims->slice(0) == $m and $ludims->slice(1) == $m and $permdims->slice(0) == $m
0 0 35 $ludims->slice(0) == $m and $ludims->slice(1) == $m and $permdims->slice(0) == $m and $bdims->slice(0) == $m
1148 0 0 35 $lunumthr == $permnumthr and ($ludims->slice([1, -1]) == $permdims)->all
1153 34 0 1 $bnumthr == $permnumthr and ($bdims == $permdims)->all

or 3 conditions

line l !l&&r !l&&!r condition
282 2 32 1 $det->nelem > 1 or $det
501 0 0 1 $#d < 1 or $d[0] != $d[1]
619 0 0 2 $#d < 1 or $d[0] != $d[1]
638 0 0 0 $PDL::verbose or $PDL::debug
641 0 0 0 $PDL::eigens_bug_ack or $ENV{'PDL_EIGENS_ACK'}
823 0 0 42 not UNIVERSAL::isa($in, 'PDL') or $in->ndims < 2
0 0 42 not UNIVERSAL::isa($in, 'PDL') or $in->ndims < 2 or $in->dim(0) != $in->dim(1)
836 0 0 0 not UNIVERSAL::isa($permute, 'PDL') or $permute->ndims != 1
0 0 0 not UNIVERSAL::isa($permute, 'PDL') or $permute->ndims != 1 or $permute->dim(0) != $out->dim(0)
846 0 0 0 not UNIVERSAL::isa($parity, 'PDL') or $parity->dim(0) != 1
981 0 0 0 not UNIVERSAL::isa($in, 'PDL') or $in->ndims < 2
0 0 0 not UNIVERSAL::isa($in, 'PDL') or $in->ndims < 2 or $in->dim(0) != $in->dim(1)
994 0 0 0 not UNIVERSAL::isa($perm, 'PDL') or $perm->ndims != 1
0 0 0 not UNIVERSAL::isa($perm, 'PDL') or $perm->ndims != 1 or $perm->dim(0) != $out->dim(0)
1004 0 0 0 not UNIVERSAL::isa($par, 'PDL') or $par->nelem != 1