blib/lib/Digest/Bcrypt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 15 | 93.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
143 | 1 | 1 | 55 | defined $cost && $cost =~ /^\d+$/ |
152 | 1 | 2 | 48 | $salt and &bytes::length($salt) == 16 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 2 | 37 | 0 | ref $class || $class |
143 | 1 | 2 | 52 | $cost < 5 or $cost > 31 |
2 | 3 | 52 | not defined $cost && $cost =~ /^\d+$/ or ($cost < 5 or $cost > 31) |