Branch Coverage

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


line true false branch
16 1 8 if (items == 1)
20 0 8 Newxz(paths.strings, count, char *);
21 10 7 for (i = 0; i < count; ++i) {
22 1 9 if (!SvPOK(ST(i + 1))) {
26 9 0 paths.strings[i] = SvPVbyte_nolen(ST(i + 1));
35 7 0 GIT_NEW_OBJ(
53 6 6 if (items == 3) {
56 6 0 if ((hopt = git_hv_hash_entry(opts, "flags"))) {
66 11 1 if (sv_isobject(obj)) {
69 6 5 if (sv_derived_from(obj, "Git::Raw::Repository")) {
75 1 4 } else if (sv_derived_from(obj, "Git::Raw::Index")) {
80 4 0 } else if (sv_derived_from(obj, "Git::Raw::Tree")) {
85 0 0 } else if (sv_derived_from(obj, "Git::Raw::Diff")) {
94 1 10 if (list == NULL)