Branch Coverage

include/eshu_pod.h
Criterion Covered Total %
branch 38 48 79.1


line true false branch
42 231 484 return (*p == '=' && isalpha((unsigned char)p[1]));
231 0 return (*p == '=' && isalpha((unsigned char)p[1]));
48 0 447 if (*p != '=') return 0;
50 539 30 for (i = 0; i < nlen; i++) {
51 0 539 if (!p[i]) return 0;
52 417 122 if (tolower((unsigned char)p[i]) != name[i]) return 0;
55 30 0 if (p[nlen] && isalpha((unsigned char)p[nlen])) return 0;
0 30 if (p[nlen] && isalpha((unsigned char)p[nlen])) return 0;
67 1171 0 while (p < eol && (*p == ' ' || *p == '\t')) {
703 468 while (p < eol && (*p == ' ' || *p == '\t')) {
191 277 while (p < eol && (*p == ' ' || *p == '\t')) {
68 191 703 if (*p == '\t')
88 422 715 if (content >= eol) {
95 231 484 if (eshu_pod_is_directive(content)) {
99 15 216 if (eshu_pod_directive_is(content, "over", 4)) {
101 15 201 } else if (eshu_pod_directive_is(content, "back", 4)) {
103 0 15 if (ctx->over_depth < 0) ctx->over_depth = 0;
113 277 207 if (has_leading_ws) {
116 114 163 if (!ctx->in_verbatim) {
124 0 277 if (extra < 0) extra = 0;
130 358 277 for (i = 0; i < extra; i++)
159 1137 47 while (p < end) {
162 1137 0 p = (*eol == '\n') ? eol + 1 : eol;
163 0 1137 if (p > end) p = end;