Branch Coverage

c_eventloop.c
Criterion Covered Total %
branch 20 36 55.5


line true false branch
49 2000347 12 if (timer_count <= 0) {
64 4 7 for (i = n - 1; i > 0; i--) {
69 4 0 if (t->target <= (t-1)->target) {
97 2000370 0 while (sanity-- > 0) {
101 2000347 23 if (timer_count <= 0) {
105 12 11 if (t->target > now) {
118 11 0 if (t->oneshot) {
142 11 0 if (t->removed) {
158 0 0 if (timer_count >= MAX_TIMERS) {
192 12 2000347 if (t) {
194 8 4 if (diff < MIN_WAIT) {
196 0 4 } else if (diff > MAX_WAIT) {
248 7 4 if (delay < MIN_DELAY) {
253 0 11 if (timer_count >= MAX_TIMERS) {
311 0 0 if (t->id == timer_id) {
322 0 0 for (i = 0; i < n; i++) {
324 0 0 if (t->id == timer_id) {
330 0 0 if (i < timer_count - 1) {