Branch Coverage

Rhash.xs
Criterion Covered Total %
branch 18 34 52.9


line true false branch
20 0 39 if(0 == (hash_id & RHASH_ALL_HASHES)) {
22 0 39 } else if(0 != (hash_id & (hash_id - 1))) {
29 0 0 func_name = (gv ? GvNAME(gv) : "Rhash");
66 0 1 if(res < 0) {
84 0 0 if(res < 0) {
102 67 5 for (i = 0; i <= av_len(array); i++) {
104 67 0 if (elem != NULL) {
105 0 67 if (length >= (sizeof(hash_ids)/sizeof(*hash_ids)))
111 0 5 if (length == 0)
159 38 5 if(hash_id != 0) verify_single_bit_hash_id(hash_id, cv);
176 2 2 char * name = (SvOK(filename) ? SvPV_nolen(filename) : 0);
177 2 2 unsigned mask = (SvOK(hash_mask) ? (unsigned)SvUV(hash_mask) : RHASH_ALL_HASHES);
4 0 unsigned mask = (SvOK(hash_mask) ? (unsigned)SvUV(hash_mask) : RHASH_ALL_HASHES);
196 0 1 RETVAL = ctx->hash_id;
205 1 1 RETVAL = ctx->msg_size;
234 0 0 RETVAL = rhash_get_version();
354 0 0 if(!text) {