Condition Coverage

lib/Math/FastGF2/Matrix.pm
Criterion Covered Total %
condition 64 181 35.3


and 3 conditions

line !l l&&!r l&&r condition
37 58 0 0 ref $proto && $proto
72 14 28 16 $o{'width'} != 1 and $o{'width'} != 2
42 16 0 $o{'width'} != 1 and $o{'width'} != 2 and $o{'width'} != 4
86 5 0 440 ref $proto && $proto
93 0 0 445 defined $o{'size'} and $o{'size'} > 0
97 0 418 27 defined $o{'width'} and $o{'width'} == 1 || $o{'width'} == 2 || $o{'width'} == 4
102 0 445 0 defined $o{'org'} and $o{'org'} eq 'rowwise' || $o{'org'} == 'colwise'
129 0 0 14 defined $other and ref $other eq $class
158 0 0 13 defined $result and ref $result eq $class
175 0 0 259 defined $other and ref $other eq $class
197 0 0 212 defined $other and ref $other eq $class
282 0 0 696 defined $row and defined $col
0 0 696 defined $row and defined $col and defined $words
333 0 0 698 defined $row and defined $col
370 4 694 0 1 == $self->ORGNUM and $words + $COLS * $row + $col > $msize
388 0 0 440 defined $other and ref $other eq $class
591 0 0 0 ref $proto && $proto
617 0 0 0 defined $rows and not defined $cols
0 0 0 defined $cols and not defined $rows
636 0 0 0 defined $xvals and not defined $rows
637 0 0 0 defined $yvals and not defined $cols
640 0 0 0 defined $xvals and defined $yvals
685 0 0 0 ref $proto && $proto
803 1 0 0 ref $proto && $proto
817 0 0 1 defined $cols and $cols > 0
887 0 0 3 defined $row1 and defined $col1
0 0 3 defined $row1 and defined $col1 and defined $row2
0 0 3 defined $row1 and defined $col1 and defined $row2 and defined $col2
893 0 0 3 $row1 >= 0 and $row1 <= $row2
0 0 3 $row1 >= 0 and $row1 <= $row2 and $row2 < $self->ROWS
0 0 3 $row1 >= 0 and $row1 <= $row2 and $row2 < $self->ROWS and $col1 >= 0
0 0 3 $row1 >= 0 and $row1 <= $row2 and $row2 < $self->ROWS and $col1 >= 0 and $col1 <= $col2
0 0 3 $row1 >= 0 and $row1 <= $row2 and $row2 < $self->ROWS and $col1 >= 0 and $col1 <= $col2 and $col2 < $self->COLS
918 3 214 0 defined $rows and not ref $rows
922 212 5 0 defined $cols and not ref $cols
927 3 212 2 defined $rows and defined $cols
3 0 212 defined $rows and $self->ORG eq 'rowwise'
0 3 0 defined $cols and $self->ORG eq 'colwise'

or 2 conditions

line l !l condition
267 12 684 shift() || 0
603 0 0 $o{'width'} || die("width parameter required\n")
701 0 0 $o{'size'} || die("size parameter required\n")
702 0 0 $o{'width'} || die("width parameter required\n")
703 0 0 $o{'xylist'} || die("xylist parameter required\n")

or 3 conditions

line l !l&&r !l&&!r condition
36 0 58 0 ref $proto || $proto
85 440 5 0 ref $proto || $proto
97 432 13 0 $o{'width'} == 1 || $o{'width'} == 2 || $o{'width'} == 4
102 445 0 0 $o{'org'} eq 'rowwise' || $o{'org'} == 'colwise'
227 0 0 0 $offset < 0 or $offset >= $ROWS * $COLS
246 0 0 12 $row < 0 or $row >= $self->ROWS
250 0 0 12 $col < 0 or $col >= $self->COLS
286 0 0 696 $order < 0 or $order > 2
292 0 0 696 $row < 0 or $row >= $ROWS
296 0 0 696 $col < 0 or $row >= $ROWS
337 0 0 698 $order < 0 or $order > 2
341 0 0 698 $row < 0 or $row >= $ROWS
345 0 0 698 $col < 0 or $row >= $ROWS
370 0 0 698 1 == $self->ORGNUM and $words + $COLS * $row + $col > $msize or $words + $ROWS * $col + $row > $msize
590 0 0 0 ref $proto || $proto
684 0 0 0 ref $proto || $proto
802 0 1 0 ref $proto || $proto
881 214 3 4 defined $rows or defined $cols
882 0 0 3 defined $rows or defined $cols