Branch Coverage

blib/lib/Bitcoin/Crypto/Helpers.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
19 0 36 if (eval {
43 18 3 if $warned{$msg}
62 1 1206 if $missing < 0
73 0 445 if $value < 0
77 440 5 if ($value <= 252) { }
4 1 elsif ($value <= 65535) { }
1 0 elsif ($value <= 4294967295) { }
99 2 135 if ($value == 253) { }
1 134 elsif ($value == 254) { }
0 134 elsif ($value == 255) { }
100 0 2 if length $stream < 2
108 0 1 if length $stream < 4
120 0 0 if length $stream < 8
179 17 0 if ($px1->bcmp($px2)) { }
0 0 elsif ($py1->is_zero or $py2->is_zero or $py1->bcmp($py2)) { }
198 17 0 defined $ret ? :
211 209 37 if ($type eq 'hex') { }
37 0 elsif ($type eq 'base58') { }