Branch Coverage

lib/PDL/Slices-pp-xchg.c
Criterion Covered Total %
branch 11 18 61.1


line true false branch
37 0 349 PDL->hdr_childcopy(__privtrans); __privtrans->dims_redone = 1;
50 0 349 PDL_RETERROR(PDL_err, PDL->reallocdims(__it,__privtrans->pdls[0]->ndims));;
54 796 349 for(i=0; i<__privtrans->pdls[1]->ndims; i++) {
63 0 349 PDL_RETERROR(PDL_err, PDL->setdims_careful(__it));;
83 349 2 PDL_FREE_CODE(__privtrans, destroy, , free(__privtrans->incs); /* CType.get_free */
112 0 351 if (!PDL) return (pdl_error){PDL_EFATAL, "PDL core struct is NULL, can't continue",0};
114 0 351 if (!__privtrans) return PDL->make_error_simple(PDL_EFATAL, "Couldn't create trans");
118 0 351 PDL_RETERROR(PDL_err, PDL->type_coerce(__privtrans));
121 0 351 PDL_RETERROR(PDL_err, PDL->make_trans_mutual(__privtrans));