Branch Coverage

ext/xxHash/xxhash.c
Criterion Covered Total %
branch 18 52 34.6


line true false branch
336 4 10 if (len>=16) {
348 16 4 } while (p<=limit);
357 14 14 while (p+4<=bEnd) {
363 10 14 while (p
436 4 9 if (len>=32) {
448 6252 4 } while (p<=limit);
462 2 13 while (p+8<=bEnd) {
469 7 6 if (p+4<=bEnd) {
475 14 13 while (p
584 0 0 if (state->memsize + len < 16) { /* fill in tmp buffer */
590 0 0 if (state->memsize) { /* some data left from previous update */
602 0 0 if (p <= bEnd-16) {
614 0 0 } while (p<=limit);
622 0 0 if (p < bEnd) {
648 0 0 if (state->total_len >= 16) {
656 0 0 while (p+4<=bEnd) {
662 0 0 while (p
703 0 0 if (state->memsize + len < 32) { /* fill in tmp buffer */
709 0 0 if (state->memsize) { /* tmp buffer is full */
719 0 0 if (p+32 <= bEnd) {
731 0 0 } while (p<=limit);
739 0 0 if (p < bEnd) {
765 0 0 if (state->total_len >= 32) {
782 0 0 while (p+8<=bEnd) {
789 0 0 if (p+4<=bEnd) {
795 0 0 while (p