Branch Coverage

blib/lib/Data/Random/Flexible.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
86 0 0 unless $profiles
120 0 0 if ($select)
124 0 0 if (ref $select eq 'CODE')
129 0 0 if ($value >= 0 and $value < 9)
133 0 0 if ($testresult)
144 0 0 if (/^\Q$select\E$/i)
153 0 0 if (not $newengine) { }
0 0 elsif (not $self->{'engine'}{$self->{'engine'}{'selected'}}) { }
162 0 0 if ($engine eq 'Math::Random::Secure') { }
0 0 elsif ($engine eq 'Math::Random::MTwist') { }
0 0 elsif ($engine eq 'Math::Random::Xorshift') { }
0 0 elsif ($engine eq 'Math::Random::MT') { }
0 0 elsif ($engine eq 'Math::Random::ISAAC') { }
0 0 elsif ($engine eq 'Crypt::PRNG') { }
0 0 elsif ($engine eq 'CORE') { }
209 0 0 if (not $new_profiles) { }
0 0 elsif (ref $new_profiles ne 'HASH') { }
246 0 0 if (not defined $length && $length =~ /^\d+$/) { }
0 0 elsif (not $length) { }
259 0 0 if (CORE::int $self->_rand(2))
284 0 0 if (not defined $length && $length =~ /^\d+$/) { }
0 0 elsif (not $length) { }
322 0 0 if (not defined $length && $length =~ /^\d+$/) { }
0 0 elsif (not $length) { }
333 0 0 if (CORE::int $self->_rand(2)) { }
364 0 0 if (not defined $length && $length =~ /^\d+$/) { }
0 0 elsif (not $length) { }
373 0 0 if ($charset)
374 0 0 if (ref $charset ne 'ARRAY') { }
0 0 elsif (scalar @{$charset;} == 0) { }
388 0 0 unless ($self->{'profiles'}{$profile_name})