Branch Coverage

inc/CryptX_Stream_XSalsa20.xs.inc
Criterion Covered Total %
branch 14 36 38.8


line true false branch
13 6 0 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
0 6 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 6 0 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
0 6 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 6 if (!RETVAL) croak("FATAL: Newz failed");
22 0 6 if (rv != CRYPT_OK) {
42 0 1 if (!RETVAL) croak("FATAL: Newz failed");
54 0 5 if (out_len == 0) {
58 1 4 if (out_len == ULONG_MAX) croak("FATAL: output length too large");
64 0 4 if (rv != CRYPT_OK) {
82 1 2 if (in_data_len == 0) {
91 0 2 if (rv != CRYPT_OK) {