Condition Coverage

blib/lib/Games/Roguelike/World.pm
Criterion Covered Total %
condition 4 39 10.2


and 3 conditions

line !l l&&!r l&&r condition
160 4 0 0 $$self{'areas'}{$$area{'name'}} and $$self{'areas'}{$$area{'name'}} != $area
174 0 0 3 @_ and not exists $$self{$name}
209 0 0 0 $$self{'con'} and not ref($$self{'con'}) =~ /win32/i
0 0 0 $$self{'con'} and not ref($$self{'con'}) =~ /win32/i and not ref($$self{'con'}) =~ /dump/i
254 0 0 0 $opts{'echo'} and length $str < $opts{'max'}
255 0 0 0 length $c == 1 and ord $c > 30
0 0 0 length $c == 1 and ord $c > 30 and ord $c < 128
264 0 0 0 length $c == 1 and ord $c > 30
0 0 0 length $c == 1 and ord $c > 30 and ord $c < 128
466 0 0 0 $x == $$self{'msgx'} and $$self{'msgy'} + $$self{'msgh'} == $y
469 0 0 0 $x == $$self{'msgx'} and $y + $$self{'disph'} == $$self{'msgy'}

or 3 conditions

line l !l&&r !l&&!r condition
123 0 2 3 $$self{'con'} or $$self{'noconsole'}
252 0 0 0 length $str > 0 or $opts{'empty'}