Branch Coverage

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

line%coveragebranch
360TFif ($^O eq "MSWin32")
430TFif -x $f
500TFif check_exists_command($command)
640TFif defined $token and $token ne ""
660TFif defined $token and $token ne ""
7650TFunless defined $flags
950TFunless open INPUT, "<", $file
970TFif /^\s*(?:#.*)/
1240TF$output_joined ne '' ? :
1380TFif ($? == -1)
1420TFif ($? & 127)
1430TF$? & 128 ? :
1470TFif $? == 0
16750TFif defined $ENV{'APPLY_SKIP_UPDATE_CHECK'}
168100TFif ("$0" eq "-")
18050TFif ($? == 0)
1810TFif (compare_files($filename, $0))
1900TFif ($gh_err_text =~ /error connecting to / and $gh_err_text =~ /check your internet connection/)
1940TFif ($gh_err_text =~ /proxyconnect tcp:.*connect: connection refused/)
1970TFif (defined $ENV{$proxy})
2040TFif ($gh_err_text =~ /dial unix .*: connect: .*/)
2150TFif $exit_code == 0
2230TFif $gh_auth_status == 0
2280TFif (defined $ENV{$variable})
2320TFif ($gh_auth_status == 0)
2450TFunless (gh_is_happy($program))
2470TFdefined $ENV{'CI'} && $ENV{'CI'} ? :
2700TFunless $spell_check_this_config =~ /\{.*\}/s
2720TFunless eval {         do {         %config = %{decode_json($spell_check_this_config);} } }
2840TFif ($?)
3010TFunless ($should_exclude_patterns =~ /\w/)
3030TFunless $should_exclude_patterns =~ /\w/
3080TFif (-f $excludes) { }
3120TFunless /./
3200TFunless $pattern =~ /./
3260TFif $need_to_add_excludes
3320TFunless @stale
3350TFunless -f $_
3380TFunless (@expect_files)
3470TFif /^(?:$re)(?:(?:\r|\n)*$|[# ].*)/
3610TFunless @add
3650TFif (-s $new_expect_file)
3770TFif $word =~ /\S/
3970TFif defined $gh_token
4050TFunless ($curl_result == 0)
4060TFif ($curl_stdout eq "")
4310TFif ($count == 0)
4510TFif (defined $page)
4540TFif (defined $id_1 and defined $id_2)
4550TFif ($id_2 > $id_1)
4630TFif (defined $download)
4750TFif (defined $download)
4860TFif defined $gh_token
4940TFif ($curl_result != 0)
4950TFif ($curl_stdout eq "")