Branch Coverage

blib/lib/Bitcoin/Crypto/Transaction/Digest.pm
Criterion Covered Total %
branch 28 30 93.3


line true false branch
40 0 81 unless $input
45 46 35 if $input->is_segwit
69 27 8 if ($self->signing_subscript) { }
73 0 8 unless $this_input->utxo->output->is_standard
81 3 32 if ($sighash_type == 2) { }
3 29 elsif ($sighash_type == 3) { }
84 2 3 unless $input == $this_input
89 1 2 if ($self->signing_index >= @{$transaction->outputs;})
109 3 2 unless $input == $this_input
114 1 33 if ($anyonecanpay)
135 42 4 if ($self->signing_subscript)
172 5 41 $anyonecanpay ? :
178 9 37 $anyonecanpay || $single || $none ? :
193 38 8 if (not $single || $none) { }
4 4 elsif ($single and $self->signing_index < @outputs) { }