| line |
true |
false |
branch |
|
34
|
12 |
0 |
unless ($response_parser and eval {
do {
$response_parser->isa('WebService::Simple::Parser')
}
}) |
|
38
|
3 |
9 |
unless (ref $config) |
|
42
|
12 |
0 |
unless ($module =~ s/^\+//) |
|
45
|
8 |
4 |
unless ('Class::Inspector'->loaded($module)) |
|
46
|
0 |
8 |
unless $module->require |
|
48
|
12 |
0 |
unless $config->{'args'} |
|
52
|
12 |
0 |
if (not $cache or ref $cache eq 'HASH') |
|
53
|
0 |
12 |
ref $cache eq 'HASH' ? : |
|
54
|
0 |
12 |
if ($config) |
|
55
|
0 |
0 |
unless (ref $config) |
|
60
|
0 |
0 |
unless ('Class::Inspector'->loaded($module)) |
|
61
|
0 |
0 |
unless $module->require |
|
66
|
0 |
0 |
$config->{'hashref_args'} ? : |
|
80
|
1 |
11 |
if ($self->{'content_type'} and $self->{'content_type'} eq 'application/json') { } |
|
100
|
14 |
0 |
unless $cache |
|
109
|
14 |
0 |
unless $cache |
|
118
|
0 |
0 |
unless $cache |
|
143
|
34 |
1 |
ref($args{'url'}) =~ /^URI/ ? : |
|
144
|
13 |
22 |
if (my $extra_path = $args{'extra_path'}) |
|
148
|
33 |
2 |
if ($args{'params'}) |
|
149
|
32 |
1 |
if (ref $args{'params'} eq 'Hash::MultiValue') { } |
|
164
|
6 |
8 |
if (ref $_[0] eq 'HASH') { } |
|
169
|
4 |
4 |
if (ref $_[0] eq 'HASH') |
|
180
|
0 |
14 |
if $self->{'debug'} |
|
183
|
14 |
0 |
unless (defined $self->{'compression'} and not $self->{'compression'}) |
|
190
|
0 |
14 |
if ($response) |
|
191
|
0 |
0 |
if ($response->isa('WebService::Simple::Response')) { } |
|
203
|
14 |
0 |
if ($response->is_success) { } |
|
210
|
0 |
0 |
unless defined $self->{'croak'} and not $self->{'croak'} |
|
220
|
10 |
10 |
if (ref $_[0] eq 'HASH') { } |
|
|
5 |
5 |
elsif (ref $_[1] eq 'HASH') { } |
|
|
2 |
3 |
elsif (@_ % 2) { } |
|
232
|
20 |
0 |
unless (defined $self->{'compression'} and not $self->{'compression'}) |
|
241
|
2 |
18 |
if ($self->{'content_type'} and $self->{'content_type'} eq 'application/json' or $headers{'Content-Type'} and $headers{'Content-Type'} eq 'application/json') { } |
|
242
|
1 |
1 |
unless $self->{'request_parser_json'} |
|
264
|
0 |
18 |
if $self->{'content_type'} |
|
269
|
20 |
0 |
if ($response->is_success) { } |
|
275
|
0 |
0 |
unless defined $self->{'croak'} and not $self->{'croak'} |