Branch Coverage

blib/lib/Bitcoin/Crypto/Transaction.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
403 0 49 unless $input->signature_script->is_pushes_only
416 0 36 unless $script_runner->success
422 14 22 if ($locking_script->has_type and $locking_script->type eq "P2SH")
428 1 13 unless $script_runner->success
434 10 3 if ($redeem_script->is_native_segwit)
444 0 20 unless $compat_script or $input->signature_script->is_empty
458 11 9 if ($locking_script->type eq 'P2WPKH') { }
9 0 elsif ($locking_script->type eq 'P2WSH') { }
470 1 17 unless $script_runner->success
476 9 8 if ($locking_script->type eq "P2WSH")
482 2 6 unless $script_runner->success