Branch Coverage

BsDiPa.xs
Criterion Covered Total %
branch 75 104 72.1


line true false branch
116 288 720 if(/*!SvOK(patch_sv) ||*/ !SvROK(patch_sv))
120 144 576 if(/*!SvOK(before_sv) ||*/ !SvPOK(before_sv))
123 144 432 if(/*!SvOK(after_sv) ||*/ !SvPOK(after_sv))
126 432 0 if(magic_window == NULL || !SvOK(magic_window))
432 0 if(magic_window == NULL || !SvOK(magic_window))
128 0 0 else if(!SvIOK(magic_window))
134 0 0 if(i > 4096) /* <> docu! */
139 432 0 if(is_equal_data == NULL || !SvOK(is_equal_data))
144 288 if(is_equal_data == NULL || !SvOK(is_equal_data))
141 144 144 else if(!SvROK(is_equal_data))
146 288 0 if(io_cookie == NULL || !SvIOK(io_cookie)){
288 0 if(io_cookie == NULL || !SvIOK(io_cookie)){
147 216 72 if(a_level == 0)
164 0 288 if(s != s_BSDIPA_OK)
167 144 144 if(iseq != NULL)
172 144 144 if(what == s_BSDIPA_IO_ZLIB)
190 144 0 SvGROW(pref, x);
5 139 SvGROW(pref, x);
199 720 288 if(s != s_BSDIPA_OK && pref != NULL)
432 288 if(s != s_BSDIPA_OK && pref != NULL)
210 624 96 if(is_last >= 0 && len <= 0)
144 480 if(is_last >= 0 && len <= 0)
216 96 480 if(is_last < 0 && (is_last > -65535 || is_last / 10 > -len)){
24 72 if(is_last < 0 && (is_last > -65535 || is_last / 10 > -len)){
0 24 if(is_last < 0 && (is_last > -65535 || is_last / 10 > -len)){
228 504 0 cp = SvGROW(p, l + len +1);
16 488 cp = SvGROW(p, l + len +1);
229 0 504 if(cp == NULL){
239 0 504 SvSETMAGIC(p);
242 480 24 if(is_last < 0)
262 288 1008 if(/*!SvOK(before_sv) ||*/ !SvROK(before_sv))
266 144 864 if(/*!SvOK(after_sv) ||*/ !SvPOK(after_sv))
269 144 720 if(/*!SvOK(patch_sv) ||*/ !SvPOK(patch_sv))
273 720 0 if(max_allowed_restored_len != NULL && SvOK(max_allowed_restored_len)){
576 144 if(max_allowed_restored_len != NULL && SvOK(max_allowed_restored_len)){
274 144 432 if(!SvIOK(max_allowed_restored_len))
280 288 144 if(i < 0 || (uint64_t)i != (s_bsdipa_off_t)i ||
288 0 if(i < 0 || (uint64_t)i != (s_bsdipa_off_t)i ||
281 0 288 (s_bsdipa_off_t)i >= s_BSDIPA_OFF_MAX)
287 288 144 if(io_cookie == NULL || !SvIOK(io_cookie))
288 0 if(io_cookie == NULL || !SvIOK(io_cookie))
301 216 216 if(what == s_BSDIPA_IO_ZLIB)
317 144 288 if(s != s_BSDIPA_OK)
327 0 288 if(s != s_BSDIPA_OK)
341 1008 288 if(s != s_BSDIPA_OK && bref != NULL)
720 288 if(s != s_BSDIPA_OK && bref != NULL)
425 3 0 if(SvIOK(nval))
432 144 0 if(SvIOK(nval)){
434 144 0 a_LEVEL_SET(a_level, a_level);
616 0 0 if(io_cookie != NULL && SvIOK(io_cookie)){
0 0 if(io_cookie != NULL && SvIOK(io_cookie)){
621 0 0 if(ioc.ioc_vp != NULL){