line |
true |
false |
branch |
34
|
57 |
99 |
if (ref $mapping eq 'ARRAY') { } |
|
93 |
6 |
elsif (ref $mapping eq 'HASH') { } |
|
3 |
3 |
elsif (not ref $mapping) { } |
|
3 |
0 |
elsif (ref $mapping eq 'CODE') { } |
37
|
0 |
57 |
ref $mapping->[2] eq 'HASH' ? : |
55
|
6 |
150 |
unless defined $new_key |
60
|
129 |
27 |
if (ref $condition eq 'CODE') { } |
|
27 |
0 |
elsif ($condition eq 'exists') { } |
61
|
9 |
120 |
if (ref $param->{$key} eq 'ARRAY') { } |
65
|
6 |
12 |
&$condition($param->{$key}[$i]) ? : |
70
|
93 |
27 |
if (&$condition($param->{$key})) |
71
|
42 |
51 |
if (defined $value) { } |
72
|
33 |
9 |
if (ref $value) { } |
85
|
0 |
27 |
if (ref $param->{$key} eq 'ARRAY') { } |
89
|
0 |
0 |
exists $param->{$key}[$i] ? : |
94
|
18 |
9 |
if (exists $param->{$key}) |
96
|
9 |
9 |
defined $value ? : |
112
|
0 |
114 |
unless $self->can($attr) |
124
|
18 |
3 |
if defined $_[0] |
125
|
111 |
0 |
ref $if eq 'CODE' ? : |
|
15 |
111 |
$if eq 'length' ? : |
|
3 |
126 |
$if eq 'defined' ? : |
|
27 |
129 |
$if eq 'exists' ? : |
128
|
0 |
156 |
unless $if |