Condition Coverage

blib/lib/Games/2048/Game.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
41 131 269 171 $self->within_bounds($next) and not $self->tile($next)
69 60 0 0 $merged_tile->value >= 2048 and not $self->won
113 0 151 322 $tile and $next_tile
151 34 288 $tile and $next_tile and not $next_tile->merged

or 3 conditions

line l !l&&r !l&&!r condition
35 13 6 19 $$vec[0] > 0 || $$vec[1] > 0