Branch Coverage

inc/CryptX_Stream_XChaCha.xs.inc
Criterion Covered Total %
branch 15 36 41.6


line true false branch
13 7 0 if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar");
0 7 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 7 0 if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar");
0 7 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 7 if (!RETVAL) croak("FATAL: Newz failed");
22 1 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) {