Branch Coverage

srl_compress.h
Criterion Covered Total %
branch 0 50 0.0


line true false branch
53 0 0 while (number >= 0x80) { /* while we are larger than 7 bits long */
59 0 0 if ( varint_start == varint_end ) {
69 0 0 while ( varint_start < varint_end )
80 0 0 if (expect_false(*workmem == NULL)) {
83 0 0 if (*workmem == NULL)
98 0 0 if (compress_flags & SRL_F_COMPRESS_SNAPPY) {
100 0 0 } else if (compress_flags & SRL_F_COMPRESS_SNAPPY_INCREMENTAL) {
102 0 0 } else if (compress_flags & SRL_F_COMPRESS_ZLIB) {
104 0 0 } else if (compress_flags & SRL_F_COMPRESS_ZSTD) {
147 0 0 const int is_zlib = !is_traditional_snappy && !is_incremental_snappy && !is_zstd;
0 0 const int is_zlib = !is_traditional_snappy && !is_incremental_snappy && !is_zstd;
0 0 const int is_zlib = !is_traditional_snappy && !is_incremental_snappy && !is_zstd;
158 0 0 if (is_incremental_snappy) {
161 0 0 } else if (is_traditional_snappy) {
163 0 0 } else if (is_zstd) {
181 0 0 if (is_zlib) srl_buf_cat_varint_nocheck(aTHX_ buf, 0, uncompressed_body_length);
184 0 0 if (is_incremental_snappy || is_zlib || is_zstd) {
0 0 if (is_incremental_snappy || is_zlib || is_zstd) {
0 0 if (is_incremental_snappy || is_zlib || is_zstd) {
190 0 0 if (is_incremental_snappy || is_traditional_snappy) {
0 0 if (is_incremental_snappy || is_traditional_snappy) {
198 0 0 } else if (is_zstd) {
205 0 0 } else if (is_zlib) {
223 0 0 if (compressed_body_length >= uncompressed_body_length) {
230 0 0 if (varint_start)