Branch Coverage

blib/lib/Game/TextPatterns/Util.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
22 11 5 unless $p->[0] <= 0
23 11 5 unless $p->[0] >= $max_col
24 11 5 unless $p->[1] <= 0
25 11 5 unless $p->[1] >= $max_row
32 9 5 unless $p->[0] == 0
33 9 5 unless $p->[0] == $max_col
34 9 5 unless $p->[1] == 0
35 9 5 unless $p->[1] == $max_row
36 6 8 unless $p->[0] == 0 or $p->[1] == 0
39 6 8 unless $p->[0] == 0 or $p->[1] == $max_row
42 6 8 unless $p->[0] == $max_col or $p->[1] == 0
45 6 8 unless $p->[0] == $max_col or $p->[1] == $max_row