Condition Coverage

blib/lib/Crypt/SecretBuffer/PEM/Headers.pm
Criterion Covered Total %
condition 8 27 29.6


and 2 conditions

line l !l condition
82 1 0 push @ret, $_ * 2 and $first_only and last
92 25 0 push @ret, $_ * 2 and $first_only and last

and 3 conditions

line !l l&&!r l&&r condition
32 0 0 5 ref $kv eq "ARRAY" and $kv->$#* & 1
82 0 1 0 push @ret, $_ * 2 and $first_only
92 0 25 0 push @ret, $_ * 2 and $first_only
155 0 0 0 builtin::blessed($val) and $val->isa('Crypt::SecretBuffer') || $val->isa('Crypt::SecretBuffer::Span')

or 2 conditions

line l !l condition
24 5 0 $self->{'raw_kv_array'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
149 0 0 2 $key =~ /[:\0-\x1F\x7F]/ or $key =~ /^\s+/
0 0 2 $key =~ /[:\0-\x1F\x7F]/ or $key =~ /^\s+/ or $key =~ /\s+\z/
155 0 0 0 $val->isa('Crypt::SecretBuffer') || $val->isa('Crypt::SecretBuffer::Span')