Branch Coverage

blib/lib/Crypt/RFC8188.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
21 1 23 unless $salt and length $salt == 16
23 3 20 if ($dh) { }
24 1 2 unless $private_key
27 1 1 $mode eq 'encrypt' ? :
34 1 21 unless $secret
38 19 2 unless $dh
39 2 19 if ($auth_secret)
54 0 6 if $rs > $MAX_RECORD_SIZE
59 1 5 if $rs <= $overhead
69 5 0 $i + $chunk_size >= $end ? :
76 1 4 if (not $keyid and $private_key) { }
81 1 4 if length $keyid > 255
94 1 8 if $rs <= $overhead
97 1 7 if ($private_key and not $dh) { }
116 1 7 unless defined $data
119 1 6 unless length $data
121 1 5 if not $last and $last_byte != 1
122 1 4 if $last and $last_byte != 2