Branch Coverage

xs/Tag.xs
Criterion Covered Total %
branch 21 28 75.0


line true false branch
23 0 1 if (obj == NULL)
37 1 0 GIT_NEW_OBJ_WITH_MAGIC(
68 1 1 if (rc == GIT_ENOTFOUND) {
73 1 0 GIT_NEW_OBJ_WITH_MAGIC(
112 6 5 if (items == 4 && SvOK(ST(3))) {
1 5 if (items == 4 && SvOK(ST(3))) {
1 0 if (items == 4 && SvOK(ST(3))) {
0 1 if (items == 4 && SvOK(ST(3))) {
115 2 3 if (strcmp(type, "lightweight") == 0)
117 1 2 else if (strcmp(type, "annotated") == 0)
120 1 1 if (strcmp(type, "all") != 0)
132 9 1 if (rc != GIT_EUSER)
148 1 0 repo = INT2PTR(
196 4 0 if ((tagger = (Signature) git_tag_tagger(self)) != NULL) {