Branch Coverage

c/idle.c
Criterion Covered Total %
branch 16 36 44.4


line true false branch
31 0 21 if (!ev->callback)
33 12 9 if (!repeating) ev->cbtime = NVtime();
34 0 21 now = WaHARD(ev)? ev->cbtime : NVtime();
35 21 0 if (sv_2interval("min", ip->min_interval, &min)) {
43 0 0 if (sv_2interval("max", ip->max_interval, &max)) {
57 18 0 if (sv_2interval("min", ip->min_interval, &min)) {
59 2 16 if (left > IntervalEpsilon) {
67 16 0 if (PE_RING_EMPTY(&ip->iring)) {
71 0 16 if (sv_2interval("max", ip->max_interval, &max)) {
73 0 0 if (left < IntervalEpsilon) {
76 0 0 PE_RING_DETACH(&ip->iring);
93 1 20 PE_RING_DETACH(&ip->iring);
99 0 1 if (nval) {
102 0 0 if (old) SvREFCNT_dec(old);
107 0 1 XPUSHs(ip->max_interval);
114 0 1 if (nval) {
117 0 0 if (old) SvREFCNT_dec(old);
122 0 1 XPUSHs(ip->min_interval);