Branch Coverage

deps/libgit2/deps/pcre/pcre_maketables.c
Criterion Covered Total %
branch 0 48 0.0


line true false branch
89 0 0 if (yield == NULL) return NULL;
94 0 0 for (i = 0; i < 256; i++) *p++ = tolower(i);
98 0 0 for (i = 0; i < 256; i++) *p++ = islower(i)? toupper(i) : tolower(i);
0 0 for (i = 0; i < 256; i++) *p++ = islower(i)? toupper(i) : tolower(i);
114 0 0 for (i = 0; i < 256; i++)
116 0 0 if (isdigit(i)) p[cbit_digit + i/8] |= 1 << (i&7);
117 0 0 if (isupper(i)) p[cbit_upper + i/8] |= 1 << (i&7);
118 0 0 if (islower(i)) p[cbit_lower + i/8] |= 1 << (i&7);
119 0 0 if (isalnum(i)) p[cbit_word + i/8] |= 1 << (i&7);
120 0 0 if (i == '_') p[cbit_word + i/8] |= 1 << (i&7);
121 0 0 if (isspace(i)) p[cbit_space + i/8] |= 1 << (i&7);
122 0 0 if (isxdigit(i))p[cbit_xdigit + i/8] |= 1 << (i&7);
123 0 0 if (isgraph(i)) p[cbit_graph + i/8] |= 1 << (i&7);
124 0 0 if (isprint(i)) p[cbit_print + i/8] |= 1 << (i&7);
125 0 0 if (ispunct(i)) p[cbit_punct + i/8] |= 1 << (i&7);
126 0 0 if (iscntrl(i)) p[cbit_cntrl + i/8] |= 1 << (i&7);
135 0 0 for (i = 0; i < 256; i++)
138 0 0 if (isspace(i)) x += ctype_space;
139 0 0 if (isalpha(i)) x += ctype_letter;
140 0 0 if (isdigit(i)) x += ctype_digit;
141 0 0 if (isxdigit(i)) x += ctype_xdigit;
142 0 0 if (isalnum(i) || i == '_') x += ctype_word;
0 0 if (isalnum(i) || i == '_') x += ctype_word;
149 0 0 if (strchr("\\*+?{^.$|()[", i) != 0) x += ctype_meta;