Branch Coverage

inc/CryptX_Stream_ChaCha.xs.inc
Criterion Covered Total %
branch 10 42 23.8


line true false branch
13 2 0 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
0 2 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
0 0 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
0 0 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
0 0 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
14 2 0 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
0 2 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
0 0 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
0 0 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
0 0 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
19 0 2 if (!RETVAL) croak("FATAL: Newz failed");
22 0 2 if (rv != CRYPT_OK) {
27 2 0 if (iv_len == 12) {
29 0 2 if (rv != CRYPT_OK) {
34 0 0 else if (iv_len == 8) {
36 0 0 if (rv != CRYPT_OK) {
59 0 0 if (!RETVAL) croak("FATAL: Newz failed");
71 0 0 if (out_len == 0) {
80 0 0 if (rv != CRYPT_OK) {
98 0 2 if (in_data_len == 0) {
107 0 2 if (rv != CRYPT_OK) {