Condition Coverage

blib/lib/VOMS/Lite/CertKeyHelper.pm
Criterion Covered Total %
condition 22 63 34.9


and 3 conditions

line !l l&&!r l&&r condition
113 0 0 2 $CI{'Start'} < $now && $CI{'End'} > $now
114 2 0 0 defined $CI{'basicConstraintsPathLen'} && $CI{'basicConstraintsPathLen'} < $#_ - $#PathLen
121 2 0 0 not $SignerPurposeCA[-1] || $SignerCertSignPurpose[-1] and $lastkeyUsageDigitalSignature
142 2 0 0 defined $CI{"ProxyPathlen$CI{'ProxyInfo'}"} && $CI{"ProxyPathlen$CI{'ProxyInfo'}"} < $#_ - $#ProxyPathLen
159 1 1 0 $i > 0 and $GSIType[$i] =~ /^Bad/
161 2 0 0 not $Signed[$i] and $i != 0 || $Self[$i]
162 1 1 0 $i != 0 and $Self[$i]
163 0 2 0 not $GSIType[$i] =~ /^(?:Lega[sc]y|Limited|RFC|Pre-RFC) Proxy$/ and $i != 0 || $Self[$i]
240 0 0 1 $cert{$file} eq '' and defined $dir{$file}
254 0 1 0 $IDNs[-1] eq $dn{$file} and !defined($AKID[-1]) || $AKID[-1] eq $skid{$file}
256 1 0 0 $DNs[-1] eq $IDNs[-1] and !defined($AKID[-1]) || $SKID[-1] eq $AKID[-1]
276 0 1 0 $DNs[-1] eq $IDNs[-1] and !defined($AKID[-1]) || $SKID[-1] eq $AKID[-1]

or 3 conditions

line l !l&&r !l&&!r condition
102 0 1 0 not defined $CI{'authorityKeyIdentifierSkid'} or $CI{'subjectKeyIdentifier'} eq $CI{'authorityKeyIdentifierSkid'}
121 2 0 0 $SignerPurposeCA[-1] || $SignerCertSignPurpose[-1]
122 0 0 0 $CI{'ProxyInfo'} eq 'RFC' or $CI{'ProxyInfo'} eq 'Pre-RFC'
135 1 0 1 $CI{'basicConstraintsCA'} or $CI{'keyUsageKeyCertSign'}
161 0 0 0 $i != 0 || $Self[$i]
163 1 1 0 $i != 0 || $Self[$i]
254 0 1 0 !defined($AKID[-1]) || $AKID[-1] eq $skid{$file}
256 0 0 0 !defined($AKID[-1]) || $SKID[-1] eq $AKID[-1]
276 0 1 0 !defined($AKID[-1]) || $SKID[-1] eq $AKID[-1]