Branch Coverage

Rijndael.xs
Criterion Covered Total %
branch 24 34 70.5


line true false branch
65 0 76 if (!SvPOK (key))
70 69 7 if (keysize != 16 && keysize != 24 && keysize != 32)
63 6 if (keysize != 16 && keysize != 24 && keysize != 32)
0 63 if (keysize != 16 && keysize != 24 && keysize != 32)
72 58 18 if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR)
42 16 if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR)
28 14 if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR)
14 14 if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR)
0 14 if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR)
79 76 0 rijndael_setup(&RETVAL->ctx, keysize, (uint8_t *) SvPV_nolen(key));
93 13 0 void *rawbytes = SvPV(data,size);
95 0 13 if( size != RIJNDAEL_BLOCKSIZE )
111 152 0 void *rawbytes = SvPV(data,size);
113 152 0 if (size) {
116 0 152 if (size % RIJNDAEL_BLOCKSIZE)
122 152 0 buffer = (uint8_t *)SvPV_nolen(RETVAL);
123 76 76 (ix ? block_decrypt : block_encrypt)