| line |
true |
false |
branch |
|
22
|
0 |
55 |
if @data > 1 and ref $data[-1] ne "HASH" |
|
24
|
43 |
12 |
@data > 1 ? : |
|
32
|
1 |
54 |
if $opts->{'precious_keys'} and @{$opts->{'precious_keys'};} > $opts->{'max_keys'} |
|
36
|
23 |
32 |
if ($opts->{'_inner'}) { } |
|
47
|
17 |
137 |
if ($opts->{'_skip_modify_outermost_hash'}) |
|
53
|
4 |
150 |
if ($opts->{'max_len'} and $ctx->is_scalar and defined $$oref and length $$oref > $opts->{'max_len'}) { } |
|
|
6 |
144 |
elsif ($opts->{'max_elems'} and $ctx->is_array and @$oref > $opts->{'max_elems'}) { } |
|
|
38 |
106 |
elsif ($ctx->is_hash) { } |
|
75
|
5 |
33 |
if ($opts->{'pair_filter'} and not $skip_modify_outermost_hash) { } |
|
78
|
3 |
6 |
unless @res == 2 and $res[0] eq $_ and "$res[1]" eq "$oref->{$_}" |
|
88
|
3 |
35 |
if ($opts->{'mask_keys_regex'} and not $skip_modify_outermost_hash) |
|
90
|
3 |
4 |
if (/$opts->{'mask_keys_regex'}/) |
|
98
|
9 |
29 |
if ($opts->{'max_keys'} and keys %$oref > $opts->{'max_keys'}) |
|
101
|
1 |
8 |
if ($opts->{'hide_keys'}) |
|
103
|
3 |
3 |
if grep {$_ eq $k;} @{$$opts{"hide_keys"};} |
|
106
|
1 |
8 |
if keys %hash <= $mk |
|
107
|
1 |
7 |
if ($opts->{'worthless_keys'}) |
|
109
|
1 |
5 |
if keys %hash <= $mk |
|
110
|
3 |
2 |
if grep {$_ eq $k;} @{$$opts{"worthless_keys"};} |
|
113
|
1 |
7 |
if keys %hash <= $mk |
|
116
|
17 |
3 |
unless $opts->{'precious_keys'} and grep {$_ eq $k;} @{$$opts{"precious_keys"};} |
|
117
|
7 |
13 |
if keys %hash <= $mk |
|
124
|
17 |
21 |
if ($modified) |
|
130
|
9 |
8 |
if $truncated |
|
135
|
1 |
126 |
if ($opts->{'dd_filter'}) { } |
|
150
|
1 |
54 |
if ($opts->{'max_total_len'} and length $out > $opts->{'max_total_len'}) |
|
154
|
0 |
55 |
unless defined wantarray |