Condition Coverage

blib/lib/Math/PlanePath/CellularRule.pm
Criterion Covered Total %
condition 32 75 42.6


and 3 conditions

line !l l&&!r l&&r condition
937 692 17385 19 scalar @$row_end_n >= 3 and $row_end_n->[-1] == $row_end_n->[-2]
18077 3 16 scalar @$row_end_n >= 3 and $row_end_n->[-1] == $row_end_n->[-2] and $row_end_n->[-2] == $row_end_n->[-3]
986 12240 12240 26112 $x <= $y && ($x += $y) >= 0
992 204 1326 0 scalar @$row_end_n >= 3 and $row_end_n->[-1] == $row_end_n->[-2]
1530 0 0 scalar @$row_end_n >= 3 and $row_end_n->[-1] == $row_end_n->[-2] and $row_end_n->[-2] == $row_end_n->[-3]
1025 0 0 0 scalar @$row_end_n >= 3 and $row_end_n->[-1] == $row_end_n->[-2]
0 0 0 scalar @$row_end_n >= 3 and $row_end_n->[-1] == $row_end_n->[-2] and $row_end_n->[-2] == $row_end_n->[-3]
1334 0 23040 768 $y >= 0 and $x == $y * $self->{'sign'}

or 2 conditions

line l !l condition
1272 48 0 $self->{'align'} ||= 'left'
1604 10 0 $self->{'align'} ||= 'left'
1843 10 0 $self->{'align'} ||= 'left'

or 3 conditions

line l !l&&r !l&&!r condition
81 0 0 0 ($self->{'rule'} & 23) == 0 || ($self->{'rule'} & 95) == 14 || ($self->{'rule'} & 95) == 84
110 70 63 21 $self->{'rule'} & 2 || ($self->{'rule'} & 3) == 1
118 0 0 0 ($self->{'rule'} & 23) == 0 || $self->{'rule'} == 70 || $self->{'rule'} == 198 || $self->{'rule'} == 78 || $self->{'rule'} == 110 || $self->{'rule'} == 230
204 0 0 0 ($self->{'rule'} & 23) == 0 || ($self->{'rule'} & 95) == 84
267 0 0 0 ($self->{'rule'} & 23) == 1 || $self->{'rule'} == 7 || $self->{'rule'} == 21 || $self->{'rule'} == 19 || ($self->{'rule'} & 151) == 23
838 104 3 0 $class->can('new') or eval "require $class; 1"
986 0 24480 26112 $y < 0 or not $x <= $y && ($x += $y) >= 0
1069 0 0 0 $rule & 1 || ($rule & 22) == 22
1079 0 0 0 $rule & 1 || ($rule & 22) == 22
1108 0 0 0 $a_low == 18 or $a_low == 5
1118 0 0 0 $class->_UNDOCUMENTED__rule_is_finite($rule) || ($rule & 64) >> 3 == ($rule & 8) && ($rule & 16) >> 3 == ($rule & 2)
1606 10 0 0 $align_to_sign{$self->{'align'}} || croak('Unrecognised align parameter: ', $self->{'align'})
1657 928 928 136 $x < 0 or $x > 1
1845 10 0 0 $align_to_sign{$self->{'align'}} || croak('Unrecognised align parameter: ', $self->{'align'})
1891 1860 1860 262 $x < ($y ? -1 : 0) or $x > 0