Branch Coverage

srl_buffer.h
Criterion Covered Total %
branch 9 12 75.0


line true false branch
71 0 443397 if (expect_false( buf->start == NULL ))
124 0 142659 if (buf->start == NULL)
187 0 2820547 BUF_SIZE_ASSERT(buf, 1);
237 5013641 3571973 while (value >= 0x80) { /* while we are larger than 7 bits long */
258 2851034 720939 if (expect_true( tag ))
271 3884 1571980 BUF_SIZE_ASSERT(buf, SRL_MAX_VARINT_LENGTH + 1); /* always allocate space for the tag, overalloc is harmless */