Branch Coverage

third_party/modest/source/mycss/property/shared.c
Criterion Covered Total %
branch 0 268 0.0


line true false branch
37 0 0 if(token->type == MyCSS_TOKEN_TYPE_SEMICOLON) {
41 0 0 else if(token->type == MyCSS_TOKEN_TYPE_DELIM && *token->data == '!') {
0 0 else if(token->type == MyCSS_TOKEN_TYPE_DELIM && *token->data == '!') {
45 0 0 else if(token->type == entry->declaration->ending_token) {
57 0 0 if(token->type != MyCSS_TOKEN_TYPE_NUMBER)
62 0 0 if(str->data == NULL)
68 0 0 if(length->is_float)
81 0 0 if(token->type != MyCSS_TOKEN_TYPE_DIMENSION && token->type != MyCSS_TOKEN_TYPE_NUMBER)
0 0 if(token->type != MyCSS_TOKEN_TYPE_DIMENSION && token->type != MyCSS_TOKEN_TYPE_NUMBER)
84 0 0 if(str->data == NULL)
92 0 0 if(type == MyCSS_UNIT_TYPE_UNDEF)
93 0 0 if(is_float == true || (long)return_num != 0)
0 0 if(is_float == true || (long)return_num != 0)
98 0 0 if(is_float)
114 0 0 if(token->type != MyCSS_TOKEN_TYPE_DIMENSION)
117 0 0 if(str->data == NULL)
125 0 0 switch (type) {
137 0 0 if(is_float)
153 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
156 0 0 if(*value) {
160 0 0 if(value_type)
169 0 0 if(value_type)
178 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE)
183 0 0 if(str->data == NULL)
189 0 0 if(length->is_float)
211 0 0 if(str->data == NULL)
217 0 0 if(color_entry) {
232 0 0 if(str->data == NULL)
238 0 0 if(color_entry) {
266 0 0 if(str->data == NULL)
273 0 0 if(*value & MyCSS_VALUES_TEXT_DECORATION_SKIP_OBJECTS)
282 0 0 if(*value & MyCSS_VALUES_TEXT_DECORATION_SKIP_SPACES)
291 0 0 if(*value & MyCSS_VALUES_TEXT_DECORATION_SKIP_INK)
300 0 0 if(*value & MyCSS_VALUES_TEXT_DECORATION_SKIP_EDGES)
309 0 0 if(*value & MyCSS_VALUES_TEXT_DECORATION_SKIP_BOX_DECORATION)
322 0 0 if(with_global) {
339 0 0 if(str->data == NULL)
374 0 0 if(with_global) {
390 0 0 if(str->data == NULL)
395 0 0 switch (valye_type) {
418 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
421 0 0 if(str->data == NULL)
426 0 0 switch (*value_type) {
442 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
445 0 0 if(str->data == NULL)
453 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
456 0 0 if(str->data == NULL)
459 0 0 if(check_type == mycss_property_value_type_by_name(str->data, str->length)) {
469 0 0 if(mycss_property_shared_length_percentage(entry, token, value, value_type, str))
472 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
475 0 0 if(str->data == NULL)
480 0 0 switch (*value_type) {
498 0 0 if(mycss_property_shared_length_percentage(entry, token, value, value_type, str))
501 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
504 0 0 if(str->data == NULL)
509 0 0 switch (*value_type) {
527 0 0 if(mycss_property_shared_length(entry, token, value, value_type, str))
530 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
533 0 0 if(str->data == NULL)
538 0 0 switch (*value_type) {
564 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
567 0 0 if(str->data == NULL)
572 0 0 switch (*value_type) {
589 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
592 0 0 if(str->data == NULL)
597 0 0 switch (*value_type) {
629 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
632 0 0 if(str->data == NULL)
637 0 0 switch (*value_type) {
659 0 0 if(*value == NULL)
664 0 0 if(font_family->entries) {
682 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT && token->type != MyCSS_TOKEN_TYPE_STRING)
0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT && token->type != MyCSS_TOKEN_TYPE_STRING)
685 0 0 if(str->data == NULL)
708 0 0 if(*value)
711 0 0 switch (*value_type) {
737 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT && token->type != MyCSS_TOKEN_TYPE_NUMBER)
0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT && token->type != MyCSS_TOKEN_TYPE_NUMBER)
740 0 0 if(str->data == NULL)
745 0 0 switch (*value_type) {
774 0 0 if(mycss_property_shared_length_percentage(entry, token, value, value_type, str))
777 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
780 0 0 if(str->data == NULL)
785 0 0 switch (*value_type) {
810 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
813 0 0 if(str->data == NULL)
818 0 0 switch (*value_type) {
843 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
846 0 0 if(str->data == NULL)
851 0 0 switch (*value_type) {
870 0 0 if(token->type == MyCSS_TOKEN_TYPE_URL)
881 0 0 if(token->type != MyCSS_TOKEN_TYPE_FUNCTION)
884 0 0 if(str->length != 3)
887 0 0 if(str->data == NULL)
890 0 0 if(mycore_strcasecmp(str->data, "url"))
901 0 0 if(token->type == MyCSS_TOKEN_TYPE_URL)
905 0 0 if(*value)
919 0 0 if(token->type != MyCSS_TOKEN_TYPE_FUNCTION)
922 0 0 if(str->data == NULL)
927 0 0 if(func_entry == NULL || func_entry->type == MyCSS_PROPERTY_VALUE_UNDEF)
0 0 if(func_entry == NULL || func_entry->type == MyCSS_PROPERTY_VALUE_UNDEF)
932 0 0 if(*value)
950 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
953 0 0 if(str->data == NULL)
958 0 0 switch (*value_type) {
973 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
976 0 0 if(str->data == NULL)
981 0 0 switch (*value_type) {
998 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
1001 0 0 if(str->data == NULL)
1006 0 0 switch (*value_type) {
1022 0 0 if(mycss_property_shared_length_percentage(entry, token, value, value_type, str))
1025 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
1028 0 0 if(str->data == NULL)
1033 0 0 switch (*value_type) {
1051 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
1054 0 0 if(str->data == NULL)
1059 0 0 switch (*value_type) {
1075 0 0 if(mycss_property_shared_length_percentage(entry, token, value, value_type, str))
1078 0 0 if(token->type != MyCSS_TOKEN_TYPE_IDENT)
1081 0 0 if(str->data == NULL)
1086 0 0 switch (*value_type) {
1109 0 0 if(token->type != MyCSS_TOKEN_TYPE_FUNCTION)
1112 0 0 if(str->length != 5)
1115 0 0 if(str->data == NULL)
1118 0 0 if(mycore_strcasecmp(str->data, "image"))
1129 0 0 if(token->type != MyCSS_TOKEN_TYPE_FUNCTION)
1132 0 0 if(str->length != 9)
1135 0 0 if(str->data == NULL)
1138 0 0 if(mycore_strcasecmp(str->data, "image-set"))
1149 0 0 if(token->type != MyCSS_TOKEN_TYPE_FUNCTION)
1152 0 0 if(str->length != 10)
1155 0 0 if(str->data == NULL)
1158 0 0 if(mycore_strcasecmp(str->data, "cross-fade"))