Branch Coverage

include/eshu_pod.h
Criterion Covered Total %
branch 26 42 61.9


line true false branch
40 216 442 return (*p == '=' && isalpha((unsigned char)p[1]));
216 0 return (*p == '=' && isalpha((unsigned char)p[1]));
46 0 417 if (*p != '=') return 0;
48 509 30 for (i = 0; i < nlen; i++) {
49 0 509 if (!p[i]) return 0;
50 387 122 if (tolower((unsigned char)p[i]) != name[i]) return 0;
53 30 0 if (p[nlen] && isalpha((unsigned char)p[nlen])) return 0;
0 30 if (p[nlen] && isalpha((unsigned char)p[nlen])) return 0;
65 0 0 while (p < eol && (*p == ' ' || *p == '\t')) {
0 0 while (p < eol && (*p == ' ' || *p == '\t')) {
0 0 while (p < eol && (*p == ' ' || *p == '\t')) {
66 0 0 if (*p == '\t')
86 401 658 if (content >= eol) {
93 216 442 if (eshu_pod_is_directive(content)) {
97 15 201 if (eshu_pod_directive_is(content, "over", 4)) {
99 15 186 } else if (eshu_pod_directive_is(content, "back", 4)) {
101 0 15 if (ctx->over_depth < 0) ctx->over_depth = 0;
111 239 203 if (has_leading_ws) {
142 1059 39 while (p < end) {
145 1059 0 p = (*eol == '\n') ? eol + 1 : eol;
146 0 1059 if (p > end) p = end;