line |
true |
false |
branch |
30
|
22 |
2 |
if ($res->is_success) { } |
41
|
1 |
1 |
if ($self->RaiseError) { } |
57
|
3 |
0 |
unless ($api_uri) |
65
|
3 |
3 |
unless ($json and scalar @{$json->{$key};}) |
91
|
0 |
21 |
if ($self->region) |
92
|
0 |
0 |
if (lc $self->region eq 'eu') { } |
|
0 |
0 |
elsif (lc $self->region ne 'us') { } |
119
|
2 |
3 |
if (ref $args eq 'HASH') { } |
|
1 |
2 |
elsif (ref $args eq 'ARRAY') { } |
141
|
3 |
0 |
if (ref $args eq 'HASH') { } |
151
|
2 |
1 |
if (exists $args->{'message'}) { } |
|
1 |
0 |
elsif (exists $args->{'file'}) { } |
154
|
1 |
1 |
if (ref $args->{'message'} eq 'SCALAR') { } |
167
|
1 |
0 |
if (-f $args->{'file'}) { } |
211
|
0 |
2 |
unless my $json = $self->decode_response($res) |
255
|
0 |
2 |
unless my $json = $self->decode_response($res) |
286
|
0 |
0 |
if $event->{'event'} ne "stored" |