Branch Coverage

mop.c
Criterion Covered Total %
branch 41 88 46.5


line true false branch
8 0 5412 PUSHMARK(mark);
43 488181 71 return HvAUX(stash)->xhv_mro_meta
66 0 43301 PUSHMARK(SP);
67 0 43301 XPUSHs(self);
82 0 233731 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
0 0 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
0 0 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
233731 0 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
0 233731 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
89 0 233731 if (!CvGV(coderef)) {
98 233731 0 if ( isGV_with_GP(CvGV(coderef)) ) {
0 233731 if ( isGV_with_GP(CvGV(coderef)) ) {
0 0 if ( isGV_with_GP(CvGV(coderef)) ) {
100 233730 1 HV *stash = GvSTASH(gv) ? GvSTASH(gv) : CvSTASH(coderef);
102 233730 1 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
233730 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
233730 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
0 233730 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
0 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
233730 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
0 233730 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
120 0 43955 if (filter == TYPE_FILTER_NONE) {
121 0 0 while ( (he = hv_iternext(stash)) ) {
123 0 0 const char *key = HePV(he, keylen);
0 0 const char *key = HePV(he, keylen);
124 0 0 if (!cb(key, keylen, HeVAL(he), ud)) {
131 736607 43955 while ( (he = hv_iternext(stash)) ) {
134 0 736607 const char * const key = HePV(he, keylen);
0 0 const char * const key = HePV(he, keylen);
137 735420 1187 if(isGV(gv)){
139 666627 68793 case TYPE_FILTER_CODE: sv = (SV *)GvCVu(gv); break;
141 0 0 case TYPE_FILTER_IO: sv = (SV *)GvIO(gv); break;
0 0 case TYPE_FILTER_IO: sv = (SV *)GvIO(gv); break;
0 0 case TYPE_FILTER_IO: sv = (SV *)GvIO(gv); break;
0 0 case TYPE_FILTER_IO: sv = (SV *)GvIO(gv); break;
151 1187 0 else if (filter == TYPE_FILTER_CODE) {
156 501589 235018 if (sv) {
157 0 501589 if (!cb(key, keylen, sv, ud)) {
169 0 501589 if (!hv_store (hash, key, keylen, newRV_inc(val), 0)) {
246 15334 451 for (i = 0; i < key_last; i++) {
261 0 6098261 if (items != 1) {
267 18 6098243 if (!SvROK(self)) {
271 0 6098243 if (SvTYPE(SvRV(self)) != SVt_PVHV) {
275 6097032 1211 if ((he = hv_fetch_ent((HV *)SvRV(self), prehashed_keys[key].key, 0, prehashed_keys[key].hash))) {