Branch Coverage

blib/lib/Bitcoin/Crypto/Role/Key.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
21 60 502 if &blessed($entropy) and $entropy->isa("Crypt::PK::ECC")
26 1 501 unless defined $is_private
30 354 147 if $is_private
69 2 543 unless $self->key_instance->is_private == $self->_is_private
92 570 569 unless (defined $type)
94 443 127 if ($self->_is_private) { }
7 176 elsif ($self->does('Bitcoin::Crypto::Role::Compressed') and not $self->compressed) { }