Branch Coverage

lib/Games/PMM/Actions.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
56 0 4 if (my $direction = $self->should_turn($monster, $arena, $type))
66 4 0 $$pos{$ax1} < $$closest{$ax1} ? :
92 5 1 unless $type eq 'charge' and $$pos{$ax1} == $$closest{$ax2} or $type eq 'retreat' and $$pos{$ax1} == 0 || $$pos{$ax1} == $arena->$limit
96 2 1 $type eq 'charge' ? :
99 2 1 $compare ? :