Branch Coverage

Rhash.xs
Criterion Covered Total %
branch 15 30 50.0


line true false branch
19 0 33 if(0 == (hash_id & RHASH_ALL_HASHES)) {
21 0 33 } else if(0 != (hash_id & (hash_id - 1))) {
28 0 0 func_name = (gv ? GvNAME(gv) : "Rhash");
65 0 1 if(res < 0) {
83 0 0 if(res < 0) {
140 32 5 if(hash_id != 0) verify_single_bit_hash_id(hash_id, cv);
157 2 1 char * name = (SvOK(filename) ? SvPV_nolen(filename) : 0);
2 0 char * name = (SvOK(filename) ? SvPV_nolen(filename) : 0);
0 2 char * name = (SvOK(filename) ? SvPV_nolen(filename) : 0);
1 0 char * name = (SvOK(filename) ? SvPV_nolen(filename) : 0);
158 1 2 unsigned mask = (SvOK(hash_mask) ? (unsigned)SvUV(hash_mask) : RHASH_ALL_HASHES);
1 0 unsigned mask = (SvOK(hash_mask) ? (unsigned)SvUV(hash_mask) : RHASH_ALL_HASHES);
0 1 unsigned mask = (SvOK(hash_mask) ? (unsigned)SvUV(hash_mask) : RHASH_ALL_HASHES);
0 2 unsigned mask = (SvOK(hash_mask) ? (unsigned)SvUV(hash_mask) : RHASH_ALL_HASHES);
339 0 0 if(len == RHASH_ERROR) {