Branch Coverage

deps/libgit2/deps/zlib/crc32.c
Criterion Covered Total %
branch 14 46 30.4


line true false branch
207 47 45 if (buf == Z_NULL) return 0UL;
219 45 0 if (*((unsigned char *)(&endian)))
276 97 0 while (len && ((ptrdiff_t)buf & 3)) {
52 45 while (len && ((ptrdiff_t)buf & 3)) {
282 69 45 while (len >= 32) {
286 163 45 while (len >= 4) {
292 28 17 if (len) do {
294 28 28 } while (--len);
316 0 0 while (len && ((ptrdiff_t)buf & 3)) {
0 0 while (len && ((ptrdiff_t)buf & 3)) {
322 0 0 while (len >= 32) {
326 0 0 while (len >= 4) {
332 0 0 if (len) do {
334 0 0 } while (--len);
351 0 0 while (vec) {
352 0 0 if (vec & 1)
367 0 0 for (n = 0; n < GF2_DIM; n++)
383 0 0 if (len2 <= 0)
389 0 0 for (n = 1; n < GF2_DIM; n++) {
405 0 0 if (len2 & 1)
410 0 0 if (len2 == 0)
415 0 0 if (len2 & 1)
420 0 0 } while (len2 != 0);