| line |
true |
false |
branch |
|
53
|
63881 |
118407 |
while (number >= 0x80) { /* while we are larger than 7 bits long */ |
|
59
|
20297 |
98110 |
if ( varint_start == varint_end ) { |
|
69
|
23952 |
98110 |
while ( varint_start < varint_end ) |
|
80
|
19458 |
56142 |
if (expect_false(*workmem == NULL)) { |
|
83
|
0 |
19458 |
if (*workmem == NULL) |
|
98
|
30852 |
1283179 |
if (compress_flags & SRL_F_COMPRESS_SNAPPY) { |
|
100
|
394080 |
889099 |
} else if (compress_flags & SRL_F_COMPRESS_SNAPPY_INCREMENTAL) { |
|
102
|
152102 |
736997 |
} else if (compress_flags & SRL_F_COMPRESS_ZLIB) { |
|
104
|
100285 |
636712 |
} else if (compress_flags & SRL_F_COMPRESS_ZSTD) { |
|
147
|
192270 |
6480 |
const int is_zlib = !is_traditional_snappy && !is_incremental_snappy && !is_zstd; |
|
|
123150 |
69120 |
const int is_zlib = !is_traditional_snappy && !is_incremental_snappy && !is_zstd; |
|
|
73890 |
49260 |
const int is_zlib = !is_traditional_snappy && !is_incremental_snappy && !is_zstd; |
|
158
|
69120 |
129630 |
if (is_incremental_snappy) { |
|
161
|
6480 |
123150 |
} else if (is_traditional_snappy) { |
|
163
|
49260 |
73890 |
} else if (is_zstd) { |
|
181
|
73890 |
124860 |
if (is_zlib) srl_buf_cat_varint_nocheck(aTHX_ buf, 0, uncompressed_body_length); |
|
184
|
129630 |
69120 |
if (is_incremental_snappy || is_zlib || is_zstd) { |
|
|
55740 |
73890 |
if (is_incremental_snappy || is_zlib || is_zstd) { |
|
|
49260 |
6480 |
if (is_incremental_snappy || is_zlib || is_zstd) { |
|
190
|
129630 |
69120 |
if (is_incremental_snappy || is_traditional_snappy) { |
|
|
6480 |
123150 |
if (is_incremental_snappy || is_traditional_snappy) { |
|
198
|
49260 |
73890 |
} else if (is_zstd) { |
|
205
|
73890 |
0 |
} else if (is_zlib) { |
|
223
|
73863 |
124887 |
if (compressed_body_length >= uncompressed_body_length) { |
|
230
|
118407 |
6480 |
if (varint_start) |