Condition Coverage

blib/lib/Game/TextPatterns.pm
Criterion Covered Total %
condition 25 42 59.5


and 3 conditions

line !l l&&!r l&&r condition
126 1 0 1 defined $char and length $char
314 0 0 6 defined $cols && &looks_like_number($cols)

or 3 conditions

line l !l&&r !l&&!r condition
119 0 0 1 not &looks_like_number($width) or $width < 1
154 0 1 45 $p->[0] < 0 or $p->[0] >= $cols
1 0 45 $p->[0] < 0 or $p->[0] >= $cols or $p->[1] < 0
1 0 45 $p->[0] < 0 or $p->[0] >= $cols or $p->[1] < 0 or $p->[1] >= $rows
175 1 0 15 $p2->[0] == 0 or $p2->[1] == 0
227 2 1 2 $reduce_row //= $reduce_col
314 0 0 6 not defined $cols && &looks_like_number($cols) or $cols < 1
320 0 0 4 not &looks_like_number($rows) or $rows < 1
343 0 1 3 $p->[0] < 0 or $p->[0] >= $cols
1 0 3 $p->[0] < 0 or $p->[0] >= $cols or $p->[1] < 0
1 0 3 $p->[0] < 0 or $p->[0] >= $cols or $p->[1] < 0 or $p->[1] >= $rows
396 2 18 0 $sep //= $/