line |
true |
false |
branch |
22
|
2 |
9 |
if $a eq ""
|
23
|
2 |
7 |
if $b eq ""
|
33
|
6 |
1 |
if (exists $context->{$pointer}) { }
|
48
|
26 |
130 |
unless exists $context->{$data_name}
|
50
|
6 |
124 |
if (not $indexed and $attr_rules->{'indexed'}) { }
|
|
16 |
108 |
elsif (my $nested_model = $attr_rules->{'model'}) { }
|
53
|
4 |
2 |
unless ((ref $context->{$data_name} || '') eq "ARRAY")
|
54
|
4 |
0 |
if ((ref $context->{$data_name} || '') eq 'HASH') { }
|
71
|
6 |
0 |
if (@response_data) { }
|
|
0 |
0 |
elsif (not $attr_rules->{'omit_empty'}) { }
|
95
|
2 |
106 |
if ($key_rules->{'always_array'}) { }
|
|
77 |
29 |
elsif ($key_rules->{'flatten'}) { }
|
101
|
2 |
106 |
if ($key_rules->{'expand'} || '') eq "JSON"
|
102
|
2 |
106 |
if $key_rules->{'boolean'} or ""
|
109
|
2 |
0 |
unless (ref $value || '') eq "ARRAY"
|
115
|
6 |
71 |
if (ref $value || '') eq "ARRAY"
|
121
|
1 |
1 |
$value ? :
|
126
|
7 |
9 |
if ($nested_model =~ /^::/)
|
147
|
0 |
2 |
unless (eval {
|