Branch Coverage

Multicore.xs
Criterion Covered Total %
branch 33 60 55.0


line true false branch
79 2 0 if (!tctx_free)
116 2 2 if (ctxs->cur >= ctxs->max)
118 0 2 ctxs->max = ctxs->max ? ctxs->max * 2 : 16;
149 2 2 while (!releasers.cur)
165 0 2 if (!ctx) /* timed out? */
171 2 0 if (!ctx->jeret)
172 2 2 while (ctx->coro)
194 1 1 if (!curthreads)
201 1 0 PUSHSTACKi (PERLSI_REQUIRE);
205 0 1 POPSTACK;
221 0 2 if (! ((thread_enable ? thread_enable : global_enable) & 1))
0 2 if (! ((thread_enable ? thread_enable : global_enable) & 1))
243 2 0 if (idle <= min_idle)
249 0 2 while (!idle && releasers.cur)
0 0 while (!idle && releasers.cur)
264 0 2 if (!ctx)
279 2 2 while (!ctx->wait_f)
287 0 2 if (jeret)
290 0 0 JMPENV_JUMP (jeret);
0 0 JMPENV_JUMP (jeret);
316 0 2 X_TLS_INIT (current_key);
321 0 2 if (s_epipe_new (&ep))
328 0 2 I_CORO_API ("Coro::Multicore");
2 0 I_CORO_API ("Coro::Multicore");
2 0 I_CORO_API ("Coro::Multicore");
0 2 I_CORO_API ("Coro::Multicore");
347 2 0 if (items)
393 2 2 while (acquirers.cur)
408 2 0 if (nsec) sleep (nsec);
410 0 2 if (nsec) usleep (nsec);