Branch Coverage

blowfish.h
Criterion Covered Total %
branch 81 88 92.0


line true false branch
483 124 4 for (i = 0; i < BOXES; i++)
484 121 3 if (box[i].P != NULL) {
485 112 9 if ((box[i].keybytes == keybytes) &&
112 0 if ((box[i].keybytes == keybytes) &&
494 10 4 for (i = 0; i < BOXES; i++) {
495 1 9 if (box[i].P == NULL) {
500 3 1 if (bx < 0) {
503 12 3 for (i = 0; i < 4; i++)
509 16 4 for (i = 0; i < 4; i++)
515 72 4 for (i = 0; i < bf_N + 2; i++)
517 16 4 for (i = 0; i < 4; i++)
518 4096 16 for (j = 0; j < 256; j++)
521 72 4 for (i = 0; i < bf_N + 2; ++i) {
522 0 72 if( big == 1 ) {
542 36 4 for (i = 0; i < bf_N + 2; i += 2) {
543 0 36 if( big == 1 )
550 16 4 for (i = 0; i < 4; ++i) {
551 2048 16 for (j = 0; j < 256; j += 2) {
552 0 2048 if( big == 1 )
568 881242732 0 for (i = 0; i < 64; i++)
569 33150192 848092540 if (base64[i] == c)
580 57 2 if(!b_signed)
588 22100148 59 while (*p)
591 472 59 for (i = 0; i < 8; i++)
599 2762522 59 while (*p) {
600 2762519 3 left = (( b_signed == 0 ? (unsigned char)(*p++) : (*p++) ) << 24);
601 2762519 3 left += (( b_signed == 0 ? (unsigned char)(*p++) : (*p++) ) << 16);
602 2762519 3 left += (( b_signed == 0 ? (unsigned char)(*p++) : (*p++) ) << 8);
603 2762519 3 left += ( b_signed == 0 ? (unsigned char)(*p++) : (*p++) );
605 2762519 3 right = (( b_signed == 0 ? (unsigned char)(*p++) : (*p++) ) << 24);
606 2762519 3 right += (( b_signed == 0 ? (unsigned char)(*p++) : (*p++) ) << 16);
607 2762519 3 right += (( b_signed == 0 ? (unsigned char)(*p++) : (*p++) ) << 8);
608 2762519 3 right += ( b_signed == 0 ? (unsigned char)(*p++) : (*p++) );
610 0 2762522 if( big == 1 )
615 16575132 2762522 for (i = 0; i < 6; i++) {
619 16575132 2762522 for (i = 0; i < 6; i++) {
640 33150192 57 while (*p)
643 684 57 for (i = 0; i < 12; i++)
651 2762516 57 while (*p) {
655 16575096 2762516 for (i = 0; i < 6; i++)
658 16575096 2762516 for (i = 0; i < 6; i++)
661 0 2762516 if( big == 1 )
666 11050064 2762516 for (i = 0; i < 4; i++)
668 11050064 2762516 for (i = 0; i < 4; i++)