Condition Coverage

blib/lib/Bitcoin/Crypto/Bech32.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
271 35 5 25 not $type and verify_checksum_bech32m($hrp, $data)
286 15 17 2 $ver == 0 and $type ne "bech32"
17 11 4 $ver > 0 and $type ne "bech32m"

or 3 conditions

line l !l&&r !l&&!r condition
213 0 0 2068 $num < 0 or $num > 31
286 2 4 28 $ver == 0 and $type ne "bech32" or $ver > 0 and $type ne "bech32m"