Branch Coverage

xs/Diff/File.xs
Criterion Covered Total %
branch 6 16 37.5


line true false branch
38 0 2 if (self -> flags & GIT_DIFF_FLAG_BINARY)
40 2 0 if (self -> flags & GIT_DIFF_FLAG_VALID_ID)
55 1 1 if (self -> mode == GIT_FILEMODE_UNREADABLE)
57 0 1 else if (self -> mode == GIT_FILEMODE_TREE)
59 1 0 else if (self -> mode == GIT_FILEMODE_BLOB)
61 0 0 else if (self -> mode == GIT_FILEMODE_BLOB_EXECUTABLE)
63 0 0 else if (self -> mode == GIT_FILEMODE_LINK)
65 0 0 else if (self -> mode == GIT_FILEMODE_COMMIT)