Branch Coverage

mop.c
Criterion Covered Total %
branch 41 88 46.5


line true false branch
8 0 5556 PUSHMARK(mark);
43 499436 77 return HvAUX(stash)->xhv_mro_meta
66 0 43942 PUSHMARK(SP);
67 0 43942 XPUSHs(self);
82 0 239293 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) {
239293 0 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
0 239293 if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) {
89 0 239293 if (!CvGV(coderef)) {
98 239293 0 if ( isGV_with_GP(CvGV(coderef)) ) {
0 239293 if ( isGV_with_GP(CvGV(coderef)) ) {
0 0 if ( isGV_with_GP(CvGV(coderef)) ) {
100 239292 1 HV *stash = GvSTASH(gv) ? GvSTASH(gv) : CvSTASH(coderef);
102 239292 1 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
239292 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
239292 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
0 239292 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
0 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
239292 0 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
0 239292 *pkg = stash ? HvNAME(stash) : "__UNKNOWN__";
120 0 45058 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 755149 45058 while ( (he = hv_iternext(stash)) ) {
134 0 755149 const char * const key = HePV(he, keylen);
0 0 const char * const key = HePV(he, keylen);
137 753939 1210 if(isGV(gv)){
139 683481 70458 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 1210 0 else if (filter == TYPE_FILTER_CODE) {
156 513840 241309 if (sv) {
157 0 513840 if (!cb(key, keylen, sv, ud)) {
169 0 513840 if (!hv_store (hash, key, keylen, newRV_inc(val), 0)) {
246 15742 463 for (i = 0; i < key_last; i++) {
261 0 6256206 if (items != 1) {
267 18 6256188 if (!SvROK(self)) {
271 0 6256188 if (SvTYPE(SvRV(self)) != SVt_PVHV) {
275 6254945 1243 if ((he = hv_fetch_ent((HV *)SvRV(self), prehashed_keys[key].key, 0, prehashed_keys[key].hash))) {