blib/lib/String/Random.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
215 | 1 | 27 | if (@args) |
216 | 0 | 28 | if (defined $args{'max'}) { } |
222 | 1 | 27 | if (defined $args{'rand_gen'}) { } |
235 | 0 | 40 | unless ref $self |
249 | 194 | 4 | if (defined $regch{$ch}) { } |
0 | 4 | elsif ($ch =~ /[\$\^\*\(\)\+\{\}\]\|\?]/) { } | |
270 | 2 | 38 | wantarray ? : |
276 | 0 | 0 | unless ref $self |
283 | 0 | 9 | unless ref $self |
291 | 18 | 0 | if (defined $self->{$ch}) { } |
302 | 2 | 7 | wantarray ? : |