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 142665 if (buf->start == NULL)
187 0 2820546 BUF_SIZE_ASSERT(buf, 1);
237 5013650 3571974 while (value >= 0x80) { /* while we are larger than 7 bits long */
258 2851035 720939 if (expect_true( tag ))
271 3885 1571980 BUF_SIZE_ASSERT(buf, SRL_MAX_VARINT_LENGTH + 1); /* always allocate space for the tag, overalloc is harmless */