Condition Coverage

blib/lib/Math/Matrix.pm
Criterion Covered Total %
condition 120 255 47.0


and 3 conditions

line !l l&&!r l&&r condition
24 0 1 2 not ref $y and $y == 0
164 925 3 11 ref $that and @_ == 0
186 12 900 16 @_ == 1 and not ref $_[0]
12 0 900 @_ == 1 and ref $_[0] eq 'ARRAY'
12 235 665 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} > 0
235 26 639 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} > 0 and ref $_[0][0] eq 'ARRAY'
350 8 0 0 defined &blessed($x) and $x->isa($class)
945 6 0 3 defined &blessed($x) and $x->isa($class)
1399 41 19 20 $val != 0 and $val != 1
1437 41 16 17 $val != 0 and $val != 1
1738 0 0 0 defined &blessed($k) and $k->isa($class)
1796 0 0 0 defined &blessed($k) and $k->isa($class)
2199 2 1 3 $ninf < $_ && $_ < $pinf
2611 3 0 0 defined &blessed($idx) and $idx->isa($class)
2654 3 0 0 defined &blessed($idx) and $idx->isa($class)
2698 4 0 0 defined &blessed($idxdel) and $idxdel->isa($class)
2748 4 0 0 defined &blessed($idxdel) and $idxdel->isa($class)
2857 0 0 0 defined &blessed($offs) and $offs->isa($class)
2867 0 0 0 defined &blessed($len) and $len->isa($class)
2935 0 0 0 defined &blessed($offs) and $offs->isa($class)
2945 0 0 0 defined &blessed($len) and $len->isa($class)
2969 6 8 4 $offs == 0 and $len == $ncolx
3113 1 0 1 defined &blessed($n) and $n->isa($class)
3234 0 0 5 defined &blessed($y) and $y->isa('Math::Matrix')
3298 0 0 5 defined &blessed($y) and $y->isa('Math::Matrix')
3374 25 0 5 $nrowx == $nrowy and $ncolx == $ncoly
3538 0 0 9 0 <= $j and $j < $n
3629 0 0 0 defined &blessed($n) and $n->isa($class)
3675 0 0 0 defined &blessed($n) and $n->isa($class)
3796 3 0 5 defined &blessed($y) and $y->isa($class)
3821 0 0 5 defined &blessed($y) and $y->isa($class)
3826 0 0 5 $nrowx == $nrowy and $ncolx == $ncoly
3888 2 0 7 defined &blessed($y) and $y->isa($class)
3913 0 0 6 defined &blessed($y) and $y->isa($class)
3918 0 0 6 $nrowx == $nrowy and $ncolx == $ncoly
4031 3 0 19 defined &blessed($y) and $y->isa($class)
4055 0 0 29 defined &blessed($y) and $y->isa($class)
4125 0 0 2 defined &blessed($y) and $y->isa($class)
4132 0 0 2 defined &blessed($z) and $z->isa($class)
4135 0 0 2 $mz == $mx and $nz == $ny
4172 0 0 4 defined &blessed($y) and $y->isa($class)
4290 0 0 9 defined &blessed($n) and $n->isa($class)
4471 0 0 10 defined &blessed($A) and $A->isa($class)
4514 0 0 0 $value > 0 and $value == CORE::int $value
4702 0 0 1 defined &blessed($A) and $A->isa($class)
4938 0 0 37 0 <= $i and $i < $m
4942 0 0 37 0 <= $j and $j < $n
5552 0 0 0 defined &blessed($p) and $p->isa($class)
5594 0 0 0 defined &blessed($dim) and $dim->isa($class)
5598 0 0 0 $dim > 0 and $dim == CORE::int $dim
5675 1 0 6 defined &blessed($y) and $y->isa($class)
5683 0 1 6 $nrowx == $nrowy and $ncolx == $ncoly
5712 1 0 6 defined &blessed($y) and $y->isa($class)
5720 0 1 6 $nrowx == $nrowy and $ncolx == $ncoly
5783 0 0 1 defined &blessed($y) and $y->isa($class)
5807 0 0 1 defined &blessed($y) and $y->isa($class)
5831 0 0 1 defined &blessed($y) and $y->isa($class)
5855 0 0 1 defined &blessed($y) and $y->isa($class)
5879 0 0 1 defined &blessed($y) and $y->isa($class)
5903 0 0 1 defined &blessed($y) and $y->isa($class)
5929 0 0 1 defined &blessed($y) and $y->isa($class)
5963 1 0 2 defined &blessed($y) and $y->isa($class)
6000 0 0 1 defined &blessed($y) and $y->isa($class)
6332 1 0 116 defined &blessed($args[$k]) and $args[$k]->isa($class)
6449 1 0 5 $i <= $imax and $i <= $jmax
6529 1 0 5 $i <= $imax and $i <= $jmax
6625 1 0 5 $i <= $imax and $i <= $jmax
6721 1 0 5 $i <= $imax and $i <= $jmax
6837 65 0 180 $i <= $imax and $i <= $jmax
6851 368 0 972 $v <= $imax and $v <= $jmax

or 3 conditions

line l !l&&r !l&&!r condition
158 14 925 0 ref $that || $that
407 7 80 0 $ref || $self
815 0 2 0 ref $that || $that
864 0 4 0 ref $that || $that
1035 8 19 25 $x->is_col || $x->is_row
1749 73 10 105 $x->[$i][$j] != 0 or $x->[$j][$i] != 0
2227 1 1 4 $_ == $pinf || $_ == $ninf
3798 4 1 3 $x->is_scalar || $y->is_scalar
3890 4 1 4 $x->is_scalar || $y->is_scalar
4033 7 1 14 $x->is_scalar || $y->is_scalar
4500 0 0 0 $Config::Config{'uselongdouble'} || $Config::Config{'usequadmath'}
4585 0 0 0 $iter == 1 or $abs_err < $abs_err_best
0 0 0 $iter == 1 or $abs_err < $abs_err_best or $rel_err < $rel_err_best
4595 0 0 0 $abs_err_best <= $abs_tol or $rel_err_best <= $rel_tol
5601 72 72 0 $dim == 1 or $dim == 2