| blib/lib/Bitcoin/Crypto/Role/Key.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 40 | 0 | 131 | unless @params == 1 |
| 63 | 60 | 501 | if &blessed($entropy) and $entropy->isa("Crypt::PK::ECC") |
| 68 | 1 | 500 | unless defined $is_private |
| 72 | 354 | 146 | if $is_private |
| 89 | 140 | 140 | if $purpose |
| 97 | 570 | 569 | unless (defined $type) |
| 99 | 443 | 127 | if ($self->_is_private) { } |
| 7 | 176 | elsif ($self->does('Bitcoin::Crypto::Role::Compressed') and not $self->compressed) { } |