line |
true |
false |
branch |
14
|
0 |
0 |
if $elf->{'digitalocean_trace'}
|
16
|
0 |
0 |
if (my $limits = $elf->{'digitalocean_rate_limit'})
|
24
|
0 |
0 |
$_ =~ /(\d+)\%/ ? :
|
31
|
0 |
0 |
if ($limits->{'Remaining'} < $threshold)
|
33
|
0 |
0 |
if $backoff < 0
|
41
|
0 |
0 |
if $backoff > 0
|
50
|
0 |
0 |
if $elf->{'digitalocean_trace'}
|
52
|
0 |
0 |
if ($elf->{'digitalocean_rate_limit_policy'})
|
53
|
0 |
0 |
if (my $limit = $resp->headers->header('RateLimit-Limit'))
|
420
|
0 |
0 |
if $a->{'status'} eq 'completed'
|
421
|
0 |
0 |
unless defined $u
|
430
|
0 |
0 |
if ($b->{'status'} eq 'completed') { }
|
|
0 |
0 |
elsif ($b->{'status'} eq 'errored') { }
|
432
|
0 |
0 |
if ($f->is_done) { }
|
483
|
0 |
0 |
if ($resp->is_success) { }
|
484
|
0 |
0 |
if ($resp->content_type eq 'application/json') { }
|
486
|
0 |
0 |
if ($data->{'links'} and my $next = $data->{'links'}{'next'}) { }
|
488
|
0 |
0 |
unless $next =~ /page=(\d+)/
|
490
|
0 |
0 |
if ($path =~ /page=/) { }
|
|
0 |
0 |
elsif ($path =~ /\?/) { }
|
526
|
0 |
0 |
if ($resp->is_success) { }
|
527
|
0 |
0 |
if ($resp->content_type eq 'application/json') { }
|
553
|
0 |
0 |
if ($resp->code == 200) { }
|
|
0 |
0 |
elsif ($resp->code == 204) { }
|
|
0 |
0 |
elsif ($resp->code == 202 or $resp->code == 201) { }
|
|
0 |
0 |
elsif ($resp->is_redirect) { }
|
|
0 |
0 |
elsif ($resp->code == 429) { }
|
|
0 |
0 |
elsif (not $resp->is_success) { }
|
562
|
0 |
0 |
if (not $resp->content) { }
|
|
0 |
0 |
elsif ($resp->content_type eq 'application/json') { }
|
568
|
0 |
0 |
if (my $action = $data->{'action'}) { }
|
|
0 |
0 |
elsif (my $links = $data->{'links'}) { }
|
|
0 |
0 |
elsif (my $actions = $data->{'actions'}) { }
|
574
|
0 |
0 |
if (my $res = $data->{'droplet'}) { }
|
|
0 |
0 |
elsif ($res = $data->{'droplets'}) { }
|
643
|
0 |
0 |
if ($data->{'message'} =~ /rate-limited.+?(\d+)m(\d+)s/) { }
|
669
|
0 |
0 |
if (my $json = $resp->content) { }
|
749
|
0 |
0 |
$headers ? :
|
868
|
0 |
0 |
if (defined $key and $key eq 'name') { }
|
901
|
0 |
0 |
if ($key eq 'id') { }
|
919
|
0 |
0 |
if ($key eq 'volume') { }
|
|
0 |
0 |
elsif ($key eq 'droplet') { }
|
954
|
0 |
0 |
if ($key eq 'id') { }
|
|
0 |
0 |
elsif ($key eq 'name') { }
|
1109
|
0 |
0 |
if $options{'type'}
|
1111
|
0 |
0 |
$options{'name'} eq '@' ? :
|
|
0 |
0 |
if $options{'name'}
|
1113
|
0 |
0 |
@params ? :
|
1209
|
0 |
0 |
if ($key eq 'id') { }
|
1255
|
0 |
0 |
if (defined $f) { }
|
1300
|
0 |
0 |
if ($key eq 'id') { }
|
|
0 |
0 |
elsif ($key eq 'tag') { }
|
1322
|
0 |
0 |
if ($key eq 'id') { }
|
|
0 |
0 |
elsif ($key eq 'tag') { }
|
1346
|
0 |
0 |
if ($key eq 'id') { }
|
|
0 |
0 |
elsif ($key eq 'check_status') { }
|
1370
|
0 |
0 |
if ($key eq 'id') { }
|
1637
|
0 |
0 |
if ($key eq 'id') { }
|
|
0 |
0 |
elsif ($key eq 'tag') { }
|
1678
|
0 |
0 |
if ($key) { }
|
1709
|
0 |
0 |
if (defined $f) { }
|