| line |
true |
false |
branch |
|
34
|
7 |
1 |
if (defined $self->token and length $self->token) { } |
|
|
1 |
0 |
elsif (defined $self->username and defined $self->password) { } |
|
48
|
6 |
0 |
if $args{'query'} |
|
51
|
2 |
4 |
if (my $up = $args{'upload'}) { } |
|
55
|
1 |
1 |
defined $up->{'file'} ? : |
|
68
|
6 |
0 |
unless $args{'headers'} |
|
72
|
0 |
6 |
if (defined $args{'body'}) |
|
75
|
0 |
0 |
ref $args{'body'} ? : |
|
83
|
6 |
0 |
if (defined $body and length $body and $body =~ /\A\s*[\{\[]/) |
|
87
|
0 |
6 |
unless ($res->is_success) |
|
89
|
0 |
0 |
ref $data eq 'HASH' ? : |
|
96
|
6 |
0 |
defined $data ? : |
|
103
|
0 |
0 |
if $args{'query'} |