Branch Coverage

lib/PDL/Slices-pp-mv.c
Criterion Covered Total %
branch 12 18 66.6


line true false branch
43 275 12176 PDL->hdr_childcopy(__privtrans); __privtrans->dims_redone = 1;
56 0 12451 PDL_RETERROR(PDL_err, PDL->reallocdims(__it,__privtrans->pdls[0]->ndims));;
60 13390 12451 for(i=0; i<__privtrans->pdls[1]->ndims; i++) {
73 0 12451 PDL_RETERROR(PDL_err, PDL->setdims_careful(__it));;
93 12451 5 PDL_FREE_CODE(__privtrans, destroy, , free(__privtrans->incs); /* CType.get_free */
122 0 12456 if (!PDL) return (pdl_error){PDL_EFATAL, "PDL core struct is NULL, can't continue",0};
124 0 12456 if (!__privtrans) return PDL->make_error_simple(PDL_EFATAL, "Couldn't create trans");
128 0 12456 PDL_RETERROR(PDL_err, PDL->type_coerce(__privtrans));
131 0 12456 PDL_RETERROR(PDL_err, PDL->make_trans_mutual(__privtrans));