Branch Coverage

inc/CryptX_Digest_SHAKE.xs.inc
Criterion Covered Total %
branch 17 26 65.3


line true false branch
14 0 25 if (!RETVAL) croak("FATAL: Newz failed");
19 0 25 if (rv != CRYPT_OK) {
39 0 1 if (rv != CRYPT_OK) croak("FATAL: sha3_shake_init failed: %s", error_to_string(rv));
41 0 1 XPUSHs(ST(0)); /* return self */
48 0 0 if (!RETVAL) croak("FATAL: Newz failed");
61 1 25 if (self->squeezing) croak("FATAL: cannot add after done; call reset first");
63 25 25 for(i=1; i
65 23 2 if (inlen>0) {
67 0 23 if (rv != CRYPT_OK) croak("FATAL: sha3_shake_process failed: %s", error_to_string(rv));
70 0 25 XPUSHs(ST(0)); /* return self */
80 1 27 if (out_len == 0) croak("FATAL: invalid output length");
81 3 24 if (out_len > CRYPTX_DIGEST_SHAKE_MAX_OUTPUT_LEN) croak("FATAL: output length too large");
87 0 24 if (rv != CRYPT_OK) {