Condition Coverage

blib/lib/Crypt/SecretBuffer/PEM.pm
Criterion Covered Total %
condition 12 24 50.0


and 3 conditions

line !l l&&!r l&&r condition
19 0 0 9 $label and $span->parse("-----\n")
131 0 0 13 ref $kv eq "ARRAY" and $kv->$#* & 1
146 11 0 2 builtin::blessed($v) && ($v->isa('Crypt::SecretBuffer::Span') || $v->isa('Crypt::SecretBuffer'))

or 3 conditions

line l !l&&r !l&&!r condition
124 2 4 0 $self->{'headers'} ||= "Crypt::SecretBuffer::PEM::Headers"->new("raw_kv_array", $self->header_kv)->_create_tied_hashref
142 1 0 12 $k =~ /^\s/ or $k =~ /\s\z/
147 2 11 0 $is_secret or utf8::downgrade($v, 1)
152 0 0 2 $v->scan(qr/[\s]/, 2048) || $v->scan(qr/[\s]/, 2304)
0 0 11 $v =~ /^\s/ || $v =~ /\s\z/