blib/lib/Mojolicious/Plugin/BcryptSecure.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 9 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
14 | 1 | 5 | 5 | defined $cost and $cost =~ /^\d{1,2}$/ |
6 | 1 | 4 | defined $cost and $cost =~ /^\d{1,2}$/ and $cost > 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 68 | 16 | 0 | $_[2] // $settings_without_salt . '$' . &Crypt::Eksblowfish::Bcrypt::en_base64(scalar Crypt::URandom::urandom(16)) |