Branch Coverage

blib/lib/DigiByte/DigiID.pm
Criterion Covered Total %
branch 15 36 41.6


line true false branch
43 0 0 if ($options{'nossl'})
69 0 1 if (length $decoded_address != 21 or $decoded_address[0] ne "\036" and not $testnet or $decoded_address[0] ne 'o' and $testnet)
79 0 1 if (length $decoded_signature != 65)
85 0 1 if ($recovery_flags < 0 or $recovery_flags > 7)
108 0 1 unless ($pubkey)
117 1 0 if ($is_compressed) { }
118 1 0 _is_bignum_even($point->y) ? :
131 0 1 if ($testnet) { }
157 2 0 if ($chr ne '1')
160 0 0 if ($testnet) { }
174 1 1 if ($exp_check_sum ne $checksum)
184 1 0 if ($i < 253) { }
0 0 elsif ($i <= 65535) { }
0 0 elsif ($i <= 4294967295) { }
237 0 1 if ($is_second_key) { }
251 0 1 if ($is_bignum_even == $is_y_even) { }
274 1 0 $q_k->verifies($e, $signature) ? :
280 0 1 if ($exponent < 0)