Condition Coverage

blib/lib/Convert/PEM.pm
Criterion Covered Total %
condition 22 45 48.8


and 3 conditions

line !l l&&!r l&&r condition
151 16 0 43 %headers and $headers{'Proc-Type'} eq "4,ENCRYPTED"
275 14 0 21 exists $Convert::PEM::CTYPES{$cn} and exists $Convert::PEM::CTYPES{$cn}{'c'}
312 0 0 14 $all and exists $Convert::PEM::CTYPES{$cn}{'c'}

or 2 conditions

line l !l condition
65 153 0 $pem->{'_asn'} || (return)
263 0 0 has_cipher(shift()) || (return undef)
330 40 3 $param{'Password'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
67 0 138 15 $prm{'Macro'} || $pem->{'Macro'}
122 0 43 8 $param{'Macro'} || $pem->{'Macro'}
144 0 59 0 $param{'Name'} || $pem->name
171 0 94 7 $param{'Macro'} || $pem->{'Macro'}
188 4 65 0 $param{'DER'} || $pem->to_der(%param)
199 0 69 0 $param{'Name'} || $pem->name
261 0 0 0 ref $_[0] || $_[0] eq __PACKAGE__
273 21 7 7 ref $_[0] || $_[0] eq __PACKAGE__
294 0 0 0 ref $_[0] || $_[0] eq __PACKAGE__
304 27 0 0 ref $_[0] || $_[0] eq __PACKAGE__