Condition Coverage

blib/lib/VOMS/Lite/X509.pm
Criterion Covered Total %
condition 83 138 60.1


and 3 conditions

line !l l&&!r l&&r condition
44 90 0 10 $index == 0 and $CLASS == 2
90 0 10 $index == 0 and $CLASS == 2 and $TAG == 0
80 0 10 $index == 1 and $TAG == 2
70 0 10 $index == 2 and $TAG == 16
60 0 10 $index == 3 and $TAG == 16
50 0 10 $index == 4 and $TAG == 16
40 0 10 $index == 5 and $TAG == 16
30 0 10 $index == 6 and $TAG == 16
10 10 10 $index == 7 and $CLASS == 2
20 10 0 $index == 7 and $CLASS == 2 and $TAG == 1
10 10 10 $index == 7 and $CLASS == 2
20 10 0 $index == 7 and $CLASS == 2 and $TAG == 2
10 10 10 $index == 7 and $CLASS == 2
20 0 10 $index == 7 and $CLASS == 2 and $TAG == 3
10 0 10 $index == 7 and $TAG == 16
0 0 10 $index == 8 and $TAG == 3
82 0 0 5 $st[4] eq '23' and $st[5] =~ /^(..)(..)(..)(..)(..)(..)Z$/
0 0 0 $st[4] eq '24' and $st[5] =~ /^(....)(..)(..)(..)(..)(..)Z$/
84 0 0 5 $et[4] eq '23' and $et[5] =~ /^(..)(..)(..)(..)(..)(..)Z$/
0 0 0 $et[4] eq '24' and $et[5] =~ /^(....)(..)(..)(..)(..)(..)Z$/
176 36 9 0 defined $Values{'ProxyInfo'} and $OIDstr eq '1.3.6.1.5.5.7.1.14' || $OIDstr eq '1.3.6.1.4.1.3536.1.222'
190 0 0 0 $Tag == 2 and $PType eq 'RFC'
204 37 8 0 defined $Values{'subjectAltName'} and $OIDstr eq '2.5.29.17'
226 45 0 0 defined $Values{'issuerAltName'} and $OIDstr eq '2.5.29.18'
248 10 27 8 defined $Values{'subjectKeyIdentifier'} and $OIDstr eq '2.5.29.14'
20 12 5 defined $Values{'authorityKeyIdentifier'} and $OIDstr eq '2.5.29.35'
20 7 5 defined $Values{'keyUsage'} and $OIDstr eq '2.5.29.15'
20 2 5 defined $Values{'basicConstraints'} and $OIDstr eq '2.5.29.19'
332 2 1 0 not defined $context{'CACert'} and defined $context{'CAKey'}
333 2 1 0 not defined $context{'CAKey'} and defined $context{'CACert'}
336 3 0 0 not defined $context{'CA'} and defined $context{'CACert'}
343 3 0 0 defined $context{'Extensions'} and ref $context{'Extensions'} ne 'ARRAY'
347 0 3 0 defined $context{'Lifetime'} and not $context{'Lifetime'} =~ /^[0-9]+$/
349 0 3 0 defined $context{'Bits'} and not $context{'Bits'} =~ /^(512|1024|2048|4096)$/
351 3 0 0 defined $context{'SubjectAltName'} and ref $context{'SubjectAltName'} ne 'ARRAY'
365 0 2 0 %CI and defined $CI{'Errors'}
455 1 2 0 defined $context{'CACert'} and $CI{'subjectAltName'} ne ''
2 1 0 not defined $context{'CACert'} and $SubjectAltName ne ''

or 3 conditions

line l !l&&r !l&&!r condition
78 2 3 5 defined $Values{'Start'} or defined $Values{'End'}
89 5 0 5 defined $Values{'SubjectDN'} or defined $Values{'Proxy'}
102 5 0 5 defined $Values{'IssuerDN'} or defined $Values{'Proxy'}
117 2 0 8 defined $Values{'KeypublicExponent'} or defined $Values{'Keymodulus'}
176 0 0 9 $OIDstr eq '1.3.6.1.5.5.7.1.14' || $OIDstr eq '1.3.6.1.4.1.3536.1.222'
304 2 0 8 defined $Values{'SignatureValue'} or defined $Values{'SignatureType'}
334 2 0 1 defined $context{'CACert'} or defined $context{'CAKey'}
335 2 0 1 defined $context{'CACert'} or defined $context{'CA'}