Branch Coverage

blib/lib/Ordeal/Model/Shuffle.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
25 0 5 unless $self->deck
26 1 4 unless ($self->random_source)
30 0 5 unless defined $self->default_n_draw
46 0 0 unless exists $args{'random_source'}
48 0 0 if (my $indexes = $self->_indexes) { }
59 0 5 unless $n =~ /\A(?: 0 | [1-9]\d*)\z/msux
64 0 5 if $n == 0
65 0 5 if $n > $i + 1
69 3 2 if (my $indexes = $self->_indexes) { }
85 0 5 $self->auto_reshuffle ? :
87 0 5 if @retval == 1