Branch Coverage

third_party/modest/source/mycss/values/color_parser.c
Criterion Covered Total %
branch 0 158 0.0


line true false branch
33 0 0 if(stack_entry->value)
41 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
46 0 0 if(token->type == MyCSS_TOKEN_TYPE_RIGHT_PARENTHESIS)
60 0 0 if(color_rgb->is_float)
76 0 0 if(color_rgb->is_float)
97 0 0 switch (type) {
108 0 0 if(is_float)
121 0 0 if(token->type == MyCSS_TOKEN_TYPE_PERCENTAGE)
128 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER)
145 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
150 0 0 if(declr_entry->value == NULL) {
163 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
168 0 0 if(declr_entry->value == NULL) {
204 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
207 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE) {
214 0 0 if(declr_entry->value == NULL) {
249 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
251 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE)
256 0 0 if(declr_entry->value == NULL) {
283 0 0 if(*token->data == '/') {
297 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
302 0 0 if(declr_entry->value == NULL) {
309 0 0 if(token->type == MyCSS_TOKEN_TYPE_PERCENTAGE) {
313 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER) {
351 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
354 0 0 if(token->type != MyCSS_TOKEN_TYPE_NUMBER) {
361 0 0 if(declr_entry->value == NULL) {
395 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
398 0 0 if(token->type != MyCSS_TOKEN_TYPE_NUMBER) {
405 0 0 if(declr_entry->value == NULL) {
432 0 0 if(*token->data == '/') {
446 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
451 0 0 if(declr_entry->value == NULL) {
458 0 0 if(token->type == MyCSS_TOKEN_TYPE_PERCENTAGE) {
462 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER) {
480 0 0 if(token->type == MyCSS_TOKEN_TYPE_DIMENSION) {
481 0 0 if(mycss_values_color_parser_set_angle_value(entry, token, &color->value.hsla.hue.value.angle) == false) {
488 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER)
504 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
509 0 0 if(declr_entry->value == NULL) {
522 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
527 0 0 if(declr_entry->value == NULL) {
560 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
563 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE) {
570 0 0 if(declr_entry->value == NULL) {
604 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
607 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE) {
614 0 0 if(declr_entry->value == NULL) {
641 0 0 if(*token->data == '/') {
655 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
660 0 0 if(declr_entry->value == NULL) {
667 0 0 if(token->type == MyCSS_TOKEN_TYPE_PERCENTAGE) {
671 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER) {
694 0 0 if(token->type != MyCSS_TOKEN_TYPE_HASH)
697 0 0 if(str->data == NULL)
773 0 0 if(token->type == MyCSS_TOKEN_TYPE_DIMENSION) {
774 0 0 if(mycss_values_color_parser_set_angle_value(entry, token, &color->value.hwb.hue.value.angle) == false) {
781 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER)
797 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
802 0 0 if(declr_entry->value == NULL) {
835 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
837 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE)
842 0 0 if(declr_entry->value == NULL) {
876 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
879 0 0 if(token->type != MyCSS_TOKEN_TYPE_PERCENTAGE) {
886 0 0 if(declr_entry->value == NULL) {
913 0 0 if(*token->data == '/') {
927 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
932 0 0 if(declr_entry->value == NULL) {
939 0 0 if(token->type == MyCSS_TOKEN_TYPE_PERCENTAGE) {
943 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER) {
961 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
966 0 0 if(declr_entry->value == NULL) {
973 0 0 if(token->type == MyCSS_TOKEN_TYPE_NUMBER)
1003 0 0 if(*token->data == '/') {
1017 0 0 if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
1022 0 0 if(declr_entry->value == NULL) {
1029 0 0 if(token->type == MyCSS_TOKEN_TYPE_PERCENTAGE) {
1033 0 0 else if(token->type == MyCSS_TOKEN_TYPE_NUMBER) {