Branch Coverage

BsDiPa.xs
Criterion Covered Total %
branch 81 108 75.0


line true false branch
120 316 790 if(/*!SvOK(patch_sv) ||*/ !SvROK(patch_sv))
124 158 632 if(/*!SvOK(before_sv) ||*/ !SvPOK(before_sv))
127 158 474 if(/*!SvOK(after_sv) ||*/ !SvPOK(after_sv))
141 474 0 if(magic_window == NULL || !SvOK(magic_window)){
114 360 if(magic_window == NULL || !SvOK(magic_window)){
142 0 114 }else if(!SvIOK(magic_window))
148 0 114 if(i > 4096) /* <> docu! */
150 72 42 if(i >= 0)
161 474 0 if(is_equal_data == NULL || !SvOK(is_equal_data))
158 316 if(is_equal_data == NULL || !SvOK(is_equal_data))
163 158 158 else if(!SvROK(is_equal_data))
168 316 0 if(io_cookie == NULL || !SvIOK(io_cookie)){
316 0 if(io_cookie == NULL || !SvIOK(io_cookie)){
169 237 79 if(a_level == 0)
179 0 316 if(s != s_BSDIPA_OK)
182 158 158 if(iseq != NULL)
187 158 158 if(what == s_BSDIPA_IO_ZLIB)
205 158 0 SvGROW(pref, x);
5 153 SvGROW(pref, x);
214 790 316 if(s != s_BSDIPA_OK && pref != NULL)
474 316 if(s != s_BSDIPA_OK && pref != NULL)
225 680 110 if(is_last >= 0 && len <= 0)
158 522 if(is_last >= 0 && len <= 0)
231 110 522 if(is_last < 0 && (is_last > -65535 || is_last / 10 > -len)){
24 86 if(is_last < 0 && (is_last > -65535 || is_last / 10 > -len)){
0 24 if(is_last < 0 && (is_last > -65535 || is_last / 10 > -len)){
243 546 0 cp = SvGROW(p, l + len +1);
16 530 cp = SvGROW(p, l + len +1);
244 0 546 if(cp == NULL){
254 0 546 SvSETMAGIC(p);
257 522 24 if(is_last < 0)
278 144088 0 PERL_HASH(h, p, l);
294 316 1106 if(/*!SvOK(before_sv) ||*/ !SvROK(before_sv))
298 158 948 if(/*!SvOK(after_sv) ||*/ !SvPOK(after_sv))
301 158 790 if(/*!SvOK(patch_sv) ||*/ !SvPOK(patch_sv))
305 790 0 if(max_allowed_restored_len != NULL && SvOK(max_allowed_restored_len)){
632 158 if(max_allowed_restored_len != NULL && SvOK(max_allowed_restored_len)){
306 158 474 if(!SvIOK(max_allowed_restored_len))
312 316 158 if(i < 0 || (uint64_t)i != (s_bsdipa_off_t)i ||
316 0 if(i < 0 || (uint64_t)i != (s_bsdipa_off_t)i ||
313 0 316 (s_bsdipa_off_t)i >= s_BSDIPA_OFF_MAX)
319 316 158 if(io_cookie == NULL || !SvIOK(io_cookie))
316 0 if(io_cookie == NULL || !SvIOK(io_cookie))
333 237 237 if(what == s_BSDIPA_IO_ZLIB)
349 158 316 if(s != s_BSDIPA_OK)
359 0 316 if(s != s_BSDIPA_OK)
373 1106 316 if(s != s_BSDIPA_OK && bref != NULL)
790 316 if(s != s_BSDIPA_OK && bref != NULL)
457 3 0 if(SvIOK(nval))
464 158 0 if(SvIOK(nval)){
466 158 0 a_LEVEL_SET(a_level, a_level);
648 0 0 if(io_cookie != NULL && SvIOK(io_cookie)){
0 0 if(io_cookie != NULL && SvIOK(io_cookie)){
653 0 0 if(ioc.ioc_vp != NULL){