Condition Coverage

blib/lib/Games/Roguelike/Mob.pm
Criterion Covered Total %
condition 1 39 2.5


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 16 $area and $area->isa('Games::Roguelike::Area')
175 0 0 0 $dx == 0 and $dy == 0
195 0 0 0 $$self{'singleminded'} == 0 and rand 2 > 1
0 0 0 $$self{'singleminded'} == 0 and rand 2 > 1 and $$self{'odir'}
335 0 0 0 not $world and $$self{'autopath'}
0 0 0 not $world and $$self{'autopath'} and @{$$self{'autopath'};}

or 3 conditions

line l !l&&r !l&&!r condition
261 0 0 0 $c eq 'h' or $c eq 'LEFT'
264 0 0 0 $c eq 'l' or $c eq 'RIGHT'
267 0 0 0 $c eq 'j' or $c eq 'DOWN'
270 0 0 0 $c eq 'k' or $c eq 'UP'
354 0 0 0 $tx < 0 or $ty < 0
355 0 0 0 $tx >= $$area{'w'} or $ty >= $$area{'h'}
395 0 0 0 $bc eq 'q' or $bc eq 'ESC'