Branch Coverage

blib/lib/OpenCA/CRL.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
95 0 0 if (scalar @_ == 4) { }
125 0 0 unless $$self{'backend'}
137 0 0 if (defined $infile and $infile ne '')
139 0 0 unless open FD, "<$infile"
147 0 0 unless ($$self{'crl'})
169 0 0 unless $$self{'crl'}
175 0 0 if ($$self{'crl'} ne '')
180 0 0 unless ($self->init)
195 0 0 unless $$self{'crl'}
205 0 0 unless $$self{'parsedItem'}
228 0 0 unless ($hret)
277 0 0 if (($txt) = $req =~ /$beginHeader\n([\S\s\n]+)\n$endHeader/m)
306 0 0 unless $$self{'parsedItem'}
314 0 0 if ($$self{'crlFormat'} eq 'PEM')
319 0 0 unless ($$self{'pemCRL'})
324 0 0 unless $$self{'pemCRL'}
335 0 0 if ($$self{'crlFormat'} eq 'DER')
338 0 0 unless ($$self{'derCRL'})
343 0 0 unless $$self{'derCRL'}
354 0 0 unless ($$self{'txtCRL'})
359 0 0 unless $$self{'txtCRL'}