Branch Coverage

deps/libgit2/src/libgit2/merge.h
Criterion Covered Total %
branch 7 28 25.0


line true false branch
165 0 11 if (!ancestor) {
166 0 0 if (ours && theirs && strcmp(ours, theirs) == 0)
0 0 if (ours && theirs && strcmp(ours, theirs) == 0)
0 0 if (ours && theirs && strcmp(ours, theirs) == 0)
172 11 0 if (ours && strcmp(ancestor, ours) == 0)
11 0 if (ours && strcmp(ancestor, ours) == 0)
174 0 0 else if(theirs && strcmp(ancestor, theirs) == 0)
0 0 else if(theirs && strcmp(ancestor, theirs) == 0)
188 0 11 if (!ancestor) {
189 0 0 if (ours == GIT_FILEMODE_BLOB_EXECUTABLE ||
0 0 if (ours == GIT_FILEMODE_BLOB_EXECUTABLE ||
194 11 0 } else if (ours && theirs) {
11 0 } else if (ours && theirs) {
195 11 0 if (ancestor == ours)