Branch Coverage

third_party/modest/source/myhtml/charef.c
Criterion Covered Total %
branch 12 44 27.2


line true false branch
29 0 0 while (named_character_references[pos].ch)
31 0 0 if(named_character_references[pos].ch == u_begin[*offset])
35 0 0 if(named_character_references[pos].next == 0 || *offset >= size) {
0 0 if(named_character_references[pos].next == 0 || *offset >= size) {
36 0 0 if(data_size)
44 0 0 else if(u_begin[*offset] > named_character_references[pos].ch) {
52 0 0 if(data_size)
67 0 128 if(u_begin[*offset] == '&') {
70 0 0 if(result->curr_entry->codepoints_len)
72 0 0 else if(result->last_entry) {
82 1888 0 while (named_character_references[pos].ch)
84 384 1504 if(named_character_references[pos].ch == u_begin[*offset])
86 128 256 if(u_begin[*offset] == ';') {
95 0 256 if(named_character_references[pos].next == 0) {
100 0 256 if(*offset >= size)
104 0 0 if(named_character_references[pos].codepoints_len) {
112 0 256 if(u_begin[*offset] == '&') {
116 0 0 if(result->curr_entry->codepoints_len)
118 0 0 else if(result->last_entry) {
126 128 128 if(named_character_references[pos].codepoints_len) {
133 1504 0 else if(u_begin[*offset] > named_character_references[pos].ch) {
143 0 0 if(result->last_entry) {