Branch Coverage

lib/PDL/Compression.xs
Criterion Covered Total %
branch 24 54 44.4


line true false branch
52 10 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
0 10 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
0 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
10 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
10 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
10 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
0 10 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
0 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
10 0 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
0 10 PDL_XS_PREAMBLE((items == 5) ? 0 : 1);
53 7 3 if (!((items == (4-1)) || (items == 4) || (items == 5)))
0 7 if (!((items == (4-1)) || (items == 4) || (items == 5)))
0 0 if (!((items == (4-1)) || (items == 4) || (items == 5)))
62 3 7 if (!blocksize_SV) { blocksize = (32); } else { blocksize = (int)SvIV(blocksize_SV); }
63 0 10 if (out_SV) { out = PDL_CORE_(SvPDLV)(out_SV); } else out = PDL_XS_PERLINIT_initsv(out_SV);
0 10 if (out_SV) { out = PDL_CORE_(SvPDLV)(out_SV); } else out = PDL_XS_PERLINIT_initsv(out_SV);
65 10 0 PDL_XS_RETURN(ST(0) = out_SV)
10 0 PDL_XS_RETURN(ST(0) = out_SV)
10 0 PDL_XS_RETURN(ST(0) = out_SV)
0 10 PDL_XS_RETURN(ST(0) = out_SV)
0 0 PDL_XS_RETURN(ST(0) = out_SV)
77 3 0 if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV));
0 3 if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV));
0 0 if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV));
79 0 3 if (!CoreSV)
81 0 3 if (!(PDL = INT2PTR(Core*,SvIV( CoreSV )))) /* Core* value */
83 0 3 if (PDL->Version != PDL_CORE_VERSION)