Branch Coverage

deps/libgit2/src/config_cache.c
Criterion Covered Total %
branch 11 14 78.5


line true false branch
97 0 1517 if ((error = git_config__lookup_entry(&entry, config, data->name, false)) < 0)
100 1175 342 if (!entry)
102 23 319 else if (data->maps)
116 309 4098 if (*out == GIT_CONFIGMAP_NOT_CACHED) {
120 309 0 if ((error = git_repository_config__weakptr(&config, repo)) < 0 ||
0 309 if ((error = git_repository_config__weakptr(&config, repo)) < 0 ||
134 2030 145 for (i = 0; i < GIT_CONFIGMAP_CACHE_MAX; ++i)