Branch Coverage

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

line%coveragebranch
360TFif ($^O eq "MSWin32")
430TFif -x $f
500TFif check_exists_command($program)
630TFif defined $token and $token ne ""
650TFif defined $token and $token ne ""
730TFunless defined $flags
940TFif /^\s*(?:#.*)/
1210TF$output_joined ne '' ? :
1350TFif ($? == -1)
1390TFif ($? & 127)
1400TF$? & 128 ? :
1440TFif $? == 0
1610TFif ("$0" eq "-")
1730TFif ($? == 0)
1740TFif (compare_files($filename, $0))
1830TFif ($gh_err_text =~ /error connecting to / and $gh_err_text =~ /check your internet connection/)
1870TFif ($gh_err_text =~ /proxyconnect tcp:.*connect: connection refused/)
1900TFif (defined $ENV{$proxy})
1970TFif ($gh_err_text =~ /dial unix .*: connect: .*/)
2080TFif $exit == 0
2160TFif $gh_auth_status == 0
2210TFif (defined $ENV{$variable})
2250TFif ($gh_auth_status == 0)
2380TFunless (gh_is_happy($program))
2400TFdefined $ENV{'CI'} && $ENV{'CI'} ? :
2460TFif $_[0]
2670TFunless $spell_check_this_config =~ /\{.*\}/s
2690TFunless eval {         do {         %config = %{decode_json($spell_check_this_config);} } }
2810TFif ($?)
2990TFunless ($should_exclude_patterns =~ /\w/)
3010TFunless $should_exclude_patterns =~ /\w/
3060TFif (-f $excludes) { }
3100TFunless /./
3180TFunless $pattern =~ /./
3240TFif $need_to_add_excludes
3300TFunless @stale
3340TFunless -f $_
3370TFunless (@expect_files)
3460TFif /^(?:$re)(?:(?:\r|\n)*$|[# ].*)/
3600TFunless @add
3650TFif (-s $new_expect_file)
3770TFif $word =~ /\S/
3960TFif defined $gh_token
4040TFunless ($curl_result == 0)
4050TFif ($curl_stdout eq "")
4300TFif ($count == 0)
4500TFif (defined $page)
4530TFif (defined $id_1 and defined $id_2)
4540TFif ($id_2 > $id_1)
4620TFif (defined $download)
4740TFif (defined $download)
4850TFif defined $gh_token
4930TFif ($curl_result != 0)
4940TFif ($curl_stdout eq "")
5220TFif ($suffix)
5330TFunless $ret >> 8
5360TFif ($gh_err_text =~ /no valid artifacts found to download|"Artifact has expired"/)
5430TFif ($expired_json ne "")
5460TFunless eval {         do {         $expired = decode_json($expired_json) } }
5470TFif ($expired)
5550TFif ($gh_err_text =~ /no artifact matches any of the names or patterns provided/)
5580TFif ($github_server_url) { }
5670TFif ($gh_err_text =~ /HTTP 404: Not Found|"status":"404"/)
5710TFif ($gh_err_text =~ /HTTP 403: API rate limit exceeded for .*?./) { }
0TFelsif ($gh_err_text =~ m[dial tcp \S+:\d+: i/o timeout$]) { }
5730TFif ($retries_remaining <= 0)
5820TFif $gh_err_text =~ /\brequest ID\s+(\S+)/
5830TFif $gh_err_text =~ /\btimestamp\s+(.*? UTC)/
5880TFunless ($has_gh_token)
5900TFif defined $gh_token
5960TFif ($curl_stdout =~ m[^HTTP/\S+\s+200]) { }
0TFelsif ($curl_stdout =~ m[^HTTP/\S+\s+403]) { }
5970TFif ($curl_stdout =~ /^x-ratelimit-remaining:\s+(\d+)$/m) { }
5990TFif $ratelimit_remaining > 10
6070TFif ($curl_stdout =~ /^retry-after:\s+(\d+)/m) { }
6140TFif $curl_stdout =~ m[^(HTTP/\S+)]
6240TFif $artifact =~ /'/
6270TFunless ($apply =~ /\{.*\}/s)
6370TFunless eval {         do {         $config_ref = decode_json($apply) } }
6420TFunless $git_repo_root =~ /\w/
6660TFunless defined $first
6700TFif (-s $first) { }
6760TFif ($line =~ /\s+artifact\.zip$/)
6800TFif ($line =~ /\s+1 file$/)
6840TFif $only_file
6870TFif ($has_artifact and $only_file) { }
6980TFif ($first =~ m[^\s*https://.*/([^/]+/[^/]+)/actions/runs/(\d+)(?:/attempts/\d+|)(?:#(\S+)|)\s*$]) { }
7030TFunless defined $repo and defined $run