Branch Coverage

File:lib/CheckSpelling/Apply.pm
Coverage:0.0%

line%coveragebranch
50TFif defined $exited
450TFif ($^O eq "MSWin32")
520TFif -x $f
590TFif check_exists_command($program)
720TFif defined $token and $token ne ""
740TFif defined $token and $token ne ""
820TFunless defined $flags
1030TFif /^\s*(?:#.*)/
1300TF$output_joined ne '' ? :
1440TFif ($? == -1)
1480TFif ($? & 127)
1490TF$? & 128 ? :
1530TFif $? == 0
1700TFif ("$0" eq "-")
1820TFif ($? == 0)
1830TFif (compare_files($filename, $0))
1920TFif ($gh_err_text =~ /error connecting to / and $gh_err_text =~ /check your internet connection/)
1960TFif ($gh_err_text =~ /proxyconnect tcp:.*connect: connection refused/)
1990TFif (defined $ENV{$proxy})
2060TFif ($gh_err_text =~ /dial unix .*: connect: .*/)
2170TFif $exit_code == 0
2250TFif $gh_auth_status == 0
2300TFif (defined $ENV{$variable})
2340TFif ($gh_auth_status == 0)
2470TFunless (gh_is_happy($program))
2490TFdefined $ENV{'CI'} && $ENV{'CI'} ? :
2550TFif $_[0]
2760TFunless $spell_check_this_config =~ /\{.*\}/s
2780TFunless eval {         do {         %config = %{decode_json($spell_check_this_config);} } }
2900TFif ($?)
3080TFunless ($should_exclude_patterns =~ /\w/)
3100TFunless $should_exclude_patterns =~ /\w/
3150TFif (-f $excludes) { }
3190TFunless /./
3270TFunless $pattern =~ /./
3330TFif $need_to_add_excludes
3390TFunless @stale
3430TFunless -f $_
3460TFunless (@expect_files)
3550TFif /^(?:$re)(?:(?:\r|\n)*$|[# ].*)/
3690TFunless @add
3740TFif (-s $new_expect_file)
3860TFif $word =~ /\S/
4050TFif defined $gh_token
4130TFunless ($curl_result == 0)
4140TFif ($curl_stdout eq "")
4390TFif ($count == 0)
4590TFif (defined $page)
4620TFif (defined $id_1 and defined $id_2)
4630TFif ($id_2 > $id_1)
4710TFif (defined $download)
4830TFif (defined $download)
4940TFif defined $gh_token
5020TFif ($curl_result != 0)
5030TFif ($curl_stdout eq "")
5310TFif ($suffix)
5420TFunless $ret >> 8
5450TFif ($gh_err_text =~ /no valid artifacts found to download|"Artifact has expired"/)
5520TFif ($expired_json ne "")
5550TFunless eval {         do {         $expired = decode_json($expired_json) } }
5560TFif ($expired)
5640TFif ($gh_err_text =~ /no artifact matches any of the names or patterns provided/)
5670TFif ($github_server_url) { }
5760TFif ($gh_err_text =~ /HTTP 404: Not Found|"status":"404"/)
5800TFif ($gh_err_text =~ /HTTP 403: API rate limit exceeded for .*?./) { }
0TFelsif ($gh_err_text =~ m[dial tcp \S+:\d+: i/o timeout$]) { }
5820TFif ($retries_remaining <= 0)
5910TFif $gh_err_text =~ /\brequest ID\s+(\S+)/
5920TFif $gh_err_text =~ /\btimestamp\s+(.*? UTC)/
5970TFunless ($has_gh_token)
5990TFif defined $gh_token
6050TFif ($curl_stdout =~ m[^HTTP/\S+\s+200]) { }
0TFelsif ($curl_stdout =~ m[^HTTP/\S+\s+403]) { }
6060TFif ($curl_stdout =~ /^x-ratelimit-remaining:\s+(\d+)$/m) { }
6080TFif $ratelimit_remaining > 10
6160TFif ($curl_stdout =~ /^retry-after:\s+(\d+)/m) { }
6230TFif $curl_stdout =~ m[^(HTTP/\S+)]
6330TFif $artifact =~ /'/
6360TFunless ($apply =~ /\{.*\}/s)
6460TFunless eval {         do {         $config_ref = decode_json($apply) } }
6510TFunless $git_repo_root =~ /\w/
6750TFunless defined $first
6790TFif (-s $first) { }
6850TFif ($line =~ /\s+artifact\.zip$/)
6890TFif ($line =~ /\s+1 file$/)
6930TFif $only_file
6960TFif ($has_artifact and $only_file) { }
7070TFif ($first =~ m[^\s*https://.*/([^/]+/[^/]+)/actions/runs/(\d+)(?:/attempts/\d+|)(?:#(\S+)|)\s*$]) { }
7120TFunless defined $repo and defined $run