Branch Coverage

Rhash.xs
Criterion Covered Total %
branch 15 30 50.0


line true false branch
20 0 34 if(0 == (hash_id & RHASH_ALL_HASHES)) {
22 0 34 } 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) {
141 33 5 if(hash_id != 0) verify_single_bit_hash_id(hash_id, cv);
158 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);
159 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);
317 0 0 if(!text) {