Branch Coverage

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


line true false branch
85 0 0 if (re == NULL || where == NULL) return PCRE_ERROR_NULL;
0 0 if (re == NULL || where == NULL) return PCRE_ERROR_NULL;
87 0 0 if (extra_data != NULL && (extra_data->flags & PCRE_EXTRA_STUDY_DATA) != 0)
0 0 if (extra_data != NULL && (extra_data->flags & PCRE_EXTRA_STUDY_DATA) != 0)
95 0 0 if (re->magic_number != MAGIC_NUMBER)
97 0 0 PCRE_ERROR_BADENDIANNESS:PCRE_ERROR_BADMAGIC;
101 0 0 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
114 0 0 *((size_t *)where) = (study == NULL)? 0 : study->size;
139 0 0 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char :
140 0 0 ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;
144 0 0 *((pcre_uint32 *)where) =
150 0 0 ((re->flags & PCRE_FIRSTSET) != 0) ? 1 :
151 0 0 ((re->flags & PCRE_STARTLINE) != 0) ? 2 : 0;
159 0 0 (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?
160 0 0 ((const pcre_study_data *)extra_data->study_data)->start_bits : NULL;
165 0 0 (study != NULL && (study->flags & PCRE_STUDY_MINLEN) != 0)?
166 0 0 (int)(study->minlength) : -1;
170 0 0 *((int *)where) = extra_data != NULL &&
171 0 0 (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
0 0 (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
177 0 0 ((re->flags & PCRE_REQCHSET) != 0)? (int)re->req_char : -1;
181 0 0 *((pcre_uint32 *)where) =
226 0 0 if ((re->flags & PCRE_MLSET) == 0) return PCRE_ERROR_UNSET;
231 0 0 if ((re->flags & PCRE_RLSET) == 0) return PCRE_ERROR_UNSET;