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 933 3 11 ref $that and @_ == 0
186 12 908 16 @_ == 1 and not ref $_[0]
12 0 908 @_ == 1 and ref $_[0] eq 'ARRAY'
12 239 669 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} > 0
239 26 643 @_ == 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 10 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 24 defined &blessed($y) and $y->isa($class)
4055 0 0 34 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 11 defined &blessed($n) and $n->isa($class)
4476 0 0 12 defined &blessed($A) and $A->isa($class)
4519 0 0 0 $value > 0 and $value == CORE::int $value
4707 0 0 1 defined &blessed($A) and $A->isa($class)
4943 0 0 37 0 <= $i and $i < $m
4947 0 0 37 0 <= $j and $j < $n
5557 0 0 0 defined &blessed($p) and $p->isa($class)
5599 0 0 0 defined &blessed($dim) and $dim->isa($class)
5603 0 0 0 $dim > 0 and $dim == CORE::int $dim
5680 1 0 6 defined &blessed($y) and $y->isa($class)
5688 0 1 6 $nrowx == $nrowy and $ncolx == $ncoly
5717 1 0 6 defined &blessed($y) and $y->isa($class)
5725 0 1 6 $nrowx == $nrowy and $ncolx == $ncoly
5788 0 0 1 defined &blessed($y) and $y->isa($class)
5812 0 0 1 defined &blessed($y) and $y->isa($class)
5836 0 0 1 defined &blessed($y) and $y->isa($class)
5860 0 0 1 defined &blessed($y) and $y->isa($class)
5884 0 0 1 defined &blessed($y) and $y->isa($class)
5908 0 0 1 defined &blessed($y) and $y->isa($class)
5934 0 0 1 defined &blessed($y) and $y->isa($class)
5968 1 0 2 defined &blessed($y) and $y->isa($class)
6005 0 0 1 defined &blessed($y) and $y->isa($class)
6337 1 0 116 defined &blessed($args[$k]) and $args[$k]->isa($class)
6454 1 0 5 $i <= $imax and $i <= $jmax
6534 1 0 5 $i <= $imax and $i <= $jmax
6630 1 0 5 $i <= $imax and $i <= $jmax
6726 1 0 5 $i <= $imax and $i <= $jmax
6842 67 0 184 $i <= $imax and $i <= $jmax
6856 374 0 982 $v <= $imax and $v <= $jmax

or 3 conditions

line l !l&&r !l&&!r condition
158 14 933 0 ref $that || $that
407 7 84 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 19 $x->is_scalar || $y->is_scalar
4505 0 0 0 $Config::Config{'uselongdouble'} || $Config::Config{'usequadmath'}
4590 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
4600 0 0 0 $abs_err_best <= $abs_tol or $rel_err_best <= $rel_tol
5606 72 72 0 $dim == 1 or $dim == 2