line |
true |
false |
branch |
42
|
79 |
27 |
for (IV i = 0; i < len; i++) |
50
|
597 |
22 |
while (av_len(dest) + 1) { |
52
|
5 |
592 |
if (hv_exists_ent(memo, tmp, 0)) { |
55
|
271 |
321 |
if (IS_ARRAYREF(tmp)) { |
|
214 |
57 |
if (IS_ARRAYREF(tmp)) { |
58
|
539 |
214 |
AV_UNSHIFT_ARRAYREF(dest, tmp); |
80
|
1072 |
413 |
while (i < av_len(ary) + 1) { |
82
|
218 |
854 |
if ((av_len(stack) + 1) / 2 >= level) { |
87
|
434 |
420 |
if (IS_ARRAYREF(tmp)) { |
|
377 |
57 |
if (IS_ARRAYREF(tmp)) { |
88
|
5 |
372 |
if (hv_exists_ent(memo, tmp, 0)) { |
105
|
347 |
66 |
if (av_len(stack) + 1 == 0) break; |
108
|
347 |
0 |
i = SvIV(idx); |
125
|
98 |
0 |
if (!SvROK(ref) || SvTYPE(SvRV(ref)) != SVt_PVAV) |
|
0 |
98 |
if (!SvROK(ref) || SvTYPE(SvRV(ref)) != SVt_PVAV) |
128
|
34 |
64 |
IV level = SvIV(svlevel); |
130
|
27 |
71 |
: _flatten_per_level(aTHX_ ref, level); |
132
|
84 |
4 |
if (GIMME_V == G_ARRAY) { |
|
42 |
46 |
if (GIMME_V == G_ARRAY) { |
135
|
417 |
42 |
for (IV i = 0; i < len; i++) |