Branch Coverage

hoedown/src/escape.c
Criterion Covered Total %
branch 17 26 65.3


line true false branch
65 1 0 while (i < size) {
67 14 1 while (i < size && HREF_SAFE[data[i]]) i++;
14 0 while (i < size && HREF_SAFE[data[i]]) i++;
70 1 0 if (mark == 0 && i >= size) {
75 0 0 if (likely(i > mark)) {
80 0 0 if (i >= size)
166 93 25 while (i < size && HTML_ESCAPE_TABLE[data[i]] == 0) i++;
91 2 while (i < size && HTML_ESCAPE_TABLE[data[i]] == 0) i++;
169 24 3 if (mark == 0 && i >= size) {
174 2 1 if (likely(i > mark))
177 2 1 if (i >= size) break;
180 2 0 if (!secure && data[i] == '/') {
2 0 if (!secure && data[i] == '/') {