| line |
true |
false |
branch |
|
17
|
0 |
0 |
scalar @_ ? : |
|
22
|
0 |
0 |
if (scalar @_) |
|
30
|
0 |
0 |
$self->sandbox ? : |
|
36
|
0 |
0 |
ref $_[0] ? : |
|
39
|
0 |
0 |
unless $args->{'client_id'} and $args->{'secret'} |
|
42
|
0 |
0 |
if exists $args->{'sandbox'} and exists $args->{'live'} |
|
50
|
0 |
0 |
if exists $args->{'cache_transform'} and ref $args->{'cache_transform'} ne 'HASH' || !exists $args->{'cache_transform'}{'in'} || !exists $args->{'cache_transform'}{'out'} || ref $args->{'cache_transform'}{'in'} ne 'CODE' || ref $args->{'cache_transform'}{'out'} ne 'CODE' |
|
62
|
0 |
0 |
exists $args->{'live'} ? : |
|
|
0 |
0 |
exists $args->{'sandbox'} ? : |
|
70
|
0 |
0 |
if (@_) { } |
|
|
0 |
0 |
elsif (my $token = $self->_get_cached_access_token) { } |
|
105
|
0 |
0 |
unless $res->is_success |
|
117
|
0 |
0 |
if $self->{'cache_transform'} |
|
128
|
0 |
0 |
if $self->{'cache_transform'} |
|
136
|
0 |
0 |
$cache_root ? : |
|
152
|
0 |
0 |
if (my $error = $@) |
|
177
|
0 |
0 |
if ($json) |
|
178
|
0 |
0 |
if ref $json |
|
184
|
0 |
0 |
if ($res->is_success) { } |
|
188
|
0 |
0 |
if (my $content = $res->content) { } |
|
204
|
0 |
0 |
unless ($data->{$field}) |
|
217
|
0 |
0 |
if ($data->{$field}) |
|
238
|
0 |
0 |
if ($data->{'redirect_urls'}) |
|
249
|
0 |
0 |
unless ($data->{'id'}) |
|
269
|
0 |
0 |
if ($data->{'redirect_urls'}) |
|
280
|
0 |
0 |
unless ($id) |
|
304
|
0 |
0 |
if (my $cvv2 = $data->{'cvv2'} || $data->{'cc_cvv2'}) |
|
309
|
0 |
0 |
if ($data->{$field}) |
|
324
|
0 |
0 |
unless $message |