Condition Coverage

blib/lib/Math/MatrixSparse.pm
Criterion Covered Total %
condition 40 191 20.9


and 3 conditions

line !l l&&!r l&&r condition
142 1 0 3 defined $density and $density >= 0
1 0 3 defined $density and $density >= 0 and $density <= 1
200 0 0 1 $colft =~ /I/i and $rowft =~ /I/i
378 0 0 16002 defined $i and defined $j
0 0 16002 defined $i and defined $j and defined $object
382 0 16002 0 defined $$object{'special'} and $$object{'special'}{'shape'} =~ /diagonal/i
16002 0 0 defined $$object{'special'} and $$object{'special'}{'shape'} =~ /diagonal/i and $i != $j
16002 0 0 $$object{'special'}{'shape'} =~ /strictlower/i and $i <= $j
16001 0 1 $$object{'special'}{'shape'} =~ /strictupper/i and $i >= $j
16001 0 0 $$object{'special'}{'shape'} =~ /^lower/i and $i < $j
16000 0 1 $$object{'special'}{'shape'} =~ /^upper/i and $i = $j
415 1108 0 14894 $i != $j and defined $$object{'special'}{'structure'}
1108 14894 0 $i != $j and defined $$object{'special'}{'structure'} and $$object{'special'}{'structure'} =~ /symmetric/i
14894 1108 0 $i == $j and $$object{'special'}{'structure'} =~ /skewsymmetric/i
16002 0 0 $i == $j and $$object{'special'}{'structure'} =~ /skewsymmetric/i and $x
430 16002 0 0 $$object{'special'}{'sign'} =~ /^positive/ and $x <= 0
16002 0 0 $$object{'special'}{'sign'} =~ /^negative/ and $x >= 0
14771 1229 2 $$object{'special'}{'sign'} =~ /nonnegative/i and $x < 0
16000 0 0 $$object{'special'}{'sign'} =~ /nonpositive/i and $x > 0
463 0 0 0 defined $i and defined $j
0 0 0 defined $i and defined $j and defined $object
476 0 0 0 $i == $j and $x
491 0 0 2008 defined $i and defined $j
538 0 0 0 (&splitkey($rows[$mid]))[0] != $row and $right - $left > 0
551 0 0 0 $right <= $#rows and (&splitkey($rows[$right]))[0] == $row
561 0 0 0 $left and (&splitkey($rows[$left]))[0] == $row
593 0 0 0 (&splitkey($cols[$mid]))[1] != $col and $right - $left > 0
606 0 0 0 $right <= $#cols and (&splitkey($cols[$right]))[1] == $col
615 0 0 0 $left and (&splitkey($cols[$left]))[1] == $col
661 0 0 7 $$left{'rows'} == $$right{'rows'} and $$left{'columns'} == $$right{'columns'}
678 7 0 0 defined $$left{'name'} and defined $$right{'name'}
707 0 0 73 $$left{'rows'} == $$right{'rows'} and $$left{'columns'} == $$right{'columns'}
733 73 0 0 defined $$left{'name'} and defined $$right{'name'}
816 0 0 0 defined $$left{'name'} and defined $$right{'name'}
893 38 3 2 defined $$left{'name'} and defined $$right{'name'}
978 0 0 0 defined $$left{'name'} and defined $$right{'name'}
1060 0 0 0 defined $$left{'name'} and defined $$right{'name'}
1124 0 0 0 $rr and $rc
1130 0 0 0 defined $$left{'name'} and defined $$right{'name'}
1490 0 0 0 $i1 <= $i2 and $j1 <= $j2
1494 0 0 0 $i >= $i1 and $i <= $i2
1495 0 0 0 $j >= $j1 and $j <= $j2
1503 0 0 0 $i1 <= $i2 and $j1 <= $j2
1506 0 0 0 $i >= $i1 and $i <= $i2
1507 0 0 0 $j >= $j1 and $j <= $j2
1515 0 0 0 $i1 <= $i2 and $j1 <= $j2
1519 0 0 0 $i >= $i1 and $i <= $i2
1520 0 0 0 $j >= $j1 and $j <= $j2
2008 0 0 0 $matrix1->elementkey($key) && $matrix2->elementkey($key)
2011 0 0 0 defined $$matrix1{'name'} and defined $$matrix2{'name'}
2028 0 0 0 defined $$matrix1{'name'} and defined $$matrix2{'name'}
2057 4316 0 0 $$matrix{'special'}{'structure'} =~ /symmetric/i and $i != $j
2491 0 0 290224 defined $i and defined $j

or 2 conditions

line l !l condition
1584 0 0 $name || $$matrix{'name'} || 'unnamed matrix'

or 3 conditions

line l !l&&r !l&&!r condition
835 0 0 0 $$left{'special'}{'sign'} =~ /zero/i or $$right{'special'}{'sign'} =~ /zero/i
925 0 0 43 $$left{'special'}{'sign'} =~ /zero/i or $$right{'special'}{'sign'} =~ /zero/i
1010 0 0 0 $$left{'special'}{'sign'} =~ /zero/i or $$right{'special'}{'sign'} =~ /zero/i
1078 0 0 0 $$left{'special'}{'sign'} =~ /zero/i or $$right{'special'}{'sign'} =~ /zero/i
1713 10 0 0 defined $left or defined $right
1897 0 0 0 $matrix->elementkey($key) == 0 || $matrix->elementkey($key) == 1
1909 0 0 0 $matrix->elementkey($key) == 0 || $matrix->elementkey($key) == 1
1950 0 0 0 $matrix->elementkey($key) == 0 || $matrix->elementkey($key) == 1
2025 0 0 0 $matrix1->elementkey($key) || $matrix2->elementkey($key)
2270 0 0 0 $matrix->elementkey($$a[0]) <=> $matrix->elementkey($$a[0]) or $$a[1] <=> $$b[1]