Branch Coverage

lib/PDL/Compression-pp-rice_compress.c
Criterion Covered Total %
branch 48 164 29.2


line true false branch
40 0 4 PDL_RETERROR(PDL_err, PDL->redodims_default(__privtrans));
50 0 4 if (!__privtrans->broadcast.incs) return PDL->make_error(PDL_EUSERERROR, "Error in rice_compress:" "broadcast.incs NULL");
96 0 1 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
1 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
0 1 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
0 1 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
1 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
0 1 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
0 1 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
1 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
0 1 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Byte,B,PDL_Indx,N)
97 0 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
1 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
1 1 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
104 0 1 if (err) return PDL->make_error(PDL_EUSERERROR, "Error in rice_compress:" "%s",err);
105 0 1 }PDL_BROADCASTLOOP_END_rice_compress_readdata
0 1 }PDL_BROADCASTLOOP_END_rice_compress_readdata
108 0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Short,S,PDL_Indx,N)
109 0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
116 0 0 if (err) return PDL->make_error(PDL_EUSERERROR, "Error in rice_compress:" "%s",err);
117 0 0 }PDL_BROADCASTLOOP_END_rice_compress_readdata
0 0 }PDL_BROADCASTLOOP_END_rice_compress_readdata
120 0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
0 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Ushort,U,PDL_Indx,N)
121 0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 0 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
128 0 0 if (err) return PDL->make_error(PDL_EUSERERROR, "Error in rice_compress:" "%s",err);
129 0 0 }PDL_BROADCASTLOOP_END_rice_compress_readdata
0 0 }PDL_BROADCASTLOOP_END_rice_compress_readdata
132 0 3 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
3 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
0 3 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
0 3 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
3 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
0 3 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
0 3 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
3 0 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
0 3 PDL_DECLARE_PARAMS_rice_compress_1(PDL_Long,L,PDL_Indx,N)
133 0 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
0 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
1920 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
3 3 PDL_BROADCASTLOOP_START_rice_compress_readdata {char *err = "error message not updated";
140 0 1920 if (err) return PDL->make_error(PDL_EUSERERROR, "Error in rice_compress:" "%s",err);
141 0 3 }PDL_BROADCASTLOOP_END_rice_compress_readdata
0 3 }PDL_BROADCASTLOOP_END_rice_compress_readdata
175 0 4 if (!PDL) return (pdl_error){PDL_EFATAL, "PDL core struct is NULL, can't continue",0};
177 0 4 if (!__privtrans) return PDL->make_error_simple(PDL_EFATAL, "Couldn't create trans");
182 0 4 PDL_RETERROR(PDL_err, PDL->type_coerce(__privtrans));
184 0 4 PDL_RETERROR(PDL_err, PDL->make_trans_mutual(__privtrans));