Branch Coverage

cityhash.c
Criterion Covered Total %
branch 26 28 92.8


line true false branch
58 640 0 return n == 0 ? v : ((v >> n) | (v << (64 - n)));
84 4 8 if (len > 8) {
89 4 4 if (len >= 4) {
94 1 3 if (len > 0) {
139 12 19 if (len <= 16) {
142 6 6 d = ShiftMix(a + (len >= 8 ? Fetch64(s) : c));
157 0 19 } while (l > 0);
168 31 9 if (len < 128) {
203 26 9 } while (len >= 128);
211 24 9 while (tail_done < len) {
230 36 4 if (len >= 16) {
234 2 2 } else if (len >= 8) {
244 320 40 for (i = 0; i < 8; i++) out[i] = (unsigned char)(hash[0] >> (i * 8));
245 320 40 for (i = 0; i < 8; i++) out[8 + i] = (unsigned char)(hash[1] >> (i * 8));