Branch Coverage

blib/lib/Crypt/X509/CRL.pm
Criterion Covered Total %
branch 13 100 13.0


line true false branch
147 1 0 unless (defined $parser)
202 0 0 unless exists $$self{'tbsCertList'}{'version'}
222 0 0 unless exists $$self{'tbsCertList'}{'version'}
225 0 0 if $v == 0
226 0 0 if $v == 1
227 0 0 if $v == 2
244 1 0 if (exists $$self{'tbsCertList'}{'thisUpdate'}{'utcTime'}) { }
0 0 elsif (exists $$self{'tbsCertList'}{'thisUpdate'}{'generalTime'}) { }
269 1 0 if (exists $$self{'tbsCertList'}{'nextUpdate'}{'utcTime'}) { }
0 0 elsif ($$self{'tbsCertList'}{'nextUpdate'}{'generalTime'}) { }
384 5 0 if ($oid2attr{$$i{'type'}}) { }
401 0 0 if ($$i{'type'} eq $oid)
521 0 0 if (defined $self->_AuthorityKeyIdentifier)
530 0 0 unless (defined $extensions)
532 0 0 if (defined $$self{'tbsCertList'}{'AuthorityKeyIdentifier'})
537 0 0 if ($$extension{'extnID'} eq '2.5.29.35')
540 0 0 if ($parser->error)
568 0 0 if (not defined $rdn) { }
578 0 0 if ($oid2attr{$$i{'type'}}) { }
593 0 0 if (not defined $rdn) { }
600 0 0 if ($$i{'type'} eq $oid)
700 0 1 if (defined $$self{'tbsCertList'}{'cRLNumber'})
704 0 1 unless (defined $extensions)
707 1 1 if ($$extension{'extnID'} eq '2.5.29.20')
710 0 1 if ($parser->error)
768 0 0 if (defined $$self{'tbsCertList'}{'idp'})
772 0 0 unless (defined $extensions)
775 0 0 if ($$extension{'extnID'} eq '2.5.29.28')
778 0 0 if ($parser->error)
784 0 0 if (exists $$extension{'critical'}) { }
791 0 0 if (exists $$idps{'onlyContainsUserCerts'}) { }
798 0 0 if (exists $$idps{'onlyContainsCACerts'}) { }
805 0 0 if (exists $$idps{'onlyContainsAttributeCerts'}) { }
812 0 0 if (exists $$idps{'indirectCRL'}) { }
824 0 0 if (exists $$each_fullName{'directoryName'}) { }
0 0 elsif (exists $$each_fullName{'uniformResourceIdentifier'}) { }
838 0 0 if (exists $$idps{'onlySomeReasons'}) { }
857 0 0 if ($oid2attr{$$i{'type'}}) { }
925 0 0 if (defined $$self{'tbsCertList'}{'rl'})
930 0 0 unless (defined $rls)
939 0 0 if (exists $$rl{'revocationDate'}{'utcTime'}) { }
0 0 elsif (exists $$rl{'revocationDate'}{'generalTime'}) { }
950 0 0 if ($$extension{'extnID'} eq '2.5.29.21') { }
0 0 elsif ($$extension{'extnID'} eq '2.5.29.24') { }
0 0 elsif ($$extension{'extnID'} eq '2.5.29.23') { }
953 0 0 if ($parser->error)
963 0 0 if ($parser->error)
973 0 0 if ($parser->error)
999 1 1 if (not defined $what or '' eq $what)
1000 1 1 unless (defined $asn)