Condition Coverage

blib/lib/Math/FastGF2/Matrix.pm
Criterion Covered Total %
condition 61 137 44.5


and 3 conditions

line !l l&&!r l&&r condition
30 57 0 0 ref $proto && $proto
65 13 28 16 $o{'width'} != 1 and $o{'width'} != 2
41 16 0 $o{'width'} != 1 and $o{'width'} != 2 and $o{'width'} != 4
81 5 0 22 ref $proto && $proto
88 0 0 27 defined $o{'size'} and $o{'size'} > 0
92 0 27 0 defined $o{'width'} and $o{'width'} == 1 || $o{'width'} == 2 || $o{'width'} == 4
97 0 27 0 defined $o{'org'} and $o{'org'} eq 'rowwise' || $o{'org'} == 'colwise'
124 0 0 14 defined $other and ref $other eq $class
153 0 0 13 defined $result and ref $result eq $class
170 0 0 50 defined $other and ref $other eq $class
192 0 0 3 defined $other and ref $other eq $class
269 0 0 69 defined $row and defined $col
0 0 69 defined $row and defined $col and defined $words
318 0 0 71 defined $row and defined $col
355 4 67 0 $self->ORG eq 'rowwise' and $words + $self->COLS * $row + $col > $msize
373 0 0 22 defined $other and ref $other eq $class
599 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
605 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
630 3 5 0 defined $rows and not ref $rows
634 3 5 0 defined $cols and not ref $cols
639 3 3 2 defined $rows and defined $cols
3 0 3 defined $rows and $self->ORG eq 'rowwise'
0 3 0 defined $cols and $self->ORG eq 'colwise'

or 2 conditions

line l !l condition
256 12 57 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
29 0 57 0 ref $proto || $proto
80 22 5 0 ref $proto || $proto
92 14 13 0 $o{'width'} == 1 || $o{'width'} == 2 || $o{'width'} == 4
97 27 0 0 $o{'org'} eq 'rowwise' || $o{'org'} == 'colwise'
217 0 0 12 $offset < 0 or $offset >= $self->ROWS * $self->COLS
235 0 0 12 $row < 0 or $row >= $self->ROWS
239 0 0 12 $col < 0 or $col >= $self->COLS
273 0 0 69 $order < 0 or $order > 2
279 0 0 69 $row < 0 or $row >= $self->ROWS
283 0 0 69 $col < 0 or $row >= $self->ROWS
322 0 0 71 $order < 0 or $order > 2
326 0 0 71 $row < 0 or $row >= $self->ROWS
330 0 0 71 $col < 0 or $row >= $self->ROWS
355 0 0 71 $self->ORG eq 'rowwise' and $words + $self->COLS * $row + $col > $msize or $words + $self->ROWS * $col + $row > $msize
593 5 3 4 defined $rows or defined $cols
594 0 0 3 defined $rows or defined $cols