Condition Coverage

lib/Games/PMM/Actions.pm
Criterion Covered Total %
condition 9 12 75.0


and 3 conditions

line !l l&&!r l&&r condition
92 3 3 2 $type eq 'charge' and $$pos{$ax1} == $$closest{$ax2}
3 3 0 $type eq 'retreat' and $$pos{$ax1} == 0 || $$pos{$ax1} == $arena->$limit

or 3 conditions

line l !l&&r !l&&!r condition
92 1 0 2 $$pos{$ax1} == 0 || $$pos{$ax1} == $arena->$limit
2 0 6 $type eq 'charge' and $$pos{$ax1} == $$closest{$ax2} or $type eq 'retreat' and $$pos{$ax1} == 0 || $$pos{$ax1} == $arena->$limit