line |
true |
false |
branch |
50
|
11 |
0 |
unless (&blessed($url))
|
54
|
11 |
0 |
if ($url->isa('URI::Template'))
|
55
|
5 |
6 |
unless (my(@variables) = $url->variables)
|
72
|
2 |
0 |
ref $_[2] ? :
|
102
|
2 |
0 |
ref $data ? :
|
109
|
0 |
15 |
if (&blessed($cache) and $cache->can('get') and $cache->can('set')) { }
|
|
1 |
14 |
elsif ($cache and -d $cache) { }
|
|
2 |
12 |
elsif ($cache) { }
|
167
|
5 |
17 |
$line =~ /^\s*{/ ? :
|
172
|
3 |
26 |
@_ > 1 ? :
|
176
|
9 |
20 |
if (ref $request and not &blessed($request)) { }
|
|
0 |
20 |
elsif (&blessed($request) and $request->isa('URI::URL')) { }
|
|
15 |
5 |
elsif ($request =~ m[^https?://]) { }
|
|
4 |
1 |
elsif ($request =~ m[^/]) { }
|
177
|
0 |
9 |
unless &blessed($url)
|
178
|
5 |
4 |
if ($url->isa('URI::Template')) { }
|
210
|
13 |
22 |
if ($self->dry)
|
214
|
9 |
13 |
if ($self->cache)
|
216
|
5 |
4 |
if (defined $json)
|
217
|
5 |
0 |
ref $json ? :
|
221
|
0 |
17 |
if ($self->wait and $self->time)
|
228
|
17 |
0 |
if ($response->is_success) { }
|
234
|
0 |
0 |
if $self->warn
|
236
|
0 |
0 |
if ($response->status =~ /^4/) { }
|
244
|
4 |
13 |
if ($self->cache)
|
248
|
17 |
0 |
ref $json ? :
|