Branch Coverage

File:lib/CheckSpelling/CleanupFiles.pm
Coverage:100.0%

line%coveragebranch
23100TFif ($warning ne "")
43100TFif ($type =~ /^(?:line_forbidden|patterns|excludes|only|reject)$/) { }
100TFelsif ($type =~ /^(?:dictionary|expect|allow)$/) { }
53100TFunless ($maybe_bad =~ /^\Q$workspace_path\E/)
58100TFif ($maybe_bad =~ m[/\.git/]i)
64100TFif (open $fh, "<:encoding(UTF-8)", $file)
72100TFif ($length == 0) { }
75100TFunless ($buffer =~ /\R/)
88100TFdefined $nl ? :
98100TFif ($content ne "")
101100TFif ($add_nl_at_eof)
110100TFif $eol_d_a
111100TFif $eol_a
112100TFif $eol_d
113100TFif (scalar @line_endings > 1)