Branch Coverage

third_party/modest/source/myhtml/tag.c
Criterion Covered Total %
branch 14 22 63.6


line true false branch
35 0 145 if(tags->mcsimple_context == NULL)
45 0 145 if(status)
48 0 145 if(tags->tree == NULL)
67 0 144 if(tags == NULL)
85 22 0 if(to_lcase) {
87 921791 22 for(i = 0; i < key_size; i++) {
88 921774 17 cache[i] = key[i] > 0x40 && key[i] < 0x5b ? (key[i]|0x60) : key[i];
0 921774 cache[i] = key[i] > 0x40 && key[i] < 0x5b ? (key[i]|0x60) : key[i];
118 0 0 if(tag_idx < MyHTML_TAG_LAST_ENTRY)
127 9 2000 if(tag_id >= MyHTML_TAG_LAST_ENTRY) {
138 1206 96 if(ctx)