Branch Coverage

lib/PDL/Slices-pp-diagonal.c
Criterion Covered Total %
branch 12 22 54.5


line true false branch
25 0 278 if(*a>*b) return 1;
26 0 278 else if(*a==*b) return 0;
94 278 0 PDL_FREE_CODE(__privtrans, destroy, free(__params->whichdims); /* CType.get_free */
278 0 PDL_FREE_CODE(__privtrans, destroy, free(__params->whichdims); /* CType.get_free */
124 0 278 if (!PDL) return (pdl_error){PDL_EFATAL, "PDL core struct is NULL, can't continue",0};
126 0 278 if (!__privtrans) return PDL->make_error_simple(PDL_EFATAL, "Couldn't create trans");
130 0 278 PDL_RETERROR(PDL_err, PDL->type_coerce(__privtrans));
135 0 278 if(!whichdims) {__params->whichdims=0;} /* CType.get_copy */
138 556 278 __malloc_ind_1 < whichdims_count;
140 0 278 (__params->whichdims_count) = (whichdims_count); /* CType.get_copy */
151 0 278 PDL_RETERROR(PDL_err, PDL->make_trans_mutual(__privtrans));