Crypto/Transaction/Signer/Role/ScriptHash.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Crypto/Transaction/Signer/Role/KeyHash.pm ↑ Summary Crypto/Transaction/Signer/Segwit.pm »
1 package Bitcoin::Crypto::Transaction::Signer::Role::ScriptHash;
2 8 $Bitcoin::Crypto::Transaction::Signer::Role::ScriptHash::VERSION = '4.006';
3 8 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 ▶use Mooish::Base -standard, -role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 8 requires qw(
9 _initialize
10 script
11 signature
12 );
13  
14 14 ▶after '_initialize' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
15 14 my ($self) = @_;
16  
17 # do not use add_bytes (not part of this script)
18 14 push @{$self->signature}, $self->script->to_serialized;
19 8 };
20  
21 8 1;
22  
« Crypto/Transaction/Signer/Role/KeyHash.pm ↑ Summary Crypto/Transaction/Signer/Segwit.pm »