Branch Coverage

blib/lib/Games/AIBot.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
56 0 0 $] > 5.00562 ? :
65 0 0 exists $$bot[0]{$1} ? :
68 0 0 if $line =~ /^sub[\s\t]+(.+)[\s\t]+{/ or $line =~ /^(.+):[\s\t]*{/
85 0 0 unless open _, $file
93 0 0 if (/^require[\s\t]+\'?([^\']+)\'?/) { }
97 0 0 if $_
109 0 0 if ($@)
118 0 0 if $line eq '}'
119 0 0 if ($count++ > 100)
124 0 0 if ($line =~ /^\$[{\w]/) { }
0 0 elsif ($line =~ /^(?:else|elsif)[\s\t]/) { }
0 0 elsif ($line =~ /^sub[\s\t]+(.+)[\s\t]+{$/ or $line =~ /^(.+):[\s\t]*{$/) { }
0 0 elsif ($line =~ /^goto[\s\t]+(.+)/) { }
0 0 elsif ($line =~ /^call[\s\t]+(.+)/ or $line =~ /^(.+)\(\)$/) { }
0 0 elsif ($line eq 'redo') { }
0 0 elsif ($line eq 'return') { }
0 0 elsif ($line =~ /^(if|unless)[\s\t]+(.+){$/) { }
0 0 elsif ($line =~ /^(e|d)(?:nable|isable)[\s\t]+(\w+)/) { }
0 0 elsif ($line =~ /^print[\s\t]+/) { }
147 0 0 unless $$bot{'stack'} and @{$$bot{'stack'};}
152 0 0 if ($1 eq 'if' xor $bot->cond($2))
154 0 0 if $bot->cond($cond)
160 0 0 if $1 eq 'e' xor $$bot{$2}
168 0 0 int $1 eq $1 ? :
0 0 if $line =~ s/\s*\*\s*(.+)$//
184 0 0 unless $depth
197 0 0 if ($line eq 'else {') { }
0 0 elsif ($line =~ /^(?:elsif[\s\t])(.+){/) { }
213 0 0 unless defined($$bot{'line'} = $$bot{'stateidx'}{$state})
223 0 0 $lineflag ? :
234 0 0 unless defined $$bot{"${rel}_x"}
270 0 0 if not $head or $$bot{'h'} eq $head
275 0 0 if $delta == 1
276 0 0 if $delta == 2
277 0 0 if $delta == 3
283 0 0 unless defined $$bot{"${rel}_x"}
285 0 0 if ($$bot{"${rel}_x"} == $$bot{'x'}) { }
0 0 elsif ($$bot{"${rel}_y"} == $$bot{'y'}) { }
304 0 0 index($_[0], '|') > -1 ? :
0 0 @_ ? :
315 0 0 index($_[0], '|') > -1 ? :
0 0 @_ ? :