Branch Coverage

blib/lib/Crypt/Age/Keys.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
38 1 20 unless length $bytes == 32
46 0 16 unless lc $hrp eq $HRP_PUBLIC
48 0 16 unless length $bytes == 32
55 0 19 unless length $bytes == 32
63 0 15 unless lc $hrp eq $HRP_SECRET
65 0 15 unless length $bytes == 32
90 12153 14767 $b >> $i & 1 ? :
147 1 32 if $sep_pos < 1
148 0 32 if $sep_pos + 1 >= length $str
156 0 1804 unless exists $BECH32_CHAR_TO_VAL{$c}
160 0 32 unless bech32_verify_checksum(lc $hrp, \@data)
189 40 32 if ($pad) { }
190 39 1 if ($bits > 0)
194 0 32 if $bits >= $from_bits
195 0 32 if $acc << $to_bits - $bits & $maxv