Branch Coverage

srl_reader_decompress.h
Criterion Covered Total %
branch 13 24 54.1


line true false branch
91 51842 6480 : (STRLEN) SRL_RDR_SPACE_LEFT(buf);
100 0 58322 if (header_len == CSNAPPY_E_HEADER_BAD)
105 0 58322 if (buf_owner) *buf_owner = buf_sv;
112 0 58322 if (expect_false( decompress_ok != 0 )) {
140 20143 0 SRL_RDR_ASSERT_SPACE(buf, compressed_packet_len, " while reading compressed packet");
0 20143 SRL_RDR_ASSERT_SPACE(buf, compressed_packet_len, " while reading compressed packet");
0 20143 SRL_RDR_ASSERT_SPACE(buf, compressed_packet_len, " while reading compressed packet");
148 0 20143 if (buf_owner) *buf_owner = buf_sv;
154 0 20143 if (expect_false( decompress_ok != Z_OK )) {
186 0 9536 if (expect_false(uncompressed_packet_len == 0))
191 0 9536 if (buf_owner) *buf_owner = buf_sv;
196 0 9536 if (expect_false( ZSTD_isError(decompress_code) )) {