Condition Coverage

blib/lib/Blockchain/Ethereum/Keystore/File.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
31 0 0 2 builtin::blessed($key) and $key->isa("Blockchain::Ethereum::Key")
53 0 0 5 $decoded->{'version'} and $decoded->{'version'} == 3

or 2 conditions

line l !l condition
76 2 0 +(shift())->{'version'} //= 3

or 3 conditions

line l !l&&r !l&&!r condition
61 0 7 0 +(shift())->{'cipher'} //= "Crypt::Mode::CTR"->new("AES", 1)
66 15 2 0 $self->{'ciphertext'} //= $self->_generate_ciphertext
71 8 2 0 $self->{'mac'} //= $self->_generate_mac
81 9 2 0 $self->{'iv'} //= $self->_generate_random_iv
86 38 2 0 $self->{'kdf'} //= $self->_generate_kdf
91 2 2 0 $self->{'id'} //= $self->_generate_id