Condition Coverage

blib/lib/Games/AIBot.pm
Criterion Covered Total %
condition 0 28 0.0


and 3 conditions

line !l l&&!r l&&r condition
147 0 0 0 $$bot{'stack'} and @{$$bot{'stack'};}
248 0 0 0 $$bot{"${rel}_x"} && $$bot{"${rel}_y"} && abs $$bot{"${rel}_x"} - $$bot{'x'} <= 1 && abs $$bot{"${rel}_y"} - $$bot{'y'} <= 1

or 2 conditions

line l !l condition
172 0 0 $times || 1

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 0 $line =~ /^sub[\s\t]+(.+)[\s\t]+{/ or $line =~ /^(.+):[\s\t]*{/
124 0 0 0 $line =~ /^sub[\s\t]+(.+)[\s\t]+{$/ or $line =~ /^(.+):[\s\t]*{$/
0 0 0 $line =~ /^call[\s\t]+(.+)/ or $line =~ /^(.+)\(\)$/
270 0 0 0 not $head or $$bot{'h'} eq $head

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
152 0 0 0 0 $1 eq 'if' xor $bot->cond($2)
160 0 0 0 0 $1 eq 'e' xor $$bot{$2}