Branch Coverage

VerifyX509.xs
Criterion Covered Total %
branch 16 26 61.5


line true false branch
19 1 3 if (!ok)
20 0 1 switch (X509_STORE_CTX_get_error (ctx)) {
73 5 0 (void) SvPV_nolen(class);
76 0 5 if (RETVAL == NULL)
83 0 5 if (lookup == NULL)
86 5 0 cafile = SvPV(cafile_str, len);
89 1 4 if (!i)
94 0 4 if (lookup == NULL)
115 0 2 if (x509 == NULL)
119 0 2 if (csc == NULL)
124 0 2 if (!X509_STORE_CTX_init(csc,store,x509,NULL))
129 1 1 if (!RETVAL)
143 4 0 if (store) X509_STORE_free(store); store = 0;