| line |
true |
false |
branch |
|
44
|
3 |
41 |
if ((items - 1) % 2 != 0) { |
|
48
|
20 |
41 |
for (i = 1; i + 1 < items; i += 2) { |
|
74
|
7 |
85 |
if (!he) { |
|
79
|
85 |
0 |
if (vslot && *vslot) { |
|
|
85 |
0 |
if (vslot && *vslot) { |
|
102
|
9 |
10077 |
if (he) { |
|
110
|
9 |
0 |
if (vslot && *vslot && !SvREADONLY(*vslot)) { |
|
|
9 |
0 |
if (vslot && *vslot && !SvREADONLY(*vslot)) { |
|
|
9 |
0 |
if (vslot && *vslot && !SvREADONLY(*vslot)) { |
|
114
|
0 |
0 |
if (!av_store(vals, pos, vcopy)) |
|
128
|
0 |
10077 |
if (!av_store(vals, newpos, vcopy)) |
|
131
|
0 |
10077 |
if (!hv_store_ent(idx, key_sv, idx_sv, 0)) |
|
143
|
0 |
17 |
RETVAL = hv_exists_ent(idx, key, 0) ? 1 : 0; |
|
158
|
14 |
6 |
RETVAL = got ? newSVsv(got) : newSV(0); |
|
178
|
25 |
57 |
if (av_len(keys) < 0) { |
|
183
|
57 |
0 |
if (!kslot || !*kslot) { |
|
|
0 |
57 |
if (!kslot || !*kslot) { |
|
207
|
20143 |
0 |
if (pos < 0 || pos > av_len(keys)) XSRETURN_UNDEF; |
|
|
51 |
20092 |
if (pos < 0 || pos > av_len(keys)) XSRETURN_UNDEF; |
|
209
|
20092 |
0 |
if (!kslot || !*kslot) XSRETURN_UNDEF; |
|
|
0 |
20092 |
if (!kslot || !*kslot) XSRETURN_UNDEF; |
|
220
|
0 |
9 |
RETVAL = tie_oh_count(aTHX_ self) > 0 ? 1 : 0; |
|
235
|
1 |
3 |
if ((items - 1) % 2 != 0) { |
|
239
|
5 |
3 |
for (i = 1; i + 1 < items; i += 2) { |
|
256
|
1 |
4 |
if ((items - 1) % 2 != 0) |
|
258
|
5 |
4 |
for (i = 1; i + 1 < items; i += 2) { |
|
264
|
0 |
4 |
RETVAL = (int)tie_oh_count(aTHX_ self); |
|
276
|
4 |
6 |
if (!kpop || !vpop) XSRETURN_EMPTY; |
|
|
0 |
4 |
if (!kpop || !vpop) XSRETURN_EMPTY; |
|
277
|
0 |
4 |
EXTEND(SP, 2); |
|
289
|
4 |
6 |
if (!kshift || !vshift) XSRETURN_EMPTY; |
|
|
0 |
4 |
if (!kshift || !vshift) XSRETURN_EMPTY; |
|
290
|
0 |
4 |
EXTEND(SP, 2); |
|
302
|
1 |
2 |
if ((items - 1) % 2 != 0) |
|
307
|
3 |
2 |
for (i = items - 2; i >= 1; i -= 2) { |
|
311
|
0 |
2 |
RETVAL = (int)tie_oh_count(aTHX_ self); |
|
326
|
13 |
19 |
if (items == 1) { |
|
327
|
13 |
0 |
EXTEND(SP, n); |
|
|
0 |
13 |
EXTEND(SP, n); |
|
328
|
25 |
13 |
for (i = 0; i < n; i++) { |
|
330
|
25 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
|
25 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
334
|
19 |
0 |
EXTEND(SP, items - 1); |
|
|
0 |
19 |
EXTEND(SP, items - 1); |
|
335
|
29 |
19 |
for (j = 1; j < items; j++) { |
|
337
|
13 |
16 |
SSize_t pos = want < 0 ? n + want : want; |
|
338
|
26 |
3 |
if (pos < 0 || pos >= n) { |
|
|
5 |
21 |
if (pos < 0 || pos >= n) { |
|
342
|
21 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
|
21 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
356
|
11 |
13 |
if (items == 1) { |
|
357
|
11 |
0 |
EXTEND(SP, n); |
|
|
0 |
11 |
EXTEND(SP, n); |
|
358
|
22 |
11 |
for (i = 0; i < n; i++) { |
|
360
|
22 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
|
22 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
364
|
13 |
0 |
EXTEND(SP, items - 1); |
|
|
0 |
13 |
EXTEND(SP, items - 1); |
|
365
|
18 |
13 |
for (j = 1; j < items; j++) { |
|
367
|
10 |
8 |
SSize_t pos = want < 0 ? n + want : want; |
|
368
|
16 |
2 |
if (pos < 0 || pos >= n) { |
|
|
1 |
15 |
if (pos < 0 || pos >= n) { |
|
372
|
15 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
|
15 |
0 |
PUSHs(slot && *slot ? sv_mortalcopy(*slot) : &PL_sv_undef); |
|
381
|
8 |
11 |
RETVAL = (int)tie_oh_count(aTHX_ self); |