Branch Coverage

blib/lib/Web3/Tiny/Secp256k1.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
31 3 2 if length($hex) % 2
33 0 5 if length $bytes < $len
42 0 5 if $@
68 0 10 unless length $hash == 32
72 0 10 if $@
80 5 5 if ($s_bi->bcmp($HALF_N) > 0)
99 0 8 if $@
110 0 2 if $@
114 1 1 $pk->verify_hash_eth($sig, $hash) ? :