Branch Coverage

third_party/modest/source/mycore/utils/mcsimple.c
Criterion Covered Total %
branch 13 26 50.0


line true false branch
37 0 145 if(mcsimple->list == NULL) {
43 0 145 if((mcsimple_init_list_entries(mcsimple, mcsimple->list_pos_length) == NULL)) {
56 0 144 if(mcsimple == NULL)
59 144 0 if(mcsimple->list) {
60 144 144 for(size_t i = 0; i < mcsimple->list_pos_length_used; i++) {
61 144 0 if(mcsimple->list[i])
68 144 0 if(destroy_self) {
78 0 145 if(mcsimple->list_pos_length >= mcsimple->list_pos_size)
83 0 0 if(list) {
95 145 0 if(mcsimple->list[pos] == NULL) {
105 0 22 if(mcsimple->list_length >= mcsimple->list_size)
108 0 0 if((mcsimple_init_list_entries(mcsimple, mcsimple->list_pos_length) == NULL)) {
124 2 7 if(list_index >= mcsimple->list_pos_length_used)