blib/lib/Bitcoin/Crypto/Segwit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 6 | 100.0 |
line | true | false | branch |
---|---|---|---|
34 | 4 | 38 | unless length $data >= 2 and length $data <= 40 |
46 | 1 | 42 | unless defined $version and $version >= 0 and $version <= 16 |
53 | 27 | 11 | if (defined $validator and ref $validator eq ref sub { |