| line |
true |
false |
branch |
|
386
|
0 |
0 |
$args{'force'} ? : |
|
424
|
0 |
0 |
$args{'body'} ? : |
|
492
|
0 |
0 |
$_->{'strict'} ? : |
|
493
|
0 |
0 |
$args{'enforce_admins'} ? : |
|
495
|
0 |
0 |
if ($args{'restrictions'} //= undef) |
|
551
|
0 |
0 |
if ($result->{'encoding'} eq 'base64') { } |
|
558
|
0 |
0 |
exists $args{'branch'} ? : |
|
568
|
0 |
0 |
if ref $self->owner |
|
569
|
0 |
0 |
if ref $self->repo |
|
570
|
0 |
0 |
if ref $self->id |
|
597
|
0 |
0 |
if ref $self->owner |
|
598
|
0 |
0 |
if ref $self->repo |
|
599
|
0 |
0 |
if ref $self->id |
|
615
|
0 |
0 |
if (my $user = delete $args{'owner'}) { } |
|
638
|
0 |
0 |
if (my $user = delete $args{'owner'}) { } |
|
660
|
0 |
0 |
unless my $owner = delete $args{'owner'} |
|
661
|
0 |
0 |
unless my $repo_name = delete $args{'name'} |
|
860
|
0 |
0 |
unless $path->exists |
|
899
|
0 |
0 |
$self->timeout ? : |
|
920
|
0 |
0 |
unless ($self->{'update_limiter'}) |
|
958
|
0 |
0 |
if (my $key = $self->api_key) |
|
964
|
0 |
0 |
if (my $token = $self->token) |
|
1006
|
0 |
0 |
if (my $hdr = delete $auth{'headers'}) |
|
1014
|
0 |
0 |
if ($cached) |
|
1016
|
0 |
0 |
if $cached->header("ETag") |
|
1017
|
0 |
0 |
if $cached->header("Last-Modified") |
|
1033
|
0 |
0 |
if (defined(my $v = $resp->header('X-RateLimit-' . $k))) |
|
1039
|
0 |
0 |
if ($cached and $resp->code == 304) { } |
|
|
0 |
0 |
elsif ($resp->is_success) { } |
|
1049
|
0 |
0 |
if $resp->code == 204 |
|
1053
|
0 |
0 |
if 3 == $resp->code / 100 |
|
1072
|
0 |
0 |
if ($src eq 'http') { } |
|
1085
|
0 |
0 |
if (my $hdr = delete $auth{'headers'}) |
|
1103
|
0 |
0 |
if (defined(my $v = $resp->header('X-RateLimit-' . $k))) |
|
1109
|
0 |
0 |
if $resp->code == 204 |
|
1113
|
0 |
0 |
if 3 == $resp->code / 100 |
|
1132
|
0 |
0 |
if ($src eq 'http') { } |
|
1146
|
0 |
0 |
if (my $hdr = delete $auth{'headers'}) |
|
1154
|
0 |
0 |
if ref $data |
|
1166
|
0 |
0 |
if (defined(my $v = $resp->header('X-RateLimit-' . $k))) |
|
1172
|
0 |
0 |
if $resp->code == 204 |
|
1176
|
0 |
0 |
if 3 == $resp->code / 100 |
|
1195
|
0 |
0 |
if ($src eq 'http') { } |
|
1213
|
0 |
0 |
if (my $hdr = delete $auth{'headers'}) |
|
1221
|
0 |
0 |
if ref $data |
|
1232
|
0 |
0 |
if (defined(my $v = $resp->header('X-RateLimit-' . $k))) |
|
1238
|
0 |
0 |
if $resp->code == 204 |
|
1242
|
0 |
0 |
if 3 == $resp->code / 100 |
|
1261
|
0 |
0 |
if ($src eq 'http') { } |
|
1278
|
0 |
0 |
$args{'endpoint'} ? : |
|
1281
|
0 |
0 |
unless $self->loop |
|
1295
|
0 |
0 |
ref $args{'uri'} ? : |
|
|
0 |
0 |
$args{'endpoint'} ? : |
|
1311
|
0 |
0 |
if ($link =~ /<([^>]+)>; rel="next"/) |
|
1322
|
0 |
0 |
$args{'extra'} ? : |
|
1336
|
0 |
0 |
if $f->is_ready |
|
1381
|
0 |
0 |
unless defined $branch |
|
1382
|
0 |
0 |
if $branch =~ m[/\.] |
|
1383
|
0 |
0 |
if $branch =~ /\.\./ |
|
1384
|
0 |
0 |
if $branch =~ /[[:cntrl:][:space:]~^:\\]/ |
|
1385
|
0 |
0 |
if substr($branch, -1) eq "/" |
|
1386
|
0 |
0 |
if substr($branch, -5) eq ".lock" |
|
1400
|
0 |
0 |
unless defined $owner |
|
1401
|
0 |
0 |
if length $owner > 39 |
|
1402
|
0 |
0 |
if $owner =~ /[^a-z0-9-]/i |
|
1403
|
0 |
0 |
if $owner =~ /--/ |
|
1404
|
0 |
0 |
if $owner =~ /^-/ |
|
1405
|
0 |
0 |
if $owner =~ /-$/ |
|
1419
|
0 |
0 |
unless defined $repo |
|
1426
|
0 |
0 |
if $repo =~ /[^a-z0-9._-]/i |
|
1427
|
0 |
0 |
if length $repo > 100 |
|
1439
|
0 |
0 |
if exists $args{'branch'} |
|
1440
|
0 |
0 |
if exists $args{'owner'} |
|
1441
|
0 |
0 |
if exists $args{'repo'} |