Branch Coverage

blib/lib/Games/Solitaire/Verify/Solution/ExpandMultiCardMoves.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
72 1 216 if (not defined $self->_st) { }
79 0 216 if ($self->_st->to_string ne $str)
95 0 434 if ($line ne "\n")
119 0 434 unless ($line =~ /\A={3,}\n\z/u)
134 0 434 if ($line ne "\n")
143 2 432 if ($line eq "This game is solveable.\n")
191 80 352 if ($self->_move->source_type eq 'stack' and $self->_move->dest_type eq 'stack' and $self->_move->num_cards > 1 and $self->_variant_params->sequence_move eq 'limited') { }
206 150 170 unless (defined $self->_st->get_freecell($idx))
214 32 528 if ($idx != $ultimate_dest and $idx != $ultimate_source and not $self->_st->get_column($idx)->len)
257 0 432 if (my $verdict = $self->_st->verify_and_perform_move('Games::Solitaire::Verify::Move'->new({'fcs_string', $move_line, 'game', $self->_variant})))
305 0 144 if ($num_cards <= 0) { }
361 0 352 if (my $verdict = $self->_st->verify_and_perform_move($self->_move))
383 0 2 unless ($line =~ /\A(-=)+-\n\z/u)
399 2 0 if (not $@) { }
0 0 elsif ($err = 'Exception::Class'->caught('Games::Solitaire::Verify::Exception::VerifyMove')) { }
413 0 0 ref $err ? :