| blib/lib/App/Genpass.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 27 | 40.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 119 | 0 | 0 | 0 | -e $file and -r $file |
| 164 | 0 | 0 | 0 | $cfany_hash and ref $cfany_hash |
| 0 | 0 | 0 | $cfany_hash and ref $cfany_hash and ref $cfany_hash eq 'HASH' | |
| 221 | 4004 | 1004 | 0 | defined $self->length and $num_of_types > $self->length |
| 254 | 0 | 27252 | 15143 | $verify and $char_type |
| 27252 | 0 | 15143 | $verify and $char_type and @{$self->$char_type;} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 221 | 0 | 0 | 5008 | defined $self->length and $num_of_types > $self->length or $num_of_types > $self->minlength |
| 237 | 1004 | 4004 | 0 | $self->length || $self->minlength + int(&_rand(abs($self->maxlength - $self->minlength) + 1)) |
| 240 | 6 | 5002 | 0 | $number ||= $self->number |