Condition Coverage

blib/lib/Net/SSH/Perl/Key/Ed25519.pm
Criterion Covered Total %
condition 7 28 25.0


and 3 conditions

line !l l&&!r l&&r condition
77 1 0 0 not $passphrase and $ciphername ne "none"
80 0 1 0 $kdfname ne "none" and $kdfname ne "bcrypt"
83 0 1 0 $kdfname ne "none" and $ciphername eq "none"
257 0 0 0 $keyA->{'pub'} and $keyB->{'pub'}
292 0 0 1 $pass and $salt

or 2 conditions

line l !l condition
160 0 0 $ciphername ||= "aes256-cbc"
171 0 0 $rounds ||= 16

or 3 conditions

line l !l&&r !l&&!r condition
97 0 0 1 length $encrypted < $cipher->blocksize or length($encrypted) % $cipher->blocksize
127 0 0 1 $check1 != $check2 or not defined $check1
135 0 0 1 length $pub_key != 32 or length $priv_key != 64