Branch Coverage

gzip-faster-perl.c
Criterion Covered Total %
branch 96 124 77.4


line true false branch
87 26 23 if (! gf->user_object) {
107 0 21 UO;
108 10 11 if (gf->file_name) {
121 0 17 UO;
122 2 15 if (gf->mod_time) {
133 0 4 UO;
134 0 4 if (gf->file_name) {
147 0 7 UO;
148 5 2 if (gf->file_name) {
157 0 1 UO;
158 0 1 if (gf->mod_time) {
171 0 5 UO;
172 1 4 if (gf->mod_time) {
184 0 42 if (gf->strm.avail_in != 0) {
196 0 42 if (zlib_status != Z_STREAM_END) {
212 0 23 if (! SvOK (gf->in)) {
217 3 20 if (gf->in_length == 0) {
224 16 4 if (gf->is_gzip) {
225 0 16 if (gf->is_raw) {
237 3 1 if (gf->is_raw) {
251 0 20 CALL_ZLIB (deflateInit2 (& gf->strm, gf->level, Z_DEFLATED,
255 11 9 if (gf->user_object) {
256 10 1 if (gf->is_gzip) {
262 2 8 if (gf->copy_perl_flags) {
267 1 1 if (SvUTF8 (gf->in)) {
274 4 6 if (gf->file_name) {
283 1 9 if (gf->mod_time) {
287 6 4 if (set_header) {
288 0 6 CALL_ZLIB (deflateSetHeader (& gf->strm, & header));
292 0 1 if (gf->copy_perl_flags) {
295 1 0 if (gf->file_name || gf->mod_time) {
0 1 if (gf->file_name || gf->mod_time) {
329 20 0 if (! zipped) {
336 0 20 while (gf->strm.avail_out == 0);
344 11 9 if (gf->user_object) {
345 4 7 if (gf->file_name) {
353 0 20 if (! zipped) {
379 1 26 if (! SvOK (gf->in)) {
384 3 23 if (gf->in_length == 0) {
389 19 4 if (gf->is_gzip) {
390 0 19 if (gf->is_raw) {
396 3 1 if (gf->is_raw) {
400 0 23 CALL_ZLIB (inflateInit2 (& gf->strm, gf->wb));
401 12 11 if (gf->user_object) {
402 11 1 if (gf->is_gzip) {
403 2 9 if (gf->copy_perl_flags) {
409 0 11 if (gf->file_name) {
412 0 11 if (gf->mod_time) {
456 22 2 if (! plain) {
468 2 22 while (gf->strm.avail_out == 0);
475 12 10 if (gf->user_object && gf->is_gzip && header.done == 1) {
11 1 if (gf->user_object && gf->is_gzip && header.done == 1) {
11 0 if (gf->user_object && gf->is_gzip && header.done == 1) {
477 2 9 if (gf->copy_perl_flags) {
480 2 0 if (strncmp ((const char *) header.extra, GZIP_PERL_ID,
485 1 1 if (is_utf8) {
493 6 5 if (header.name && header.name_max > 0) {
6 0 if (header.name && header.name_max > 0) {
499 1 10 if (header.time) {
512 0 22 if (! plain) {
536 1 2 if (level < Z_NO_COMPRESSION) {
541 1 1 else if (level > Z_BEST_COMPRESSION) {