line |
true |
false |
branch |
42
|
3 |
33 |
myhtml_parser_skip_whitespace() |
|
3 |
0 |
myhtml_parser_skip_whitespace() |
|
3 |
0 |
myhtml_parser_skip_whitespace() |
|
3 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
3 |
myhtml_parser_skip_whitespace() |
|
66 |
0 |
myhtml_parser_skip_whitespace() |
|
33 |
33 |
myhtml_parser_skip_whitespace() |
|
0 |
33 |
myhtml_parser_skip_whitespace() |
|
0 |
33 |
myhtml_parser_skip_whitespace() |
|
0 |
33 |
myhtml_parser_skip_whitespace() |
|
0 |
33 |
myhtml_parser_skip_whitespace() |
44
|
0 |
36 |
if(html_offset >= html_size) |
47
|
3 |
33 |
if(html[html_offset] == '>') |
55
|
0 |
3 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
61
|
0 |
3 |
if(tree->attr_current == NULL) { |
69
|
33 |
0 |
myhtml_parser_queue_set_attr(tree, token_node); |
84
|
170 |
0 |
while(html_offset < html_size) |
86
|
9 |
161 |
if(html[html_offset] == '>') |
94
|
0 |
9 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
100
|
0 |
9 |
if(tree->attr_current == NULL) { |
109
|
137 |
24 |
else if(myhtml_whithspace(html[html_offset], ==, ||)) |
|
137 |
0 |
else if(myhtml_whithspace(html[html_offset], ==, ||)) |
|
137 |
0 |
else if(myhtml_whithspace(html[html_offset], ==, ||)) |
|
137 |
0 |
else if(myhtml_whithspace(html[html_offset], ==, ||)) |
|
0 |
137 |
else if(myhtml_whithspace(html[html_offset], ==, ||)) |
114
|
0 |
24 |
if(tree->attr_current == NULL) { |
137
|
24 |
0 |
myhtml_parser_skip_whitespace() |
|
24 |
0 |
myhtml_parser_skip_whitespace() |
|
24 |
0 |
myhtml_parser_skip_whitespace() |
|
24 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
24 |
myhtml_parser_skip_whitespace() |
|
0 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
0 |
myhtml_parser_skip_whitespace() |
139
|
0 |
24 |
if(html_offset >= html_size) |
142
|
0 |
24 |
if(html[html_offset] == '>') |
148
|
0 |
0 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
166
|
0 |
24 |
if((token_node->str.length + 6) > (html_size + tree->global_offset)) { |
172
|
16 |
8 |
if(mycore_strncasecmp(param, "PUBLIC", 6) == 0) { |
173
|
0 |
16 |
myhtml_parser_queue_set_attr(tree, token_node); |
179
|
0 |
16 |
if(tree->attr_current == NULL) { |
188
|
6 |
2 |
else if(mycore_strncasecmp(param, "SYSTEM", 6) == 0) { |
189
|
0 |
6 |
myhtml_parser_queue_set_attr(tree, token_node); |
195
|
0 |
6 |
if(tree->attr_current == NULL) { |
218
|
1 |
15 |
myhtml_parser_skip_whitespace() |
|
1 |
0 |
myhtml_parser_skip_whitespace() |
|
1 |
0 |
myhtml_parser_skip_whitespace() |
|
1 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
1 |
myhtml_parser_skip_whitespace() |
|
30 |
0 |
myhtml_parser_skip_whitespace() |
|
15 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
220
|
0 |
16 |
if(html_offset >= html_size) |
223
|
15 |
1 |
if(html[html_offset] == '"') { |
229
|
0 |
1 |
else if(html[html_offset] == '\'') { |
235
|
1 |
0 |
else if(html[html_offset] == '>') |
243
|
0 |
1 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
265
|
292 |
0 |
while(html_offset < html_size) |
267
|
15 |
277 |
if(html[html_offset] == quote) |
271
|
0 |
15 |
myhtml_parser_queue_set_attr(tree, token_node); |
274
|
0 |
15 |
if(tree->attr_current == NULL) { |
284
|
0 |
277 |
else if(html[html_offset] == '>') |
288
|
0 |
0 |
if(tree->attr_current->raw_value_begin < (html_offset + tree->global_offset)) { |
291
|
0 |
0 |
myhtml_parser_queue_set_attr(tree, token_node); |
294
|
0 |
0 |
if(tree->attr_current == NULL) { |
304
|
0 |
0 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
335
|
6 |
15 |
myhtml_parser_skip_whitespace() |
|
6 |
0 |
myhtml_parser_skip_whitespace() |
|
6 |
0 |
myhtml_parser_skip_whitespace() |
|
6 |
0 |
myhtml_parser_skip_whitespace() |
|
0 |
6 |
myhtml_parser_skip_whitespace() |
|
30 |
0 |
myhtml_parser_skip_whitespace() |
|
15 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
|
0 |
15 |
myhtml_parser_skip_whitespace() |
337
|
0 |
21 |
if(html_offset >= html_size) |
340
|
15 |
6 |
if(html[html_offset] == '"') |
347
|
0 |
6 |
else if(html[html_offset] == '\'') |
354
|
6 |
0 |
else if(html[html_offset] == '>') |
360
|
0 |
6 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
386
|
387 |
0 |
while(html_offset < html_size) |
388
|
15 |
372 |
if(html[html_offset] == quote) |
392
|
0 |
15 |
myhtml_parser_queue_set_attr(tree, token_node); |
395
|
0 |
15 |
if(tree->attr_current == NULL) { |
405
|
0 |
372 |
else if(html[html_offset] == '>') |
409
|
0 |
0 |
if(tree->attr_current->raw_value_begin < (html_offset + tree->global_offset)) { |
412
|
0 |
0 |
myhtml_parser_queue_set_attr(tree, token_node); |
415
|
0 |
0 |
if(tree->attr_current == NULL) { |
425
|
0 |
0 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
456
|
14 |
1 |
myhtml_parser_skip_whitespace(); |
|
14 |
0 |
myhtml_parser_skip_whitespace(); |
|
14 |
0 |
myhtml_parser_skip_whitespace(); |
|
14 |
0 |
myhtml_parser_skip_whitespace(); |
|
0 |
14 |
myhtml_parser_skip_whitespace(); |
|
2 |
0 |
myhtml_parser_skip_whitespace(); |
|
1 |
1 |
myhtml_parser_skip_whitespace(); |
|
0 |
1 |
myhtml_parser_skip_whitespace(); |
|
0 |
1 |
myhtml_parser_skip_whitespace(); |
|
0 |
1 |
myhtml_parser_skip_whitespace(); |
|
0 |
1 |
myhtml_parser_skip_whitespace(); |
458
|
0 |
15 |
if(html_offset >= html_size) |
461
|
14 |
1 |
if(html[html_offset] == '>') |
467
|
0 |
14 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |
487
|
63 |
0 |
while(html_offset < html_size) |
489
|
3 |
60 |
if(html[html_offset] == '>') |
495
|
0 |
3 |
if(myhtml_queue_add(tree, html_offset, token_node) != MyHTML_STATUS_OK) { |