line |
true |
false |
branch |
49
|
0 |
0 |
if ref $id_field eq "ARRAY" and @$id_field > grep(exists $params->{$_}, @$id_field) |
54
|
0 |
0 |
ref $id_field eq 'ARRAY' ? : |
62
|
0 |
0 |
if ($@) |
73
|
0 |
0 |
if ($@) |
83
|
0 |
0 |
unless $schema->{'properties'} |
86
|
0 |
0 |
if (my $join = $opt->{'join'}) |
92
|
0 |
0 |
ref $join eq 'ARRAY' ? : |
94
|
0 |
0 |
if (exists $props{$j}) { } |
|
0 |
0 |
elsif (exists $self->schema->{$j}) { } |
110
|
0 |
0 |
if (my($join_prop_name) = grep({($props{$_}{'x-foreign-key'} // '') =~ /^$join_schema_name(\.|$)/u;} keys %props)) { } |
|
0 |
0 |
elsif (($join_prop_name) = grep({($join_props->{$_}{'x-foreign-key'} // '') =~ /^$schema_name(\.|$)/u;} keys %$join_props)) { } |
121
|
0 |
0 |
if ($join_prop->{'x-foreign-key'} =~ /\.(.+)$/u) { } |
144
|
0 |
0 |
ref $joins eq 'ARRAY' ? : |
150
|
0 |
0 |
unless ($row) |
157
|
0 |
0 |
$self->schema->{$j} ? : |
160
|
0 |
0 |
unless (defined $$row{"${j}_$j_id"}) |
177
|
0 |
0 |
exists $props{$j} ? : |
187
|
0 |
0 |
unless defined $$r{"${j}_$j_id"} |
191
|
0 |
0 |
wantarray ? : |
200
|
0 |
0 |
$opt{'join'} ? : |
201
|
0 |
0 |
unless $row |
213
|
0 |
0 |
$opt{'join'} ? : |
220
|
0 |
0 |
@opt % 2 == 0 ? : |
225
|
0 |
0 |
$opt->{'join'} ? : |
243
|
0 |
0 |
if ref $id_field eq "ARRAY" and @$id_field > grep(exists $params->{$_}, @$id_field) |
249
|
0 |
0 |
ref $id_field eq 'ARRAY' ? : |
294
|
0 |
0 |
if not ref $_ |
300
|
0 |
0 |
if (scalar grep(defined($_), @{$opt;}{"limit", "offset"})) |
302
|
0 |
0 |
if $opt->{'limit'} and not &looks_like_number($opt->{'limit'}) |
304
|
0 |
0 |
if ($opt->{'offset'}) |
305
|
0 |
0 |
unless &looks_like_number($opt->{'offset'}) |
316
|
0 |
0 |
@opt % 2 == 0 ? : |