Branch Coverage

blib/lib/Bitcoin/Crypto/Script.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
263 24 18 if ($op_code =~ /^OP_(.+)/) { }
18 0 elsif ($op_code =~ /^[0-9]+$/ and $op_code >= 1 and $op_code <= 75) { }
273 0 0 defined $op_code ? :
302 0 20 unless $len
306 1 19 if ($bytes =~ /[\x00-\x10]/ and $len == 1) { }
312 18 1 if ($len <= {sign => '+', value => \42688160}) { }
1 0 elsif ($len < {sign => '+', value => \63527584}) { }
0 0 elsif ($len < {sign => '+', value => \63714464}) { }
0 0 elsif ($len < {sign => '+', value => \63715072}) { }
367 0 4 unless $self->network->supports_segwit
382 0 4 unless $self->network->supports_segwit