Branch Coverage

third_party/modest/source/mycore/incoming.c
Criterion Covered Total %
branch 13 44 29.5


line true false branch
33 3 274 if(current) {
73 1332 121 if(inc_buf->offset < begin) {
74 1335 0 while(inc_buf && (inc_buf->offset + inc_buf->size) < begin)
3 1332 while(inc_buf && (inc_buf->offset + inc_buf->size) < begin)
78 121 0 while(inc_buf && inc_buf->offset > begin)
0 121 while(inc_buf && inc_buf->offset > begin)
112 0 0 if((relative_begin + length) > inc_buf->size)
136 0 0 if(*relative_pos >= current->size) {
146 0 0 while(current)
148 0 0 if(mycore_string_chars_num_map[ u_data[*relative_pos] ] != 0xff && consume < 6) {
0 0 if(mycore_string_chars_num_map[ u_data[*relative_pos] ] != 0xff && consume < 6) {
159 0 0 if(*relative_pos >= current->size)
161 0 0 if(current->next == NULL)
180 0 1 if(*relative_pos >= current->size) {
181 0 0 if(current->next == 0)
193 1 0 while(i < to_size)
195 0 1 if(u_data[*relative_pos] == 0x5C) {
200 0 0 if(code_point > 255 || mycore_string_chars_lowercase_map[code_point] != mycore_string_chars_lowercase_map[ u_to[i] ]) {
0 0 if(code_point > 255 || mycore_string_chars_lowercase_map[code_point] != mycore_string_chars_lowercase_map[ u_to[i] ]) {
206 1 0 else if(mycore_string_chars_lowercase_map[ u_data[*relative_pos] ] != mycore_string_chars_lowercase_map[ u_to[i] ]) {
215 0 0 if(*relative_pos >= current->size)
217 0 0 if(current->next == NULL)