Condition Coverage

lib/Math/MatrixDecomposition/Eigen.pm
Criterion Covered Total %
condition 54 120 45.0


and 3 conditions

line !l l&&!r l&&r condition
71 4 0 0 @_ > 0 && &looks_like_number($_[0])
72 4 0 0 @_ > 0 && &looks_like_number($_[0])
976 0 0 0 $vr == 0 and $vi == 0
1180 7 1 12 $i != $j and $$a[$j * $n + $i] != 0
1217 7 0 12 $i != $j and $$a[$i * $n + $j] != 0
1297 9 0 1 $c < $g and &max($f, scalar &max($c, $ca)) < $sfmax2
9 0 1 $c < $g and &max($f, scalar &max($c, $ca)) < $sfmax2 and &min($g, scalar &min($r, $ra)) > $sfmin2
1313 9 0 2 $g >= $r and &max($r, $ra) < $sfmax2
9 0 2 $g >= $r and &max($r, $ra) < $sfmax2 and &min($g, scalar &min($f, scalar &min($c, $ca))) > $sfmin2
1326 1 2 0 $f < 1 and $scale[$i] < 1
3 0 0 $f < 1 and $scale[$i] < 1 and $f * $scale[$i] <= $sfmin1
2 1 0 $f > 1 and $scale[$i] > 1
3 0 0 $f > 1 and $scale[$i] > 1 and $scale[$i] >= $sfmax1 / $f

or 2 conditions

line l !l condition
85 0 4 $prop{'balance'} //= 1
86 0 4 $prop{'normalize'} //= 1
87 0 4 $prop{'positive'} //= 1
93 3 1 $self->{'value'} //= []
104 3 1 $self->{'vector'} //= []
141 0 3 $Z->[$j] //= []
509 7 1 $Z->[$j] //= []
1146 0 3 $opt{'permute'} //= 1
1147 0 3 $opt{'scale'} //= 1
1148 3 0 $opt{'low'} //= undef
1149 3 0 $opt{'high'} //= undef
1380 4 0 shift() // "abs_desc"

or 3 conditions

line l !l&&r !l&&!r condition
53 0 1 0 ref $class || $class
74 0 0 4 @$a != $m * $n or mod($m, 1) != 0
0 0 4 @$a != $m * $n or mod($m, 1) != 0 or $m < 1
0 0 4 @$a != $m * $n or mod($m, 1) != 0 or $m < 1 or mod($n, 1) != 0
0 0 4 @$a != $m * $n or mod($m, 1) != 0 or $m < 1 or mod($n, 1) != 0 or $n < 1
560 1 1 6 $i < $lo or $i > $hi
684 0 0 13 $iter == 10 or $iter == 20
1020 1 1 6 $i < $lo or $i > $hi
1291 0 0 9 $c == 0 or $r == 0
1326 6 0 3 $c + $r >= "0.95" * $s or $f < 1 and $scale[$i] < 1 and $f * $scale[$i] <= $sfmin1
0 0 3 $c + $r >= "0.95" * $s or $f < 1 and $scale[$i] < 1 and $f * $scale[$i] <= $sfmin1 or $f > 1 and $scale[$i] > 1 and $scale[$i] >= $sfmax1 / $f
1417 0 0 0 abs $d[$b] <=> abs $d[$a] or $m[$b] <=> $m[$a]
0 0 0 abs $d[$b] <=> abs $d[$a] or $m[$b] <=> $m[$a] or $d[$b] <=> $d[$a]
1419 0 0 0 abs $d[$a] <=> abs $d[$b] or $m[$a] <=> $m[$b]
0 0 0 abs $d[$a] <=> abs $d[$b] or $m[$a] <=> $m[$b] or $d[$a] <=> $d[$b]
1421 0 0 0 $m[$b] <=> $m[$a] or $d[$b] <=> $d[$a]
1423 0 0 0 $m[$a] <=> $m[$b] or $d[$a] <=> $d[$b]
1442 0 0 4 $order eq 'abs_desc' || $order eq 'norm_desc'
0 0 4 $order eq 'abs_asc' || $order eq 'norm_asc'