Branch Coverage

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


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