Branch Coverage

third_party/modest/source/mycss/property/parser_text_decoration.c
Criterion Covered Total %
branch 0 116 0.0


line true false branch
27 0 0 if(stack_entry->value)
35 0 0 if(value == NULL)
40 0 0 if(text_decoration->color)
43 0 0 if(text_decoration->line)
46 0 0 if(text_decoration->style)
54 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
61 0 0 if(dec_entry->value == NULL) {
65 0 0 if(text_decoration == NULL)
72 0 0 if(mycss_property_shared_check_declaration_end(entry, token)) {
73 0 0 if(text_decoration &&
0 0 if(text_decoration &&
74 0 0 text_decoration->color == NULL &&
75 0 0 text_decoration->style == NULL &&
85 0 0 if(text_decoration == NULL)
95 0 0 if(mycss_property_shared_text_decoration_style(entry, token, &value_type, &str))
97 0 0 if(text_decoration->style) {
109 0 0 else if(mycss_property_shared_color(entry, token, &value, &value_type, &str, &parser_changed))
111 0 0 if(text_decoration->color) {
118 0 0 if(parser_changed) {
129 0 0 else if(mycss_property_shared_text_decoration_line(entry, token, &line_value, &value_type, &str, true))
131 0 0 if(text_decoration->line) {
139 0 0 if(line_value) {
162 0 0 if(mycss_property_shared_check_declaration_end(entry, token))
166 0 0 if(text_decoration &&
0 0 if(text_decoration &&
167 0 0 text_decoration->color == NULL &&
168 0 0 text_decoration->style == NULL &&
186 0 0 if(mycss_property_shared_check_declaration_end(entry, token))
190 0 0 if(text_decoration &&
0 0 if(text_decoration &&
191 0 0 text_decoration->color == NULL &&
192 0 0 text_decoration->style == NULL &&
208 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
216 0 0 if(mycss_property_shared_color(entry, token, &dec_entry->value, &dec_entry->value_type, &str, &parser_changed))
218 0 0 if(parser_changed)
229 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
234 0 0 if(mycss_property_shared_check_declaration_end(entry, token))
244 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
247 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
255 0 0 if(mycss_property_shared_text_decoration_skip(entry, token, &value, &dec_entry->value_type, &str, true)) {
256 0 0 if(value) {
273 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
276 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT) {
284 0 0 if(mycss_property_shared_text_decoration_skip(entry, token, (unsigned int*)dec_entry->value, &dec_entry->value_type, &str, false))
293 0 0 if(mycss_property_shared_check_declaration_end(entry, token))
298 0 0 if(dec_entry->value)
306 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
309 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
315 0 0 if(mycss_property_shared_text_decoration_style(entry, token, &dec_entry->value_type, &str))
323 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
326 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
334 0 0 if(mycss_property_shared_text_decoration_line(entry, token, &value, &dec_entry->value_type, &str, true))
336 0 0 if(value) {
353 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
356 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT) {
364 0 0 if(mycss_property_shared_text_decoration_line(entry, token, (unsigned int*)dec_entry->value, &dec_entry->value_type, &str, false))
373 0 0 if(mycss_property_shared_check_declaration_end(entry, token))
378 0 0 if(dec_entry->value)