| line |
true |
false |
branch |
|
44
|
1479 |
166 |
while (p < eol) { |
|
46
|
106 |
1373 |
if (ctx->state == ESHU_CSS_COMMENT) { |
|
47
|
104 |
2 |
if (p + 1 < eol && p[0] == '*' && p[1] == '/') { |
|
|
9 |
95 |
if (p + 1 < eol && p[0] == '*' && p[1] == '/') { |
|
|
7 |
2 |
if (p + 1 < eol && p[0] == '*' && p[1] == '/') { |
|
57
|
19 |
1354 |
if (ctx->state == ESHU_CSS_STRING_DQ) { |
|
58
|
2 |
17 |
if (*p == '\\' && p + 1 < eol) { |
|
|
2 |
0 |
if (*p == '\\' && p + 1 < eol) { |
|
62
|
2 |
15 |
if (*p == '"') { |
|
70
|
10 |
1344 |
if (ctx->state == ESHU_CSS_STRING_SQ) { |
|
71
|
0 |
10 |
if (*p == '\\' && p + 1 < eol) { |
|
|
0 |
0 |
if (*p == '\\' && p + 1 < eol) { |
|
75
|
1 |
9 |
if (*p == '\'') { |
|
83
|
60 |
1284 |
if (ctx->state == ESHU_CSS_URL) { |
|
84
|
4 |
56 |
if (*p == ')') { |
|
94
|
1130 |
154 |
if (p + 1 < eol && p[0] == '/' && p[1] == '*') { |
|
|
7 |
1123 |
if (p + 1 < eol && p[0] == '/' && p[1] == '*') { |
|
|
7 |
0 |
if (p + 1 < eol && p[0] == '/' && p[1] == '*') { |
|
101
|
3 |
1274 |
if (*p == '"') { |
|
108
|
1 |
1273 |
if (*p == '\'') { |
|
115
|
917 |
356 |
if (p + 3 < eol && p[0] == 'u' && p[1] == 'r' && p[2] == 'l' && p[3] == '(') { |
|
|
13 |
904 |
if (p + 3 < eol && p[0] == 'u' && p[1] == 'r' && p[2] == 'l' && p[3] == '(') { |
|
|
4 |
9 |
if (p + 3 < eol && p[0] == 'u' && p[1] == 'r' && p[2] == 'l' && p[3] == '(') { |
|
|
4 |
0 |
if (p + 3 < eol && p[0] == 'u' && p[1] == 'r' && p[2] == 'l' && p[3] == '(') { |
|
|
4 |
0 |
if (p + 3 < eol && p[0] == 'u' && p[1] == 'r' && p[2] == 'l' && p[3] == '(') { |
|
122
|
51 |
1218 |
if (*p == '{') { |
|
129
|
50 |
1168 |
if (*p == '}') { |
|
130
|
48 |
2 |
if (p == content && !first_close_counted) { |
|
|
48 |
0 |
if (p == content && !first_close_counted) { |
|
154
|
166 |
1 |
int is_blank = (content == eol || *content == '\n'); |
|
|
0 |
166 |
int is_blank = (content == eol || *content == '\n'); |
|
157
|
1 |
166 |
if (is_blank) { |
|
158
|
1 |
0 |
if (*eol == '\n') eshu_buf_putc(out, '\n'); |
|
168
|
49 |
117 |
if (*content == '}') { |
|
173
|
0 |
166 |
if (indent_depth < 0) indent_depth = 0; |
|
178
|
166 |
0 |
if (*eol == '\n') eshu_buf_putc(out, '\n'); |
|
186
|
0 |
166 |
if (ctx->depth < 0) ctx->depth = 0; |
|
206
|
167 |
31 |
while (p < end) { |
|
209
|
167 |
0 |
p = (*eol == '\n') ? eol + 1 : eol; |
|
210
|
0 |
167 |
if (p > end) p = end; |