Branch Coverage

c_eventloop.c
Criterion Covered Total %
branch 20 36 55.5


line true false branch
56 2000568 13 if (timer_count <= 0) {
71 4 7 for (i = n - 1; i > 0; i--) {
76 4 0 if (t->target <= (t-1)->target) {
104 2000592 0 while (sanity-- > 0) {
108 2000568 24 if (timer_count <= 0) {
112 13 11 if (t->target > now) {
125 11 0 if (t->oneshot) {
149 11 0 if (t->removed) {
165 0 0 if (timer_count >= MAX_TIMERS) {
199 13 2000568 if (t) {
201 9 4 if (diff < MIN_WAIT) {
203 0 4 } else if (diff > MAX_WAIT) {
255 7 4 if (delay < MIN_DELAY) {
260 0 11 if (timer_count >= MAX_TIMERS) {
318 0 0 if (t->id == timer_id) {
329 0 0 for (i = 0; i < n; i++) {
331 0 0 if (t->id == timer_id) {
337 0 0 if (i < timer_count - 1) {