Condition Coverage

perllib/Games/Affenspiel/Board.pm
Criterion Covered Total %
condition 0 53 0.0


and 3 conditions

line !l l&&!r l&&r condition
101 0 0 0 $self->get_cell_at([4, 1]) eq '[' && $self->get_cell_at([4, 2]) eq ']'
191 0 0 0 $x1 == $x2 && abs $y1 - $y2 == 1
0 0 0 $y1 == $y2 && abs $x1 - $x2 == 1

or 2 conditions

line l !l condition
49 0 0 shift() || 0
70 0 0 shift() || 0
154 0 0 $$self[$$position[0]][$$position[1]] || '?'
214 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 $is_pipe || $ENV{'DUMB_CHARS'} || !$ENV{'TERM'}
151 0 0 0 $$position[0] < 0 or $$position[1] < 0
0 0 0 $$position[0] < 0 or $$position[1] < 0 or not $$self[$$position[0]]
200 0 0 0 $direction eq 'u' || $direction eq 'd'
207 0 0 0 $direction eq 'l' || $direction eq 'r'
231 0 0 0 $cell eq 'A' or $cell eq 'V'
232 0 0 0 $cell eq '<' or $cell eq '>'
233 0 0 0 $cell eq '/' or $cell eq '\\'
0 0 0 $cell eq '/' or $cell eq '\\' or $cell eq '['
0 0 0 $cell eq '/' or $cell eq '\\' or $cell eq '[' or $cell eq ']'
366 0 0 0 $policy == 2 or $policy == 3
368 0 0 0 $policy == 1 or $policy == 3