| line | % | coverage | branch |
| 36 | 0 | T | F | if ($^O eq "MSWin32") |
| 43 | 0 | T | F | if -x $f |
| 50 | 0 | T | F | if check_exists_command($command) |
| 63 | 100 | T | F | if defined $token and $token ne "" |
| 65 | 50 | T | F | if defined $token and $token ne "" |
| 75 | 50 | T | F | unless defined $flags |
| 96 | 100 | T | F | if /^\s*(?:#.*)/ |
| 123 | 50 | T | F | $output_joined ne '' ? : |
| 137 | 50 | T | F | if ($? == -1) |
| 141 | 50 | T | F | if ($? & 127) |
| 142 | 0 | T | F | $? & 128 ? : |
| 146 | 50 | T | F | if $? == 0 |
| 163 | 50 | T | F | if ("$0" eq "-") |
| 175 | 50 | T | F | if ($? == 0) |
| 176 | 50 | T | F | if (compare_files($filename, $0)) |
| 185 | 50 | T | F | if ($gh_err_text =~ /error connecting to / and $gh_err_text =~ /check your internet connection/) |
| 189 | 100 | T | F | if ($gh_err_text =~ /proxyconnect tcp:.*connect: connection refused/) |
| 192 | 100 | T | F | if (defined $ENV{$proxy}) |
| 199 | 100 | T | F | if ($gh_err_text =~ /dial unix .*: connect: .*/) |
| 210 | 50 | T | F | if $exit_code == 0 |
| 218 | 50 | T | F | if $gh_auth_status == 0 |
| 223 | 100 | T | F | if (defined $ENV{$variable}) |
| 227 | 50 | T | F | if ($gh_auth_status == 0) |
| 240 | 50 | T | F | unless (gh_is_happy($program)) |
| 242 | 50 | T | F | defined $ENV{'CI'} && $ENV{'CI'} ? : |
| 265 | 0 | T | F | unless $spell_check_this_config =~ /\{.*\}/s |
| 267 | 0 | T | F | unless eval {
do {
%config = %{decode_json($spell_check_this_config);}
}
} |
| 279 | 0 | T | F | if ($?) |
| 297 | 0 | T | F | unless ($should_exclude_patterns =~ /\w/) |
| 299 | 0 | T | F | unless $should_exclude_patterns =~ /\w/ |
| 304 | 0 | T | F | if (-f $excludes) { } |
| 308 | 0 | T | F | unless /./ |
| 316 | 0 | T | F | unless $pattern =~ /./ |
| 322 | 0 | T | F | if $need_to_add_excludes |
| 328 | 0 | T | F | unless @stale |
| 332 | 0 | T | F | unless -f $_ |
| 335 | 0 | T | F | unless (@expect_files) |
| 344 | 0 | T | F | if /^(?:$re)(?:(?:\r|\n)*$|[# ].*)/ |
| 358 | 0 | T | F | unless @add |
| 363 | 0 | T | F | if (-s $new_expect_file) |
| 375 | 0 | T | F | if $word =~ /\S/ |
| 395 | 50 | T | F | if defined $gh_token |
| 403 | 100 | T | F | unless ($curl_result == 0) |
| 404 | 50 | T | F | if ($curl_stdout eq "") |
| 429 | 50 | T | F | if ($count == 0) |
| 449 | 100 | T | F | if (defined $page) |
| 452 | 50 | T | F | if (defined $id_1 and defined $id_2) |
| 453 | 50 | T | F | if ($id_2 > $id_1) |
| 461 | 100 | T | F | if (defined $download) |
| 473 | 100 | T | F | if (defined $download) |
| 484 | 50 | T | F | if defined $gh_token |
| 492 | 50 | T | F | if ($curl_result != 0) |
| 493 | 50 | T | F | if ($curl_stdout eq "") |
| 521 | 50 | T | F | if ($suffix) |
| 532 | 50 | T | F | unless $ret >> 8 |
| 535 | 100 | T | F | if ($gh_err_text =~ /no valid artifacts found to download|"Artifact has expired"/) |
| 542 | 50 | T | F | if ($expired_json ne "") |
| 545 | 50 | T | F | unless eval {
do {
$expired = decode_json($expired_json)
}
} |
| 546 | 50 | T | F | if ($expired) |
| 554 | 50 | T | F | if ($gh_err_text =~ /no artifact matches any of the names or patterns provided/) |
| 557 | 0 | T | F | if ($github_server_url) { } |
| 566 | 50 | T | F | if ($gh_err_text =~ /HTTP 404: Not Found|"status":"404"/) |
| 570 | 0 | T | F | if ($gh_err_text =~ /HTTP 403: API rate limit exceeded for .*?./) { } |
| 0 | T | F | elsif ($gh_err_text =~ m[dial tcp \S+:\d+: i/o timeout$]) { } |
| 572 | 0 | T | F | if ($retries_remaining <= 0) |
| 581 | 0 | T | F | if $gh_err_text =~ /\brequest ID\s+(\S+)/ |
| 582 | 0 | T | F | if $gh_err_text =~ /\btimestamp\s+(.*? UTC)/ |
| 587 | 0 | T | F | unless ($has_gh_token) |
| 589 | 0 | T | F | if defined $gh_token |
| 595 | 0 | T | F | if ($curl_stdout =~ m[^HTTP/\S+\s+200]) { } |
| 0 | T | F | elsif ($curl_stdout =~ m[^HTTP/\S+\s+403]) { } |
| 596 | 0 | T | F | if ($curl_stdout =~ /^x-ratelimit-remaining:\s+(\d+)$/m) { } |
| 598 | 0 | T | F | if $ratelimit_remaining > 10 |
| 606 | 0 | T | F | if ($curl_stdout =~ /^retry-after:\s+(\d+)/m) { } |
| 613 | 0 | T | F | if $curl_stdout =~ m[^(HTTP/\S+)] |
| 623 | 0 | T | F | if $artifact =~ /'/ |
| 626 | 0 | T | F | unless ($apply =~ /\{.*\}/s) |
| 636 | 0 | T | F | unless eval {
do {
$config_ref = decode_json($apply)
}
} |
| 641 | 0 | T | F | unless $git_repo_root =~ /\w/ |
| 657 | 0 | T | F | if ($line =~ /\s+artifact\.zip$/) |
| 661 | 0 | T | F | if ($line =~ /\s+1 file$/) |
| 665 | 0 | T | F | if $only_file |
| 669 | 0 | T | F | if ($has_artifact and $only_file) { } |
| 695 | 0 | T | F | unless defined $first |
| 699 | 0 | T | F | if (-s $first) { } |
| 703 | 0 | T | F | if ($first =~ m[^\s*https://.*/([^/]+/[^/]+)/actions/runs/(\d+)(?:/attempts/\d+|)(?:#(\S+)|)\s*$]) { } |
| 708 | 0 | T | F | unless defined $repo and defined $run |