blib/lib/Crypt/Passphrase/Linux.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 13 | 53.8 |
line | l | !l | condition |
---|---|---|---|
28 | 1 | 0 | $args{'type'} // "sha512" |
31 | 1 | 0 | $args{'rounds'} // 656000 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
29 | 1 | 0 | 0 | $identifier_for{$type_name} // croak("No such crypt type $type_name") |
50 | 1 | 4 | 0 | $hash =~ m[ \A [./A-Za-z0-9]{13} \z ]x || $self->SUPER::accepts_hash($hash) |
63 | 2 | 0 | 2 | $type ne $self->{'type'} || $rounds != $self->{'rounds'} || length $salt != $self->{'salt_size'} * 4 / 3 |