Branch Coverage

third_party/modest/source/myhtml/mynamespace.c
Criterion Covered Total %
branch 13 34 38.2


line true false branch
32 5 2 while (myhtml_namespace_detect_name_entry_static_list_index[idx].name)
34 5 0 if(myhtml_namespace_detect_name_entry_static_list_index[idx].name_length == length) {
35 5 0 if(mycore_strncasecmp(myhtml_namespace_detect_name_entry_static_list_index[idx].name, name, length) == 0)
38 0 0 if(myhtml_namespace_detect_name_entry_static_list_index[idx].next)
43 0 0 else if(myhtml_namespace_detect_name_entry_static_list_index[idx].name_length > length) {
58 5 2 if(entry) {
59 5 0 if(ns)
70 2 11 if(ns > MyHTML_NAMESPACE_LAST_ENTRY) {
71 1 1 if(length)
79 10 1 if(length)
87 0 0 if(ns > MyHTML_NAMESPACE_LAST_ENTRY) {
88 0 0 if(length)
96 0 0 if(length) {
106 0 0 while(myhtml_namespace_detect_url_entry_static_list_index[i].ns)
108 0 0 if(myhtml_namespace_detect_url_entry_static_list_index[i].url_length == length) {
114 0 0 while(k) {
117 0 0 if(u_url[k] != u_target_url[k]) {