Branch Coverage

ext/xxHash/cli/xsum_sanity_check.c
Criterion Covered Total %
branch 0 88 0.0


line true false branch
51 0 0 assert(buffer != NULL);
53 0 0 for (i=0; i
226 0 0 if (r1!=r2) {
239 0 0 if (r1!=r2) {
253 0 0 if ((r1.low64 != r2.low64) || (r1.high64 != r2.high64)) {
0 0 if ((r1.low64 != r2.low64) || (r1.high64 != r2.high64)) {
275 0 0 if (len == 0) {
278 0 0 assert(data != NULL);
281 0 0 assert(state != NULL);
290 0 0 for (pos=0; pos
305 0 0 if (len == 0) {
308 0 0 assert(data != NULL);
311 0 0 assert(state != NULL);
320 0 0 for (pos=0; pos
352 0 0 while (p < len) {
355 0 0 if (p + l > len) l = len - p;
366 0 0 if (len == 0) {
369 0 0 assert(data != NULL);
376 0 0 if (seed == 0) {
383 0 0 assert(state != NULL);
397 0 0 for (pos=0; pos
411 0 0 if (len == 0) {
414 0 0 assert(data != NULL);
422 0 0 assert(state != NULL);
435 0 0 for (pos=0; pos
448 0 0 if (len == 0) {
451 0 0 assert(data != NULL);
464 0 0 if (seed == 0) {
471 0 0 assert(state != NULL);
486 0 0 for (pos=0; pos
498 0 0 if (len == 0) {
500 0 0 } else if (len>0) {
501 0 0 assert(data != NULL);
509 0 0 assert(state != NULL);
522 0 0 for (pos=0; pos
539 0 0 for (i=0; i
542 0 0 if (memcmp(samples, testData->byte, sizeof(testData->byte))) {
570 0 0 for (i = 0; i < (sizeof(XSUM_XXH32_testdata)/sizeof(XSUM_XXH32_testdata[0])); i++) {
574 0 0 for (i = 0; i < (sizeof(XSUM_XXH64_testdata)/sizeof(XSUM_XXH64_testdata[0])); i++) {
578 0 0 for (i = 0; i < (sizeof(XSUM_XXH3_testdata)/sizeof(XSUM_XXH3_testdata[0])); i++) {
582 0 0 for (i = 0; i < (sizeof(XSUM_XXH3_withSecret_testdata)/sizeof(XSUM_XXH3_withSecret_testdata[0])); i++) {
586 0 0 for (i = 0; i < (sizeof(XSUM_XXH128_testdata)/sizeof(XSUM_XXH128_testdata[0])); i++) {
590 0 0 for (i = 0; i < (sizeof(XSUM_XXH128_withSecret_testdata)/sizeof(XSUM_XXH128_withSecret_testdata[0])); i++) {
594 0 0 for (i = 0; i < (sizeof(XSUM_XXH3_generateSecret_testdata)/sizeof(XSUM_XXH3_generateSecret_testdata[0])); i++) {