Branch Coverage

compress.c
Criterion Covered Total %
branch 0 16 0.0


line true false branch
42 0 0 if (err != Z_OK) return err;
50 0 0 if (stream.avail_out == 0) {
51 0 0 stream.avail_out = left > (uLong)max ? max : (uInt)left;
54 0 0 if (stream.avail_in == 0) {
55 0 0 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
58 0 0 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
59 0 0 } while (err == Z_OK);
63 0 0 return err == Z_STREAM_END ? Z_OK : err;