blib/lib/WebService/CIA/Source/Web.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 24 | 26 | 92.3 |
line | true | false | branch |
---|---|---|---|
24 | 1 | 2 | if (not ref $args or ref $args ne 'HASH') |
32 | 1 | 1 | if (exists $$args{'user_agent'}) |
44 | 1 | 4 | unless ($self->cached eq $cc) |
45 | 1 | 0 | unless ($self->get($cc)) |
50 | 2 | 2 | if (exists $self->cache->{$f}) { } |
63 | 1 | 6 | unless ($self->cached eq $cc) |
64 | 1 | 0 | unless ($self->get($cc)) |
79 | 1 | 3 | if ($response->is_success) { } |
93 | 2 | 7 | if (defined $ua) |
96 | 1 | 8 | unless (defined $$self{'UA'}) |
114 | 2 | 15 | if (@_) |
124 | 2 | 18 | if (@_) |
133 | 4 | 2 | if (defined $response) |