Branch Coverage

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

line%coveragebranch
23100TFif ($warning ne "")
26100TFif ($line ne "")
45100TFif ($type =~ /^(?:line_forbidden|patterns|excludes|only|reject)$/) { }
100TFelsif ($type =~ /^(?:dictionary|expect|allow)$/) { }
55100TFunless ($maybe_bad =~ /^\Q$workspace_path\E/)
60100TFif ($maybe_bad =~ m[/\.git/]i)
66100TFif (open $fh, "<:encoding(UTF-8)", $file)
74100TFif ($length == 0) { }
77100TFunless ($buffer =~ /\R/)
90100TFdefined $nl ? :
100100TFif ($content ne "")
103100TFif ($add_nl_at_eof)
112100TFif $eol_d_a
113100TFif $eol_a
114100TFif $eol_d
115100TFif (scalar @line_endings > 1)