Branch Coverage

xs/Config.xs
Criterion Covered Total %
branch 20 20 100.0


line true false branch
49 5 5 if (items == 3) {
54 3 2 if ((rc = git_config_get_bool(&value, self, id)) == GIT_ENOTFOUND)
78 1 2 if (items == 3) {
83 1 1 if ((rc = git_config_get_int32(&value, self, id)) == GIT_ENOTFOUND)
107 9 17 if (items == 3) {
116 2 15 if ((rc = git_config_get_string_buf(&buf, self, id)) == GIT_ENOTFOUND)
145 2 2 if (items == 3) {
160 5 4 while (git_config_next(&entry, iter) == 0) {
165 1 3 if (av_len(av) == -1 ) {
191 1 1 if (rc != GIT_EUSER)