Condition Coverage

blib/lib/App/bmkpasswd.pm
Criterion Covered Total %
condition 13 28 46.4


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 0 exists $_shatests{$type} and $_shatests{$type}->()
74 0 0 0 $testc and index($testc, '$1$abcd$') == 0
203 0 0 23 defined $pwd and $crypt
208 1 15 7 $pos_a == 0 and $pos_b == 2

or 2 conditions

line l !l condition
61 0 0 $_[0] || 512
146 8 2 $opts{'cost'} || '08'

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 0 $brs ||= 'Bytes::Random::Secure::Tiny'->new('Bits', 128, 'NonBlocking', 0)
12 6 0 $params{'strong'} ? $brs ||= 'Bytes::Random::Secure::Tiny'->new('Bits', 128, 'NonBlocking', 0) : $brsnb ||= 'Bytes::Random::Secure::Tiny'->new('Bits', 128, 'NonBlocking', 1)
140 1 15 0 $opts{'saltgen'} || $_saltgen
208 7 15 1 $pos_a == 0 and $pos_b == 2 or $pos_b == 3