blib/lib/App/bmkpasswd.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 28 | 46.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
93 | 0 | 0 | 0 | exists $_shatests{$type} and $_shatests{$type}->() |
103 | 0 | 0 | 0 | $testc and index($testc, '$1$abcd$') == 0 |
210 | 0 | 0 | 23 | defined $pwd and $crypt |
215 | 1 | 15 | 7 | $pos_a == 0 and $pos_b == 2 |
line | l | !l | condition |
---|---|---|---|
90 | 0 | 0 | $_[0] || 512 |
153 | 8 | 2 | $opts{'cost'} || '08' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 0 | 0 | 0 | $brs ||= 'Bytes::Random::Secure::Tiny'->new('Bits', 128, 'NonBlocking', 0) |
15 | 3 | 0 | $params{'strong'} ? $brs ||= 'Bytes::Random::Secure::Tiny'->new('Bits', 128, 'NonBlocking', 0) : $brsnb ||= 'Bytes::Random::Secure::Tiny'->new('Bits', 128, 'NonBlocking', 1) | |
147 | 1 | 0 | 15 | $opts{'saltgen'} || $SaltGenerator |
215 | 7 | 15 | 1 | $pos_a == 0 and $pos_b == 2 or $pos_b == 3 |