Branch Coverage

inc/CryptX_Stream_RC4.xs.inc
Criterion Covered Total %
branch 7 20 35.0


line true false branch
13 0 2 if (!SvPOK(key)) croak("FATAL: key must be string/buffer scalar");
14 2 0 k = (unsigned char *) SvPVbyte(key, k_len);
17 0 2 if (!RETVAL) croak("FATAL: Newz failed");
20 0 2 if (rv != CRYPT_OK) {
38 0 0 if (!RETVAL) croak("FATAL: Newz failed");
50 0 0 if (out_len == 0) {
59 0 0 if (rv != CRYPT_OK) {
76 2 0 in_data = (unsigned char *)SvPVbyte(data, in_data_len);
77 0 2 if (in_data_len == 0) {
86 0 2 if (rv != CRYPT_OK) {