Condition Coverage

lib/Math/FastGF2/Matrix.pm
Criterion Covered Total %
condition 65 181 35.9


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
281 0 0 696 defined $row and defined $col
0 0 696 defined $row and defined $col and defined $words
332 0 0 698 defined $row and defined $col
369 4 694 0 1 == $self->ORGNUM and $words + $COLS * $row + $col > $msize
387 0 0 440 defined $other and ref $other eq $class
590 0 0 0 ref $proto && $proto
616 0 0 0 defined $rows and not defined $cols
0 0 0 defined $cols and not defined $rows
635 0 0 0 defined $xvals and not defined $rows
636 0 0 0 defined $yvals and not defined $cols
639 0 0 0 defined $xvals and defined $yvals
684 0 0 0 ref $proto && $proto
802 1 0 0 ref $proto && $proto
816 0 0 1 defined $cols and $cols > 0
886 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
892 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
917 3 214 0 defined $rows and not ref $rows
921 212 5 0 defined $cols and not ref $cols
926 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
266 12 684 shift() || 0
602 0 0 $o{'width'} || die("width parameter required\n")
700 0 0 $o{'size'} || die("size parameter required\n")
701 0 0 $o{'width'} || die("width parameter required\n")
702 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'
226 0 0 12 $offset < 0 or $offset >= $ROWS * $COLS
245 0 0 12 $row < 0 or $row >= $self->ROWS
249 0 0 12 $col < 0 or $col >= $self->COLS
285 0 0 696 $order < 0 or $order > 2
291 0 0 696 $row < 0 or $row >= $ROWS
295 0 0 696 $col < 0 or $row >= $ROWS
336 0 0 698 $order < 0 or $order > 2
340 0 0 698 $row < 0 or $row >= $ROWS
344 0 0 698 $col < 0 or $row >= $ROWS
369 0 0 698 1 == $self->ORGNUM and $words + $COLS * $row + $col > $msize or $words + $ROWS * $col + $row > $msize
589 0 0 0 ref $proto || $proto
683 0 0 0 ref $proto || $proto
801 0 1 0 ref $proto || $proto
880 214 3 4 defined $rows or defined $cols
881 0 0 3 defined $rows or defined $cols