Branch Coverage

inc/CryptX_ASN1.xs.inc
Criterion Covered Total %
branch 26 38 68.4


line true false branch
16 12 29 if (SvROK(opts) && SvTYPE(SvRV(opts)) == SVt_PVHV) {
12 0 if (SvROK(opts) && SvTYPE(SvRV(opts)) == SVt_PVHV) {
19 7 5 if ((sv = hv_fetchs(h, "int", 0)) && SvOK(*sv)) {
7 0 if ((sv = hv_fetchs(h, "int", 0)) && SvOK(*sv)) {
21 3 4 if (strEQ(v, "hex")) o.int_fmt = 1;
22 4 0 else if (strEQ(v, "bytes")) o.int_fmt = 2;
24 5 7 if ((sv = hv_fetchs(h, "bin", 0)) && SvOK(*sv)) {
5 0 if ((sv = hv_fetchs(h, "bin", 0)) && SvOK(*sv)) {
26 2 3 if (strEQ(v, "hex")) o.bin_fmt = 1;
27 3 0 else if (strEQ(v, "base64")) o.bin_fmt = 2;
29 4 8 if ((sv = hv_fetchs(h, "dt", 0)) && SvOK(*sv)) {
4 0 if ((sv = hv_fetchs(h, "dt", 0)) && SvOK(*sv)) {
31 4 0 if (strEQ(v, "epoch")) o.dt_fmt = 1;
33 1 11 if ((sv = hv_fetchs(h, "oidmap", 0)) && SvROK(*sv) && SvTYPE(SvRV(*sv)) == SVt_PVHV) {
1 0 if ((sv = hv_fetchs(h, "oidmap", 0)) && SvROK(*sv) && SvTYPE(SvRV(*sv)) == SVt_PVHV) {
1 0 if ((sv = hv_fetchs(h, "oidmap", 0)) && SvROK(*sv) && SvTYPE(SvRV(*sv)) == SVt_PVHV) {
39 0 41 if (rv != CRYPT_OK) croak("FATAL: asn1_decode_der failed: %s", error_to_string(rv));
53 42 0 if (!SvROK(tree) || SvTYPE(SvRV(tree)) != SVt_PVAV)
0 42 if (!SvROK(tree) || SvTYPE(SvRV(tree)) != SVt_PVAV)