Condition Coverage

blib/lib/PDLA/MatrixOps.pm
Criterion Covered Total %
condition 27 90 30.0


and 3 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
282 2 2 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 $PDLA::verbose or $PDLA::debug
641 0 0 0 $PDLA::eigens_bug_ack or $ENV{'PDLA_EIGENS_ACK'}
823 0 0 12 not UNIVERSAL::isa($in, 'PDLA') or $in->ndims < 2
0 0 12 not UNIVERSAL::isa($in, 'PDLA') or $in->ndims < 2 or $in->dim(0) != $in->dim(1)
836 0 0 0 not UNIVERSAL::isa($permute, 'PDLA') or $permute->ndims != 1
0 0 0 not UNIVERSAL::isa($permute, 'PDLA') or $permute->ndims != 1 or $permute->dim(0) != $out->dim(0)
846 0 0 0 not UNIVERSAL::isa($parity, 'PDLA') or $parity->dim(0) != 1
981 0 0 0 not UNIVERSAL::isa($in, 'PDLA') or $in->ndims < 2
0 0 0 not UNIVERSAL::isa($in, 'PDLA') or $in->ndims < 2 or $in->dim(0) != $in->dim(1)
994 0 0 0 not UNIVERSAL::isa($perm, 'PDLA') or $perm->ndims != 1
0 0 0 not UNIVERSAL::isa($perm, 'PDLA') or $perm->ndims != 1 or $perm->dim(0) != $out->dim(0)
1004 0 0 0 not UNIVERSAL::isa($par, 'PDLA') or $par->nelem != 1