Branch Coverage

third_party/modest/source/modest/finder/type.c
Criterion Covered Total %
branch 13 40 32.5


line true false branch
32 0 452 if(selector->ns_entry) {
33 0 0 if(selector->ns_entry->ns_id != MyHTML_NAMESPACE_ANY && selector->ns_entry->ns_id != node->ns)
0 0 if(selector->ns_entry->ns_id != MyHTML_NAMESPACE_ANY && selector->ns_entry->ns_id != node->ns)
39 28 424 if(str->length == 1 && *str->data == '*')
0 28 if(str->length == 1 && *str->data == '*')
42 452 0 if(node->tree) {
45 129 323 if(tag_id == node->tag_id)
54 114 173 if(node->token == NULL)
57 173 0 if(node->tree) {
69 39 325 if(node->token == NULL)
72 325 0 if(node->tree) {
85 0 0 if(selector->ns_entry) {
86 0 0 if(selector->ns_entry->ns_id != MyHTML_NAMESPACE_ANY && selector->ns_entry->ns_id != node->ns)
0 0 if(selector->ns_entry->ns_id != MyHTML_NAMESPACE_ANY && selector->ns_entry->ns_id != node->ns)
90 0 0 if(node->token == NULL)
95 0 0 if(sel_attr) {
96 0 0 if(sel_attr->value == NULL)
99 0 0 if(sel_attr->match < MyCSS_SELECTORS_MATCH_LAST_ENTRY)
115 0 0 if(selector->sub_type < MyCSS_SELECTORS_SUB_TYPE_PSEUDO_CLASS_FUNCTION_LAST_ENTRY)
123 0 0 if(selector->sub_type < MyCSS_SELECTORS_SUB_TYPE_PSEUDO_CLASS_LAST_ENTRY)