Branch Coverage

c/generic.c
Criterion Covered Total %
branch 16 34 47.0


line true false branch
26 0 2 if (!_ev->callback)
28 2 0 if (!source || !SvOK(source))
0 2 if (!source || !SvOK(source))
0 0 if (!source || !SvOK(source))
0 0 if (!source || !SvOK(source))
37 2 0 PE_RING_DETACH(&ev->active);
42 6 0 if (nval) {
45 1 5 if(SvOK(nval)) {
1 0 if(SvOK(nval)) {
0 1 if(SvOK(nval)) {
48 0 3 if (active) pe_watcher_off(ev);
50 0 3 if (active) pe_watcher_on(ev, 0);
55 0 3 XPUSHs(gw->source);
63 0 1 src->mysv = stash || temple ? wrap_genericsrc(src, stash, temple) : 0;
0 0 src->mysv = stash || temple ? wrap_genericsrc(src, stash, temple) : 0;
69 0 1 PE_RING_DETACH(&src->watchers);
77 3 2 while(wa) {