blib/lib/WebService/MinFraud/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 16 | 56.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
213 | 159 | 0 | 0 | exists $content->{$object} and exists $content->{$object}{$key} |
271 | 0 | 1 | 35 | defined $content && length $content |
273 | 1 | 0 | 35 | $has_body and $response->content_type =~ /json/ |
line | l | !l | condition |
---|---|---|---|
102 | 57 | 0 | &try(sub { 'v' . $self->VERSION; } ) || 'v?' |
105 | 57 | 0 | &try(sub { 'v' . $ua->VERSION; } ) || 'v?' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
279 | 29 | 0 | 3 | $body->{'code'} or $body->{'error'} |