Branch Coverage

inc/CryptX_Stream_Rabbit.xs.inc
Criterion Covered Total %
branch 14 32 43.7


line true false branch
13 0 9 if (!SvPOK(key)) croak("FATAL: key must be string/buffer scalar");
14 9 0 k = (unsigned char *)SvPVbyte(key, k_len);
17 0 9 if (!RETVAL) croak("FATAL: Newz failed");
20 0 9 if (rv != CRYPT_OK) {
25 5 4 if (SvOK(nonce)) {
5 0 if (SvOK(nonce)) {
0 5 if (SvOK(nonce)) {
26 0 4 if (!SvPOK(nonce)) croak("FATAL: nonce must be string/buffer scalar");
27 4 0 iv = (unsigned char *)SvPVbyte(nonce, iv_len);
29 0 4 if (rv != CRYPT_OK) {
49 0 0 if (!RETVAL) croak("FATAL: Newz failed");
61 0 0 if (out_len == 0) {
70 0 0 if (rv != CRYPT_OK) {
87 9 0 in_data = (unsigned char *)SvPVbyte(data, in_data_len);
88 0 9 if (in_data_len == 0) {
97 0 9 if (rv != CRYPT_OK) {