Branch Coverage

blib/lib/Games/2048.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
81 0 0 if $self->first_time and not $self->no_restore_game
84 0 0 if $self->first_time
90 0 0 unless $self->no_frame_delay
93 0 0 unless ($self->game->lose or $self->game->win)
99 0 0 if ($self->quit or $self->restart or ($self->game->lose or $self->game->win and not $self->game->needs_redraw))
105 0 0 unless $self->no_frame_delay
109 0 0 if $self->game->lose and not $self->no_save_game
111 0 0 unless ($self->quit or $self->restart)
119 0 0 if not $self->no_save_game
125 0 0 if (not $self->restart and $self->game and $self->game->is_valid and not $self->game->lose)
134 0 0 if ($self->game)
155 0 0 if (not $self->game && blessed($self->game) or ref $self->game ne $self->game_class)