| line |
true |
false |
branch |
|
74
|
19 |
47 |
if (exists $meta->{'seen'}{$refaddr}) |
|
76
|
0 |
19 |
is_coderef($cycle) ? : |
|
81
|
1 |
18 |
if $lcycle eq "truncate" |
|
82
|
1 |
17 |
if $lcycle eq "die" |
|
85
|
0 |
17 |
unless $lcycle eq "continue" |
|
110
|
0 |
65 |
unless --$revisit_limit |
|
116
|
2 |
37 |
$meta->{'sort_keys'} ? : |
|
|
39 |
26 |
$is_hashref ? : |
|
126
|
61 |
50 |
$is_hashref ? : |
|
128
|
31 |
55 |
is_plain_arrayref($$vref) ? : |
|
|
25 |
86 |
is_plain_hashref($$vref) ? : |
|
136
|
6 |
105 |
if ($visit_element and (my $result = &$code($idx, $vref, $context, \%meta)) != 1) |
|
139
|
1 |
5 |
if $result == 2 |
|
140
|
2 |
3 |
if $result == 0 |
|
141
|
2 |
1 |
if $result == 4 |
|
143
|
1 |
0 |
if ($result == 3) { } |
|
|
0 |
0 |
elsif ($result != 1) { } |
|
151
|
55 |
51 |
unless is_plain_refref($vref) |
|
154
|
51 |
0 |
if (is_plain_arrayref($ref) or is_plain_hashref($ref)) |
|
155
|
19 |
29 |
unless (__SUB__)->($ref, $code, $context, $cycle, $visit, \%meta) |
|
157
|
1 |
28 |
if ($revisit_element) |
|
160
|
0 |
1 |
if $result == 0 |
|
161
|
1 |
0 |
if $result == 1 |
|
167
|
0 |
40 |
unless $revisit_limit |
|
418
|
0 |
15 |
unless is_coderef($callback) |
|
422
|
0 |
15 |
if exists $opts{'sort_keys'} and not is_coderef($opts{'sort_keys'}) |
|
437
|
0 |
15 |
unless &looks_like_number($metadata{'revisit_limit'}) and floor($metadata{'revisit_limit'}) == $metadata{'revisit_limit'} |
|
443
|
0 |
15 |
unless $cycle =~ /\A die|continue|truncate \z/u |
|
446
|
0 |
15 |
if %opts |