blib/lib/Bitcoin/Crypto/Role/ExtendedKey.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 32 | 78.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
53 | 90 | 165 | 38 | $purpose and $purpose eq 49 |
54 | 90 | 181 | 22 | $purpose and $purpose eq 84 |
98 | 0 | 0 | 32 | defined $serialized and length $serialized == 78 |
124 | 24 | 120 | 32 | $this_version && $this_version eq $version |
136 | 32 | 0 | 0 | @found_networks == 0 and defined $network |
210 | 63 | 0 | 24 | &blessed($path) and $path->isa("Bitcoin::Crypto::BIP44") |
229 | 72 | 15 | 1 | not $self->_is_private and $path_info->{'private'} |
244 | 15 | 53 | 19 | $self->_is_private and not $path_info->{'private'} |
line | l | !l | condition |
---|---|---|---|
192 | 0 | 276 | $len //= 4 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
48 | 176 | 117 | 0 | $network //= $self->network |
49 | 176 | 27 | 90 | $purpose //= $self->purpose |