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