Branch Coverage

third_party/modest/source/mycss/mycss.c
Criterion Covered Total %
branch 5 38 13.1


line true false branch
33 0 74 if(status != MyCSS_STATUS_OK)
41 0 74 if(mycss == NULL)
46 74 0 if(self_destroy) {
69 0 0 if(status != MyCSS_STATUS_OK)
79 0 0 if(entry->type & MyCSS_ENTRY_TYPE_END) {
84 0 0 if(entry->stylesheet == NULL) {
103 0 0 if(return_length)
126 0 0 if(type >= MyCSS_TOKEN_TYPE_LAST_ENTRY)
134 163 0 if(init_string)
147 163 0 if((relative_begin + token->length) <= buffer->size) {
156 0 0 while(buffer) {
157 0 0 if((relative_begin + length) > buffer->size)
197 0 0 if(size < 15)
200 0 0 if(strncmp("@charset \"", css, 10))
206 0 0 while(length < size) {
207 0 0 if(css[length] == '"')
211 0 0 if(length >= size || css[length] != ';')
0 0 if(length >= size || css[length] != ';')
217 0 0 if(myencoding_by_name(&css[begin], name_len, &encoding))