Branch Coverage

xs/Reflog.xs
Criterion Covered Total %
branch 26 42 61.9


line true false branch
24 5 0 GIT_NEW_OBJ_WITH_MAGIC(
71 2 1 if (items == 3) {
83 1 2 if (items != 3)
137 10 8 if (items >= 2) {
140 10 0 if (!SvIOK(index) || SvIV(index) < 0)
10 0 if (!SvIOK(index) || SvIV(index) < 0)
0 10 if (!SvIOK(index) || SvIV(index) < 0)
0 0 if (!SvIOK(index) || SvIV(index) < 0)
143 0 10 start = SvUV(index);
144 1 9 if (start >= entry_count)
147 9 0 if (items >= 3) {
151 9 0 if (!SvIOK(count) || SvIV(count) < 0)
9 0 if (!SvIOK(count) || SvIV(count) < 0)
0 9 if (!SvIOK(count) || SvIV(count) < 0)
0 0 if (!SvIOK(count) || SvIV(count) < 0)
153 9 0 if (SvIV(count) == 0)
1 8 if (SvIV(count) == 0)
156 0 8 retrieve_count = SvUV(count);
157 2 6 if ((start + retrieve_count) > entry_count)
167 19 14 for (; start < end; ++start) {
178 0 19 mXPUSHs(entry);