Branch Coverage

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


line true false branch
97 0 1460 if ((error = git_config__lookup_entry(&entry, config, data->name, false)) < 0)
100 1118 342 if (!entry)
102 23 319 else if (data->maps)
116 252 4151 if (*out == GIT_CONFIGMAP_NOT_CACHED) {
120 252 0 if ((error = git_repository_config__weakptr(&config, repo)) < 0 ||
0 252 if ((error = git_repository_config__weakptr(&config, repo)) < 0 ||
134 1526 109 for (i = 0; i < GIT_CONFIGMAP_CACHE_MAX; ++i)