| line |
true |
false |
branch |
|
85
|
1 |
8 |
unless ($self->can("set_$function")) |
|
96
|
0 |
8 |
unless my $function = delete $o{'func'} |
|
104
|
1 |
7 |
unless ($req_spec) |
|
108
|
1 |
6 |
unless ($resp_spec) |
|
116
|
1 |
5 |
unless ($method) |
|
120
|
1 |
4 |
unless ($path) |
|
133
|
3 |
1 |
if (ref $setting eq 'HASH') { } |
|
135
|
0 |
3 |
unless $to_exchange = $setting->{'field_name'} |
|
146
|
2 |
2 |
unless (defined $value) |
|
147
|
1 |
1 |
if ($required) { } |
|
|
1 |
0 |
elsif ($default) { } |
|
151
|
0 |
1 |
if (ref $default eq 'CODE') { } |
|
162
|
3 |
0 |
if ($self->can($format)) |
|
166
|
3 |
0 |
if (defined $value or $include eq 'always') { } |
|
174
|
0 |
3 |
if (my $code = $events->{'keys'}) |
|
177
|
0 |
0 |
if (ref $code eq 'CODE') { } |
|
|
0 |
0 |
elsif (ref $code eq 'ARRAY') { } |
|
192
|
0 |
0 |
if (ref $setting eq 'HASH') { } |
|
205
|
2 |
1 |
if ($events->{'test_request_object'}) |
|
211
|
1 |
0 |
if (my $key = $resp_spec->{'key'}) |
|
220
|
0 |
1 |
unless $row_spec->{'_others'} |
|
222
|
1 |
2 |
if $my_alias =~ /^_/ |
|
225
|
1 |
1 |
if ($self->can($attr_func)) |
|
233
|
0 |
2 |
if ($self->can($attr_func)) |
|
241
|
0 |
1 |
if (ref $resp eq 'ARRAY') { } |
|
245
|
0 |
0 |
if (my $filter = $resp_spec->{'row_filter'}) |
|
247
|
0 |
0 |
if ($action and not $action =~ /^(next|last)$/) |
|
250
|
0 |
0 |
if ($action eq 'next') { } |
|
|
0 |
0 |
elsif ($action eq 'last') { } |
|
260
|
0 |
0 |
if (my $sort = $resp_spec->{'sort'}) |
|
264
|
0 |
0 |
if (my $primary_key = $resp_spec->{'array2hash'}) { } |
|
|
0 |
0 |
elsif (my $pri_key = $resp_spec->{'array2[hash]'}) { } |
|
|
0 |
0 |
elsif (my $code = $resp_spec->{'post_row'}) { } |
|
266
|
0 |
0 |
if (my $code = $resp_spec->{'post_row'}) |
|
277
|
0 |
0 |
if (my $sort = $resp_spec->{'array2[hash.sort]'}) |
|
283
|
0 |
0 |
if (my $code = $resp_spec->{'post_row'}) |
|
297
|
0 |
1 |
if (my $code = $resp_spec->{'post_row'}) |